MediaWiki:Common.css : Différence entre versions
De Aide Battle Arenas
m |
m |
||
| Ligne 50 : | Ligne 50 : | ||
div#footer li a:hover | div#footer li a:hover | ||
{ color: #E97B00; background-color: transparent; text-decoration: underline; } | { color: #E97B00; background-color: transparent; text-decoration: underline; } | ||
| + | /*** Couleur des blocs d'information ***/ | ||
| + | div#footer li footer-info-lastmod { color: white } | ||
| + | |||
| − | |||
| − | |||
/* Divers */ | /* Divers */ | ||
Version du 3 mai 2012 à 23:24
/* Le CSS placé ici sera appliqué à tous les habillages. */
#f-poweredbyico { display: none; }
/* Fond du wiki */
body { background:url(http://wiki.battle-arenas.net/images/9/90/Fond.jpg) no-repeat fixed center top #000000; }
#mw-page-base { background:none; }
/* Fond en transparence sur le bloc central */
div#content { background:rgba(255,255,255,.8); }
/* Fond en transparence sur le bas de page */
div#footer { background:rgba(255,255,255,.2); }
/* Boîte utilisateur */
/** Couleur de fond **/
#p-personal {
background-color: #FFFFFF;
border: 1px solid #A7D7F9;
padding: 2px 5px 3px 5px;
}
/* Menu de navigation (Mediawiki:Sidebar) */
/** Couleur de fond **/
div#mw-panel {
background-color: #FFFFFF;
border: 1px solid #A7D7F9;
margin-left:2.5%;
}
/* Largeur du bloc central */
div#content, div#mw-head, div#footer, div#mw-head-base {
margin-left:15%;
margin-right:5%;
width:80%;
}
/* Bord du bloc central */
div#content {
border: 1px solid #A7D7F9;
}
/* Formatage des liens du bloc du bas (footer) */
/** Couleur des liens **/
div#footer li a,
/*** Normal ***/
div#footer li a.new
{ color: #FFFFFF; text-decoration: none; }
/*** Passage de la souris ***/
div#footer li a:hover
{ color: #E97B00; background-color: transparent; text-decoration: underline; }
/*** Couleur des blocs d'information ***/
div#footer li footer-info-lastmod { color: white }
/* Divers */
/* WIKITABLE : Classe pour tableaux standards, légèrement grisés. Syntaxe : {| class="wikitable" */
/* Tableaux selon la charte graphique. Ils sont centrés par défaut. */
table.wikitable { /* monobookocentré debut */
margin-top:1em;
margin-bottom:1em;
background:#FFF;
border:1px #AAA solid;
border-collapse:collapse;
}
table.wikitable th, table.wikitable td {
border:1px #AAA solid;
padding:.3em;
}
table.wikitable th, .wikitable_header {
background:#E2E2E2;
text-align:center;
}
table.wikitable caption {
margin-left:inherit;
margin-right:inherit;
} /* monobookocentré fin */
/* Alignement du tableau : flottant à droite ou à gauche, ou centré. On peut aligner à droite ou à gauche
sans flottement en ajoutant le [[modèle:clr]] en bas du tableau, ou en précisant style="float:none"
dans l'en-tête du tableau. */
table.wikitablegauche, table.left {
float:left;
align:left;
margin-top:1em;
margin-bottom:1em;
background:#FFF;
border:1px #AAA solid;
border-collapse:collapse;
margin:0 1em 1em 0;
}
table.wikitablegauche th, table.wikitable td {
border:1px #AAA solid;
padding:.3em;
}
table.wikitablegauche th, .wikitable_header {
background:#E2E2E2;
text-align:center;
}
table.wikitabledroite, table.right {
float:right;
align:right; margin-top:1em;
margin-bottom:1em;
background:#FFF;
border:1px #AAA solid;
border-collapse:collapse;
margin:0 0 1em 1em;
}
table.wikitabledroite th, table.wikitable td {
border:1px #AAA solid;
padding:.3em;
}
table.wikitabledroite th, .wikitable_header {
background:#E2E2E2;
text-align:center;
}
table.wikitablecentre, table.center {
float:center;
align:center;
text-align:center;
margin-top:1em;
margin-bottom:1em;
background:#FFF;
border:1px #000 solid;
border-collapse:collapse;
margin:1em auto;
able.wikitablecentre th, table.wikitable td {
border:1px #000 solid;
padding:.2em;
}
table.wikitablecentre th, .wikitable_header {
background:#E2E2E2;
text-align:center;
}