MediaWiki:Common.css : Différence entre versions

De Aide Battle Arenas
Ligne 1 : Ligne 1 :
 
/* Le CSS placé ici sera appliqué à tous les habillages. */
 
/* Le CSS placé ici sera appliqué à tous les habillages. */
 
#f-poweredbyico { display: none; }
 
#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); }
 
 
  
 
/* WIKITABLE : Classe pour tableaux standards, légèrement grisés. Syntaxe : {| class="wikitable" */
 
/* WIKITABLE : Classe pour tableaux standards, légèrement grisés. Syntaxe : {| class="wikitable" */

Version du 4 mai 2012 à 00:29

/* Le CSS placé ici sera appliqué à tous les habillages. */
#f-poweredbyico { display: none; }

/* 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;
}