Keithaiken (Talk | contribs) |
Keithaiken (Talk | contribs) |
||
(170 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<html lang="en"> | <html lang="en"> | ||
<head> | <head> | ||
+ | <meta charset="utf-8"> | ||
+ | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
+ | <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | ||
+ | <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | ||
+ | <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | ||
<style> | <style> | ||
− | + | /*adding space so the igem menu doesn't cover up the navbar*/ | |
− | + | .body {padding-top: 3em;} | |
− | + | ||
− | + | ||
− | } | + | |
− | + | .navbar {background-color: #041f49; border-bottom-color: #377b7e;} | |
− | + | .navbar-inverse {background-color: #041f49 !important;} | |
− | + | .navbar>a:hover {background-color:#377b7e;} | |
− | + | .color-wh {color: #ffffff !important;} | |
− | + | ||
− | } | + | |
− | + | /*navy bar, set font*/ | |
− | + | .container-fluid {font-family: Arial, sans-serif;} | |
− | + | ||
− | } | + | |
− | + | /*text color of menu options*/ | |
− | + | .nav.navbar-nav li a {color: #ffffff;} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | /* | + | /*background color of dropdown menus*/ |
− | + | /*.navbar-nav > li > .dropdown-menu { background-color: #377b7e;}*/ | |
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | /* | + | /*background color of dropdown menus when hovering/focus*/ |
− | + | .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {background-color:#f5af53;} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | /* | + | /*adding space from the top, to counter igem menu offset*/ |
− | + | #myNavbar, .dropdown-toggle {padding-top: 0.6em;} | |
− | + | ||
− | } | + | /*adding space above next vivo logo to counter igem menu logo*/ |
− | /* | + | .navbar-brand {margin-top: .2em;} |
− | + | ||
− | + | /*dropdown text in white, instead of default grey*/ | |
− | + | li.dropdown {color: white; font-family: Arial, sans-serif;} | |
− | + | ||
− | + | /* arrow color change from default grey*/ | |
− | + | .caret {color: #ffffff;} | |
− | + | ||
− | + | /*center text vertically to line up with next vivo logo size, and to counter effects of igem menu above*/ | |
− | + | .navbar-header{text-align:center; line-height: 2em;} | |
− | + | ||
− | + | /*moving the header down, since the igem menu is 1em in height*/ | |
− | + | .navbar-header a {padding: 1em;} | |
− | + | ||
− | + | /*lining up text to the right side of the window and reducing down from igem menu*/ | |
− | + | .navbar-toggle {padding-top: 1.5em; float: right; border: none;} | |
− | + | ||
− | + | /*.collapse navbar-collapse {background: #377b7e;}*/ | |
− | + | ||
+ | /* Extra Small Devices, Phones*/ | ||
+ | @media only screen and (min-width : 700px) { | ||
+ | .dropdown-menu>li>a {background-color: #377b7e;} | ||
+ | .dropdown-menu>li:hover {background-color: #f5af3e;} | ||
+ | .navbar-inverse navbar-nav open dropdown-menu>li>a {color: #ffffff"} | ||
} | } | ||
</style> | </style> | ||
</head> | </head> | ||
− | |||
<body> | <body> | ||
− | <nav | + | |
− | < | + | <nav class="navbar navbar-inverse navbar-fixed-top"> |
− | < | + | <div class="container-fluid"> |
− | + | <div class="navbar-header"> | |
− | + | <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar"> | |
− | + | <span class="icon-bar"></span> | |
− | + | <span class="icon-bar"></span> | |
− | + | <span class="icon-bar"></span> | |
− | + | </button> | |
− | + | <a class="navbar-brand" href="https://2017.igem.org/Team:Lethbridge"><img src="https://static.igem.org/mediawiki/2017/archive/3/35/20171024022846%21Next_vivo_caption_white.png" height=42 width=164 /></a> | |
− | + | </div> | |
+ | <div class="collapse navbar-collapse" id="myNavbar"> | ||
+ | <ul class="nav navbar-nav navbar-right"> | ||
+ | <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Project<span class="caret"></span></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Description">Description</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Design">Design</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Demonstrate">Demonstrate</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Results">Results</a></li> | ||
+ | <li><a class="color-wh"href="https://2017.igem.org/Team:Lethbridge/Collaborations">Collaborations</a></li> | ||
+ | </ul></li> | ||
+ | <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="https://2017.igem.org/Team:Lethbridge/Parts">Parts<span class="caret"></span></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Parts">Overview</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Part_Collection">Part Collection</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Composite_Part">Composite</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Improve">Improved Part</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Basic_Part">Basic</a></li> | ||
+ | </ul></li> | ||
+ | <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Human Practices<span class="caret"></span></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Human_Practices">Overview</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/HP/Silver">User Groups - Silver</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/HP/Gold_Integrated">Integrated HP - Gold</a></li> | ||
+ | <li><a class="color-wh"href="https://2017.igem.org/Team:Lethbridge/Software">Biosecurity Software</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Engagement">Engagement</a></li> | ||
+ | |||
+ | <!--<li><a class="color-wh" href="#">E Shop</a></li>--> | ||
+ | </ul></li> | ||
+ | <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Lab<span class="caret"></span></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Experiments">Experiments</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Notebook">Notebook</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Safety">Safety</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/InterLab">InterLab</a></li> | ||
+ | </ul></li> | ||
+ | <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="https://2017.igem.org/Team:Lethbridge/Team">Team<span class="caret"></span></a> | ||
+ | <ul class="dropdown-menu color-wh"> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Team">Team Members</a></li> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Attributions">Attributions</a></li> | ||
+ | <!--<li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Acknowledgements">Acknowledgements</a></li>--> | ||
+ | <li><a class="color-wh" href="https://2017.igem.org/Team:Lethbridge/Attributions#Sponsors">Sponsors</a></li> | ||
+ | </ul></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
</nav> | </nav> | ||
+ | <!--<hr>--> | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 23:41, 30 October 2017