ShuguangWang (Talk | contribs) |
ShuguangWang (Talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<head> | <head> | ||
<meta charset="UTF-8"> | <meta charset="UTF-8"> | ||
+ | <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> | ||
<style type="text/css"> | <style type="text/css"> | ||
#sideMenu, | #sideMenu, | ||
#top_title, | #top_title, | ||
− | #team_submenu { | + | #team_submenu{ |
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #HQ_page p { | ||
display: none; | display: none; | ||
} | } | ||
Line 43: | Line 48: | ||
list-style-type: none; | list-style-type: none; | ||
text-decoration: none; | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | body { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | background-color: #F3F3F3; | ||
+ | font-size: 16px; | ||
+ | font-family: Arial, Verdana, Sans-serif; | ||
+ | letter-spacing: 0; | ||
+ | color: #FFFFFF; | ||
} | } | ||
.daohang { | .daohang { | ||
− | + | background-color: #323643; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
position: relative; | position: relative; | ||
color: #ffffff; | color: #ffffff; | ||
− | + | height: 64px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | .logo-daohang{ | + | .logo-daohang { |
height: 64px; | height: 64px; | ||
left: 10%; | left: 10%; | ||
Line 70: | Line 76: | ||
.daohang a { | .daohang a { | ||
display: block; | display: block; | ||
− | |||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Line 77: | Line 82: | ||
position: absolute; | position: absolute; | ||
width: 100%; | width: 100%; | ||
− | height: | + | height: 160px; |
top: 64px; | top: 64px; | ||
left: 0; | left: 0; | ||
− | z-index: | + | z-index: 1; |
− | background-color: # | + | background-color: #EEEEEE; |
− | box-shadow: 0 | + | opacity: 0.9; |
+ | filter: alpha(opacity=90); | ||
+ | box-shadow: 0 5px 15px #CCCCCC; | ||
display: none; | display: none; | ||
− | border-bottom | + | border-bottom: #ffffff solid 1px; |
− | border-bottom | + | border-bottom: rgba(255, 255, 255, 0.3) solid 1px; |
} | } | ||
− | .daohang . | + | .daohang .caidan { |
position: absolute; | position: absolute; | ||
top: 0; | top: 0; | ||
− | + | right: 10%; | |
− | margin: | + | margin: 0; |
− | z-index: | + | z-index: 2; |
padding: 0; | padding: 0; | ||
− | width: | + | list-style: none; |
− | + | width: 730px; | |
+ | float: right; | ||
overflow: hidden; | overflow: hidden; | ||
− | + | height: 64px; | |
} | } | ||
− | .daohang . | + | .daohang .caidan>li { |
padding: 0; | padding: 0; | ||
float: left; | float: left; | ||
margin: 0; | margin: 0; | ||
text-align: center; | text-align: center; | ||
− | height: | + | height: 224px; |
} | } | ||
− | .daohang | + | .daohang .shortName { |
− | width: | + | width: 110px; |
} | } | ||
− | .daohang | + | .daohang .longName { |
− | width: | + | width: 170px; |
} | } | ||
− | .daohang . | + | .daohang .nav_head { |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
height: 64px; | height: 64px; | ||
line-height: 64px; | line-height: 64px; | ||
color: #ffffff; | color: #ffffff; | ||
− | font-size: 16px; | + | font-size: 16px !important; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | .daohang | + | .daohang .xjtPic { |
display: inline-block; | display: inline-block; | ||
width: 10px; | width: 10px; | ||
Line 157: | Line 148: | ||
position: relative; | position: relative; | ||
} | } | ||
+ | |||
+ | .daohang .caidan:hover { | ||
+ | height: 264px; | ||
+ | transition: height 0.3s; | ||
+ | } | ||
+ | |||
+ | .daohang .caidan:hover+.shade { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .daohang .caidan>li.hiLight:hover { | ||
+ | background-color: #ffffff; | ||
+ | } | ||
+ | |||
+ | .daohang .caidan>li:hover .nav_head { | ||
+ | background-color: #EA0D04; | ||
+ | } | ||
+ | |||
+ | .daohang .caidan>li:hover .item {} | ||
+ | |||
.daohang .shortName .item:before { | .daohang .shortName .item:before { | ||
Line 165: | Line 176: | ||
height: 1px; | height: 1px; | ||
bottom: 5px; | bottom: 5px; | ||
− | left: | + | left: 15px; |
background-color: #CCCCCC; | background-color: #CCCCCC; | ||
} | } | ||
Line 174: | Line 185: | ||
position: absolute; | position: absolute; | ||
width: 80px; | width: 80px; | ||
− | height: | + | height: 3px; |
bottom: 5px; | bottom: 5px; | ||
− | left: | + | left: 15px; |
background-color: #f51720; | background-color: #f51720; | ||
} | } | ||
Line 184: | Line 195: | ||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
− | width: | + | width: 130px; |
height: 1px; | height: 1px; | ||
bottom: 5px; | bottom: 5px; | ||
− | left: | + | left: 20px; |
background-color: #CCCCCC; | background-color: #CCCCCC; | ||
} | } | ||
Line 195: | Line 206: | ||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
− | width: | + | width: 130px; |
− | height: | + | height: 3px; |
bottom: 5px; | bottom: 5px; | ||
− | left: | + | left: 20px; |
background-color: #f51720; | background-color: #f51720; | ||
} | } | ||
− | .daohang | + | @media screen and (max-width: 1000px) { |
− | + | .logo-daohang { | |
− | + | left: 5%; | |
− | + | } | |
− | + | .daohang .caidan { | |
− | + | right: 0; | |
+ | } | ||
} | } | ||
− | + | @media screen and (max-width: 880px) { | |
− | + | ||
− | + | ||
− | + | .daohang .caidan { | |
− | + | width: 100%; | |
− | + | } | |
+ | |||
+ | .logo-daohang { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .daohang .shortName { | ||
+ | width: 15vw; | ||
+ | } | ||
+ | |||
+ | .daohang .longName { | ||
+ | width: 25vw; | ||
+ | } | ||
+ | |||
+ | .daohang .shortName .item:before { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .daohang .shortName .item:hover:after { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .daohang .longName .item:before { | ||
+ | display: none; | ||
+ | |||
+ | } | ||
+ | |||
+ | .daohang .longName .item:hover:after { | ||
+ | display: none; | ||
+ | } | ||
} | } | ||
</style> | </style> | ||
Line 224: | Line 263: | ||
<body> | <body> | ||
<nav class="daohang"> | <nav class="daohang"> | ||
− | <a href="https://2018.igem.org/Team:HZAU-China"><img src="https://static.igem.org/mediawiki/2018/7/75/T--HZAU-China--logo-nav.png" class="logo-daohang"></a> | + | <a href="https://2018.igem.org/Team:HZAU-China"><img src="https://static.igem.org/mediawiki/2018/7/75/T--HZAU-China--logo-nav.png" |
− | <ul class=" | + | class="logo-daohang"></a> |
+ | <ul class="caidan"> | ||
<li class="hiLight shortName"> | <li class="hiLight shortName"> | ||
− | <a class=" | + | <a class="nav_head" href="#"> |
− | <span | + | <span>Project</span> |
− | <span class=" | + | <span class="xjtPic"></span> |
</a> | </a> | ||
<a class="item" href="https://2018.igem.org/Team:HZAU-China/Description">Description</a> | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Description">Description</a> | ||
Line 237: | Line 277: | ||
</li> | </li> | ||
<li class="hiLight shortName"> | <li class="hiLight shortName"> | ||
− | <a class=" | + | <a class="nav_head" href="#"> |
− | <span | + | <span>Wetlab</span> |
<span class="xjtPic"></span> | <span class="xjtPic"></span> | ||
</a> | </a> | ||
Line 246: | Line 286: | ||
</li> | </li> | ||
<li class="hiLight shortName"> | <li class="hiLight shortName"> | ||
− | <a class=" | + | <a class="nav_head" href="#"> |
− | <span | + | <span>Drylab</span> |
<span class="xjtPic"></span> | <span class="xjtPic"></span> | ||
</a> | </a> | ||
Line 254: | Line 294: | ||
</li> | </li> | ||
<li class="hiLight longName"> | <li class="hiLight longName"> | ||
− | <a class=" | + | <a class="nav_head" href="#"> |
− | <span | + | <span>Human Practices</span> |
<span class="xjtPic"></span> | <span class="xjtPic"></span> | ||
</a> | </a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Safety">Safty</a> | ||
<a class="item" href="https://2018.igem.org/Team:HZAU-China/Human_Practices">Human Practices</a> | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Human_Practices">Human Practices</a> | ||
<a class="item" href="https://2018.igem.org/Team:HZAU-China/Public_Engagement">Public Engagement</a> | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Public_Engagement">Public Engagement</a> | ||
</li> | </li> | ||
<li class="hiLight shortName"> | <li class="hiLight shortName"> | ||
− | <a class=" | + | <a class="nav_head" href="#"> |
− | <span | + | <span>About Us</span> |
<span class="xjtPic"></span> | <span class="xjtPic"></span> | ||
</a> | </a> | ||
Line 270: | Line 311: | ||
<a class="item" href="https://2018.igem.org/Team:HZAU-China/Collaborations">Collaborations</a> | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Collaborations">Collaborations</a> | ||
</li> | </li> | ||
− | <li class=" | + | <li class="shortName"> |
− | <a class=" | + | <a class="nav_head" href="https://2018.igem.org/Team:HZAU-China/Parts"> |
<span>Parts</span> | <span>Parts</span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</a> | </a> | ||
</li> | </li> | ||
Line 283: | Line 319: | ||
<div class="shade"></div> | <div class="shade"></div> | ||
</nav> | </nav> | ||
+ | |||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 22:18, 30 September 2018