MediaWiki:Monobook.css

De Lgmaths.

(Différences entre les versions)
Ligne 1 : Ligne 1 :
-
 
+
/* 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.
-
#globalWrapper {
+
*/
-
font-size: 140%;  /* espace entre le cadre principal et le menu */
+
-
width: 100%;     /* pourcentage d'occupation du cadre sur la droite */
+
/* ÉLEMENTS HTML DE BASE */
-
margin: 0;
+
ins { text-decoration:none; background:#dfc !important; }
-
padding: 0;
+
del { text-decoration:line-through !important; }
 +
 +
/* COULEUR DE FOND PAR ESPACE DE NOM */
 +
/* 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; }
 +
/* Wikipédia */
 +
.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; } /* Test, voir [[Wikipédia:Le Bistro/4 octobre 2007]] */
 +
/* Catégorie */
 +
.ns-14 * #content,
 +
.ns-14 * #p-cactions li,
 +
.ns-14 * #p-cactions li a { background:#FFF; }
 +
/* 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; }
 +
/* Pages de discussion */
 +
.ns-talk * #content,
 +
.ns-talk * #p-cactions li,
 +
.ns-talk * #p-cactions li a { background:#FFE }
 +
 +
/* PAGES DE DISCUSSION : COLORATION INDENTÉE */
 +
.ns-talk dd {
 +
margin:0;
 +
padding:0;
}
}
-
 
+
-
 
+
.ns-talk dl {
-
 
+
border-top:solid 1px #F0F080;
-
/* supprime l'icône à côté du nom d'utilisateur */
+
  border-left:solid 1px #F0F080;
-
li#pt-userpage { background: none }
+
padding-top:.5em;
-
 
+
padding-left:.5em;
-
 
+
margin-left:1em;
-
 
+
-
/* arrondir quelques coins, seulement possible avec mozilla/firefox/et autres navigateurs spéciaux */
+
-
#p-cactions ul li, #p-cactions ul li a {  
+
-
  -moz-border-radius-topleft: 1em;
+
-
  -moz-border-radius-topright: 1em;
+
}
}
-
 
+
-
div.pBody {
+
.ns-talk dl,
-
  -moz-border-radius-topright: 1em;
+
.ns-talk dl dl dl,
-
  -moz-border-radius-bottomright: 1em;
+
.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-variant:normal;
 +
background:#e0e3e6;
 +
border:thin solid silver;
}
}
-
 
+
   
-
 
+
/* POINT POUR LA CARTE DU MONDE */
-
 
+
div.PointCarte {
-
/* css Zen Garden default style v1.02 */
+
position:absolute;
-
/* css released under Creative Commons License - http://creativecommons.org/licenses/by-nc-sa/1.0/ */
+
width:1px;
-
 
+
height:1px;
-
/* This file based on 'Tranquille' by Dave Shea */
+
background:#000;
-
/* You may use this file as a foundation for any new work, but you may find it easier to start from scratch. */
+
border:1px solid #FFF;
-
/* Not all elements are defined in this file, so you'll most likely want to refer to the xhtml as well. */
+
}
-
 
+
-
/* Your images should be linked as if the CSS file sits in the same folder as the images. ie. no paths. */
+
/* MODÈLES DE COORDONNÉES */
-
 
+
#coordinates {
-
 
+
position:absolute;
-
/* basic elements */
+
z-index:1;
-
html {
+
right:30px;
-
margin: 0;
+
top:3.7em;
-
padding: 0;
+
font-size:85%;
-
}
+
}
-
body {
+
-
font: 75% georgia, sans-serif;
+
/* TABLE DES MATIÈRES */
-
line-height: 1.88889;
+
#toc { margin-top:1em }
-
color: black;
+
-
background: #fff url(blossoms.jpg) no-repeat bottom right;  
+
/* IMAGES
-
margin: 0;  
+
Rend blanc au lieu de gris le fond des images transparentes en thumb. */
-
padding: 0;
+
div.thumb .thumbimage { background:white; }
-
}
+
   
-
p {
+
/* bordure des thumb au memes couleurs que le fond */
-
margin-top: 0;
+
.ns-4 div.thumb{
-
text-align: justify;
+
border-color:#F4F4F4;
-
}
+
}
-
h3 {  
+
.ns-talk div.thumb{
-
font: italic normal 1.4em georgia, sans-serif;
+
border-color:#FFE;
-
letter-spacing: 1px;  
+
-
margin-bottom: 0;  
+
-
color: black;
+
-
}
+
-
a:link {
+
-
font-weight: bold;  
+
-
text-decoration: none;
+
-
color: black;
+
-
}
+
-
a:visited {
+
-
font-weight: bold;
+
-
text-decoration: none;
+
-
color: black;
+
-
}
+
-
a:hover, a:active {
+
-
text-decoration: underline;
+
-
color: #9685BA;
+
-
}
+
-
acronym {
+
-
border-bottom: none;
+
-
}
+
-
 
+
-
 
+
-
/* specific divs */
+
-
#container {  
+
-
background: url(zen-bg.jpg) no-repeat top left;  
+
-
padding: 0 175px 0 110px;  
+
-
margin: 0;
+
-
position: relative;
+
-
}
+
-
 
+
-
#intro {
+
-
min-width: 470px;
+
-
}
+
-
 
