(Created page with "<html> <head> <style> body { background-color:#111; margin:10px;} →******************************** Hyperlink formitting*******************************: a:link {...") |
m |
||
Line 4: | Line 4: | ||
body { | body { | ||
background-color:#111; | background-color:#111; | ||
− | margin: | + | margin:15px;} |
Line 30: | Line 30: | ||
/********************************* menu bar formatting ********************************/ | /********************************* menu bar formatting ********************************/ | ||
− | + | .dropdown{ | |
color: white; | color: white; | ||
margin-top: -15px; | margin-top: -15px; | ||
Line 36: | Line 36: | ||
background-color: white; | background-color: white; | ||
position: fixed; | position: fixed; | ||
− | top: | + | top: 5px; |
+ | display:inline-block; | ||
width: 1200px; | width: 1200px; | ||
font-size:20px; | font-size:20px; | ||
+ | list-style-type: none; | ||
} | } | ||
− | + | .dropdown_content { | |
− | + | ||
− | + | ||
float: left; | float: left; | ||
− | + | display: block; | |
} | } | ||
− | + | .dropdown_content a{ | |
+ | display: block; | ||
color: green; | color: green; | ||
text-align: center; | text-align: center; | ||
− | |||
− | |||
− | |||
text-decoration:none; | text-decoration:none; | ||
+ | padding: 10px; | ||
} | } | ||
− | + | .dropdown_content a:hover:not(.active){ | |
color:white; | color:white; | ||
background-color:purple; | background-color:purple; | ||
Line 65: | Line 64: | ||
.active { | .active { | ||
− | background-color: gold; | + | float: left; |
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .active a{ | ||
+ | display: block; | ||
+ | color: green; | ||
+ | text-align: center; | ||
+ | text-decoration:none; | ||
+ | padding: 10px; | ||
+ | background-color:gold; | ||
} | } | ||
Line 198: | Line 207: | ||
− | < | + | <ul class="dropdown"> |
− | < | + | <li class="active"><a href="https://2016.igem.org/Team:Manchester"><strong>Home</strong></a></li> |
− | < | + | <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Team"><strong>Team</strong></a></li> |
− | < | + | <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Description"><strong>Project</strong></a></li> |
− | </ | + | </ul> |
Revision as of 22:31, 15 July 2016