Team:British Columbia/ubcigem2013.css
From 2013.igem.org
(Difference between revisions)
Line 46: | Line 46: | ||
background: rgba(255, 255, 255, 0); | background: rgba(255, 255, 255, 0); | ||
position: absolute; | position: absolute; | ||
- | left: | + | left: 80px; |
top: 143px; | top: 143px; | ||
width: 900px; | width: 900px; |
Revision as of 02:37, 24 September 2013
/* 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;}
body {
font-family: Helvetica; background-image: url('https://static.igem.org/mediawiki/2013/f/f2/Background_tiles-01.png'); /*background-size: 400px 300px;*/
}
p {
font-size: 14px;
}
table#toc {
display: none;
}
p, h1, h2, h3, h4, h5, h6, li {
margin-left: 25px; margin-right: 25px;
}
- headerdiv {
width: 100%;
}
- headerimage {
width: 100%;
}
- mainmenu {
background: rgba(255, 255, 255, 0); position: absolute; left: 80px; top: 143px; width: 900px; font-size: 14px; padding: 0; list-style: none;
}
- mainmenu li {
display: block; position: relative; width: 126px; margin-bottom: 20px; float: left; margin-left: 0; margin-right: 0;
}
- mainmenu li ul {
display: none; color: #FFF; background: rgba(0, 0, 0, 1);
}
- mainmenu li a {
display: block; text-decoration: none; color: #000000; padding: 5px 15px 5px 7px; /*background: #A6DF96;*/ /*background: #FFFFFF;*/ margin-left: 0px; white-space: nowrap;
}
- mainmenu li a:hover {
/*background: #CEF6C3;*/ background: rgba(0, 0, 0, 1); }
- 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: #CEF6C3; }
- mainmenu li:hover li a:hover {
background: #A6DF96;
}