MediaWiki:Monobook.css

De Scoutopedia
Révision datée du 28 août 2007 à 18:45 par Benjism89 (discussion | contributions) (+ classe verse : devrait marcher)

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).
  • Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
  • Opera : appuyez sur Ctrl + F5.
/* Le CSS placé ici affectera les utilisateurs du skin Monobook */

/* classe verse : utiliser avec <poem> pour les textes en vers */

/* copié-collé de http://fr.wikisource.org/w/index.php?title=MediaWiki:Monobook.css&action=edit , sous licence GFDL */

.verse {
  text-align: left;
  margin:0px auto;
  padding-left: 2em;
}
.verse p { text-indent: 0em
}
.verse pre {
  background-color: #ffffff;
  font-family: sans-serif;
  line-height: 150%;
  border: 0px;
  padding-left: 2em;
  margin: 0;
  white-space: pre;
}

/* classe text : colonne centrée de texte avec indentation */

/* copié-collé de http://fr.wikisource.org/w/index.php?title=MediaWiki:Monobook.css&action=edit , sous licence GFDL */

.text {
  width: 33em;
  text-align: justify;
  margin:0px auto;
}
.text p {
  text-indent: 2em;
}
.text pre {
  background-color: #ffffff;
  font-family: sans-serif;
  line-height: 150%;
  border: 0px;
  padding-left: 2em;
  margin: 0;
  white-space: pre;
}

/* classe chant : colonne centrée de texte avec centrage du texte */

.chant {
  width: 33em;
  text-align: center;
  margin:2px auto;
}
.chant p {
  text-indent: 0em;
}
.chant pre {
  background-color: #ffffff;
  font-family: sans-serif;
  line-height: 150%;
  border: solid 2px #E5E5E5;
  padding-left: 2em;
  margin: 2;
  white-space: pre;
}

/* Couleur de fond par espace de nom */

/* Special: (bleu ciel) */
.ns--1 #content, 
.ns--1 #p-cactions li, 
.ns--1 #p-cactions li a {
   background: #F8FCFF;
}

/* MediaWiki: (bleu ciel) */
.ns-8 #content, 
.ns-8 #p-cactions li, 
.ns-8 #p-cactions li a {
   background: #F8FCFF;
}

/* Discuter */
.ns-1 #content, 
.ns-1 #p-cactions li, 
.ns-1 #p-cactions li a {
   background: #FFFFEE;
}

/* Discussion Utilisateur */
.ns-3 #content, 
.ns-3 #p-cactions li, 
.ns-3 #p-cactions li a {
   background: #FFFFEE;
}

/* Discussion Scoutopedia */
.ns-5 #content, 
.ns-5 #p-cactions li, 
.ns-5 #p-cactions li a {
   background: #FFFFEE;
}

/* Discussion Image */
.ns-7 #content, 
.ns-7 #p-cactions li, 
.ns-7 #p-cactions li a {
   background: #FFFFEE;
}

/* Discussion MediaWiki */
.ns-9 #content, 
.ns-9 #p-cactions li, 
.ns-9 #p-cactions li a {
   background: #FFFFEE;
}

/* Discussion Modèle */
.ns-11 #content, 
.ns-11 #p-cactions li, 
.ns-11 #p-cactions li a {
   background: #FFFFEE;
}

/* Discussion Aide */
.ns-13 #content, 
.ns-13 #p-cactions li, 
.ns-13 #p-cactions li a {
   background: #FFFFEE;
}

/* Discussion Catégorie */
.ns-15 #content, 
.ns-15 #p-cactions li, 
.ns-15 #p-cactions li a {
   background: #FFFFEE;
}

/* Discussion Portail */
.ns-101 #content, 
.ns-101 #p-cactions li, 
.ns-101 #p-cactions li a {
   background: #FFFFEE;
}

/* Discussion Projet */
.ns-103 #content, 
.ns-103 #p-cactions li, 
.ns-103 #p-cactions li a {
   background: #FFFFEE;
}