Line 2: | Line 2: | ||
<html> | <html> | ||
− | <nav | + | <nav> |
− | + | <ul> | |
− | + | <li class="dropdown_outer-container"> | |
− | <a href="https://2018.igem.org/Team:Hawaii">Home</a> | + | <div> |
− | </li> | + | <a class="list-item_title list-item_title--active" href="https://2018.igem.org/Team:Hawaii">Home</a> |
− | + | </div> | |
− | <a href="https://2018.igem.org/Team:Hawaii/ | + | </li> |
− | + | <li class="dropdown_outer-container"> | |
− | + | <div> | |
− | <div><a href="https://2018.igem.org/Team:Hawaii/ | + | <a class="list-item_title list-item_title--active" href="">Project</a> |
− | <div><a href="https://2018.igem.org/Team:Hawaii/ | + | <div class="dropdown_inner-container"> |
+ | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Description">Description</a></div> | ||
+ | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Design">Design</a></div> | ||
+ | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Experiments">Experiments</a></div> | ||
+ | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Notebook">Notebook</a></div> | ||
+ | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Results">Results</a></div> | ||
</div> | </div> | ||
− | </ | + | </div> |
− | + | </li> | |
− | <a href=" | + | <li class="dropdown_outer-container"> |
− | + | <div> | |
− | <div class=" | + | <a href="" class="list-item_title list-item_title--active">Parts</a> |
− | <div><a | + | <div class="dropdown_inner-container"> |
− | + | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Parts">Part Overview</a></div> | |
− | <div><a | + | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Basic_Parts">Basic Parts</a></div> |
− | + | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Composite_Parts">Composite Parts</a></div> | |
− | <div><a | + | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Part_Collection">Part Collection</a></div> |
− | + | ||
− | <div><a | + | |
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
− | </li> | + | </div> |
− | + | </li> | |
− | + | <li class="dropdown_outer-container"> | |
− | <a href=" | + | <div> |
− | + | <a href="" class="list-item_title list-item_title--active">Team</a> | |
− | <div class=" | + | <div class="dropdown_inner-container"> |
− | <div><a | + | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Parts">Members</a></div> |
− | + | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Collaborations">Collaborations</a></div> | |
− | <div><a | + | |
− | + | ||
</div> | </div> | ||
− | </li> | + | </div> |
− | + | </li> | |
− | < | + | <li class="dropdown_outer-container"> |
− | <a href="https://2018.igem.org/Team:Hawaii/Safety">Safety</a> | + | <div> |
− | + | <a href=""><i class="fas fa-ellipsis-h"></i></a> | |
− | + | <div class="dropdown_inner-container"> | |
− | + | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Safety">Safety</a></div> | |
− | + | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Human_Practices">Human Practices</a></div> | |
− | + | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Parts">Part Overview</a></div> | |
− | + | <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Awards">Awards</a></div> | |
− | <div><a href="https://2018.igem.org/Team:Hawaii/ | + | |
− | <div><a href="https://2018.igem.org/Team:Hawaii/ | + | |
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
</li> | </li> | ||
</ul> | </ul> | ||
− | </nav> | + | </nav> |
<style> | <style> | ||
− | + | nav { | |
width: 100%; | width: 100%; | ||
height: 100px; | height: 100px; | ||
+ | position: absolute; | ||
+ | background-color: rgb(60,60,60); | ||
+ | color: white; | ||
display: flex; | display: flex; | ||
− | justify-content: | + | justify-content: flex-end; |
− | + | ||
− | + | ||
} | } | ||
− | + | ul { | |
− | + | ||
padding: 0px; | padding: 0px; | ||
+ | margin: 0px; | ||
+ | width: 55%; | ||
display: flex; | display: flex; | ||
− | |||
− | |||
flex-direction: row; | flex-direction: row; | ||
− | + | justify-content: space-around; | |
+ | align-items: flex-end; | ||
} | } | ||
− | + | li { | |
− | + | width: 100%; | |
+ | height: 100%; | ||
+ | display: flex; | ||
+ | align-items: flex-end; | ||
+ | list-style-type: none; | ||
} | } | ||
− | + | li div { | |
− | + | margin-bottom: 10px; | |
− | + | } | |
− | + | a { | |
− | + | text-decoration: none; | |
+ | color: inherit; | ||
+ | margin-left: 10px; | ||
+ | } | ||
+ | h3 { | ||
+ | letter-spacing: 10px; | ||
+ | } | ||
+ | |||
+ | /* NAV */ | ||
+ | .fa-ellipsis-h { | ||
+ | color: rgb(74,74,74); | ||
background-color: white; | background-color: white; | ||
− | padding: | + | border-radius: 200px; |
+ | padding: 2px; | ||
} | } | ||
− | . | + | .dropdown_outer-container { |
− | + | position: relative; | |
− | + | ||
} | } | ||
− | . | + | .dropdown_outer-container:hover { |
+ | background-color: white; | ||
+ | color: rgb(74,74,74); | ||
+ | } | ||
+ | .dropdown_outer-container:hover .dropdown_inner-container { | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: space-around; | justify-content: space-around; | ||
} | } | ||
− | . | + | .dropdown_inner-container { |
− | + | display: none; | |
+ | background-color: white; | ||
+ | width: 100%; | ||
+ | position: absolute; | ||
+ | } | ||
+ | .dropdown_inner-container div { | ||
+ | margin-top: 30px; | ||
+ | } | ||
+ | .list-item_link--active:hover { | ||
+ | font-weight: bold; | ||
+ | border-bottom: 1px solid grey; | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 01:51, 24 June 2018