ShuguangWang (Talk | contribs) |
ShuguangWang (Talk | contribs) |
||
(53 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
<html> | <html> | ||
<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 42: | Line 46: | ||
padding: 0; | padding: 0; | ||
list-style: none; | list-style: 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 { | ||
+ | background-color: #323643; | ||
position: relative; | position: relative; | ||
color: #ffffff; | color: #ffffff; | ||
− | |||
height: 64px; | height: 64px; | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .logo-daohang { |
+ | height: 64px; | ||
+ | left: 10%; | ||
+ | float: left; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | .daohang a { | ||
display: block; | display: block; | ||
− | |||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
− | . | + | .daohang .shade { |
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 .caidan { |
position: absolute; | position: absolute; | ||
top: 0; | top: 0; | ||
− | + | right: 10%; | |
− | margin: | + | margin: 0; |
− | z-index: | + | z-index: 2; |
padding: 0; | padding: 0; | ||
list-style: none; | list-style: none; | ||
− | width: | + | width: 730px; |
+ | float: right; | ||
overflow: hidden; | overflow: hidden; | ||
height: 64px; | height: 64px; | ||
} | } | ||
− | . | + | .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 .shortName { |
− | width: | + | width: 110px; |
} | } | ||
− | . | + | .daohang .longName { |
− | width: | + | width: 170px; |
} | } | ||
− | . | + | .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 .xjtPic { |
display: inline-block; | display: inline-block; | ||
width: 10px; | width: 10px; | ||
Line 137: | Line 141: | ||
} | } | ||
− | . | + | .daohang .item { |
font-size: 16px; | font-size: 16px; | ||
height: 40px; | height: 40px; | ||
Line 145: | Line 149: | ||
} | } | ||
− | . | + | .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 { | ||
content: ''; | content: ''; | ||
display: block; | display: block; | ||
Line 152: | Line 176: | ||
height: 1px; | height: 1px; | ||
bottom: 5px; | bottom: 5px; | ||
− | left: | + | left: 15px; |
background-color: #CCCCCC; | background-color: #CCCCCC; | ||
} | } | ||
− | . | + | .daohang .shortName .item:hover:after { |
content: ''; | content: ''; | ||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
width: 80px; | width: 80px; | ||
− | height: | + | height: 3px; |
bottom: 5px; | bottom: 5px; | ||
− | left: | + | left: 15px; |
background-color: #f51720; | background-color: #f51720; | ||
} | } | ||
− | . | + | .daohang .longName .item:before { |
content: ''; | content: ''; | ||
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; | ||
} | } | ||
− | . | + | .daohang .longName .item:hover:after { |
content: ''; | content: ''; | ||
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; | ||
} | } | ||
− | + | @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 210: | Line 262: | ||
<body> | <body> | ||
− | <nav class="nav"> | + | <nav class="daohang"> |
− | <ul class=" | + | <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="caidan"> | ||
<li class="hiLight shortName"> | <li class="hiLight shortName"> | ||
− | <a class="nav_head" href=" | + | <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 223: | Line 277: | ||
</li> | </li> | ||
<li class="hiLight shortName"> | <li class="hiLight shortName"> | ||
− | <a class="nav_head" href=" | + | <a class="nav_head" href="#"> |
− | <span | + | <span>Wetlab</span> |
<span class="xjtPic"></span> | <span class="xjtPic"></span> | ||
</a> | </a> | ||
Line 232: | Line 286: | ||
</li> | </li> | ||
<li class="hiLight shortName"> | <li class="hiLight shortName"> | ||
− | <a class="nav_head" href=" | + | <a class="nav_head" href="#"> |
− | <span | + | <span>Drylab</span> |
<span class="xjtPic"></span> | <span class="xjtPic"></span> | ||
</a> | </a> | ||
Line 240: | Line 294: | ||
</li> | </li> | ||
<li class="hiLight longName"> | <li class="hiLight longName"> | ||
− | <a class="nav_head" href=" | + | <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="nav_head" href=" | + | <a class="nav_head" href="#"> |
− | <span | + | <span>About Us</span> |
<span class="xjtPic"></span> | <span class="xjtPic"></span> | ||
</a> | </a> | ||
− | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Team"> | + | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Team">Team</a> |
<a class="item" href="https://2018.igem.org/Team:HZAU-China/Attributions">Attributions</a> | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Attributions">Attributions</a> | ||
<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> | ||
Line 259: | Line 314: | ||
<a class="nav_head" href="https://2018.igem.org/Team:HZAU-China/Parts"> | <a class="nav_head" href="https://2018.igem.org/Team:HZAU-China/Parts"> | ||
<span>Parts</span> | <span>Parts</span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</a> | </a> | ||
</li> | </li> | ||
Line 269: | 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