Team:British Columbia/ubcigem2013.css
From 2013.igem.org
/* Get rid of the default iGEM style... thanks DTU Denmark 2011! */
- contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
display:none;}
- top-section {
border: none; height: 20px;}
- content {
border: none; border-radius: 5px;}
/* Removes "teams" from the menubar */
- menubar.left-menu > ul > li:last-child {
display: none;}
/* Resizes the menubar to fit the links (default is 400px) */
- menubar.left-menu {
width: auto;}
p {font-family: sans-serif;}
.menu {border-collapse: collapse;
background-color: #258019; width: 1004px; box-shadow: 0px 5px 2px #616161; text-align: center; margin-left: -20px; margin-right: auto;}
.menuopt {padding: 5px;} a:link.menulink {color: white;
font-size: 18px;}
a:visited.menulink {color: white;} a:hover.menulink {color: #E9E9E9;} a:active.menulink {color: #E9E9E9;}
- mainmenu {
font-family: Arial, Verdana; font-size: 14px; margin: 0; padding: 0; list-style: none;
}
- mainmenu li {
display: block; position: relative; float: left;
} li ul {
display: none;
} ul li a {
display: block; text-decoration: none; color: #ffffff; border-top: 1px solid #ffffff; padding: 5px 15px 5px 15px; background: #1e7c9a; margin-left: 1px; white-space: nowrap;
} ul li a:hover { background: #3b3b3b; } li:hover ul {
display: block; position: absolute;
} li:hover li {
float: none; font-size: 11px;
} li:hover a { background: #3b3b3b; } li:hover li a:hover {
background: #1e7c9a;
}