De Wiki-Brest
MediaWiki:Monobook.css : Différence entre versions
(menu de la sidebar en gras) |
(img#mw-editbutton-math { display:none; }) |
||
Ligne 267 : | Ligne 267 : | ||
background:#d3daff; | background:#d3daff; | ||
border:thin solid silver; | border:thin solid silver; | ||
+ | |||
+ | /* SUPPRIMER BOUTON MATH DE LA BARRE D'OUTILS */ | ||
+ | img#mw-editbutton-math { display:none; } |
Version du 5 novembre 2009 à 16:40
/* FEUILLE DE STYLE POUR MONOBOOK SEULEMENT
Cette page contrôle l'apparence pour l'apparence Monobook. Les modifications
devant s'appliquer à toutes les apparences devraient aller dans MediaWiki:Common.css.
*/
/* ÉLEMENTS HTML DE BASE */
ins { text-decoration:none; background:#dfc !important; }
del { text-decoration:line-through !important; }
/* COULEUR DE FOND PAR ESPACE DE NOM
La couleur des pages de discussion n'est pas changée. */
#content,
#p-cactions li,
#p-cactions li a { background:#FFE }
/* Special */
.ns--1 #content,
.ns--1 #p-cactions li,
.ns--1 #p-cactions li a { background:#F8FCFF }
/* main */
.ns-0 * #content,
.ns-0 * #p-cactions li,
.ns-0 * #p-cactions li a { background:#FFF }
/* Utilisateur */
.ns-2 * #content,
.ns-2 * #p-cactions li,
.ns-2 * #p-cactions li a { background:#FFF }
/* Wiki-Brest */
.ns-4 * #content,
.ns-4 * #p-cactions li,
.ns-4 * #p-cactions li a { background:#F4F4F4 }
/* Image */
.ns-6 * #content,
.ns-6 * #p-cactions li,
.ns-6 * #p-cactions li a { background:#FFF }
/* MediaWiki */
.ns-8 * #content,
.ns-8 * #p-cactions li,
.ns-8 * #p-cactions li a { background:#EEF }
/* Modèle */
.ns-10 * #content,
.ns-10 * #p-cactions li,
.ns-10 * #p-cactions li a { background:#FFF }
/* Aide */
.ns-12 * #content,
.ns-12 * #p-cactions li,
.ns-12 * #p-cactions li a { background:#F8FCFF } /*
/* Catégorie */
.ns-14 * #content,
.ns-14 * #p-cactions li,
.ns-14 * #p-cactions li a { background:#FFFCA4 }
/* Portail */
.ns-100 * #content,
.ns-100 * #p-cactions li,
.ns-100 * #p-cactions li a { background:#FFF }
/* Projet */
.ns-102 * #content,
.ns-102 * #p-cactions li,
.ns-102 * #p-cactions li a { background:#F6F6F6 }
/* Référence */
.ns-104 * #content,
.ns-104 * #p-cactions li,
.ns-104 * #p-cactions li a { background:#EFE }
/*
== 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: 50em;
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-ind
ent: 2em
}
/* 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:#F9F9F9;
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:#F2F2F2;
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.gauche {
float:left;
margin:0 1em 1em 0;
}
table.droite {
float:right;
margin:0 0 1em 1em;
}
table.centre {
margin:1em auto;
}
/* SPORTTABLE */
/* Tableau préformaté permettant lignes blanches et lignes grises. Syntaxe : class="sporttable"
Exemple sur [[Équipe d'Angleterre de rugby à XV#Statistiques sur les matchs|cet article]]. */
table.sporttable { /* monobookocentré debut */
margin:1em 1em 1em 0;
background:#F9F9F9;
border:1px #AAA solid;
border-collapse:collapse;
}
table.sporttable th, table.sporttable td {
border:1px #AAA solid;
padding:.2em;
}
table.sporttable th {
font-weight:bold;
} /* monobookocentré fin */
table.wikitable caption {
margin-left:inherit;
margin-right:inherit;
}
/* PAGES DE DISCUSSION : COLORATION INDENTÉE */
.ns-talk dd {
margin:0;
padding:0;
}
.ns-talk dl {
border-top:solid 1px #F0F080;
border-left:solid 1px #F0F080;
padding-top:.5em;
padding-left:.5em;
margin-left:1em;
}
.ns-talk dl,
.ns-talk dl dl dl,
.ns-talk dl dl dl dl dl,
.ns-talk dl dl dl dl dl dl dl,
.ns-talk dl dl dl dl dl dl dl dl dl
{ background:#FFFFE0 }
.ns-talk dl dl,
.ns-talk dl dl dl dl,
.ns-talk dl dl dl dl dl dl,
.ns-talk dl dl dl dl dl dl dl dl,
.ns-talk dl dl dl dl dl dl dl dl dl dl
{ background:#FFE }
/* SUPPRESSION DE LA MISE EN MINUSCULE DANS LE MENU PERSONNEL */
#p-personal li {
text-transform:none;
font-variant:normal;
}
/* APPARENCE DES TITRES DE SECTION DANS LE MENU DE GAUCHE */
.portlet h5 {
text-transform:none;
font-weight:bold;
font-variant:normal;
background:#d3daff;
border:thin solid silver;
/* SUPPRIMER BOUTON MATH DE LA BARRE D'OUTILS */
img#mw-editbutton-math { display:none; }