(103 intermediate revisions by the same user not shown) | |||
Line 25: | Line 25: | ||
main, | main, | ||
menu, | menu, | ||
− | nav, | + | nav,sc |
− | + | ||
summary { | summary { | ||
display: block; | display: block; | ||
Line 263: | Line 262: | ||
} | } | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
.glyphicon { | .glyphicon { | ||
position: relative; | position: relative; | ||
Line 1,068: | Line 1,062: | ||
content: "\e260"; | content: "\e260"; | ||
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
*:before, | *:before, | ||
*:after { | *:after { | ||
Line 1,087: | Line 1,077: | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
font-size: 14px; | font-size: 14px; | ||
− | |||
color: #333; | color: #333; | ||
background-color: #fff; | background-color: #fff; | ||
Line 1,100: | Line 1,089: | ||
} | } | ||
a { | a { | ||
− | color: # | + | color: #000000; |
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Line 1,180: | Line 1,169: | ||
h5, | h5, | ||
h6, | h6, | ||
− | |||
.h2, | .h2, | ||
.h3, | .h3, | ||
Line 1,220: | Line 1,208: | ||
} | } | ||
h1, | h1, | ||
− | |||
h2, | h2, | ||
.h2, | .h2, | ||
Line 1,266: | Line 1,253: | ||
} | } | ||
h1, | h1, | ||
− | + | { | |
font-size: 36px; | font-size: 36px; | ||
} | } | ||
Line 1,525: | Line 1,512: | ||
content: '\00A0 \2014'; | content: '\00A0 \2014'; | ||
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
.container { | .container { | ||
padding-right: 15px; | padding-right: 15px; | ||
Line 1,589: | Line 1,518: | ||
margin-right: auto; | margin-right: auto; | ||
margin-left: auto; | margin-left: auto; | ||
+ | line-height:2.5em; | ||
+ | -webkit-box-sizing: border-box; | ||
+ | -moz-box-sizing: border-box; | ||
+ | box-sizing: border-box; | ||
} | } | ||
@media (min-width: 769px) { | @media (min-width: 769px) { | ||
Line 1,625: | Line 1,558: | ||
} | } | ||
.col-xs-12 { | .col-xs-12 { | ||
− | width: | + | width: 100%; |
− | + | ||
− | + | ||
} | } | ||
.col-xs-11 { | .col-xs-11 { | ||
Line 1,797: | Line 1,728: | ||
.col-sm-8 { | .col-sm-8 { | ||
width: 80%; | width: 80%; | ||
− | |||
− | |||
} | } | ||
.col-sm-7 { | .col-sm-7 { | ||
Line 1,804: | Line 1,733: | ||
} | } | ||
.col-sm-6 { | .col-sm-6 { | ||
− | width: | + | width: 46%; |
} | } | ||
.col-sm-5 { | .col-sm-5 { | ||
Line 1,954: | Line 1,883: | ||
.col-md-9 { | .col-md-9 { | ||
width: 80%; | width: 80%; | ||
− | |||
− | |||
} | } | ||
.col-md-8 { | .col-md-8 { | ||
Line 1,970: | Line 1,897: | ||
} | } | ||
.col-md-4 { | .col-md-4 { | ||
− | width: | + | width: 30%; |
} | } | ||
.col-md-3 { | .col-md-3 { | ||
− | width: | + | width: 21%; |
} | } | ||
.col-md-2 { | .col-md-2 { | ||
Line 2,496: | Line 2,423: | ||
border-bottom: 0; | border-bottom: 0; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
@media (min-width: 769px) { | @media (min-width: 769px) { | ||
Line 3,526: | Line 3,029: | ||
outline: 0; | outline: 0; | ||
} | } | ||
+ | |||
.dropdown-menu { | .dropdown-menu { | ||
position: absolute; | position: absolute; | ||
Line 3,547: | Line 3,051: | ||
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); | -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); | ||
box-shadow: 0 6px 12px rgba(0, 0, 0, .175); | box-shadow: 0 6px 12px rgba(0, 0, 0, .175); | ||
+ | |||
} | } | ||
.dropdown-menu.pull-right { | .dropdown-menu.pull-right { | ||
Line 3,641: | Line 3,146: | ||
margin-bottom: 2px; | margin-bottom: 2px; | ||
} | } | ||
− | @media (min-width: | + | @media (min-width: 1023px) { |
.navbar-right .dropdown-menu { | .navbar-right .dropdown-menu { | ||
right: 0; | right: 0; | ||
Line 4,179: | Line 3,684: | ||
border: 1px solid transparent; | border: 1px solid transparent; | ||
} | } | ||
− | @media (min-width: | + | @media (min-width: 1023px) { |
.navbar { | .navbar { | ||
border-radius: 4px; | border-radius: 4px; | ||
} | } | ||
} | } | ||
− | @media (min-width: | + | @media (min-width: 1023px) { |
.navbar-header { | .navbar-header { | ||
float: left; | float: left; | ||
Line 4,201: | Line 3,706: | ||
overflow-y: auto; | overflow-y: auto; | ||
} | } | ||
− | @media (min-width: | + | @media (min-width: 1023px) { |
.navbar-collapse { | .navbar-collapse { | ||
width: auto; | width: auto; | ||
Line 4,241: | Line 3,746: | ||
margin-left: -15px; | margin-left: -15px; | ||
} | } | ||
− | @media (min-width: | + | @media (min-width: 1023px) { |
.container > .navbar-header, | .container > .navbar-header, | ||
.container-fluid > .navbar-header, | .container-fluid > .navbar-header, | ||
Line 4,254: | Line 3,759: | ||
border-width: 0 0 1px; | border-width: 0 0 1px; | ||
} | } | ||
− | @media (min-width: | + | @media (min-width: 1023px) { |
.navbar-static-top { | .navbar-static-top { | ||
border-radius: 0; | border-radius: 0; | ||
Line 4,266: | Line 3,771: | ||
z-index: 1030; | z-index: 1030; | ||
} | } | ||
− | @media (min-width: | + | @media (min-width: 1023px) { |
.navbar-fixed-top, | .navbar-fixed-top, | ||
.navbar-fixed-bottom { | .navbar-fixed-bottom { | ||
Line 4,282: | Line 3,787: | ||
} | } | ||
.navbar-brand { | .navbar-brand { | ||
− | |||
height: 50px; | height: 50px; | ||
padding: 15px 15px; | padding: 15px 15px; | ||
Line 4,295: | Line 3,799: | ||
display: block; | display: block; | ||
} | } | ||
− | @media (min-width: | + | @media (min-width: 1023px) { |
.navbar > .container .navbar-brand, | .navbar > .container .navbar-brand, | ||
.navbar > .container-fluid .navbar-brand { | .navbar > .container-fluid .navbar-brand { | ||
Line 4,303: | Line 3,807: | ||
.navbar-toggle { | .navbar-toggle { | ||
position: relative; | position: relative; | ||
− | float: | + | float: left; |
− | padding: | + | padding: 7px 10px; |
− | margin-top: | + | margin-top: 18px; |
margin-right: 15px; | margin-right: 15px; | ||
− | margin-bottom: | + | margin-bottom: 0px; |
background-color: transparent; | background-color: transparent; | ||
background-image: none; | background-image: none; | ||
Line 4,325: | Line 3,829: | ||
margin-top: 4px; | margin-top: 4px; | ||
} | } | ||
− | @media (min-width: | + | @media (min-width: 1023px) { |
.navbar-toggle { | .navbar-toggle { | ||
display: none; | display: none; | ||
Line 4,338: | Line 3,842: | ||
line-height: 20px; | line-height: 20px; | ||
} | } | ||
− | @media (max-width: | + | @media (max-width: 1023px) { |
.navbar-nav .open .dropdown-menu { | .navbar-nav .open .dropdown-menu { | ||
position: static; | position: static; | ||
Line 4,361: | Line 3,865: | ||
} | } | ||
} | } | ||
− | @media (min-width: | + | @media (min-width: 1023px) { |
.navbar-nav { | .navbar-nav { | ||
float: left; | float: left; | ||
Line 4,490: | Line 3,994: | ||
} | } | ||
} | } | ||
− | @media (min-width: | + | @media (min-width: 1023px) { |
.navbar-left { | .navbar-left { | ||
float: left !important; | float: left !important; | ||
Line 4,504: | Line 4,008: | ||
.navbar-default { | .navbar-default { | ||
background-color: #f8f8f8; | background-color: #f8f8f8; | ||
− | + | ||
} | } | ||
.navbar-default .navbar-brand { | .navbar-default .navbar-brand { | ||
Line 5,135: | Line 4,639: | ||
.progress { | .progress { | ||
height: 20px; | height: 20px; | ||
− | + | /* margin-bottom: 20px;*/ | |
overflow: hidden; | overflow: hidden; | ||
background-color: #f5f5f5; | background-color: #f5f5f5; | ||
border-radius: 4px; | border-radius: 4px; | ||
+ | /* | ||
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); | -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); | ||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); | box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); | ||
+ | */ | ||
} | } | ||
.progress-bar { | .progress-bar { | ||
Line 5,848: | Line 5,354: | ||
border-radius: 3px; | border-radius: 3px; | ||
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
button.close { | button.close { | ||
-webkit-appearance: none; | -webkit-appearance: none; | ||
Line 6,577: | Line 6,066: | ||
display: none !important; | display: none !important; | ||
} | } | ||
+ | |||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.visible-xs { | .visible-xs { | ||
Line 6,765: | Line 6,255: | ||
} | } | ||
+ | @font-face{ | ||
+ | font-family:'myfoot'; | ||
+ | src:url("https://static.igem.org/mediawiki/2019/e/eb/T--UESTC-China--foot.otf") | ||
+ | } | ||
+ | @font-face{ | ||
+ | font-family:'left'; | ||
+ | src:url("https://static.igem.org/mediawiki/2019/0/0c/T--UESTC-China--left.ttf") | ||
+ | } | ||
+ | |||
+ | @font-face{ | ||
+ | font-family:'main'; | ||
+ | src:url("https://static.igem.org/mediawiki/2019/e/e3/T--UESTC-China--main.ttf") | ||
+ | } | ||
+ | |||
+ | @font-face{ | ||
+ | font-family:'home'; | ||
+ | src:url("https://static.igem.org/mediawiki/2019/7/73/T--UESTC-China--homefont.otf") | ||
+ | } | ||
+ | |||
+ | .firstless{ | ||
+ | float: left; | ||
+ | } | ||
.bigtitle{ | .bigtitle{ | ||
− | font-family: " | + | margin: 20px 0px 20px 0px; |
− | font-size: | + | font-family: "myfoot",serif; |
− | + | font-size: 36px; | |
text-align: center; | text-align: center; | ||
border-radius:5em; | border-radius:5em; | ||
− | color: # | + | color: #ffffff; |
+ | background:#b6caf2; | ||
+ | background: -webkit-linear-gradient(left,white,#b6caf2,#b6caf2,#b6caf2,#b6caf2,#b6caf2,#b6caf2,white); | ||
} | } | ||
− | + | .smalltitle{ | |
+ | margin: 20px 0px 20px 0px; | ||
+ | line-height:2; | ||
+ | font-size: 24px; | ||
+ | font-weight: 550; | ||
+ | padding-top:10px; | ||
+ | padding-bottom:10px; | ||
+ | } | ||
.mainbody{ | .mainbody{ | ||
− | font-family: " | + | font-family:"main",serif; |
− | + | font-size: 22px; | |
+ | line-height: 170%; | ||
+ | text-align: justify; | ||
+ | margin-top:10px; | ||
+ | margin-bottom:10px; | ||
+ | } | ||
+ | .mainbody p{ | ||
+ | line-height:170% | ||
+ | } | ||
+ | .mainbody h2{ | ||
+ | font-weight:700; | ||
} | } | ||
− | . | + | .picture{ |
text-align: center; | text-align: center; | ||
− | + | width: 100%; | |
+ | margin-top:15px; | ||
} | } | ||
.words{ | .words{ | ||
− | font-family: " | + | font-family: "Lato"; |
− | font-size: | + | font-size: 0.8em; |
− | + | text-align: center; | |
− | + | line-height: 180%; | |
− | + | padding-top:10px; | |
− | + | padding-bottom:20px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Line 6,803: | Line 6,330: | ||
background-color: transparent; | background-color: transparent; | ||
z-index: 2; | z-index: 2; | ||
+ | opacity: 0; | ||
} | } | ||
.topnav.scrolled{ | .topnav.scrolled{ | ||
− | + | /* background-color: #000000;*/ | |
z-index: 2; | z-index: 2; | ||
+ | opacity: 1; | ||
} | } | ||
− | @media(max-width: | + | @media(max-width:1023px){ |
− | . | + | .firstless{ |
− | + | display: none; | |
− | + | ||
− | + | ||
} | } | ||
} | } | ||
+ | @media(min-width:1024px){ | ||
+ | .secondless{ | ||
+ | float: right!important; | ||
+ | } | ||
+ | } | ||
− | + | .up{ | |
− | + | position: fixed; | |
− | + | right: 0.5em; | |
+ | bottom: 80px; | ||
+ | cursor: pointer; | ||
+ | text-align: center; | ||
+ | width: 100px; | ||
+ | height: 100px; | ||
+ | z-index: 100; | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .dropdown a:hover {color:#45bcf9 !important;} | ||
+ | .f_mh{ | ||
+ | padding: 0; | ||
+ | font-size:18px; | ||
+ | font-size:1.3vw; | ||
+ | font-family:"left",serif; | ||
+ | font-weight: 500; | ||
+ | list-style: none; | ||
+ | } | ||
+ | |||
+ | .f_mh h{ | ||
+ | font-size: 24px; | ||
+ | padding-bottom: 15em; | ||
+ | } | ||
+ | .f_mh li{ | ||
+ | padding-bottom: 10px; | ||
+ | width: 9em; | ||
+ | display: list-item; | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | .f_mh li:first-child{ | ||
+ | padding-top: 20px; | ||
+ | } | ||
+ | |||
+ | .f_mh li.active a{ | ||
+ | color: #b6caf2; | ||
+ | border-left: 5px solid #b6caf2; | ||
+ | outline:0; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | .f_mh li a{ | ||
+ | color:#000000; | ||
+ | text-decoration: none; | ||
+ | padding-left: 5px; | ||
+ | display: block; | ||
+ | } | ||
+ | .f_mh li a:hover{ | ||
+ | color:#45bcf9; | ||
+ | } | ||
+ | .mybtn{ | ||
+ | z-index: 99; | ||
+ | position:relative; | ||
+ | width:50px; | ||
+ | height:50px; | ||
+ | left:45%; | ||
+ | background-color: transparent; | ||
+ | top:-100px | ||
+ | } | ||
+ | @media(max-width:767px){ | ||
+ | .mybtnless{ | ||
+ | display: none; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @media(min-width:768px){ | ||
+ | .myconless{ | ||
+ | margin-top:-80px; | ||
+ | } | ||
+ | } | ||
+ | .col-fmh{ | ||
+ | position: relative; | ||
+ | min-height: 1px; | ||
+ | float: left; | ||
+ | width: 100%; | ||
+ | } | ||
+ | @media(min-width:600px){ | ||
+ | .col-5{ | ||
+ | z-index: 1; | ||
+ | padding-left: 5em; | ||
+ | padding-right: 5em; | ||
+ | } | ||
+ | |||
+ | .col-55{ | ||
+ | z-index: 1; | ||
+ | padding-left: 5.5em; | ||
+ | padding-right: 5.5em; | ||
+ | } | ||
+ | |||
+ | .col-6{ | ||
+ | z-index: 1; | ||
+ | padding-left: 6em; | ||
+ | padding-right: 6em; | ||
+ | } | ||
+ | |||
+ | .col-65{ | ||
+ | z-index: 1; | ||
+ | padding-left: 6.5em; | ||
+ | padding-right: 6.5em; | ||
+ | } | ||
+ | .col-7{ | ||
+ | z-index: 1; | ||
+ | padding-left: 7em; | ||
+ | padding-right: 7em; | ||
+ | } | ||
+ | .col-8{ | ||
+ | z-index: 1; | ||
+ | padding-left: 8em; | ||
+ | padding-right: 8em; | ||
+ | } | ||
+ | |||
+ | } | ||
+ | .firstph{ | ||
+ | margin-top:32px; | ||
+ | } | ||
+ | |||
+ | #hide{ | ||
+ | margin-top:-50px; | ||
+ | position: absolute; | ||
+ | z-index: 9999; | ||
+ | background:white; | ||
+ | text-align:center; | ||
+ | } | ||
+ | #hider{ | ||
+ | position:fixed; | ||
+ | top:200px; | ||
+ | } | ||
+ | #hiderr{ | ||
+ | margin-top:-30px; | ||
+ | position: absolute; | ||
+ | z-index: 2; | ||
+ | background:white; | ||
+ | text-align:center; | ||
+ | height:200000px; | ||
+ | width:2000px;; | ||
+ | } | ||
+ | .secondli{ | ||
+ | list-style: none; | ||
+ | margin-left: 10px!important; | ||
+ | display:none; | ||
+ | } | ||
+ | .secondli li a{ | ||
+ | text-decoration: none; | ||
+ | font-size:16px; | ||
+ | } | ||
+ | |||
+ | .c-banner{ | ||
+ | width: 100%; | ||
+ | position: relative; | ||
+ | } | ||
+ | .c-banner img{ | ||
+ | width: 100%; | ||
+ | } | ||
+ | .c-banner .banner ul{ | ||
+ | list-style: none; | ||
+ | padding-left: 0px; | ||
+ | margin: 0px; | ||
+ | } | ||
+ | .c-banner .banner ul li{ | ||
+ | |||
+ | display: none; | ||
+ | opacity: 0; | ||
+ | } | ||
+ | .c-banner .banner ul li:nth-child(1){ | ||
+ | opacity: 1; | ||
+ | display: block; | ||
+ | } | ||
+ | .c-banner .banner ul li img{ | ||
+ | width: 100%; | ||
+ | position: absolute; | ||
+ | top: 0px; | ||
+ | } | ||
+ | .c-banner .banner ul li:first-child img{ | ||
+ | position: relative; | ||
+ | } | ||
+ | .c-banner .nexImg,.c-banner .preImg{ | ||
+ | padding: 25px 10px 25px 10px; | ||
+ | position: absolute; | ||
+ | top: 50%; | ||
+ | margin-top: -53px; | ||
+ | background: #000000; | ||
+ | opacity: 0.5; | ||
+ | border-radius: 5px; | ||
+ | z-index: 10; | ||
+ | |||
+ | } | ||
+ | .c-banner .nexImg:hover,.c-banner .preImg:hover{ | ||
+ | opacity: 0.8; | ||
+ | } | ||
+ | |||
+ | |||
+ | .c-banner .jumpBtn{ | ||
+ | width: 100%; | ||
+ | position: absolute; | ||
+ | bottom: 20px; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .c-banner .jumpBtn ul{ | ||
+ | padding: 0; | ||
+ | margin-bottom: -1.5em; | ||
+ | } | ||
+ | |||
+ | .c-banner .jumpBtn ul li{ | ||
+ | width: 14px; | ||
+ | height: 14px; | ||
+ | border-radius: 50%; | ||
+ | display: inline-block; | ||
+ | background-color: white; | ||
+ | opacity: 0.9; | ||
+ | margin-left: 10px; | ||
+ | } | ||
+ | .c-banner .jumpBtn ul li:first-child{ | ||
+ | margin-left: 0px; | ||
+ | } | ||
+ | @media screen and (max-width:768px) { | ||
+ | .c-banner{ | ||
+ | width: 100%; | ||
+ | height: 345px; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | .c-banner .banner ul li img{ | ||
+ | width: 100%; | ||
+ | text-align:center; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | caption{ | ||
+ | color:black; | ||
+ | text-align:center; | ||
+ | font-weight:600; | ||
+ | } | ||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 03:17, 21 October 2019