ShuguangWang (Talk | contribs) |
ShuguangWang (Talk | contribs) |
||
Line 3: | Line 3: | ||
<head> | <head> | ||
<meta charset="UTF-8"> | <meta charset="UTF-8"> | ||
− | |||
<style type="text/css"> | <style type="text/css"> | ||
#sideMenu, | #sideMenu, | ||
#top_title, | #top_title, | ||
− | #team_submenu | + | #team_submenu { |
− | + | ||
display: none; | display: none; | ||
} | } | ||
Line 46: | Line 44: | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.daohang { | .daohang { | ||
− | + | position: absolute; | |
+ | top: 0px; | ||
+ | margin: 0 8px; | ||
+ | width: 95%; | ||
+ | height: 64px; | ||
+ | margin: auto; | ||
position: relative; | position: relative; | ||
color: #ffffff; | color: #ffffff; | ||
− | + | min-width: 1000px; | |
+ | box-shadow: 0 1px 3px #CCCCCC; | ||
+ | border-radius: 3px; | ||
+ | background-color: #1fa67a; | ||
+ | background-image: url("https://static.igem.org/mediawiki/2018/7/7d/T--HZAU-China--bgimg0.png"); | ||
} | } | ||
− | .logo-daohang { | + | .logo-daohang{ |
height: 64px; | height: 64px; | ||
left: 10%; | left: 10%; | ||
float: left; | float: left; | ||
position: relative; | position: relative; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
.daohang a { | .daohang a { | ||
display: block; | display: block; | ||
+ | font-family: Arial, Verdana, Sans-serif; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Line 85: | Line 77: | ||
position: absolute; | position: absolute; | ||
width: 100%; | width: 100%; | ||
− | height: | + | height: 170px; |
top: 64px; | top: 64px; | ||
left: 0; | left: 0; | ||
− | z-index: | + | z-index: 99; |
− | background-color: # | + | background-color: #eeeeee; |
− | + | box-shadow: 0 1px 3px #CCCCCC; | |
− | + | ||
− | box-shadow: 0 | + | |
display: none; | display: none; | ||
− | border-bottom: | + | border-bottom-left-radius: 3px; |
− | border-bottom: | + | border-bottom-right-radius: 3px; |
} | } | ||
− | .daohang . | + | .daohang .daohang_list { |
position: absolute; | position: absolute; | ||
top: 0; | top: 0; | ||
− | + | left: 35%; | |
− | margin: 0; | + | margin: 0 0 0 0; |
− | z-index: | + | z-index: 100; |
padding: 0; | padding: 0; | ||
− | + | width: 65%; | |
− | width: | + | height: 64px; |
− | + | ||
overflow: hidden; | overflow: hidden; | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | .daohang . | + | .daohang .daohang_list>li { |
padding: 0; | padding: 0; | ||
float: left; | float: left; | ||
margin: 0; | margin: 0; | ||
− | |||
text-align: center; | text-align: center; | ||
− | height: | + | height: 264px; |
} | } | ||
− | .daohang . | + | .daohang .daohang_list .shortName { |
+ | width: 13%; | ||
+ | } | ||
+ | |||
+ | .daohang .daohang_list .longName { | ||
+ | width: 20%; | ||
+ | } | ||
+ | |||
+ | .daohang .daohang_list .dandian{ | ||
+ | width:10%; | ||
+ | } | ||
+ | |||
+ | .daohang .daohang_head { | ||
height: 64px; | height: 64px; | ||
line-height: 64px; | line-height: 64px; | ||
color: #ffffff; | color: #ffffff; | ||
− | font-size: 16px | + | font-size: 16px; |
+ | } | ||
+ | |||
+ | .daohang .daohang_first { | ||
+ | margin-right: 5px; | ||
+ | } | ||
+ | |||
+ | .daohang .hiLight .xsjPic { | ||
+ | display: inline-block; | ||
+ | width: 10px; | ||
+ | height: 10px; | ||
+ | vertical-align: middle; | ||
+ | background-size: 100% 100%; | ||
+ | background-image: url("https://static.igem.org/mediawiki/2018/6/63/T--HZAU-China--xsj.svg") | ||
} | } | ||
− | .daohang .xjtPic { | + | .daohang .hiLight .xjtPic { |
display: inline-block; | display: inline-block; | ||
width: 10px; | width: 10px; | ||
Line 144: | Line 151: | ||
.daohang .item { | .daohang .item { | ||
+ | font-size: 16px; | ||
height: 40px; | height: 40px; | ||
line-height: 40px; | line-height: 40px; | ||
Line 149: | Line 157: | ||
position: relative; | position: relative; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.daohang .shortName .item:before { | .daohang .shortName .item:before { | ||
Line 177: | Line 165: | ||
height: 1px; | height: 1px; | ||
bottom: 5px; | bottom: 5px; | ||
− | left: | + | left: 20px; |
background-color: #CCCCCC; | background-color: #CCCCCC; | ||
} | } | ||
Line 188: | Line 176: | ||
height: 2px; | height: 2px; | ||
bottom: 5px; | bottom: 5px; | ||
− | left: | + | left: 20px; |
background-color: #f51720; | background-color: #f51720; | ||
} | } | ||
Line 196: | Line 184: | ||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
− | width: | + | width: 120px; |
height: 1px; | height: 1px; | ||
bottom: 5px; | bottom: 5px; | ||
− | left: | + | left: 30px; |
background-color: #CCCCCC; | background-color: #CCCCCC; | ||
} | } | ||
Line 207: | Line 195: | ||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
− | width: | + | width: 120px; |
height: 2px; | height: 2px; | ||
bottom: 5px; | bottom: 5px; | ||
− | left: | + | left: 30px; |
background-color: #f51720; | background-color: #f51720; | ||
+ | } | ||
+ | |||
+ | .daohang .daohang_list:hover { | ||
+ | height: 234px; | ||
+ | transition: height 0.3s; | ||
+ | } | ||
+ | |||
+ | .daohang .daohang_list:hover+.shade { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .daohang .daohang_list>li.hiLight:hover { | ||
+ | background-color: #ffffff; | ||
+ | } | ||
+ | |||
+ | .daohang .daohang_list>li:hover .daohang_head, | ||
+ | .daohang .daohang_list>li.active .daohang_head { | ||
+ | background-color: #0B3C38; | ||
} | } | ||
</style> | </style> | ||
Line 218: | Line 224: | ||
<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" | + | <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> |
− | + | <ul class="daohang_list"> | |
− | <ul class=" | + | |
<li class="hiLight shortName"> | <li class="hiLight shortName"> | ||
− | <a class=" | + | <a class="daohang_head" href="https://2018.igem.org/Team:HZAU-China"> |
− | <span>Project</span> | + | <span class="daohang_first">Project</span> |
− | <span class=" | + | <span class="xsjPic"></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 232: | Line 237: | ||
</li> | </li> | ||
<li class="hiLight shortName"> | <li class="hiLight shortName"> | ||
− | <a class=" | + | <a class="daohang_head" href="https://2018.igem.org/Team:HZAU-China/Experiments"> |
− | <span>Wetlab</span> | + | <span class="daohang_first">Wetlab</span> |
<span class="xjtPic"></span> | <span class="xjtPic"></span> | ||
</a> | </a> | ||
Line 241: | Line 246: | ||
</li> | </li> | ||
<li class="hiLight shortName"> | <li class="hiLight shortName"> | ||
− | <a class=" | + | <a class="daohang_head" href="https://2018.igem.org/Team:HZAU-China/Model"> |
− | <span>Drylab</span> | + | <span class="daohang_first">Drylab</span> |
<span class="xjtPic"></span> | <span class="xjtPic"></span> | ||
</a> | </a> | ||
Line 248: | Line 253: | ||
<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"> |
− | <a class=" | + | <a class="daohang_head" href="https://2018.igem.org/Team:HZAU-China/Human_Practices"> |
− | <span>Human Practices</span> | + | <span class="daohang_first">Human Practices</span> |
<span class="xjtPic"></span> | <span class="xjtPic"></span> | ||
</a> | </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="daohang_head" href="https://2018.igem.org/Team:HZAU-China/Team"> |
− | <span> | + | <span class="daohang_first">Team</span> |
<span class="xjtPic"></span> | <span class="xjtPic"></span> | ||
</a> | </a> | ||
Line 266: | Line 270: | ||
<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 class="dandian"> |
− | <a class=" | + | <a class="daohang_head" href="https://2018.igem.org/Team:HZAU-China/Parts"> |
<span>Parts</span> | <span>Parts</span> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li class="dandian"> | ||
+ | <a class="daohang_head" href="https://2018.igem.org/Team:HZAU-China/Safety"> | ||
+ | <span>Safety</span> | ||
</a> | </a> | ||
</li> | </li> | ||
Line 274: | Line 283: | ||
<div class="shade"></div> | <div class="shade"></div> | ||
</nav> | </nav> | ||
− | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 21:15, 30 September 2018