+
-
/* using an image to replace text in an h1. This trick courtesy Douglas Bowman, http://www.stopdesign.com/articles/css/replace-text/ */
+
-
#pageHeader h1 {
+
-
background: transparent url(h1.gif) no-repeat top left;
+
-
margin-top: 10px;  
+
-
width: 219px;
+
-
height: 87px;
+
-
float: left;
+
-
}
+
-
#pageHeader h1 span {
+
-
display:none
+
-
}
+
-
#pageHeader h2 {
+
-
background: transparent url(h2.gif) no-repeat top left;
+
-
margin-top: 58px;
+
-
margin-bottom: 40px;
+
-
width: 200px;
+
-
height: 18px;
+
-
float: right;
+
-
}
+
-
#pageHeader h2 span {
+
-
display:none
+
-
}
+
-
#pageHeader {
+
-
padding-top: 20px;
+
}
}
-
 
-
#quickSummary {
 
-
clear:both;
 
-
margin: 20px 20px 20px 10px;
 
-
width: 160px;
 
-
float: left;
 
-
}
 
-
#quickSummary p {
 
-
font: italic 10pt/22pt georgia;
 
-
text-align:center;
 
-
}
 
-
 
-
#preamble {
 
-
clear: right;
 
-
padding: 0px 10px 0 10px;
 
-
}
 
-
#supportingText {
 
-
padding-left: 10px;
 
-
margin-bottom: 40px;
 
-
}
 
-
 
-
#footer {
 
-
text-align: center;
 
-
}
 
-
#footer a:link, #footer a:visited {
 
-
margin-right: 20px;
 
-
}
 
-
 
-
#linkList {
 
-
margin-left: 600px;
 
-
position: absolute;
 
-
top: 0;
 
-
right: 0;
 
-
}
 
-
#linkList2 {
 
-
font: 10px verdana, sans-serif;
 
-
background: transparent url(paper-bg.jpg) top left repeat-y;
 
-
padding: 10px;
 
-
margin-top: 150px;
 
-
width: 130px;
 
-
}
 
-
#linkList h3.select {
 
-
background: transparent url(h3.gif) no-repeat top left;
 
-
margin: 10px 0 5px 0;
 
-
width: 97px;
 
-
height: 16px;
 
-
}
 
-
#linkList h3.select span {
 
-
display:none
 
-
}
 
-
#linkList h3.favorites {
 
-
background: transparent url(h4.gif) no-repeat top left;
 
-
margin: 25px 0 5px 0;
 
-
width: 60px;
 
-
height: 18px;
 
-
}
 
-
#linkList h3.favorites span {
 
-
display:none
 
-
}
 
-
#linkList h3.archives {
 
-
background: transparent url(h5.gif) no-repeat top left;
 
-
margin: 25px 0 5px 0;
 
-
width:57px;
 
-
height: 14px;
 
-
}
 
-
#linkList h3.archives span {
 
-
display:none
 
-
}
 
-
#linkList h3.resources {
 
-
background: transparent url(h6.gif) no-repeat top left;
 
-
margin: 25px 0 5px 0;
 
-
width:63px;
 
-
height: 10px;
 
-
}
 
-
#linkList h3.resources span {
 
-
display:none
 
-
}
 
-
 
-
 
-
#linkList ul {
 
-
margin: 0;
 
-
padding: 0;
 
-
}
 
-
#linkList li {
 
-
line-height: 2.5ex;
 
-
background: transparent url(cr1.gif) no-repeat top center;
 
-
display: block;
 
-
padding-top: 5px;
 
-
margin-bottom: 5px;
 
-
list-style-type: none;
 
-
}
 
-
#linkList li a:link {
 
-
color: black;
 
-
}
 
-
#linkList li a:visited {
 
-
color: black;
 
-
}
 
-
 
-
 
-
#extraDiv1 {
 
-
background: transparent url(cr2.gif) top left no-repeat;
 
-
position: absolute;
 
-
top: 40px;
 
-
right: 0;
 
-
width: 148px;
 
-
height: 110px;
 
-
}
 
-
.accesskey {
 
-
text-decoration: underline;
 
-
}
 

Version du 3 juillet 2010 à 14:10

/* 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 */
/* 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; }
/* Wikipédia */
.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; } /* Test, voir [[Wikipédia:Le Bistro/4 octobre 2007]] */
/* Catégorie */
.ns-14 * #content,
.ns-14 * #p-cactions li,
.ns-14 * #p-cactions li a { background:#FFF; }
/* 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; }
/* Pages de discussion */
.ns-talk * #content,
.ns-talk * #p-cactions li,
.ns-talk * #p-cactions li a { background:#FFE }
 
/* 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-variant:normal;
 background:#e0e3e6;
 border:thin solid silver;
}
 
/* POINT POUR LA CARTE DU MONDE */
div.PointCarte {
 position:absolute;
 width:1px;
 height:1px;
 background:#000;
 border:1px solid #FFF;
}
 
/* MODÈLES DE COORDONNÉES */
#coordinates {
 position:absolute;
 z-index:1;
 right:30px;
 top:3.7em;
 font-size:85%;
}
 
/* TABLE DES MATIÈRES */
#toc { margin-top:1em }
 
/* IMAGES
Rend blanc au lieu de gris le fond des images transparentes en thumb. */
div.thumb .thumbimage { background:white; }
 
/* bordure des thumb au memes couleurs que le fond */
.ns-4 div.thumb{
border-color:#F4F4F4;
}
.ns-talk div.thumb{
border-color:#FFE;
}
Outils personnels