Team:Kent/menu bar
From 2014.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
body { | body { | ||
- | margin: | + | margin:auto; |
padding: 0;} | padding: 0;} | ||
#top-section { | #top-section { | ||
- | width: | + | width: 150px; |
height: 0; | height: 0; | ||
- | margin: 0 | + | margin: 0; |
padding: 0; | padding: 0; | ||
border: none;} | border: none;} | ||
#menubar { | #menubar { | ||
- | font-size: | + | font-size: 5%; |
top: 0px;} | top: 0px;} | ||
+ | |||
.left-menu:hover { | .left-menu:hover { | ||
background-color: transparent;} | background-color: transparent;} | ||
+ | |||
#menubar li a { | #menubar li a { | ||
background-color: transparent;} | background-color: transparent;} | ||
Line 37: | Line 39: | ||
#top-section { | #top-section { | ||
border: none; | border: none; | ||
- | height: | + | height: 20px;} |
#content { | #content { | ||
border: none;} | border: none;} |
Revision as of 21:56, 10 August 2014
/* Removes "teams" from the menubar */
- menubar > ul > li:last-child {
display: none;}
/* Resizes the menubar to fik the links (default is 400px) */
- menubar {
width: auto;}
body {
margin:auto; padding: 0;}
- top-section {
width: 150px; height: 0; margin: 0; padding: 0; border: none;}
- menubar {
font-size: 5%; top: 0px;}
.left-menu:hover {
background-color: transparent;}
- menubar li a {
background-color: transparent;}
- menubar:hover {
color: transparent;}
- menubar li a {
color: transparent;}
- menubar:hover li a {
color: white;}
- contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
display:none;}
- top-section {
border: none; height: 20px;}
- content {
border: none;}