Line 571: | Line 571: | ||
.homepage_img{ | .homepage_img{ | ||
text-align: center; | text-align: center; | ||
− | background: url(https://static.igem.org/mediawiki/2018/ | + | background: url(https://static.igem.org/mediawiki/2018/8/83/T--ZJUT-China--home2.jpg); |
− | + | ||
− | + | ||
background-size:cover; | background-size:cover; | ||
+ | width: 100% ; | ||
+ | min-height: 800px; | ||
+ | height: auto; | ||
+ | clear: both; | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: 100% 100%; | ||
+ | overflow: hidden; | ||
} | } | ||
Line 620: | Line 625: | ||
/* 下拉按钮样式 */ | /* 下拉按钮样式 */ | ||
.dropbkgd{ | .dropbkgd{ | ||
− | + | background-image: url(https://static.igem.org/mediawiki/2018/7/76/T--ZJUT-China--topbar.gif); | |
− | + | min-height: 51px; | |
− | + | height: auto; | |
− | + | width: 100% ; | |
+ | clear: both; | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: 100% 100%; | ||
+ | overflow: hidden; | ||
} | } | ||
.drop{ | .drop{ | ||
Line 635: | Line 644: | ||
.dropposition{ | .dropposition{ | ||
position: absolute; | position: absolute; | ||
− | left: | + | left: 15.2%; |
width: 100%; | width: 100%; | ||
height: 51px; | height: 51px; | ||
Line 675: | Line 684: | ||
.dropdown2{ | .dropdown2{ | ||
width: 7%; | width: 7%; | ||
− | left: | + | left: 2%; |
} | } | ||
.dropdown3{ | .dropdown3{ | ||
width: 8%; | width: 8%; | ||
− | left: | + | left: 3%; |
} | } | ||
.dropdown4{ | .dropdown4{ | ||
width:7%; | width:7%; | ||
− | left: | + | left:5%; |
} | } | ||
.dropdown5{ | .dropdown5{ | ||
width: 7%; | width: 7%; | ||
− | left: | + | left:6%; |
} | } | ||
.dropdown6{ | .dropdown6{ | ||
width:15.2%; | width:15.2%; | ||
− | left: | + | left: 7%; |
} | } | ||
.dropdown7{ | .dropdown7{ | ||
width:12%; | width:12%; | ||
− | left: | + | left: 7%; |
} | } | ||
.dropdown8{ | .dropdown8{ | ||
width:12%; | width:12%; | ||
− | left: | + | left: 8%; |
} | } | ||
/* 下拉内容 (默认隐藏) */ | /* 下拉内容 (默认隐藏) */ | ||
Line 949: | Line 958: | ||
<div class="dropdown7"> | <div class="dropdown7"> | ||
<div class="drop"> | <div class="drop"> | ||
− | <a href="https://2018.igem.org/Team:ZJUT-China/Model"> | + | <a href="https://2018.igem.org/Team:ZJUT-China/Model"> Modeling</a> |
</div> | </div> | ||
</div> | </div> |
Revision as of 15:47, 20 September 2018