(Deleted task board.) |
|||
Line 3: | Line 3: | ||
<html> | <html> | ||
<!-- NAV --> | <!-- NAV --> | ||
− | + | <nav class="main-nav"> | |
− | + | <ul class="main-ul"> | |
− | + | <li><a href="">HOME</a></li> | |
− | < | + | <li><a href="project/index.html">PROJECT</a></li> |
− | + | <li><a href="exp/index.html">EXPERIMENTS</a></li> | |
− | </ | + | <li><a href="notebook/index.html">NOTEBOOK</a></li> |
− | + | <li><a href="parts/index.html">PARTS</a></li> | |
− | + | <li><a href="team/index.html">TEAM</a></li> | |
− | < | + | <li class="dropdown"> |
− | + | <div> | |
− | + | <a href="">MORE</a> | |
− | + | <ul class="dropdown-content"> | |
− | + | <li><a href="safety/index.html">SAFETY</a></li> | |
− | + | <li><a href="collab/index.html">COLLABORATIONS</a></li> | |
− | + | <li><a href="human/index.html">HUMAN PRACTICES</a></li> | |
− | + | <li><a href="modelling/index.html">MODELLING</a></li> | |
+ | <li><a href="partimprov/index.html">PART IMPROVEMENT</a></li> | ||
+ | <li><a href="attribution/index.html">ATTRIBUTIONS</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; | ||
} | } | ||
− | + | .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; | ||
} | } | ||
− | + | a { | |
text-decoration: none; | text-decoration: none; | ||
− | color: | + | color: rgb(50,50,50); |
− | margin | + | margin: 0px; |
+ | padding: 0px; | ||
} | } | ||
− | + | .main-ul a:hover { | |
− | . | + | color: white; |
− | color: | + | background-color: rgb(30,30,30); |
− | background-color: | + | |
− | + | ||
− | + | ||
} | } | ||
− | . | + | .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; | ||
} | } | ||
− | . | + | .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> |
Revision as of 19:16, 2 October 2018