MediaWiki:Common.css

De Aide Battle Arenas

Note : après avoir enregistré vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : Maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou pressez Ctrl-F5 ou Ctrl-R (⌘-R sur un Mac) ;
  • Google Chrome : Appuyez sur Ctrl-Maj-R (⌘-Shift-R sur un Mac) ;
  • Internet Explorer : Maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5 ;
  • Opera : Videz le cache dans Outils → Préférences.
/* 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; }

/* Formatage du bloc du bas (footer) */
div#footer-info {
color: white;
}

/** Suppression de l'icône à côté du nom d'utilisateur **/
li#pt-userpage { background: none }

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