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;}
- mainmenu {
border: none; width: 1004px; font-family: Arial, Verdana; font-size: 14px; margin-left: -20px; padding: 0; list-style: none;
}
- mainmenu li {
border: none; display: block; position: relative; width: 143px; margin-bottom: 20px; float: left;
}
- mainmenu li ul {
display: none;
}
- mainmenu li a {
display: block; text-decoration: none; color: #000000; padding: 5px 15px 5px 15px; background: #A6DF96; margin-left: 1px; white-space: nowrap;
}
- mainmenu li a:hover {
background: #A6DF96; }
- mainmenu li:hover ul {
margin: 0px; display: block; position: absolute;
}
- mainmenu li:hover li {
float: none; margin-bottom: 0px; font-size: 11px;
}
- mainmenu li:hover a { background: #A6DF96; }
- mainmenu li:hover li a:hover {
background: #A6DF96;
}