(Prototype team template page) |
|||
Line 510: | Line 510: | ||
<!-- This tells the browser that your page is responsive --> | <!-- This tells the browser that your page is responsive --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
− | + | <style> | |
+ | #topMenu { | ||
+ | height : 30px; | ||
+ | width: 950px; | ||
+ | } | ||
+ | #topMenu ul { | ||
+ | list-style-type: none; | ||
+ | margin: 0px; | ||
+ | padding: 0px; | ||
+ | } | ||
+ | #topMenu ul li { | ||
+ | list-style: none; | ||
+ | color: black !important; | ||
+ | background-color: rgba(0,0,0,0.0); | ||
+ | float: left; | ||
+ | line-height: 30px; | ||
+ | vertical-align: middle; | ||
+ | text-align: left; | ||
+ | position: relative; | ||
+ | } | ||
+ | .menuLink, .submenuLink { | ||
+ | text-decoration: none; | ||
+ | display: block; | ||
+ | width: 100px; | ||
+ | font-size: 12px; | ||
+ | font-weight: bold; | ||
+ | padding-left: 5px; | ||
+ | } | ||
+ | .menuLink { | ||
+ | color: black !important; | ||
+ | margin-left: 5px; | ||
+ | } | ||
+ | .topMenuLi:hovor .menuLink { | ||
+ | color: #888888 !important; | ||
+ | } | ||
+ | .submenuLink { | ||
+ | color: black !important; | ||
+ | margin-top: -1px; | ||
+ | text-align: left; | ||
+ | } | ||
+ | .longLink { | ||
+ | width: 100px; | ||
+ | } | ||
+ | .submenu { | ||
+ | position: absolute; | ||
+ | height: 0px; | ||
+ | overflow: hidden; | ||
+ | transition: height .2s; | ||
+ | } | ||
+ | .topMenuLi:hover .submenu { | ||
+ | height: 250px; | ||
+ | } | ||
+ | .submenuLink:hover { | ||
+ | color: #888888 !important; | ||
+ | } | ||
+ | </style> | ||
</head> | </head> | ||
Line 519: | Line 574: | ||
<!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> | <!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> | ||
− | + | <nav id="topMenu"> | |
− | + | <ul> | |
− | + | <li class="topMenuLi"> | |
− | + | <a class="menuLink" href="#">Project</a> | |
− | + | <ul class="submenu"> | |
− | < | + | <li><a class="submenuLink longLink" href="#">Overview</a></li> |
− | < | + | <li><a class="submenuLink longLink" href="#">Background</a></li> |
− | + | <li><a class="submenuLink longLink" href="#">Design</a></li> | |
− | + | <li><a class="submenuLink longLink" href="#">Experiments</a></li> | |
− | + | <li><a class="submenuLink longLink" href="#">Results</a></li> | |
− | + | <li><a class="submenuLink longLink" href="#">Demonstrate</a></li> | |
− | + | <li><a class="submenuLink longLink" href="#">Improve</a></li> | |
− | + | </ul> | |
− | + | </li> | |
− | + | <li class="topMenuLi"> | |
− | + | <a class="menuLink" href="#">People</a> | |
− | + | <ul class="submenu"> | |
− | + | <li><a class="submenuLink longLink" href="#">Members</a></li> | |
− | + | <li><a class="submenuLink longLink" href="#">Advisors</a></li> | |
− | < | + | <li><a class="submenuLink longLink" href="#">Attributions</a></li> |
− | + | <li><a class="submenuLink longLink" href="#">Collaborations</a></li> | |
− | + | </ul> | |
− | + | </li> | |
− | + | <li class="topMenuLi"> | |
− | + | <a class="menuLink" href="#">Parts</a> | |
− | + | <ul class="submenu"> | |
− | + | <li><a class="submenuLink longLink" href="#">Parts overview</a></li> | |
− | + | <li><a class="submenuLink longLink" href="#">Basic Parts</a></li> | |
− | + | <li><a class="submenuLink longLink" href="#">Composite Parts</a></li> | |
− | + | <li><a class="submenuLink longLink" href="#">Parts collection</a></li> | |
− | + | </ul> | |
− | + | </li> | |
− | + | <li class="topMenuLi"> | |
− | + | <a class="menuLink" href="#">Human Practices</a> | |
− | + | <ul class="submenu"> | |
− | + | <li><a class="submenuLink longLink" href="#">Human Practices</a></li> | |
− | + | <li><a class="submenuLink longLink" href="#">Public Education</a></li> | |
− | + | <li><a class="submenuLink longLink" href="#">& Engagement</a></li> | |
− | + | </ul> | |
− | + | </li> | |
− | + | <li class="topMenuLi"> | |
− | + | <a class="menuLink" href="#">Safety</a> | |
− | + | <ul class="submenu"> | |
− | + | <li><a class="submenuLink longLink" href="#">Lab Safety</a></li> | |
− | + | <li><a class="submenuLink longLink" href="#">Safe Project Design</a></li> | |
− | + | <li><a class="submenuLink longLink" href="#">Safe product Use</a></li> | |
− | + | </ul> | |
− | + | </li> | |
− | + | <li class="topMenuLi"> | |
− | + | <a class="menuLink" href="#">NoteBook</a> | |
− | + | <ul class="submenu"> | |
− | + | <li><a class="submenuLink longLink" href="#">Demonstration</a></li> | |
− | + | </ul> | |
− | + | </li> | |
− | + | <li><a class="menuLink" href="#">Awards</a></li> | |
− | + | <li><a class="menuLink" href="https://igem.org/2018_Judging_Form?team=BioMarvel">Judging Form</a></li> | |
− | + | </ul> | |
− | + | </nav> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | </ | + | |
− | + | ||
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | </ | + | |
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | </ | + | |
− | + | ||
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | </ | + | |
− | + | ||
− | + | ||
− | <a | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
<!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> | <!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> |
Revision as of 13:49, 4 September 2018