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


/* Définition du 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; }
div#mw-panel { top:140px; }
#p-personal { background:rgba(255,255,255,.8); padding:0 1em 2px 1em; }
div#content { background:rgba(255,255,255,.8); }
div#footer { background:rgba(255,255,255,.2); }
.entete { width:80%; text-align:center; background:#f9f9f9; padding:1em; margin:1.2em auto .6em auto; border:1px solid #ddd; }
pre { overflow: auto; }


/* Portal */
.portal_container { }
.portal_section { border:1px solid #aaa; margin:0; background:#f9f9f9; border-radius:10px 10px 10px 10px; }
.portal_section ul { list-style: disc; }
.portal_header { padding:0 1em; position:relative; }
.portal_header_text { line-height:2em; font-size:2em; border-bottom:1px solid black; }
.portal_headerlinks { font-size:0.8em; position:absolute; right:1em; bottom:-2em; padding-bottom:2px; }
.portal_body { padding:0.8em; }
.portal_subheader { padding: 0 1em; position: relative; font-size: 0.9em; }
.portal_subheader, .portal_subheader a:link, .portal_subheader a:visited, .portal_subheader a:hover, .portal_subheader a:active { }
.portal_subheader_text { display: table; width: 100%; padding: 0.4em 0 0 0; border-bottom: 1px solid black; text-align: left; font-size: 1.8em; line-height:1.8em; }

/* Portal Slider */
#portal_slider { margin: 0px; padding: 0px; position: relative; height: 450px; }
#portal_slider #portal_next, #portal_slider #portal_prev { text-align: center; cursor: pointer; border: 0px solid #FEC356; height: 30px !important; width: 20px; font-family: arial, san-serif; font-size: 36px; line-height: 22px; font-weight: bold; position: absolute; bottom: 8px; background: transparent; -moz-box-shadow: inset 1px 1px 2px rgba(255,255,255, 0.8); -webkit-box-shadow: inset 1px 1px 2px rgba(255,255,255, 0.8); box-shadow: inset 1px 1px 2px rgba(255,255,255, 0.8); background-image: -moz-linear-gradient(bottom, rgb(153,153,153) 0, rgb(221,221,221) 100%); background-image: -webkit-gradient(linear, 0% 100%, 0% 0%, color-stop(0, rgb(153,153,153)), color-stop(100%, rgb(221,221,221))); text-shadow: 1px 1px rgba(255, 255, 255, 0.3), -1px 0 rgba(0,0,0,0.3); color: rgb(153,153,153); -moz-user-select: none; -webkit-user-select: none; user-select: none; }
#portal_slider #portal_next:hover, #portal_slider #portal_prev:hover { background-image: -moz-linear-gradient(bottom, rgb(114,183,245) 0, rgb(167,215,249) 100%); background-image: -webkit-gradient(linear, 0% 100%, 0% 0%, color-stop(0, rgb(114,183,245)), color-stop(100%, rgb(167,215,249))); color: rgb(114,183,245); }
#portal_slider #portal_next { right: 10px; -moz-border-radius-topright: 8px; -moz-border-radius-bottomright: 8px; -webkit-border-top-right-radius: 8px; -webkit-border-bottom-right-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
#portal_slider #portal_prev { right: 31px; -moz-border-radius-topleft: 8px; -moz-border-radius-bottomleft: 8px; -webkit-border-top-left-radius: 8px; -webkit-border-bottom-left-radius: 8px; border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
#portal_slider > .portal_body { padding: 0; }


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