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

409 lines
9.7 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;
}
.internal-page{
.layout-content{
// background: transparent;
background-image: url(/assets/about_1_bg.jpg);
background-repeat: repeat-y;
background-size: 100% auto;
background-position: center -22vw;
}
}
.big-banner{
width: 100%;
position: relative;
}
.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;
}
.contentwrap{
overflow: hidden;
position: relative;
width: 100%;
background: #B3B3B3;
padding-bottom: 4em;
padding-top: 4em;
p{
padding-bottom: 1em;
}
}
.contentwrap1{
overflow: hidden;
position: relative;
width: 100%;
// background-image: linear-gradient(280deg, #e6e6e6 56%, #fff 0);
}
.contentwrap2{
overflow: hidden;
position: relative;
width: 100%;
padding-top: 4em;
padding-bottom: 4em;
background-image: url(/assets/index_sec3_bg.jpg);
background-repeat: no-repeat;
background-position: center top;
// background-size: contain;
}
.contentwrap3{
overflow: hidden;
position: relative;
width: 100%;
padding-top: 4em;
padding-bottom: 4em;
}
.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:100;
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);
}
.index-sec1-slogan{
width: 100%;
margin: 0 0 100px 0;
// @media(min-width:$screen-xs)and(max-width:1300px){
// margin: 0!important;
// }
.logo-pic{
@media(max-width:$screen-xs){
width: 90% !important;
height: auto !important;
}
}
.slogan-lf,.slogan-rt{
@media(max-width:$screen-xs){
width: 50% !important;
height: auto !important;
}
}
img{
@media(max-width:1300px){
margin: auto;
display: block;
}
}
@media(min-width:1300px){
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
}
.index-sec1-text{
clear: both;
width: 100%;
margin: 0 auto 30px auto;
font-weight: 500;
font-size: 1.5em;
letter-spacing: 0.1em;
text-align: center;
color: #333;
@media(max-width:$screen-xs){
font-size: 1.2em;
}
}
.index-more-bt{
@media(min-width:78px){
clear: both;
width: 345px;
height: 65px;
margin: 40px auto 0 auto;
}
a{
width: 100%;
height: 100%;
color: #666;
font-size: 1.1em;
line-height: 1em;
letter-spacing: 0.1em;
text-decoration: none;
border: 1px #666 solid;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
-webkit-transform: perspective(1px) translateZ(0);
transform: perspective(1px) translateZ(0);
&:hover{
-webkit-animation-name: hvr-bob-float, hvr-bob;
animation-name: hvr-bob-float, hvr-bob;
-webkit-animation-duration: .3s, 1.5s;
animation-duration: .3s, 1.5s;
-webkit-animation-delay: 0s, .3s;
animation-delay: 0s, .3s;
-webkit-animation-timing-function: ease-out, ease-in-out;
animation-timing-function: ease-out, ease-in-out;
-webkit-animation-iteration-count: 1, infinite;
animation-iteration-count: 1, infinite;
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
-webkit-animation-direction: normal, alternate;
animation-direction: normal, alternate;
}
}
}
@keyframes hvr-bob{
100% {
-webkit-transform: translateY(-8px);
transform: translateY(-8px);
}
50% {
-webkit-transform: translateY(-4px);
transform: translateY(-4px);
}
0% {
-webkit-transform: translateY(-8px);
transform: translateY(-8px);
}
}
@media screen and (min-width: 1280px) and (max-width: 1439px) {
.page-sdgs-indicator-con .sdgs-column {
clear: both;
width: 88%;
margin: 30px 0;
border-radius: 40px;
background-color: #fff;
display: flex;
justify-content: flex-start;
align-items: center;
-moz-box-shadow: 4px 4px 12px 4px rgba(20%,20%,40%,0.5);
-webkit-box-shadow: 4px 4px 12px 4px rgba(20%, 20%, 40%, 0.5);
box-shadow: 4px 4px 12px 4px rgba(20%, 20%, 40%, 0.5);
}
}
@media screen and (min-width: 1280px) and (max-width: 1439px) {
.page-sdgs-indicator-con .sdgs-column.lf {
float: left;
}
}
@media screen and (min-width: 1280px) and (max-width: 1439px) {
.page-sdgs-indicator-con .sdgs-column .icon {
width: 340px;
padding: 0 0 0 70px;
box-sizing: border-box;
}
}
@media screen and (min-width: 1280px) and (max-width: 1439px) {
.page-sdgs-indicator-con .sdgs-column .text {
width: calc(100% - 340px);
padding: 0 70px 0 40px;
box-sizing: border-box;
}
}
@media screen and (max-width: 767px) {
.page-sdgs-indicator-con .sdgs-column {
clear: both;
width: 100%;
margin: 30px 0;
border-radius: 40px;
background-color: #fff;
-moz-box-shadow: 4px 4px 12px 4px rgba(20%,20%,40%,0.5);
-webkit-box-shadow: 4px 4px 12px 4px rgba(20%, 20%, 40%, 0.5);
box-shadow: 4px 4px 12px 4px rgba(20%, 20%, 40%, 0.5);
}
}
@media screen and (max-width: 767px) {
.page-sdgs-indicator-con .sdgs-column .icon {
width: 60%;
margin: 0 auto;
}
}
@media screen and (max-width: 767px) {
.page-sdgs-indicator-con .sdgs-column .text {
clear: both;
width: 100%;
padding: 20px;
box-sizing: border-box;
}
}
@media screen and (min-width: 768px) and (max-width: 1279px) {
.page-sdgs-indicator-con .sdgs-column {
clear: both;
width: 100%;
margin: 30px 0;
border-radius: 40px;
background-color: #fff;
display: flex;
justify-content: flex-start;
align-items: center;
-moz-box-shadow: 4px 4px 12px 4px rgba(20%,20%,40%,0.5);
-webkit-box-shadow: 4px 4px 12px 4px rgba(20%, 20%, 40%, 0.5);
box-shadow: 4px 4px 12px 4px rgba(20%, 20%, 40%, 0.5);
}
}
@media screen and (min-width: 768px) and (max-width: 1279px) {
.page-sdgs-indicator-con .sdgs-column .icon {
width: 270px;
padding: 0 0 0 40px;
box-sizing: border-box;
}
}
@media screen and (min-width: 768px) and (max-width: 1279px) {
.page-sdgs-indicator-con .sdgs-column .text {
width: calc(100% - 270px);
padding: 0 30px 0 20px;
box-sizing: border-box;
}
}
@media screen and (min-width: 768px) and (max-width: 1279px) {
.page-sdgs-indicator-con .intro {
width: 90%;
margin: 30px auto;
font-size: 1.2em;
font-weight: 500;
line-height: 1.8em;
text-align: center;
}
}