MediaWiki:Monobook.css
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.
/* edit this file to customize the monobook skin for the entire site */
/*
== Styles ==
<pre> */
/* --- GÉNÉRAL --- */
#content {
text-align: justify;
}
body.ns-104 {
text-align: justify;
}
body.ns-104 p{
text-indent: 2em
}
/* suppression des numéros dans le sommaire */
span.tocnumber { display:none;}
/* classe verse : utiliser avec <poem> pour les textes en vers */
.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 prose : utiliser text */
.prose {
width: 33em;
text-align: justify;
margin:0px auto;
}
.prose p {
text-indent: 2em
}
/* --- CLASSES ACTIVES --- */
/* classe text : colonne centrée de texte avec indentation */
.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 centertext : colonne centrée de texte sans indentation */
.centertext {
width: 33em;
text-align: justify;
margin:0px auto;
}
.centertext p {
text-indent: 0em;
}
/* classe lefttext : colonne de texte à gauche avec indentation */
.lefttext {
width: 33em;
text-align: justify;
margin-left: 5em;
}
.lefttext p {
text-indent: 2em
}
/* --- NAMESPACE PAGE --- */
.pagetext {
width: 33em;
text-align: justify;
}
.pagetext p {
text-indent: 2em
}
.pagetext blockquote {
margin: 0.5em 0em;
}
/* --- MISE EN FORME --- */
/* Texte en petites majuscules */
.romain {
text-transform:lowercase;
font-variant:small-caps;
}
/* Texte avec une majuscule à la première lettre ce chaque mot */
.personnage
{
text-transform:lowercase;
text-transform:capitalize;
font-weight:bold;
color:#228022;
font-variant:small-caps;
}
.lignecapitale:first-line
{
font-variant:small-caps;
font-size:120%;
text-align: justify;
}
/*</pre>
== Espaces wikisources ==
<pre>*/
/*
'0': 'Article', '1' : 'Discuter'
'2': 'Utilisateur', '3' : 'Discussion utilisateur'
'4': 'Wikisource', '4' : 'Discussion Wikisource'
'6': 'Image', '5' : 'Discuter Image'
'8': 'MediaWiki', '9' : 'Discussion MediaWiki'
'10': 'Modèle', '10' : 'Discuter Modèle'
'12': 'aide', '13' : 'Discuter Aide'
'14': 'categorie' '15' : 'Discuter Catégorie'
'100': 'Transwiki' '101' : 'Transwiki Catégorie'
*/
/* Couleur par défaut */
#content { background : white; } /* blanc */
#p-cactions li { background : white; }
#p-cactions li a { background : white; }
/* Couleur de fond des articles */
.ns-0 * #content { background : white; }
.ns-0 * #p-cactions li { background : white; }
.ns-0 * #p-cactions li a { background : white; }
/* Couleur de fond des pages de discussion des articles */
.ns-1 * #content { background : white; }
.ns-1 * #p-cactions li { background : white; }
.ns-1 * #p-cactions li a { background : white; }
/* Couleur de fond des pages Utilisateur */
.ns-2 * #content { background : white; }
.ns-2 * #p-cactions li { background : white; }
.ns-2 * #p-cactions li a { background : white; }
/* Couleur de fond des pages de discussion Utilisateur */
.ns-3 * #content { background : white; }
.ns-3 * #p-cactions li { background : white; }
.ns-3 * #p-cactions li a { background : white; }
/* Couleur de fond pages Wikisource */
.ns-4 * #content { background : white; }
.ns-4 * #p-cactions li { background : white; }
.ns-4 * #p-cactions li a { background : #F4F4F4; }
/* Couleur de fond des pages de discussion Wikisource */
.ns-5 * #content { background : white; }
.ns-5 * #p-cactions li { background : white; }
.ns-5 * #p-cactions li a { background : white; }
/* Couleur de fond des pages Image */
.ns-6 * #content { background : white; }
.ns-6 * #p-cactions li { background : white; }
.ns-6 * #p-cactions li a { background : white; }
/* Couleur de fond des pages de discussion Image */
.ns-7 * #content { background : white; }
.ns-7 * #p-cactions li { background : white; }
.ns-7 * #p-cactions li a { background : white; }
/* Couleur de fond pages MediaWiki */
.ns-8 * #content { background : #EEEEFF; }
.ns-8 * #p-cactions li { background : #EEEEFF; }
.ns-8 * #p-cactions li a { background : #EEEEFF; }
/* Couleur de fond des pages de discussion MediaWiki */
.ns-9 * #content { background : white; }
.ns-9 * #p-cactions li { background : white; }
.ns-9 * #p-cactions li a { background : white; }
/* Couleur de fond des pages Modèle */
.ns-10 * #content { background : white }
.ns-10 * #p-cactions li { background : white }
.ns-10 * #p-cactions li a { background : white }
/* Couleur de fond des pages de discussion Modèle */
.ns-11 * #content { background : white; }
.ns-11 * #p-cactions li { background : white; }
.ns-11 * #p-cactions li a { background : white; }
/* Couleur de fond des pages Aide */
.ns-12 * #content { background : white; }
.ns-12 * #p-cactions li { background : white; }
.ns-12 * #p-cactions li a { background : white; }
/* Couleur de fond des pages de discussion Aide */
.ns-13 * #content { background : white; }
.ns-13 * #p-cactions li { background : white; }
.ns-13 * #p-cactions li a { background : white; }
/* Couleur de fond des pages Catégorie */
.ns-14 * #content { background : white; }
.ns-14 * #p-cactions li { background : white; }
.ns-14 * #p-cactions li a { background : white; }
/* Couleur de fond des pages de discussion Catégorie */
.ns-15 * #content { background : white; }
.ns-15 * #p-cactions li { background : white; }
.ns-15 * #p-cactions li a { background : white; }
/* Couleur de fond des pages Transwiki */
.ns-100 * #content { background : #EEFFEE; }
.ns-100 * #p-cactions li { background : #EEFFEE; }
.ns-100 * #p-cactions li a { background : #EEFFEE; }
/* Couleur de fond des pages Discussion Transwiki */
.ns-101 * #content { background : #F5FFEE; }
.ns-101 * #p-cactions li { background : #F5FFEE; }
.ns-101 * #p-cactions li a { background : #F5FFEE; }
/*</pre>*/