MediaWiki:Common.css : Différence entre versions

De Aide Battle Arenas
m
m
Ligne 25 : Ligne 25 :
 
     background-position: left bottom;
 
     background-position: left bottom;
 
     background-repeat: repeat-x;
 
     background-repeat: repeat-x;
 +
    height: 5em;
 +
    margin-left: 10em;
 +
    margin-top: -5em;
 
}
 
}
  

Version du 3 mai 2012 à 22:21

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

#mw-head-base {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUeF4FwTEBAAAAgjD7FzESWfjYdgwEoAJ4lTsaxgAAAABJRU5ErkJggg==");
    background-position: left bottom;
    background-repeat: repeat-x;
    height: 5em;
    margin-left: 10em;
    margin-top: -5em;
}

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

div#content {
border: 1px solid #A7D7F9;
}


/* Contenu (bloc central) */
div#content {

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