MediaWiki:Common.css

De Nefald Wiki
Aller à la navigation Aller à la recherche

Note : après avoir publié 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 appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  •  Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
/* Le CSS placé ici sera appliqué à tous les habillages. */

/* INFOBOX */
 
/** Style commun aux infobox ; utiliser :
 *  * class="infobox" dans l'en-tête.
 *  * class="infoboximage" pour l'image et sa description
 *  * class="infoboxsoustitre" pour le sous-titre.
 *  Voir [[Aide:Infobox]] et [[Projet:InfoBox]].
 */
 
.infobox {
  background: #EEE; /* couleur correspondant aux titres / colonne de gauche, th */
  color: #000;
  float: right;
  clear: right;
  font-size: 95%;
  border-collapse: collapse;
  margin: 0 0 .5em 1em;
  width: 250px;
}
 
/* monobookocentré debut  */
 
.infobox caption {
  background: #C0C0C0;
  border-left: 1px solid #AAA;
  border-top: 1px solid #AAA;
  border-right: 1px solid #AAA;
  padding: .2em;
  margin-left: .57em;
  font-weight: bolder;
  text-align: center;
  color: #FFF;
  font-size: 160%;
}
 
.infobox th,
.infobox td {
  vertical-align: middle;
  border: 1px solid #AAA;
  padding: .2em .2em .2em .5em;
}
 
.infobox td {
  text-align: center;
  background: #F9F9F9;
}
 
.infobox th {
  font-weight: normal;
  text-align: left;
}
 
.infobox .infoboximage {
  /* emplacement pour les photos et une description */
  background: #FFF;
  padding: 0;
  margin-top: 0;
  color: #000;
  text-align: center;
}
 
.infobox .infoboxsoustitre {
  /* sous-titre */
  color: #000;
  font-weight: bold;
  font-size: 115%;
  line-height: 2;
  text-align: center;
}
 
.infobox dl {
  clear: both
}
 
.infobox dt {
  float: left;
  clear: left;
  width: 35%;
}
 
.infobox dd {
  margin-left: 40%
}


/**
 * Infobox V2
 * Voir : [[Utilisateur:Antaya/Infobox V2]]
 */
 
.infobox_v2 {
  /* monobookocentré debut */
  background: #f9f9f9;
  color: #000;
  font-size: 90%;
  line-height: 1.1em;
  float: right;
  clear: right;
  /* haut droite bas gauche */
  margin: 0 0 .5em 1em;
  width: 300px;
   -webkit-border-radius: 0.3em;
        -moz-border-radius: 0.3em;
        border-radius: 0.3em;
        border: 1px solid #CCC;
        box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.1);
  padding: 0.1em;
}
 
.infobox_v2 th {
  vertical-align: super;
  text-align: left;
}
 
.infobox_v2 .entete {
  height: 45px;
  vertical-align: middle;
  text-align: center;
  font-size: 150%;
  font-weight: bolder;
  line-height: 1.2em;
  color: #000;
}
 
.infobox_v2 .media {
  /* css V2 pour [[Modèle: Son]], etc. */;
  height: 35px;
  vertical-align: middle;
  text-align: center;
  font-weight: bolder;
  color: #000;
}




/* MW-PANEL */

#mw-panel li a {color: orange;}
#mw-panel li a:hover {color: white; background: orange;}
#mw-panel li a:visited {color: #FFCE7B;}