(22 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<html> | <html> | ||
<!-- NAV --> | <!-- NAV --> | ||
− | + | <nav class="main-nav"> | |
− | + | <ul class="main-ul"> | |
− | < | + | <li><a href="https://2018.igem.org/Team:Hawaii">HOME</a></li> |
− | < | + | <li><a href="https://2018.igem.org/Team:Hawaii/Description">PROJECT</a></li> |
− | + | <li><a href="https://2018.igem.org/Team:Hawaii/Experiments">EXPERIMENTS</a></li> | |
− | </ | + | <li><a href="https://2018.igem.org/Team:Hawaii/Notebook">NOTEBOOK</a></li> |
− | + | <li><a href="https://2018.igem.org/Team:Hawaii/Parts">PARTS</a></li> | |
− | + | <li><a href="https://2018.igem.org/Team:Hawaii/Team">TEAM</a></li> | |
− | < | + | <li class="dropdown"> |
− | + | <div> | |
− | + | <a href="">MORE</a> | |
− | + | <ul class="dropdown-content"> | |
− | + | <li><a href="https://2018.igem.org/Team:Hawaii/Safety">SAFETY</a></li> | |
− | + | <li><a href="https://2018.igem.org/Team:Hawaii/Collaborations">COLLABORATIONS</a></li> | |
− | + | <li><a href="https://2018.igem.org/Team:Hawaii/Human_Practices">HUMAN PRACTICES</a></li> | |
− | + | <li><a href="https://2018.igem.org/Team:Hawaii/Model">MODELLING</a></li> | |
+ | <li><a href="https://2018.igem.org/Team:Hawaii/Demonstrate">DEMONSTRATE</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:Hawaii/Attributions">ATTRIBUTIONS</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:Hawaii/Characterization">CHARACTERIZATION</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:Hawaii/Calendar">CALENDAR</a></li> | ||
+ | </ul> | ||
</div> | </div> | ||
− | + | </li> | |
− | + | </ul> | |
− | + | </nav> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<style> | <style> | ||
− | + | ||
− | + | /* NAV */ | |
− | + | .main-nav { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
height: 100px; | height: 100px; | ||
− | |||
− | |||
display: flex; | display: flex; | ||
− | justify-content: | + | justify-content: center; |
− | + | font-family: 'Oswald', sans-serif; | |
− | + | box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); | |
− | + | background-color: white; | |
+ | position: relative; | ||
+ | z-index: 3; | ||
} | } | ||
− | + | .main-ul { | |
+ | width: 80%; | ||
padding: 0px; | padding: 0px; | ||
margin: 0px; | margin: 0px; | ||
− | |||
display: flex; | display: flex; | ||
− | |||
justify-content: space-around; | justify-content: space-around; | ||
− | align-items: | + | align-items: center; |
+ | |||
} | } | ||
− | + | .main-ul li { | |
− | + | list-style-type: none; | |
+ | border: none; | ||
+ | font-size: 20px; | ||
+ | letter-spacing: 2px; | ||
height: 100%; | height: 100%; | ||
display: flex; | display: flex; | ||
− | align-items: | + | align-items: center; |
− | + | margin: 0px; | |
+ | /* min-width: 150px; */ | ||
} | } | ||
− | + | .main-ul a { | |
− | + | height: 100%; | |
+ | width: 100%; | ||
+ | justify-content: center; | ||
+ | padding-left: 20px; | ||
+ | padding-right: 20px; | ||
+ | display: flex; | ||
+ | align-items: center; | ||
} | } | ||
− | + | .main-ul a:hover { | |
− | + | border: none; | |
− | + | text-decoration: none; | |
− | + | ||
} | } | ||
− | + | .main-ul a:focus { | |
− | + | border: none; | |
+ | text-decoration: none; | ||
} | } | ||
− | + | a { | |
− | + | text-decoration: none; | |
− | color: rgb( | + | color: rgb(50,50,50); |
− | + | margin: 0px; | |
− | + | padding: 0px; | |
− | padding: | + | |
} | } | ||
− | . | + | .main-ul a:hover { |
− | + | color: white; | |
+ | background-color: rgb(30,30,30); | ||
} | } | ||
− | . | + | .dropdown div { |
− | + | height: 100%; | |
− | + | ||
} | } | ||
− | . | + | .dropdown a { |
− | + | text-align: justify; | |
− | + | height: 100%; | |
− | + | ||
} | } | ||
− | . | + | .dropdown-content { |
display: none; | display: none; | ||
− | |||
− | |||
position: absolute; | position: absolute; | ||
+ | background-color: white; | ||
+ | padding: 0px; | ||
+ | z-index: 4; | ||
} | } | ||
− | . | + | .dropdown-content { |
− | + | background-color: rgb(220,220,220); | |
} | } | ||
− | . | + | .dropdown-content a { |
− | + | display: flex; | |
− | + | justify-content: flex-start; | |
+ | padding-top: 10px; | ||
+ | padding-bottom: 10px; | ||
} | } | ||
+ | .dropdown-content a:hover { | ||
+ | background-color: rgb(50,50,50); | ||
+ | } | ||
+ | .dropdown:hover .dropdown-content { | ||
+ | display: flex; | ||
+ | flex-direction: column; | ||
+ | justify-content: space-around; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 03:58, 18 October 2018