nfu-newfarming/assets/stylesheets/template/layout/content.scss

380 lines
7.3 KiB
SCSS

@charset "utf-8";
@import "../initial";
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{
@media(max-width: $screen-xs){
padding: 0;
}
}
.verticalhome{
position: relative;
width: 100%;
overflow: hidden;
background:#fff;
}
.internal-page{
.layout-content{
// background: transparent;
padding-bottom: 4em;
padding-top: 2em;
}
}
.big-banner{
width: 100%;
position: relative;
}
.topcontent{
position: relative;
z-index: 1;
}
.layout-content {
position: relative;
min-height: 42.5em;
.container {
@extend .response-container;
}
}
.layout-content-inner{
overflow: hidden;
}
.video-banner{
max-width: 850px;
margin: auto;
position: relative;
}
.homebanner{
-webkit-transition: .3s ease-out;
-moz-transition: .3s ease-out;
-ms-transition: .3s ease-out;
-o-transition: .3s ease-out;
transition: .3s ease-out;
}
.fa, .fas{
font-family: "FontAwesome";
font-weight: 900;
font-style: normal;
}
.fab{
font-family: "Font Awesome 5 Brands";
}
.padding0{
.layout-content-box{
&:hover{
opacity: .8;
transition: all .3s;
}
}
.layout-content-box{
padding: 0;
}
padding: 0 1em;
}
.relatedlinksbg{
position: relative;
width: 100%;
padding: 50px 30px 20px 30px;
background:#f5f5f536;
&:after{
content: "";
width: 100%;
height: 100%;
display: block;
opacity: 0.15;
position: absolute;
top: 0;
left: 0;
background: url(/assets/index_09.jpg) no-repeat center;
z-index: -1;
}
}
.contentwrap{
overflow: hidden;
position: relative;
width: 100%;
padding-bottom: 4em;
padding-top: 3em;
p{
padding-bottom: 1em;
}
}
.contentwrap1{
overflow: hidden;
position: relative;
width: 100%;
// background-image: linear-gradient(280deg, #e6e6e6 56%, #fff 0);
padding-top: 4em;
padding-bottom: 4em;
}
.contentwrap2{
overflow: hidden;
position: relative;
width: 100%;
padding-top: 4em;
padding-bottom: 4em;
}
.contentwrap3{
overflow: hidden;
position: relative;
width: 100%;
}
.iconwrap{
padding: 4em 0 0;
}
.zero{
padding: 0;
}
.i-video_data{
li{
list-style: none;
}
}
.ask-question .form-horizontal .control-label{
width: 100% !important;
max-width: 100% !important;
text-align: justify !important;
}
.ask-question .single-col.form-horizontal .control-group .controls{
justify-content: flex-start;
max-width: 100%;
width: 100%;
}
.ask-question-form{
padding: 2em;
border-radius: 10px;
border: 1px solid #E4E6EA;
padding-bottom: 3em!important;
@media(max-width: 820px){
padding: 1.5em;
}
}
.image-carousel{
padding: 15px 0px 25px 0px;
}
.downIcon {
a{
bottom: 0;
position: absolute;
left: 0;
right: 0;
top: 0;
}
position: absolute;
left: 48.8%;
bottom: 10%;
z-index:2;
display: block;
cursor: pointer;
@media(max-width:$screen-xs){
left: 45%;
}
&:hover{
transform:scale(1.1);
-webkit-transition: .3s ease-out;
-moz-transition: .3s ease-out;
-ms-transition: .3s ease-out;
-o-transition: .3s ease-out;
transition: .3s ease-out;
}
width: 3px;
padding: 10px 15px;
height: 35px;
border: 2px solid #fff;
border-radius: 25px;
opacity: 0.75;
box-sizing: content-box;
animation: move 3s ease-out 1s infinite;
}
.scroller {
width: 3px;
height: 10px;
border-radius: 25%;
background-color: #fff;
animation-name: scroll;
animation-duration: 2.2s;
animation-timing-function: cubic-bezier(.15,.41,.69,.94);
animation-iteration-count: infinite;
}
@keyframes scroll {
0% { opacity: 0; }
10% { transform: translateY(0); opacity: 1; }
100% { transform: translateY(15px); opacity: 0;}
}
@keyframes move {
25% {
opacity: 1;
}
33% {
opacity: 1;
transform: translateY(30px);
}
67% {
opacity: 1;
transform: translateY(40px);
}
100% {
opacity: 0;
transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
}
}
.rotated{
transform: rotate(180deg);
}
.qlink{
clear: both;
ul {
width: 100%;
display: flex;
flex-wrap: wrap;
li{
width: calc(100% / 4);
position: relative;
padding: 0;
margin: 0 0 10px 0;
display: inline-block;
box-sizing: border-box;
vertical-align: top;
text-align: justify;
&:before{
content: "\f054";
font-family: "Font Awesome 6 Free",FontAwesome;
font-weight:lighter;
font-size: 0.1em;
margin-right: 1em;
color: #96b7de;
}
}
}
}
.pic{
position: relative;
padding-top: 55.6%;
iframe{
width: 100%;
height: 100% !important;
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
&:after{
content: "";
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 25px;
right: -25px;
background: url(/assets/index_01.png);
}
}
.verticalbox{
.w-annc{
display: flex;
flex-wrap: wrap;
.w-annc__list{
@media(min-width:769px){
width: 89%;
}
@media(max-width:768px){
width: 85%;
}
}
.w-annc__widget-title{
width: 11%;
background: none;
@media(max-width:768px){
width: 15%;
font-size: small;
}
span{
align-items: flex-start;
}
.en{
writing-mode: vertical-rl;
color: #999;
padding-top: 3px;
letter-spacing: 3px;
}
.ch{
writing-mode: vertical-rl;
font-weight: 400;
letter-spacing: 5px;
font-size: 1.8em;
}
}
}
}
.lastcontent{
padding: 25px 20px;
border: 8px solid #fff;
.title02{
color: #008c82;
line-height: 100%;
font-weight: 500;
letter-spacing: 3px;
}
.more{
font-size: 1em;
display: inline-block;
padding: 8px 20px;
border-radius: 4px;
color: #fff;
background: #008c82;
&:hover{
background: #06beb2;
}
}
}
.main-content{
.edit{
position: relative;
flex: 1;
padding: 40px;
background: #fff;
border-radius: 3px;
border: #eee solid 1px;
box-shadow: 0px 3px 8px -5px rgba(0, 0, 0, 0.2);
}
}
td > section {
position: relative;
padding: 50px 30px 50px;
border-radius: 10px;
border: #00807736 solid 5px;
min-height: 28em;
h3 {
position: absolute;
left: 50%;
top: -2em;
transform: translateX(-50%);
text-align: center;
padding: 2px 25px;
color: #008077;
background: #fff;
}
h4,i {
color: #dca43e;
}
hr {
background-color: rgba(0, 0, 0, .08);
color: rgba(0, 0, 0, .08);
border-top: 0.0625em solid rgba(0, 0, 0, 0.08);
}
a {
display: inline-block;
padding: 8px 20px;
border-radius: 20px;
color: #fff!important;
background: #008077;
&:hover{
opacity: .8;
}
}
}