Line 5: | Line 5: | ||
<style> | <style> | ||
/*------------Get rid of iGEM stuff----------------------------------*/ | /*------------Get rid of iGEM stuff----------------------------------*/ | ||
− | + | body { | |
+ | background-color: black; | ||
+ | } | ||
#home_logo, | #home_logo, | ||
#sideMenu { | #sideMenu { | ||
Line 26: | Line 28: | ||
/*-------------------------------------------------------------------*/ | /*-------------------------------------------------------------------*/ | ||
− | /*---- | + | /*----Top Navigation Styling-----*/ |
− | + | #topnav { | |
− | + | display: table; | |
+ | width: 100%; | ||
+ | background-color: #002855; | ||
+ | margin: 0; | ||
+ | text-align: right; | ||
+ | white-space: nowrap; | ||
+ | } | ||
− | + | #topnav li { | |
− | + | display: table-cell; | |
− | + | text-decoration: none; | |
− | + | display: inline-block; | |
− | } | + | line-height: 50px; |
+ | width: 220px; | ||
+ | } | ||
− | + | #topnav li a:hover { | |
− | + | text-decoration: none; | |
− | + | color: #123b68; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | #topnav a:visited { | |
− | + | color: white; | |
− | + | } | |
− | } | + | |
+ | .dropdown-main, | ||
+ | .nav-item { | ||
+ | text-decoration: none; | ||
+ | font-size: 20px; | ||
+ | color: white; | ||
+ | border-radius: 80px; | ||
+ | /* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); */ | ||
+ | } | ||
− | + | .no-dropdown { | |
− | + | text-decoration: none; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | .dropdown-content { | |
− | # | + | display: none; |
− | + | position: absolute; | |
+ | background-color: #f9f9f9; | ||
+ | min-width: 150px; | ||
+ | margin-left: 30px; | ||
+ | border-radius:7px; | ||
+ | } | ||
− | + | .dropdown-content a { | |
− | + | color: black; | |
− | + | padding: 6px 8px; | |
− | + | text-decoration: none; | |
− | + | display: block; | |
− | + | text-align: left; | |
− | + | margin: 0; | |
− | + | } | |
− | + | ||
− | + | ||
− | } | + | |
− | + | .dropdown:hover .dropdown-content { | |
− | .dropdown | + | display: block; |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | .dropdown-content { | + | |
− | display: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | /* | + | /*--------------------------------*/ |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | / | + | </style> |
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<body> | <body> | ||
− | |||
− | |||
− | |||
− | + | <!--______________Top Navigation Bar_________________________--> | |
− | + | <ul id="topnav"> | |
− | + | <li class="dropdown"><a href="Project" class="dropdown-main">Project</a> | |
+ | <div class="dropdown-content"> | ||
+ | <a href="#">Link 1</a> | ||
+ | <a href="#">Link 2</a> | ||
+ | <a href="#">Link 3</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li class="dropdown"><a href="Practices" class="dropdown-main">Practices</a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="#">Link 1</a> | ||
+ | <a href="#">Link 2</a> | ||
+ | <a href="#">Link 3</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li class="dropdown"><a href="Tools" class="dropdown-main">Tools</a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="#">Link 1</a> | ||
+ | <a href="#">Link 2</a> | ||
+ | <a href="#">Link 3</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li class="dropdown"><a href="Acknowledgements" class="dropdown-main">Acknowledgements</a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="#">Link 1</a> | ||
+ | <a href="#">Link 2</a> | ||
+ | <a href="#">Link 3</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li class="no-dropdown"><a href="Safety" class="nav-item">Safety</a></li> | ||
+ | <li class="no-dropdown"><a href="iGEM" class="nav-item">iGEM</a></li> | ||
+ | </ul> | ||
+ | <!--_________________________________________________________--> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | </body> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</html> | </html> |
Revision as of 17:01, 31 July 2018