Team:Paris Bettencourt/Templates/css/default
From 2011.igem.org
Line 8: | Line 8: | ||
#main | #main | ||
{ | { | ||
- | width: | + | width: 800px; |
height: 900px; | height: 900px; | ||
background: #93B29B;/* un fond vert tout moche */ | background: #93B29B;/* un fond vert tout moche */ |
Revision as of 14:16, 13 July 2011
body {
font: 11px verdana, sans-serif;/* taille, classe de police */ /couleur du bg */ margin: 0;/* marges */ padding: 0;/* espace entre les caractËres*/
}
- main
{ width: 800px; height: 900px; background: #93B29B;/* un fond vert tout moche */ text-align: center; position:absolute; }
- banner
{ width:800px; text-align:center; position:relative; height:152px; background: #286639;/* couleur de fond du titre*/ }
- imgbanner
{ position:relative; width:800; height:124; text-align:center; top:0; }
- menu
{ text-align:center; position:relative; width:800px; left:50%; margin-left:-400px; }
- maincontainer
{ position:relative; text-align:center; width:1024; /*background: #FF0000;*//* conteneur du texte */ left:50%; margin-left:-512px; }
- menu_core/* la liste principale */
{
list-style-type: none; margin: 0px 4px; padding: 0; border: 0; text-align:center;
}
- menu_core li /* les menu principaux */
{
float: left; width: 88px; margin: 0; padding: 0; border: 0;
}
- menu_core li ul /* les sous menu */
{
list-style-type: none; margin: 0; padding: 0; border: 0; display: none; /* par dÈfaut on ne les affichent pas */ position:absolute;
}
- menu_core li a:link, #menu_core li a:visited /* couleur des liens */
{
display: block; height: 20px; color: #FFF;/* couleur desmenu principaux*/ background: #286639;/* couleur du menu */ margin: 0; padding: 4px 8px; text-decoration: none;
}
- menu_core li a:hover { background-color: #85D28D; }/* couleur du menu au passage*/
- menu_core li a:active { background-color: #00B876; }/* couleur du menu actif*/
- menu_core li:hover ul{/*apparition des sous-menus */
display:block;
}
- menu_core li:hover ul li{/*apparition des sous-menus */
float:none;
}
- menu_core li .sous_menu li a:link,
- menu_core li .sous_menu li a:visited
{
display: block; color: #FFF;/* texte du sous menu */ margin: 0; border: 0; text-decoration: none; background: #85D28D;/* couleur du sous-menu */
}
- menu_core li .sous_menu li /* les ÈlÈments des sous-menu */
{
margin: 0; padding: 0; border: 0; width: 149px; border-top: 1px solid; border-right: 1px solid;
}
- menu_core li .sous_menu li:hover{ /* maintient des sous menu actifs */
display:block;
background-color: #F2462E;/* couleur du sous menu au survoul*/ }
/* WIKI HACKS */
.firstHeading {
display:none;
}
- globalWrapper {
background-color: transparent; padding-bottom:0px; border: none;
}
- content {
background-color: white; border:none; padding-bottom:none; margin-bottom:none; border: 1px solid #efefef;
}
- bodyContent {
border: none;
}
- top-section {
height: 0px; margin-top: 0 px; margin-left: auto; margin-right: auto; margin-bottom: 0 !important; /* margin-bottom: 10px; */ padding:0; border: none; display: display;
}
- p-logo {
height: 203px; overflow:hidden; border:none; display: none;
}
- p-logo img {
display: none;
}
- footer-box{
display: none;
}
- catlinks{
display: none;
}
- search-controls {
overflow:hidden; display:none; background: none; position: absolute; top: 100px; right: 40px;
}
.right-menu li a:link{
padding-top: 10px; background:transparent; text-decoration: none; color: #000;
}
.right-menu li a:hover{
padding-top: 10px; background:transparent; text-decoration: underline; color: #000;
}
.right-menu li a:visited{
padding-top: 10px; background:transparent; text-decoration: none; color: #000;
}
.mw-headline{ position: relative; top: 4px; font-size: 18px; line-height: 25px; color: #656551; letter-spacing: -1px;
padding: 0px 0px 10px 15px; margin-bottom: 20px; }
.mw-headline :before{ content: '='; }
/* Image Rotator CSS */ /* The Nivo Slider styles */ .nivoSlider { position:relative; } .nivoSlider img { position:absolute; top:0px; left:0px; } /* If an image is wrapped in a link */ .nivoSlider a.nivo-imageLink { position:absolute; top:0px; left:0px; width:100%; height:100%; border:0; padding:0; margin:0; z-index:6; display:none; } /* The slices and boxes in the Slider */ .nivo-slice { display:block; position:absolute; z-index:5; height:100%; } .nivo-box { display:block; position:absolute; z-index:5; } /* Caption styles */ .nivo-caption { position:absolute; left:0px; bottom:0px; background:#000; color:#fff; opacity:0.8; /* Overridden by captionOpacity setting */ width:100%; z-index:8; } .nivo-caption p { padding:5px; margin:0; } .nivo-caption a { display:inline !important; } .nivo-html-caption {
display:none;
} /* Direction nav styles (e.g. Next & Prev) */ .nivo-directionNav a { position:absolute; top:45%; z-index:9; cursor:pointer; } .nivo-prevNav { left:0px; } .nivo-nextNav { right:0px; } /* Control nav styles (e.g. 1,2,3...) */ .nivo-controlNav a { position:relative; z-index:9; cursor:pointer; } .nivo-controlNav a.active { font-weight:bold; }