Yashnaverma (Talk | contribs) |
Yashnaverma (Talk | contribs) |
||
Line 1: | Line 1: | ||
<html lang='en'> | <html lang='en'> | ||
− | + | ||
<style> | <style> | ||
.dropdown { | .dropdown { | ||
− | + | z-index: 9999; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #wnm-top-nav ul { | |
− | + | margin: 0 0 0 0; | |
− | + | } | |
− | + | #wnm-top-nav li { | |
− | + | margin: 0 0 0 0; | |
− | + | } | |
− | + | ||
− | + | #wnm-top-nav li { | |
+ | display: inline-block; | ||
} | } | ||
− | + | #wnm-top-nav li:hover { | |
− | + | background: #ECECEC; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #wnm-top-nav li:hover ul { | |
− | + | display: block; | |
− | + | ||
} | } | ||
− | + | #wnm-top-nav li ul { | |
− | + | position: absolute; | |
− | + | width: 150px; | |
+ | display: none; | ||
+ | font-size: 15px; | ||
} | } | ||
− | + | #wnm-top-nav li ul li { | |
− | + | background: #ECECEC; | |
− | + | display: block; | |
} | } | ||
+ | #wnm-top-nav li ul li a {display:block !important;} | ||
+ | #wnm-top-nav li ul li:hover {background: #E8E8E8;} | ||
+ | |||
+ | |||
− | |||
− | |||
− | |||
</style> | </style> | ||
− | |||
− | < | + | <div class="dropdown"> |
− | + | <nav class="navbar navbar-default navbar-fixed-top" role="navigation"> | |
− | + | <!-- navbar adjusted to fix full-screen issue on auxillary pages resulting in whitespace at top of screen. --> | |
− | + | <div class="container"> | |
− | + | <div class="navbar-header"style='float: left;'> | |
− | + | <button id="menu-toggle" type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example"> | |
− | + | <span class="sr-only">Toggle navigation</span> | |
− | + | <span class="icon-bar bar1"></span> | |
− | + | <span class="icon-bar bar2"></span> | |
− | + | <span class="icon-bar bar3"></span> | |
− | + | </button> | |
− | + | <a href='https://2018.igem.org/Team:William_and_Mary' class="navbar-brand"> | |
− | + | <div style='padding-top: 3px;'> | |
− | + | <img src="#" height = "40px"/></div> | |
− | + | </a> | |
− | + | </div> | |
− | + | ||
− | + | <div class="collapse navbar-collapse"> | |
− | + | <ul id = "wnm-top-nav" class="nav navbar-nav navbar-right navbar-uppercase dropdown"> | |
− | + | ||
− | + | ||
− | + | <li> | |
− | + | <a href="#"> | |
− | + | Description | |
− | + | </a> | |
− | + | ||
− | + | ||
− | + | <ul> | |
− | + | ||
− | + | <li> <center> <a href="#"> | |
− | + | Project Overview | |
− | + | </a></center></li> | |
− | + | <li> <center> <a href="#"> | |
− | + | Demonstrate | |
− | + | </a></center></li> | |
− | + | <li> <center> <a href="#"> | |
− | + | Measurement | |
− | + | </a></center></li> | |
− | + | </ul> | |
− | + | </li> | |
− | + | ||
− | + | ||
− | + | <li> | |
− | + | <a href="#"> | |
− | + | Results | |
− | + | </a> | |
− | + | <ul> | |
− | + | ||
− | + | <li> <center> <a href="#"> | |
− | + | Results Overview | |
− | + | </a></center></li> | |
− | + | <li> <center> <a href="#"> | |
− | + | results | |
− | + | </a></center></li> | |
− | + | ||
− | + | ||
− | + | </ul> | |
− | + | </li> | |
− | + | ||
− | + | ||
− | + | <li> | |
− | + | <a href="#"> | |
− | + | Modeling | |
− | + | </a> | |
− | + | </li> | |
− | + | ||
− | + | <li> | |
− | + | <a href="#"> | |
− | + | Human Practices | |
− | + | </a> | |
− | + | <ul> | |
− | + | ||
− | + | ||
− | + | <li><center> <a href="#"> | |
− | + | Overview | |
− | + | </a></center></li> | |
+ | <li><center><a href="#r"> | ||
+ | HP/Silver | ||
+ | </a></center></li> | ||
+ | <li><center><a href="#t"> | ||
+ | Activities Booklet | ||
+ | </a></center></li> | ||
+ | |||
+ | |||
+ | </ul> | ||
+ | </li> | ||
+ | |||
+ | |||
+ | <!---> | ||
+ | |||
+ | <li> | ||
+ | <a href="#"> | ||
+ | Database | ||
+ | </a> | ||
+ | <ul> | ||
+ | |||
+ | |||
+ | <li><center> <a href="#"> | ||
+ | Database Overview | ||
+ | </a></center></li> | ||
+ | <li><center> <a href="#"> | ||
+ | Database | ||
+ | </a></center></li> | ||
+ | |||
+ | |||
+ | </ul> | ||
+ | </li> | ||
+ | |||
+ | |||
+ | |||
+ | <!----> | ||
+ | |||
+ | |||
+ | <li> | ||
+ | <a href="#"> | ||
+ | Judging | ||
+ | </a> | ||
+ | <ul> | ||
+ | |||
+ | <li style='font-family: "Optima";'> | ||
+ | <center> | ||
+ | <a href="#"> | ||
+ | Achievements | ||
+ | </a></center> </li> | ||
+ | <li> <center><a href="#"> | ||
+ | Medal Requirements | ||
+ | </a></center></li> | ||
+ | <li> <center><a href="#"> | ||
+ | Parts | ||
+ | </a></center></li> | ||
+ | <li> <center><a href="#"> | ||
+ | Composite Parts | ||
+ | </a></center></li> | ||
+ | <li> <center><a href="#"> | ||
+ | Part Collection | ||
+ | </a></center></li> | ||
+ | <li> <center><a href="#"> | ||
+ | Interlab | ||
+ | </a> </center></li> | ||
+ | |||
+ | |||
+ | |||
+ | </ul> | ||
+ | |||
+ | |||
+ | </li> | ||
+ | |||
+ | |||
+ | |||
+ | <li> | ||
+ | <a href="https://2018.igem.org/Team:William_and_Mary/Team"> | ||
+ | Team | ||
+ | </a> | ||
+ | <ul> | ||
+ | |||
+ | |||
+ | <li> <center> <a href="https://2018.igem.org/Team:William_and_Mary/Team"> | ||
+ | Meet the Team | ||
+ | </a></center></li> | ||
+ | <li> <center> <a href="#"> | ||
+ | Attributions | ||
+ | </a></center></li> | ||
+ | <li> <center> <a href="#"> | ||
+ | Notebook | ||
+ | </a></center></li> | ||
+ | <li> <center> <a href="#"> | ||
+ | Protocols | ||
+ | </a></center></li> | ||
+ | <li> <center> <a href="#"> | ||
+ | Safety | ||
+ | </a></center></li> | ||
+ | |||
+ | |||
+ | |||
+ | </ul> | ||
+ | </li> | ||
+ | |||
+ | |||
+ | |||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
</nav> | </nav> | ||
− | </ | + | </div> |
− | </html> | + | </html> |
Revision as of 15:29, 16 July 2018