Team:Grenoble-EMSE-LSU/Design/css0
From 2013.igem.org
/******************************************************************************************/ /* Thanks to iGEM team DTU 2011 for their helpful tutorial, for any information see here :*/ /***********https://2011.igem.org/Team:DTU-Denmark/How_to_customize_an_iGEM_wiki************/ /******************************************************************************************/
- contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo
{
display:none;
}
- top-section
{
border: none; height: 0px;
}
- content
{
border: none;
}
.left-menu:hover {
background-color: transparent;}
- menubar li a {
background-color: transparent;}
- menubar:hover {
color: white;}
- menubar li a {
color: transparent;}
- menubar:hover li a {
color: white;}
/********************************************************************************/ /********************** CSS for our wiki ****************************/ /********************************************************************************/
body, #content {
background: lightgrey;
}
- header
{
background: /*url("")*/ maroon; height: 185px; margin-top: 0px; margin-bottom: 0px; width: 100%; border: 1px solid maroon; /*-webkit-box-shadow: #ADD1FF 0px 2px 3px;
-moz-box-shadow: #ADD1FF 0px 2px 3px;*/
-webkit-border-radius:8px; -moz-border-radius: 8px; border-radius: 8px; }
/*
- innercontent {
padding: 1px;} Important!
- /
/************ Design of the menubar **********/
ul.topnav ul li a
{
text-align: center;
font: normal 15px Verdana, Arial, Helvetica, sans-serif;
color: #FFFFFF;
background-color: dimgray
}
ul.topnav ul, ul.topnav ul li { list-style:none; padding:0; }
ul.topnav li { float: left; margin: 0; padding: 0; position: relative; /*--Declare X and Y axis base for sub navigation--*/ } ul.topnav li a {
padding: 8px 15px 10px 15px; display: block; text-decoration: none; float: left; }
ul.topnav > li > a {
height: 28px; overflow: hidden;
}
ul.topnav li:first-child a { padding-left: 0; }
ul.topnav li span.subhover { background-position: center bottom; cursor: pointer; }
ul.topnav li ul.subnav {
z-index: 1; /*Stay on top of slider*/
list-style: none; position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/ left: 0; top: 35px; background: grey; margin: 0; padding: 0; display: none; float: left; border: 1px #800000 #800000; border-radius: 0 0 5px 5px; }
ul.topnav li ul.subnav li { margin: 0; padding: 0; border-top: 1px solid #C0C0C0; /*--Create bevel effect--*/ border-bottom: 1px solid #C0C0C0; /*--Create bevel effect--*/ clear: both; list-style: none outside none; }
ul.topnav li ul.subnav, ul.topnav li ul.subnav li { width: 160px;
}
ul.topnav li ul.subnav li:last-child { border-radius: 0 0 5px 5px; }
html ul.topnav li ul.subnav li a { float: left;
padding-left: 10px; padding-right: 10px; width: 140px;
}
html ul.topnav li ul.subnav li a:last-child {
border-radius: 0 0 5px 5px;
} html ul.topnav li ul.subnav li a:hover { background: gray; }