Team:Grenoble/Design/css0
From 2011.igem.org
Maxime.huet (Talk | contribs) |
Maxime.huet (Talk | contribs) |
||
Line 7: | Line 7: | ||
display:none; | display:none; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#top-section | #top-section | ||
Line 59: | Line 52: | ||
display: none; | display: none; | ||
} | } | ||
+ | |||
+ | /* | ||
+ | Style d'écriture du contenu devrait permettre d'éviter de devoir écrire trop de truc pour p li ul ol table etc... | ||
+ | */ | ||
+ | |||
+ | #content | ||
+ | { | ||
+ | font: normal 14px Verdana, Arial, Helvetica, sans-serif; | ||
+ | color:#0F174D; | ||
+ | } | ||
+ | |||
/* | /* | ||
Line 88: | Line 92: | ||
padding: 1px;} Important! | padding: 1px;} Important! | ||
*/ | */ | ||
+ | |||
+ | |||
Line 100: | Line 106: | ||
*/ | */ | ||
+ | /* Slider (thanks to flowplayer.org) */ | ||
+ | /*************************************/ | ||
.position_diapo | .position_diapo | ||
{ | { | ||
Line 139: | Line 147: | ||
width: 74px; | width: 74px; | ||
float:left; | float:left; | ||
- | left:- | + | left:-15px; |
position: relative; | position: relative; | ||
margin-top: 148px ; | margin-top: 148px ; | ||
Line 151: | Line 159: | ||
width: 74px; | width: 74px; | ||
float:right; | float:right; | ||
- | right:- | + | right:-15px; |
position: relative; | position: relative; | ||
margin-top: 148px ; | margin-top: 148px ; | ||
Line 162: | Line 170: | ||
} | } | ||
- | /* | + | /* position and dimensions of the navigator */ |
- | + | ||
- | */ | + | |
.navi | .navi | ||
{ | { | ||
Line 180: | Line 186: | ||
margin: 3px; | margin: 3px; | ||
background: url(https://static.igem.org/mediawiki/2011/7/7e/DTU-Denmark2011-slider-navigator-red.png) 0 0 no-repeat; | background: url(https://static.igem.org/mediawiki/2011/7/7e/DTU-Denmark2011-slider-navigator-red.png) 0 0 no-repeat; | ||
+ | /*background: url(https://static.igem.org/mediawiki/2011/2/22/DTU-Denmark2011-slider-navigator-dark.png) 0 0 no-repeat;*/ | ||
display: block; | display: block; | ||
font-size: 1px; | font-size: 1px; |
Revision as of 16:32, 22 October 2011
/* Enlever l'entête et le pied de page wiki, ainsi que les bords: (ce code garde les liens pour éditer le wiki)
- /
- contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo
{
display:none;
}
- top-section
{
border: none; height: 0px;
}
- content
{
border: none;
}
/* Coloration du menu en bleu, fond blanc ou transparent ? en tout cas menu invisible sauf si on passe dessus avec la souris
- /
.left-menu:hover {
background-color: transparent;
}
- menubar:hover
{
color: #0F174D;
}
- menubar li a
{
background-color: transparent; color: transparent;
}
- menubar:hover li a
{
color: #0F174D;
}
/* Enlever le "teams" de la bare wiki qui sert à rien, enlève également le Deconnexion
- /
- menubar > ul > li:last-child
{
display: none;
}
/* Style d'écriture du contenu devrait permettre d'éviter de devoir écrire trop de truc pour p li ul ol table etc...
- /
- content
{
font: normal 14px Verdana, Arial, Helvetica, sans-serif; color:#0F174D;
}
/*
Mise en page, en-tête, couleur de fond, bannière, etc...
- /
body,#content{
background: #ADD1FF;
}
- header
{
background: url("") no-repeat #ADD1FF; height: 160px; margin-left: 68px; width: 829px; border: 1px solid #477CBF; -webkit-box-shadow: #666666 0px 2px 3px;
-moz-box-shadow: #666666 0px 2px 3px;
-webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; }
/*
- innercontent {
padding: 1px;} Important!
- /
/*
* * * Diaporama * * *
- /
/* Slider (thanks to flowplayer.org) */ /*************************************/ .position_diapo { position: relative; overflow :hidden;
margin-top: 14px; width: 963px; height: 370px; border: 1px solid #666D99; -webkit-box-shadow: #666666 0px 2px 3px;
-moz-box-shadow: #666666 0px 2px 3px;
-webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; background: #FFFFFF; }
.style_diapo .items { /* this cannot be too large */ width: 50000px; position: absolute; }
.items div { float: left; width: 963px; height: 370px; }
.prev { background: url() no-repeat; height: 74px; width: 74px; float:left; left:-15px; position: relative; margin-top: 148px ; cursor: pointer; }
.next { background: url() no-repeat; height: 74px; width: 74px; float:right; right:-15px; position: relative; margin-top: 148px ; cursor: pointer; }
.disabled { visibility: hidden; }
/* position and dimensions of the navigator */ .navi {
left: -56px; margin-left: 50%; position: relative; width: 112px;
}
.navi a { width: 8px; height: 8px; float: left; margin: 3px; background: url() 0 0 no-repeat; /*background: url() 0 0 no-repeat;*/ display: block; font-size: 1px; }
.navi a:hover { background-position: 0 -8px; }
.navi a.active { background-position: 0 -16px; }