Utilisateur:Lachaume/monobook.css
Apparence
(Redirigé depuis Utilisateur:Lachaume/monobook)
Note : après avoir enregistré la page, vous devrez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
Mozilla / Firefox / Konqueror / Safari : maintenez la touche Majuscule (Shift) en cliquant sur le bouton Actualiser (Reload) ou pressez Maj-Ctrl-R (Cmd-R sur Apple Mac) ;
Firefox (sur GNU/Linux) / Chrome / Internet Explorer / Opera : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5./*
Cette [[Cascading style sheets|feuille de style]] contrôle l'aspect des pages pour l'utilisateur [[Utilisateur:Lachaume|Lachaume]].
__TOC__
==Tests==
<source lang="css"> */
/* Tableaux selon la charte graphique. Ils sont centrés par défaut. */
table.wikitable0 {
margin: 1em auto 1em auto;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.wikitable0 th, table.wikitable0 td {
border: 1px #aaaaaa solid;
padding: 0.3em;
}
table.wikitable0 th {
background: #f2f2f2;
text-align: center;
}
table.wikitable0 caption {
margin-left: inherit;
margin-right: inherit;
}
/* Alignement du tableau : flottant à droite ou à gauche. On peut aligner à droite ou à gauche sans flottement
en ajoutant {{clr}} en bas du tableau, ou en précisant style="float: none" dans l'en-tête du tableau. */
table.gauche0 {
float: left;
margin: 0em 1em 1em 0em;
}
table.droite0 {
float: right;
margin: 0em 0em 1em 1em;
}
/*
==Tous médias==
=== Spoiler et article détaillé===
<source lang="css"> */
.spoiler {
display: none;
}
.detail, .details {
border: none;
border-width: 0;
background: transparent;
}
.detail img, details img {
display: none;
}
/* </source>
=== Typographie des listes ====
<source lang="css"> */
#bodyContent ul {
list-style-type: disc;
list-style-image: none;
}
#toc ul, .toc ul {
list-style-type: none;
list-style-image: none;
}
.mw-cite-backlink {
display: none;
}
/*
</source>
===Ne pas montrer certains avertissements à l'édition===
<source lang="css"> */
#nouvel_article {display: none; }
#p-Contribuer { display: none; }
/* </source>
===Sommaire compact de profondeur 2===
<source lang="css"> */
#toc ul li { margin-top: 0.3ex }
#toc ul li:first-child { margin-top: 0ex }
#toc ul ul ul { display: none }
/* </source>
==Impression==
<source lang="css"> */
@media print {
/* Police de caractères */
body {
font-family: cmr, garamond, bodoni, "times new roman", times, serif; /* la première trouvée est utilisée */
}
/* Sections */
/* pas de liseret après les sections, on évite les sauts de page intempestifs (marche pas ?) */
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
border-bottom: none;
}
/* le titre est centré et clairement séparé du reste */
h1 {
text-align: center;
margin-bottom: 2em;
}
/* À ne pas afficher */
/* liens vers les partails et divers bandeaux */
.cadre_portail, WSerieV, .WSerieH, .catlinks, .icone_de_titre { display: none; }
/* Sommaire : section normale, non numérotée (supprimer tout ça pour avoir le même sommaire qu'à l'écran) */
#toc {
border: none;
padding: 0;
margin-right: 0;
}
#toc h2 {
font-size: x-large;
margin-right: 0;
}
/* Liens internes */
/* non marqués */
a {
color: inherit ! important;
text-decoration: inherit ! important;
}
/* inutile d'indiquer les liens inexistants, externes, les notes, etc. par un soulignement */
a.new, a.external, #toc a, .reference a, .need_ref {
color: inherit ! important;
border-bottom: none;
}
/* Typographie française dans les listes */
#bodyContent ul {
list-style-type: disc;
list-style-image: none;
}
#toc ul, .toc ul {
list-style-type: none;
list-style-image: none;
}
}
/* </source> */