ShuguangWang (Talk | contribs) |
ShuguangWang (Talk | contribs) |
||
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> | |
− | + | body { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
− | + | background-color: #F3F3F3; | |
− | + | font-size: 14px; | |
− | + | font-family: 'Microsoft YaHei', 'Times New Roman', Times, serif; | |
+ | letter-spacing: 0; | ||
+ | color: #333333; | ||
} | } | ||
.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%; | ||
float: left; | float: left; | ||
position: relative; | position: relative; | ||
+ | } | ||
+ | |||
+ | @media screen and (max-width: 1000px) { | ||
+ | .logo-daohang { | ||
+ | left: 5%; | ||
+ | } | ||
} | } | ||
.daohang a { | .daohang a { | ||
display: block; | display: block; | ||
− | |||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Line 77: | Line 43: | ||
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 .nav_list { |
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 . | + | @media screen and (max-width: 1000px) { |
+ | .daohang .nav_list { | ||
+ | right: 0; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | .daohang .nav_list>li { | ||
padding: 0; | padding: 0; | ||
float: left; | float: left; | ||
margin: 0; | margin: 0; | ||
+ | width: 110px; | ||
text-align: center; | text-align: center; | ||
− | height: | + | height: 224px; |
} | } | ||
− | .daohang . | + | .daohang .nav_head { |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
height: 64px; | height: 64px; | ||
line-height: 64px; | line-height: 64px; | ||
Line 128: | Line 92: | ||
} | } | ||
− | .daohang | + | .daohang .xjtPic { |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
display: inline-block; | display: inline-block; | ||
width: 10px; | width: 10px; | ||
Line 151: | Line 102: | ||
.daohang .item { | .daohang .item { | ||
− | |||
height: 40px; | height: 40px; | ||
line-height: 40px; | line-height: 40px; | ||
Line 157: | Line 107: | ||
position: relative; | position: relative; | ||
} | } | ||
+ | |||
+ | .daohang .nav_list:hover { | ||
+ | height: 264px; | ||
+ | transition: height 0.3s; | ||
+ | } | ||
+ | |||
+ | .daohang .nav_list:hover+.shade { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .daohang .nav_list>li.hiLight:hover { | ||
+ | background-color: #ffffff; | ||
+ | } | ||
+ | |||
+ | .daohang .nav_list>li:hover .nav_head { | ||
+ | background-color: #EA0D04; | ||
+ | } | ||
+ | |||
+ | .daohang .nav_list>li:hover .item {} | ||
+ | |||
.daohang .shortName .item:before { | .daohang .shortName .item:before { | ||
Line 165: | Line 135: | ||
height: 1px; | height: 1px; | ||
bottom: 5px; | bottom: 5px; | ||
− | left: | + | left: 15px; |
background-color: #CCCCCC; | background-color: #CCCCCC; | ||
} | } | ||
Line 176: | Line 146: | ||
height: 2px; | height: 2px; | ||
bottom: 5px; | bottom: 5px; | ||
− | left: | + | left: 15px; |
background-color: #f51720; | background-color: #f51720; | ||
} | } | ||
Line 184: | Line 154: | ||
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 165: | ||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
− | width: | + | width: 130px; |
height: 2px; | height: 2px; | ||
bottom: 5px; | bottom: 5px; | ||
− | left: | + | left: 20px; |
background-color: #f51720; | background-color: #f51720; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
</style> | </style> | ||
Line 224: | Line 176: | ||
<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="nav_list"> | ||
<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 190: | ||
</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 199: | ||
</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 253: | Line 206: | ||
<a class="item" href="https://2018.igem.org/Team:HZAU-China/Software">Software</a> | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Software">Software</a> | ||
</li> | </li> | ||
− | <li class="hiLight longName"> | + | <li class="hiLight longName" style="width:170px;"> |
− | <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 224: | ||
<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 | + | <li> |
− | <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 232: | ||
<div class="shade"></div> | <div class="shade"></div> | ||
</nav> | </nav> | ||
+ | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 19:54, 30 September 2018