Line 2: | Line 2: | ||
<html> | <html> | ||
− | <nav> | + | <nav id="top-nav"> |
− | + | <ul> | |
− | + | <li> | |
− | + | <a href="https://2018.igem.org/Team:Hawaii">Home</a> | |
− | <a | + | </li> |
− | + | <li class="dropdown"> | |
− | + | <a href="https://2018.igem.org/Team:Hawaii/Team">Team</a> | |
− | + | <i class="fas fa-angle-down"></i> | |
− | + | <div class="dropdown-content"> | |
− | <a | + | <div><a href="https://2018.igem.org/Team:Hawaii/Team">Team Members</a></div> |
− | + | <div><a href="https://2018.igem.org/Team:Hawaii/Collaborations">Collaborations</a></div> | |
− | + | ||
− | + | ||
− | + | ||
− | <div><a | + | |
− | <div><a | + | |
</div> | </div> | ||
− | </ | + | </li> |
− | + | <li class="dropdown"> | |
− | + | <a href="https://2018.igem.org/Team:Hawaii/Description">Project</a> | |
− | + | <i class="fas fa-angle-down"></i> | |
− | <a href="" class=" | + | <div class="dropdown-content"> |
− | <div class=" | + | <div><a href="https://2018.igem.org/Team:Hawaii/Description">Description</a></div> |
− | <div><a | + | <div><a href="https://2018.igem.org/Team:Hawaii/Design">Design</a></div> |
− | <div><a | + | <div><a href="https://2018.igem.org/Team:Hawaii/Experiments">Experiments</a></div> |
− | <div><a | + | <div><a href="https://2018.igem.org/Team:Hawaii/Notebook">Notebook</a></div> |
− | <div><a | + | <div><a href="https://2018.igem.org/Team:Hawaii/Interlab">Interlab</a></div> |
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Model">Model</a></div> | ||
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Results">Results</a></div> | ||
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Demonstrate">Demonstrate</a></div> | ||
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Improve">Improve</a></div> | ||
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Attributions">Attributions</a></div> | ||
</div> | </div> | ||
− | + | </li> | |
− | + | ||
− | + | <li class="dropdown"> | |
− | + | <a href="https://2018.igem.org/Team:Hawaii/Parts">Parts</a> | |
− | <a href="" class=" | + | <i class="fas fa-angle-down"></i> |
− | <div class=" | + | <div class="dropdown-content"> |
− | <div><a | + | <div><a href="https://2018.igem.org/Team:Hawaii/Parts">Parts Overview</a></div> |
− | <div><a | + | <div><a href="https://2018.igem.org/Team:Hawaii/Basic_Part">Basic Parts</a></div> |
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Composite_Partl">Composite Parts</a></div> | ||
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Part_Collectionl">Part Collection</a></div> | ||
</div> | </div> | ||
− | + | </li> | |
− | + | ||
− | + | <li> | |
− | < | + | <a href="https://2018.igem.org/Team:Hawaii/Safety">Safety</a> |
− | <a | + | </li> |
− | + | ||
− | + | <li class="dropdown"> | |
− | + | <a href="https://2018.igem.org/Team:Hawaii/Human_Practices">Human Practices</a> | |
− | <div><a | + | <i class="fas fa-angle-down"></i> |
− | <div><a | + | <div class="dropdown-content"> |
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Human_Practices">Human Practices</a></div> | ||
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Public_Engagement">Public Engagement</a></div> | ||
</div> | </div> | ||
+ | </li> | ||
+ | |||
+ | <li class="dropdown"> | ||
+ | <a href="">Awards</a> | ||
+ | <i class="fas fa-angle-down"></i> | ||
+ | <div class="dropdown-content"> | ||
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Applied_Design">Applied Design</a></div> | ||
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Entrepreneurship">Entrepreneurship</a></div> | ||
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Hardware">Hardware</a></div> | ||
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Model">Model</a></div> | ||
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Plant">Plant</a></div> | ||
+ | <div><a href="https://2018.igem.org/Team:Hawaii/Software">Software</a></div> | ||
</div> | </div> | ||
</li> | </li> | ||
</ul> | </ul> | ||
− | + | </nav> | |
<style> | <style> | ||
− | nav { | + | #top-nav { |
width: 100%; | width: 100%; | ||
height: 100px; | height: 100px; | ||
− | |||
− | |||
− | |||
display: flex; | display: flex; | ||
− | justify-content: | + | justify-content: center; |
+ | align-items: center; | ||
+ | letter-spacing: 1px; | ||
} | } | ||
− | ul { | + | #top-nav ul { |
+ | width: 1100px; | ||
padding: 0px; | padding: 0px; | ||
− | |||
− | |||
display: flex; | display: flex; | ||
+ | justify-content: space-around; | ||
+ | align-items: center; | ||
flex-direction: row; | flex-direction: row; | ||
− | + | z-index: 1; | |
− | + | ||
} | } | ||
− | + | .dropdown { | |
− | + | position: relative; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .dropdown-content { | |
− | + | height: auto; | |
− | + | width: auto; | |
− | + | display: none; | |
− | + | position: absolute; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
background-color: white; | background-color: white; | ||
− | + | padding: 20px; | |
− | padding: | + | |
} | } | ||
− | . | + | .dropdown-content div { |
− | + | padding-bottom: 10px; | |
+ | padding-top: 10px; | ||
} | } | ||
− | . | + | .dropdown:hover .dropdown-content { |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: space-around; | justify-content: space-around; | ||
} | } | ||
− | . | + | .dropdown-content div:hover { |
− | + | color: rgb(200,200,200); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 01:52, 24 June 2018