ShuguangWang (Talk | contribs) |
ShuguangWang (Talk | contribs) |
||
Line 1: | Line 1: | ||
<html> | <html> | ||
− | + | ||
<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 { | ||
Line 36: | Line 36: | ||
height: 16px; | height: 16px; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | * { | |
− | + | margin: 0; | |
− | + | padding: 0; | |
− | + | list-style: none; | |
− | + | text-decoration: none; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | </style> | + | .nav { |
+ | position: absolute; | ||
+ | top: 0px; | ||
+ | margin: 0 8px; | ||
+ | position: relative; | ||
+ | color: #ffffff; | ||
+ | min-width: 1000px; | ||
+ | height: 64px; | ||
+ | box-shadow: 0 1px 3px #CCCCCC; | ||
+ | border-radius: 3px; | ||
+ | background-color: #1fa67a; | ||
+ | background-image: url(bgimg3.png); | ||
+ | } | ||
+ | |||
+ | .nav a { | ||
+ | display: block; | ||
+ | font-family: Arial, Verdana, Sans-serif; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | .nav .shade { | ||
+ | position: absolute; | ||
+ | width: 100%; | ||
+ | height: 170px; | ||
+ | top: 64px; | ||
+ | left: 0; | ||
+ | z-index: 99; | ||
+ | background-color: #eeeeee; | ||
+ | box-shadow: 0 5px 15px #CCCCCC; | ||
+ | display: none; | ||
+ | border-bottom-left-radius: 3px; | ||
+ | border-bottom-right-radius: 3px; | ||
+ | } | ||
+ | |||
+ | .nav .nav_list { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 40%; | ||
+ | margin: 0 0 0 0; | ||
+ | z-index: 100; | ||
+ | padding: 0; | ||
+ | list-style: none; | ||
+ | width: 910px; | ||
+ | overflow: hidden; | ||
+ | height: 64px; | ||
+ | } | ||
+ | |||
+ | .nav .nav_list>li { | ||
+ | padding: 0; | ||
+ | float: left; | ||
+ | margin: 0; | ||
+ | text-align: center; | ||
+ | height: 264px; | ||
+ | } | ||
+ | |||
+ | .nav .nav_list .shortName { | ||
+ | width: 120px; | ||
+ | } | ||
+ | |||
+ | .nav .nav_list .longName { | ||
+ | width: 180px; | ||
+ | } | ||
+ | |||
+ | .nav .nav_head { | ||
+ | height: 64px; | ||
+ | line-height: 64px; | ||
+ | color: #ffffff; | ||
+ | font-size: 16px; | ||
+ | } | ||
+ | |||
+ | .nav .nav_first { | ||
+ | margin-right: 5px; | ||
+ | } | ||
+ | |||
+ | .nav .hiLight .xsjPic { | ||
+ | display: inline-block; | ||
+ | width: 10px; | ||
+ | height: 10px; | ||
+ | vertical-align: middle; | ||
+ | background-size: 100% 100%; | ||
+ | background-image: url("xsj.svg") | ||
+ | } | ||
+ | |||
+ | .nav .hiLight .xjtPic { | ||
+ | display: inline-block; | ||
+ | width: 10px; | ||
+ | height: 10px; | ||
+ | vertical-align: middle; | ||
+ | background-size: 100% 100%; | ||
+ | background-image: url("xjt.svg") | ||
+ | } | ||
+ | |||
+ | .nav .item { | ||
+ | font-size: 16px; | ||
+ | height: 40px; | ||
+ | line-height: 40px; | ||
+ | color: #333333; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | .nav .shortName .item:before { | ||
+ | content: ''; | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | width: 80px; | ||
+ | height: 1px; | ||
+ | bottom: 5px; | ||
+ | left: 20px; | ||
+ | background-color: #CCCCCC; | ||
+ | } | ||
+ | |||
+ | .nav .shortName .item:hover:after { | ||
+ | content: ''; | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | width: 80px; | ||
+ | height: 2px; | ||
+ | bottom: 5px; | ||
+ | left: 20px; | ||
+ | background-color: #f51720; | ||
+ | } | ||
+ | |||
+ | .nav .longName .item:before { | ||
+ | content: ''; | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | width: 120px; | ||
+ | height: 1px; | ||
+ | bottom: 5px; | ||
+ | left: 30px; | ||
+ | background-color: #CCCCCC; | ||
+ | } | ||
+ | |||
+ | .nav .longName .item:hover:after { | ||
+ | content: ''; | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | width: 120px; | ||
+ | height: 2px; | ||
+ | bottom: 5px; | ||
+ | left: 30px; | ||
+ | background-color: #f51720; | ||
+ | } | ||
+ | |||
+ | .nav .nav_list:hover { | ||
+ | height: 234px; | ||
+ | transition: height 0.3s; | ||
+ | } | ||
+ | |||
+ | .nav .nav_list:hover+.shade { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .nav .nav_list>li.hiLight:hover { | ||
+ | background-color: #ffffff; | ||
+ | } | ||
+ | |||
+ | .nav .nav_list>li:hover .nav_head, | ||
+ | .nav .nav_list>li.active .nav_head { | ||
+ | background-color: #0B3C38; | ||
+ | } | ||
+ | </style> | ||
</head> | </head> | ||
+ | |||
<body> | <body> | ||
− | <nav class="nav"> | + | <nav class="nav"> |
− | + | <ul class="nav_list"> | |
− | + | <li class="hiLight shortName"> | |
− | + | <a class="nav_head" href="https://2018.igem.org/Team:HZAU-China"> | |
− | + | <span class="nav_first">Project</span> | |
− | + | <span class="xsjPic"></span> | |
− | + | </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/Design">Design</a> | |
− | + | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Results">Results</a> | |
− | + | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Demonstrate">Demonstrate</a> | |
− | + | </li> | |
− | + | <li class="hiLight shortName"> | |
− | + | <a class="nav_head" href="https://2018.igem.org/Team:HZAU-China/Experiments"> | |
− | + | <span class="nav_first">Wetlab</span> | |
− | + | <span class="xjtPic"></span> | |
− | + | </a> | |
− | + | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Experiments">Experiments</a> | |
− | + | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Improve">Improve</a> | |
− | + | <a class="item" href="https://2018.igem.org/Team:HZAU-China/InterLab">Interlab</a> | |
− | + | </li> | |
− | + | <li class="hiLight shortName"> | |
− | + | <a class="nav_head" href="https://2018.igem.org/Team:HZAU-China/Model"> | |
− | + | <span class="nav_first">Drylab</span> | |
− | + | <span class="xjtPic"></span> | |
− | + | </a> | |
− | + | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Model">Model</a> | |
− | + | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Software">Software</a> | |
− | + | </li> | |
− | + | <li class="hiLight longName"> | |
− | + | <a class="nav_head" href="https://2018.igem.org/Team:HZAU-China/Human_Practices"> | |
− | + | <span class="nav_first">Human Practices</span> | |
− | + | <span class="xjtPic"></span> | |
− | + | </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> | |
− | + | </li> | |
− | + | <li class="hiLight shortName"> | |
− | + | <a class="nav_head" href="https://2018.igem.org/Team:HZAU-China/Team"> | |
− | + | <span class="nav_first">Team</span> | |
− | + | <span class="xjtPic"></span> | |
− | + | </a> | |
− | + | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Team">Members</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> | |
− | + | </li> | |
− | + | <li class="shortName"> | |
− | + | <a class="nav_head" href="https://2018.igem.org/Team:HZAU-China/Parts"> | |
− | + | <span class="nav_first">Parts</span> | |
− | + | </a> | |
− | + | </li> | |
− | + | <li class="shortName"> | |
− | + | <a class="nav_head" href="https://2018.igem.org/Team:HZAU-China/Safety"> | |
− | + | <span>Safety</span> | |
− | + | </a> | |
− | </nav> | + | </li> |
+ | </ul> | ||
+ | <div class="shade"></div> | ||
+ | </nav> | ||
</body> | </body> | ||
+ | |||
</html> | </html> |
Revision as of 12:24, 18 September 2018