Line 1: | Line 1: | ||
<html> | <html> | ||
− | + | <body> | |
+ | </body> | ||
<div class="navbar"> | <div class="navbar"> | ||
− | + | <a href="https://2018.igem.org/Team:UIUC_Illinois" title="Team:UIUC_Illinois" align="left"> | |
− | + | <img src="https://static.igem.org/mediawiki/2018/0/00/T--UIUC_Illinois--Logo.png" width="15%" height="15%" alt="Team UIUC_Illinois" > | |
− | + | </a> | |
− | </a> | + | |
− | + | ||
<!------Blog------> | <!------Blog------> | ||
− | + | <div class="dropdown"> | |
− | + | <button class="dropbtn">Blog | |
− | + | ||
− | + | ||
<a href="https://2018.igem.org/Team:UIUC_Illinois/Blog"></a> | <a href="https://2018.igem.org/Team:UIUC_Illinois/Blog"></a> | ||
− | + | </button> | |
</div> | </div> | ||
− | |||
− | |||
<!-------Jamboree-------> | <!-------Jamboree-------> | ||
<div class="dropdown"> | <div class="dropdown"> | ||
<button class="dropbtn">Jamboree | <button class="dropbtn">Jamboree | ||
− | + | ||
</button> | </button> | ||
</div> | </div> | ||
− | |||
<!-------Team-------> | <!-------Team-------> | ||
<div class="dropdown"> | <div class="dropdown"> | ||
<button class="dropbtn">Team | <button class="dropbtn">Team | ||
− | + | ||
</button> | </button> | ||
<div class="dropdown-content"> | <div class="dropdown-content"> | ||
Line 43: | Line 39: | ||
<div class="dropdown"> | <div class="dropdown"> | ||
<button class="dropbtn">Human Practice | <button class="dropbtn">Human Practice | ||
− | + | ||
</button> | </button> | ||
<div class="dropdown-content"> | <div class="dropdown-content"> | ||
Line 54: | Line 50: | ||
<div class="dropdown"> | <div class="dropdown"> | ||
<button class="dropbtn">Notebook | <button class="dropbtn">Notebook | ||
− | + | ||
</button> | </button> | ||
<div class="dropdown-content"> | <div class="dropdown-content"> | ||
Line 64: | Line 60: | ||
<div class="dropdown"> | <div class="dropdown"> | ||
<button class="dropbtn">Project | <button class="dropbtn">Project | ||
− | + | ||
</button> | </button> | ||
<div class="dropdown-content"> | <div class="dropdown-content"> | ||
Line 78: | Line 74: | ||
<style> | <style> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.navbar { | .navbar { | ||
− | + | overflow: hidden; | |
− | + | background-color: #324856; | |
− | + | font-family: Century Gothic, sans-serif; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
/* Links inside the navbar */ | /* Links inside the navbar */ | ||
.navbar a { | .navbar a { | ||
− | + | margin-left: 2%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Line 141: | Line 92: | ||
float: right; | float: right; | ||
overflow: hidden; | overflow: hidden; | ||
+ | text-align: bottom; | ||
+ | vertical-align: middle; | ||
+ | line-height: 45px; | ||
} | } | ||
Line 149: | Line 103: | ||
outline: none; | outline: none; | ||
color: white; | color: white; | ||
− | padding: | + | float: bottom; |
+ | padding: 30px 16px; | ||
background-color: inherit; | background-color: inherit; | ||
+ | vertical-align: bottom; | ||
font-family: inherit; /* Important for vertical align on mobile phones */ | font-family: inherit; /* Important for vertical align on mobile phones */ | ||
margin: 0; /* Important for vertical align on mobile phones */ | margin: 0; /* Important for vertical align on mobile phones */ | ||
+ | |||
} | } | ||
/* Add a red background color to navbar links on hover */ | /* Add a red background color to navbar links on hover */ | ||
− | .navbar | + | .navbar .dropdown:hover .dropbtn { |
background-color: #d66c44; | background-color: #d66c44; | ||
+ | cursor: pointer; | ||
} | } | ||
Line 189: | Line 147: | ||
display: block; | display: block; | ||
} | } | ||
+ | |||
</style> | </style> | ||
− | |||
− | |||
− | |||
</html> | </html> |
Revision as of 15:05, 22 August 2018