(74 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
+ | <!DOCTYPE html> | ||
<head> | <head> | ||
<title>iGEM</title> | <title>iGEM</title> | ||
Line 19: | Line 20: | ||
#content { | #content { | ||
margin-left: 0px; | margin-left: 0px; | ||
− | margin-top: - | + | margin-top: -20px; |
padding: 0px; | padding: 0px; | ||
width: 100%; | width: 100%; | ||
Line 26: | Line 27: | ||
/*-------------------------------------------------------------------*/ | /*-------------------------------------------------------------------*/ | ||
− | /*----------------------Header Styling-------------------------*/ | + | /*----------------------Header Styling-------------------------*/ |
+ | #topnav { | ||
+ | z-index: 1000; | ||
+ | font-family: 'proxima-nova', sans-serif; | ||
+ | font-size:8px; | ||
+ | display: flex; | ||
+ | justify-content: center; | ||
+ | align-items: center; | ||
+ | background-color: #002855; | ||
+ | list-style: none; | ||
+ | padding: 40px; | ||
+ | margin: 0; | ||
+ | } | ||
+ | #topnav li, | ||
+ | a { | ||
+ | text-decoration: none; | ||
+ | } | ||
− | + | #topnav .nav-item:visited { | |
− | #topnav | + | color: white; |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | #topnav .b-dropdown-main:visited { | |
− | + | color: #525b65; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | #topnav .b- | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | #topnav li:hover, | |
− | + | a:hover { | |
− | + | text-decoration: none; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | .dropdown | + | .dropdown { |
− | + | flex-grow: 1; | |
− | + | max-width: 150px; | |
− | + | white-space: nowrap; | |
− | + | text-align: center; | |
− | + | } | |
− | text-align: | + | |
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | .dropdown- | + | .dropdown-main, |
− | color: | + | .nav-item { |
− | } | + | font-size: 15px; |
+ | color: white; | ||
+ | } | ||
− | + | .dropdown-content { | |
+ | display: none; | ||
+ | position: absolute; | ||
+ | background-color: #f9f9f9; | ||
+ | min-width: 200px; | ||
+ | border-radius: 4px; | ||
+ | box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); | ||
+ | z-index: 1; | ||
+ | } | ||
− | + | .dropdown-content a { | |
− | + | float: none; | |
− | + | font-size: 14px; | |
− | + | color: #525b65; | |
− | + | padding: 12px 16px; | |
− | } | + | display: block; |
+ | text-align: left; | ||
+ | } | ||
− | . | + | .dropdown:hover .dropdown-content { |
− | + | display: block; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | .dropdown-content a:hover { |
+ | color:#48fb47; | ||
+ | } | ||
− | + | #navlogo { | |
− | + | flex-grow: 2; | |
− | + | max-width: 300px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | .navlogo { | |
− | + | display: flex; | |
− | + | justify-content: center; | |
− | } | + | align-items: center; |
− | + | } | |
− | + | ||
− | } | + | .navlogo-img { |
− | + | width: 125px; | |
− | + | margin-left: -43px; | |
− | } | + | margin-right: -35px; |
+ | margin-bottom: -7px; | ||
+ | } | ||
+ | |||
+ | .logo-word { | ||
+ | text-decoration: none; | ||
+ | color: #d9a900; | ||
+ | font-size: 30px; | ||
+ | font-weight: normal; | ||
+ | } | ||
− | + | /*-----------Burger Menu Styling-------------*/ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | #topnav .burger { | |
− | #topnav | + | |
display: none; | display: none; | ||
+ | margin-right: 20px; | ||
+ | color: #d9a900; | ||
+ | font-size: 22px; | ||
} | } | ||
− | + | ||
− | + | .burger-content { | |
+ | display: none; | ||
+ | position: absolute; | ||
+ | background-color: #f9f9f9; | ||
+ | border-radius: 7px; | ||
+ | box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); | ||
+ | z-index: 1; | ||
+ | width: 200px; | ||
+ | margin-left: -185px; | ||
+ | |||
} | } | ||
− | + | .b-dropdown-main { | |
+ | font-weight: bold; | ||
+ | font-size: 15px; | ||
+ | color: #525b65; | ||
+ | padding: 12px 16px; | ||
display: block; | display: block; | ||
+ | text-align: left; | ||
+ | overflow: hidden; | ||
} | } | ||
− | |||
+ | .b-dropdown-content { | ||
+ | display: none; | ||
+ | position: block; | ||
+ | color: #525b65; | ||
+ | padding: 12px; | ||
+ | } | ||
+ | |||
+ | .b-dropdown-content a { | ||
+ | display: block; | ||
+ | padding: 5px; | ||
+ | color: #525b65; | ||
+ | font-weight: normal; | ||
+ | font-size: 14px; | ||
+ | |||
+ | } | ||
+ | |||
+ | #topnav .b-dropdown-content a:visited { | ||
+ | color: #525b65; | ||
+ | } | ||
+ | |||
+ | #topnav .b-dropdown:hover .b-dropdown-content { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | #topnav .b-dropdown-content a:hover { | ||
+ | color:#525b65; | ||
+ | } | ||
+ | |||
+ | input[type=checkbox] { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | input[type=checkbox]:checked~.burger-content { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | @media screen and (max-width:730px) { | ||
+ | #topnav li { | ||
+ | display: none; | ||
+ | } | ||
+ | #topnav { | ||
+ | justify-content: space-between; | ||
+ | } | ||
+ | |||
+ | #topnav li.burger { | ||
+ | display: block; | ||
+ | } | ||
+ | #topnav li#navlogo { | ||
+ | display: block; | ||
+ | flex-grow: 0; | ||
+ | } | ||
+ | } | ||
</style> | </style> | ||
+ | |||
<body> | <body> | ||
<!--______________Top Navigation Bar_________________________--> | <!--______________Top Navigation Bar_________________________--> | ||
− | + | <ul id="topnav"> | |
− | + | <li class="dropdown"><div class="dropdown-main">PROJECT</div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<div class="dropdown-content"> | <div class="dropdown-content"> | ||
− | <a href=" | + | <a href="https://2018.igem.org/Team:UC_Davis/Design">Design</a> |
− | <a href=" | + | <a href="https://2018.igem.org/Team:UC_Davis/Measurement">Measurement</a> |
− | <a href=" | + | <a href="https://2018.igem.org/Team:UC_Davis/Demonstrate">Results</a> |
− | + | <a href="https://2018.igem.org/Team:UC_Davis/Modeling">Modeling</a> | |
− | + | <a href="https://2018.igem.org/Team:UC_Davis/InterLab">InterLab</a> | |
− | + | ||
− | <div class="dropdown-content"> | + | </div> |
− | <a href=" | + | </li> |
− | + | <li class="dropdown"><div class="dropdown-main">HUMAN PRACTICES</div> | |
− | + | <div class="dropdown-content"> | |
− | </li> | + | <a href="https://2018.igem.org/Team:UC_Davis/Human_Practices">Integrating Human Practices</a> |
+ | |||
+ | <a href="https://2018.igem.org/Team:UC_Davis/Education">Education & Outreach</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li class="dropdown"><a href="https://2018.igem.org/Team:UC_Davis/Parts" class="nav-item" class="dropdown-main">PARTS</a> | ||
+ | |||
+ | </li> | ||
+ | <li id="navlogo"> | ||
+ | <a class="navlogo" href="https://2018.igem.org/Team:UC_Davis"><img src="https://static.igem.org/mediawiki/2018/7/73/T--UC_Davis--anchor.png" alt="DNA logo" class="navlogo-img"><b class="logo-word">Cenozoic</b></a> | ||
+ | </li> | ||
+ | <li class="dropdown"><div class="dropdown-main">LAB WORK</div> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="https://2018.igem.org/Team:UC_Davis/Experiments">Experiments</a> | ||
+ | <a href="https://2018.igem.org/Team:UC_Davis/Notebook">Lab Notebook</a> | ||
+ | <a href="https://2018.igem.org/Team:UC_Davis/SupplementalMaterials">Supplementary Material</a> | ||
+ | <a href="https://2018.igem.org/Team:UC_Davis/Safety">Safety</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li class="dropdown"><div class="nav-item">TEAM</div> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="https://2018.igem.org/Team:UC_Davis/Team">Meet the Team</a> | ||
+ | <a href="https://2018.igem.org/Team:UC_Davis/Attributions">Attributions</a> | ||
+ | <a href="https://2018.igem.org/Team:UC_Davis/Sponsors">Sponsors</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li class="dropdown"><div class="nav-item">ACHIEVEMENTS</div> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="https://2018.igem.org/Team:UC_Davis/Medal_Requirements">Medal Requirements</a> | ||
+ | <a href="https://2018.igem.org/Team:UC_Davis/Collaborations">Collaborations</a> | ||
+ | |||
+ | </div> | ||
+ | </li> | ||
− | + | <!--___________________________________Burger Menu____________________________________________--> | |
− | + | <li class="burger"><input type="checkbox" id="b-control"><label for="b-control">☰</label> | |
− | + | <div class="burger-content"> | |
− | + | <div class="b-dropdown"><div class="b-dropdown-main">Project</div> | |
− | + | <div class="b-dropdown-content"> | |
− | <a href=" | + | <a href="https://2018.igem.org/Team:UC_Davis/Design">Design</a> |
− | <a href=" | + | <a href="https://2018.igem.org/Team:UC_Davis/Measurement">Measurement</a> |
− | <a href=" | + | <a href="https://2018.igem.org/Team:UC_Davis/Demonstrate">Results</a> |
− | <a href=" | + | <a href="https://2018.igem.org/Team:UC_Davis/Modeling">Modeling</a> |
− | + | <a href="https://2018.igem.org/Team:UC_Davis/InterLab">InterLab</a> | |
− | + | ||
− | + | </div> | |
− | + | </div> | |
− | <a href=" | + | <div class="b-dropdown"><div class="b-dropdown-main">Human Practices</div> |
− | <a href=" | + | <div class="b-dropdown-content"> |
− | + | <a href="https://2018.igem.org/Team:UC_Davis/Human_Practices">Integrating Human Practices</a> | |
− | + | ||
− | + | <a href="https://2018.igem.org/Team:UC_Davis/Education">Education & Outreach</a> | |
− | + | ||
− | + | </div> | |
− | + | </div> | |
− | + | <div class="b-dropdown"><a href="https://2018.igem.org/Team:UC_Davis/Parts" class="b-dropdown-main">Parts</a> | |
− | + | ||
− | + | </div> | |
− | + | </div> | |
− | + | <div class="b-dropdown"><div class="b-dropdown-main">Lab Work</div> | |
− | + | <div class="b-dropdown-content"> | |
− | <a href=" | + | <a href="https://2018.igem.org/Team:UC_Davis/Experiments">Experiments</a> |
− | <a href=" | + | <a href="https://2018.igem.org/Team:UC_Davis/Notebook">Lab Notebook</a> |
− | <a href=" | + | <a href="https://2018.igem.org/Team:UC_Davis/SupplementalMaterials">Supplementary Material</a> |
− | + | <a href="https://2018.igem.org/Team:UC_Davis/Safety">Safety</a> | |
− | + | </div> | |
− | <div class="b-dropdown">< | + | </div> |
− | + | <div class="b-dropdown"><div class="b-dropdown-main">Team</div> | |
− | <a href=" | + | <div class="b-dropdown-content"> |
+ | <a href="https://2018.igem.org/Team:UC_Davis/Team">Meet the Team</a> | ||
<a href="#">Advisors</a> | <a href="#">Advisors</a> | ||
− | <a href=" | + | <a href="https://2018.igem.org/Team:UC_Davis/Sponsors">Sposors</a> |
− | + | </div> | |
− | + | </div> | |
− | <div class="b-dropdown">< | + | <div class="b-dropdown"><div class="b-dropdown-main">Achievements</div> |
− | + | <div class="b-dropdown-content"> | |
− | <a href=" | + | <a href="https://2018.igem.org/Team:UC_Davis/Medal_Requirements">Medal Requirements</a> |
− | + | <a href="https://2018.igem.org/Team:UC_Davis/Collaborations">Collaborations</a> | |
− | + | ||
− | + | </div> | |
− | + | </div> | |
− | + | </div> | |
− | + | </li> | |
− | + | </ul> | |
− | + | <!--__________________________________________________________________________________________--> | |
− | + | ||
+ | <!--_________________________________________________________--> | ||
+ | <script> | ||
+ | $(document).ready(function() { | ||
+ | $("#HQ_page").attr('id',''); | ||
+ | }); | ||
+ | </script> | ||
</body> | </body> | ||
− | |||
</html> | </html> |
Latest revision as of 22:58, 17 October 2018