MediaWiki:Monobook.css : Différence entre versions
Un article de JurisPedia, le droit partagé.
| Ligne 1 : | Ligne 1 : | ||
| − | /* | + | /* <pre> */ |
| + | |||
| + | /* Couleur par défaut */ | ||
| + | #content { background : #F8FCFF; } // bleu ciel | ||
| + | #p-cactions li { background : #F8FCFF; } | ||
| + | #p-cactions li a { background : #F8FCFF; } | ||
| + | |||
| + | /* 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 : #FFFFEE; } | ||
| + | .ns-1 * #p-cactions li { background : #FFFFEE; } | ||
| + | .ns-1 * #p-cactions li a { background : #FFFFEE; } | ||
| + | |||
| + | /* 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 : #FFFFEE; } | ||
| + | .ns-3 * #p-cactions li { background : #FFFFEE; } | ||
| + | .ns-3 * #p-cactions li a { background : #FFFFEE; } | ||
| + | |||
| + | /* Couleur de fond pages Wikipédia */ | ||
| + | .ns-4 * #content { background : #F4F4F4; } | ||
| + | .ns-4 * #p-cactions li { background : #F4F4F4; } | ||
| + | .ns-4 * #p-cactions li a { background : #F4F4F4; } | ||
| + | |||
| + | /* Couleur de fond des pages de discussion Wikipédia */ | ||
| + | .ns-5 * #content { background : #FFFFEE; } | ||
| + | .ns-5 * #p-cactions li { background : #FFFFEE; } | ||
| + | .ns-5 * #p-cactions li a { background : #FFFFEE; } | ||
| + | |||
| + | /* Couleur de fond des pages de discussion Image */ | ||
| + | .ns-7 * #content { background : #FFFFEE; } | ||
| + | .ns-7 * #p-cactions li { background : #FFFFEE; } | ||
| + | .ns-7 * #p-cactions li a { background : #FFFFEE; } | ||
| + | |||
| + | /* 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 : #FFFFEE; } | ||
| + | .ns-9 * #p-cactions li { background : #FFFFEE; } | ||
| + | .ns-9 * #p-cactions li a { background : #FFFFEE; } | ||
| + | |||
| + | /* Couleur de fond des pages de discussion Modèle */ | ||
| + | .ns-11 * #content { background : #FFFFEE; } | ||
| + | .ns-11 * #p-cactions li { background : #FFFFEE; } | ||
| + | .ns-11 * #p-cactions li a { background : #FFFFEE; } | ||
| + | |||
| + | /* Couleur de fond des pages Aide */ | ||
| + | .ns-12 * #content { background : #FFEEEE; } | ||
| + | .ns-12 * #p-cactions li { background : #FFEEEE; } | ||
| + | .ns-12 * #p-cactions li a { background : #FFEEEE; } | ||
| + | |||
| + | /* Couleur de fond des pages de discussion Aide */ | ||
| + | .ns-13 * #content { background : #FFEEEE; } | ||
| + | .ns-13 * #p-cactions li { background : #FFEEEE; } | ||
| + | .ns-13 * #p-cactions li a { background : #FFEEEE; } | ||
| + | |||
| + | /* Couleur de fond des pages de discussion Catégorie */ | ||
| + | .ns-15 * #content { background : #FFFFEE; } | ||
| + | .ns-15 * #p-cactions li { background : #FFFFEE; } | ||
| + | .ns-15 * #p-cactions li a { background : #FFFFEE; } | ||
| + | |||
| + | /* les nombre impairs sont discuter xxx (ou discussion xxx) | ||
| + | '0': 'article', | ||
| + | '2': 'utilisateur', | ||
| + | '4': 'wikipedia', | ||
| + | '6': 'image', | ||
| + | '8': 'mediawiki', | ||
| + | '10': 'modèle', | ||
| + | '12': 'aide', | ||
| + | '14': 'categorie' | ||
| + | */ | ||
| + | |||
| + | /* pour armoniser les exposant */ | ||
| + | .exposant { vertical-align: text-top; } | ||
| + | |||
| + | /* correction du bug de bordure blanche en attendant une mise a jour du site */ | ||
| + | div.floatleft, table.floatleft | ||
| + | { | ||
| + | float: left; | ||
| + | position: relative; | ||
| + | margin: 0, 0.5em, 0.5em, 0; | ||
| + | border: 0; | ||
| + | } | ||
| + | |||
| + | div.floatright, table.floatright | ||
| + | { | ||
| + | clear: right; | ||
| + | float: right; | ||
| + | position: relative; | ||
| + | margin: 0, 0, 0.5em, 0.5em; | ||
| + | border: 0; | ||
| + | } | ||
| + | /* | ||
| + | div.thumb | ||
| + | { | ||
| + | margin-bottom: 0.5em; | ||
| + | border: 0; | ||
| + | width: auto; | ||
| + | } | ||
| + | |||
| + | div.tright | ||
| + | { | ||
| + | clear: right; | ||
| + | float: right; | ||
| + | margin: 0.5em, 0, 0.8em, 1.4em; | ||
| + | border: 0 | ||
| + | } | ||
| + | |||
| + | div.tleft | ||
| + | { | ||
| + | float: left; | ||
| + | margin: 0.5em, 1.4em, 0.8em, 0; | ||
| + | border: 0; | ||
| + | } | ||
| + | */ | ||
| + | table.egyleft | ||
| + | { | ||
| + | float: right; | ||
| + | margin: 0.5em 0.5em 1em 1em; | ||
| + | border: 1px solid #ccccaa; | ||
| + | background: #efefdd; | ||
| + | text-align: center; | ||
| + | width: 170px; | ||
| + | } | ||
| + | |||
| + | /* Forcer le logo par defaut sur les pages encyclopediques */ | ||
| + | //body.ns-0 div#p-logo a { background-image: url(/upload/7/7e/Wiki_original.png) !important; } | ||
| + | |||
| + | /* </pre> */ | ||
Version du 7 novembre 2004 à 14:39
/* <pre> */
/* Couleur par défaut */
#content { background : #F8FCFF; } // bleu ciel
#p-cactions li { background : #F8FCFF; }
#p-cactions li a { background : #F8FCFF; }
/* 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 : #FFFFEE; }
.ns-1 * #p-cactions li { background : #FFFFEE; }
.ns-1 * #p-cactions li a { background : #FFFFEE; }
/* 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 : #FFFFEE; }
.ns-3 * #p-cactions li { background : #FFFFEE; }
.ns-3 * #p-cactions li a { background : #FFFFEE; }
/* Couleur de fond pages Wikipédia */
.ns-4 * #content { background : #F4F4F4; }
.ns-4 * #p-cactions li { background : #F4F4F4; }
.ns-4 * #p-cactions li a { background : #F4F4F4; }
/* Couleur de fond des pages de discussion Wikipédia */
.ns-5 * #content { background : #FFFFEE; }
.ns-5 * #p-cactions li { background : #FFFFEE; }
.ns-5 * #p-cactions li a { background : #FFFFEE; }
/* Couleur de fond des pages de discussion Image */
.ns-7 * #content { background : #FFFFEE; }
.ns-7 * #p-cactions li { background : #FFFFEE; }
.ns-7 * #p-cactions li a { background : #FFFFEE; }
/* 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 : #FFFFEE; }
.ns-9 * #p-cactions li { background : #FFFFEE; }
.ns-9 * #p-cactions li a { background : #FFFFEE; }
/* Couleur de fond des pages de discussion Modèle */
.ns-11 * #content { background : #FFFFEE; }
.ns-11 * #p-cactions li { background : #FFFFEE; }
.ns-11 * #p-cactions li a { background : #FFFFEE; }
/* Couleur de fond des pages Aide */
.ns-12 * #content { background : #FFEEEE; }
.ns-12 * #p-cactions li { background : #FFEEEE; }
.ns-12 * #p-cactions li a { background : #FFEEEE; }
/* Couleur de fond des pages de discussion Aide */
.ns-13 * #content { background : #FFEEEE; }
.ns-13 * #p-cactions li { background : #FFEEEE; }
.ns-13 * #p-cactions li a { background : #FFEEEE; }
/* Couleur de fond des pages de discussion Catégorie */
.ns-15 * #content { background : #FFFFEE; }
.ns-15 * #p-cactions li { background : #FFFFEE; }
.ns-15 * #p-cactions li a { background : #FFFFEE; }
/* les nombre impairs sont discuter xxx (ou discussion xxx)
'0': 'article',
'2': 'utilisateur',
'4': 'wikipedia',
'6': 'image',
'8': 'mediawiki',
'10': 'modèle',
'12': 'aide',
'14': 'categorie'
*/
/* pour armoniser les exposant */
.exposant { vertical-align: text-top; }
/* correction du bug de bordure blanche en attendant une mise a jour du site */
div.floatleft, table.floatleft
{
float: left;
position: relative;
margin: 0, 0.5em, 0.5em, 0;
border: 0;
}
div.floatright, table.floatright
{
clear: right;
float: right;
position: relative;
margin: 0, 0, 0.5em, 0.5em;
border: 0;
}
/*
div.thumb
{
margin-bottom: 0.5em;
border: 0;
width: auto;
}
div.tright
{
clear: right;
float: right;
margin: 0.5em, 0, 0.8em, 1.4em;
border: 0
}
div.tleft
{
float: left;
margin: 0.5em, 1.4em, 0.8em, 0;
border: 0;
}
*/
table.egyleft
{
float: right;
margin: 0.5em 0.5em 1em 1em;
border: 1px solid #ccccaa;
background: #efefdd;
text-align: center;
width: 170px;
}
/* Forcer le logo par defaut sur les pages encyclopediques */
//body.ns-0 div#p-logo a { background-image: url(/upload/7/7e/Wiki_original.png) !important; }
/* </pre> */