Team:British Columbia/external
From 2011.igem.org
/* Wiki Hacks - START */ /* Author: Pieter van Boheemen */ /* Team: TU Delft */
- globalWrapper { background-color: transparent; border: none; margin: 0; padding: 0; width: 100%; height:100%;}
- content { background-color: transparent; border: none; padding: 0; margin: 0; width: 100%; overflow: hidden; height:100%;}
- bodyContent { border: none; padding:0; margin:0; width:100%; height:100%;}
- top-section { height: 15px; margin: 0px; margin-left: auto; margin-right: auto; margin-bottom: 0 !important;
padding:0; border: none; font-size: 10px;}
- p-logo { height:1px; overflow:hidden; display: none;}
- search-controls { overflow:hidden; display:block; background: none; position: absolute; top: 100px; right: 40px;}
.left-menu { width: 500px !important; display:block; margin-top:-80px; border: none; text-align: right;} .left-menu ul { border: none; }
- menubar.right-menu { width:300px; display:block; float:left; margin-top:-80px; border: none;}
.right-menu ul { border: none; width: 300px;}
- footer-box { width: 100%; margin: -10px auto 0 auto; padding: 20px 0;}
.visualClear { display: none; }
- footer { border: none; width: 965px; margin: 0 auto; padding: 0;}
.firstHeading { display: none;}
- f-list a { color: #333; font-size: 10px;}
- f-list a:hover { color: #666;}
.printfooter { display: none; }
- footer ul { margin: 0; padding: 0;}
- footer ul li { margin-top: 0; margin-bottom: 0; margin-left: 10px; margin-right: 10px; padding: 0;}
- search-controls { display:none; }
h3#siteSub { display: none;}
- contentSub {display: none;}
p:first-child { display: none;} /* Wiki Hacks - END */
/*Horizontal menu - START */
- menu{
width: 100%; margin: 0; padding: 10px 0 0 0; list-style: none; background: #FFffff;
}
- menu li{
float: left; padding: 0 0 10px 0; position: relative;
}
- menu a
{
float: left; height: 25px; padding: 0 25px; color: #269434; font: bold 12px/25px Arial, Helvetica; text-decoration: none;
}
- menu li:hover > a
{
color: #A60901;
}
- html #menu li a:hover /* IE6 */
{
color: #A60901;
}
- menu li:hover > ul
{
display: block;
}
/* Sub-menu */
- menu ul
{
list-style: none; margin: 0; padding: 0; display: none; position: absolute; top: 35px; left: 0; z-index: 99999; background: white;
}
- menu ul li
{
float: none; margin: 0; padding: 0; display: block; -moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777; -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777; box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}
- menu ul li:last-child
{
-moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
}
- menu ul a
{
padding: 10px; height: auto; line-height: 1; display: block; white-space: nowrap; float: none; text-transform: none;
}
- html #menu ul a /* IE6 */
{
height: 10px; width: 150px;
}
- first-child+html #menu ul a /* IE7 */
{
height: 10px; width: 150px;
}
- menu ul a:hover
{
background: white;
}
- menu ul li:first-child a
{
-moz-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
}
- menu ul li:first-child a:after
{
content: ; position: absolute; left: 30px; top: -8px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid #444;
}
- menu ul li:first-child a:hover:after
{
border-bottom-color: #04acec;
}
- menu ul li:last-child a
{
-moz-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px;
}
/* Clear floated elements */
- menu:after
{
visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0;
}
- html #menu { zoom: 1; } /* IE6 */
- first-child+html #menu { zoom: 1; } /* IE7 */
/*Horizontal menu - END */