« MediaWiki:Monobook.css » : différence entre les versions

De WikiSimland 4.0
Aucun résumé des modifications
Aucun résumé des modifications
 
(4 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
/* <pre><nowiki> */
/* edit this file to customize the monobook skin for the entire site */
/* edit this file to customize the monobook skin for the entire site */
 
#fundraising {
/*
text-align: center;
== Styles ==
border: 1px solid gray;
 
padding: 5px;
  <pre> */
  margin-top: 5px;
 
}
/* --- GÉNÉRAL --- */
 
#content {
#content {
  text-align: justify;
    background: #ffffff; /* white */
}
}


body.ns-104 {
.ns-0 * #content {
  text-align: justify;  
    background: #ffffff;
}
body.ns-104 p{
  text-indent: 2em
}
}


/* suppression des numéros dans le sommaire */
#mytabs li {
span.tocnumber { display:none;}
    background: #f4f4f4;
 
 
/* 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 {
.ns-0 * #mytabs li {
  width: 33em;
    background: #f4f4f4;
  text-align: justify;
  margin:0px auto;
}
.prose p {
  text-indent: 2em
}
}


 
#mytabs li a {
/* --- CLASSES ACTIVES --- */
    background-color: #f4f4f4;
 
/* 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 */
.ns-0 * #mytabs li a {
 
    background-color: #f4f4f4;
.centertext {
  width: 33em;
  text-align: justify;
  margin:0px auto;
}
}
.centertext p {
  text-indent: 0em;
}
/* classe lefttext : colonne de texte à gauche avec indentation */


.lefttext {
/* For p-cactions (the top "tabs") it works only because my .js moves them into the
  width: 33em;
  "ns-0" wrapper anyway. */
  text-align: justify;
#p-cactions li {
  margin-left: 5em;
    background: #f4f4f4;
}
.lefttext p {
  text-indent: 2em
}
}


 
.ns-0 * #p-cactions li {
/* --- NAMESPACE PAGE --- */
    background: #ffffff;
 
.pagetext {
  width: 33em;
  text-align: justify;
}
.pagetext p {
  text-indent: 2em
}
}
.pagetext blockquote {
  margin: 0.5em 0em;
}
/* --- MISE EN FORME --- */


/* Texte en petites majuscules */
#p-cactions li a {
.romain {
    background-color: #ffffff;
  text-transform:lowercase;
  font-variant:small-caps;
}
}


/* Texte avec une majuscule à la première lettre ce chaque mot */
.ns-0 * #p-cactions li a {
.personnage
    background-color: #ffffff;
{
  text-transform:lowercase;
  text-transform:capitalize;
  font-weight:bold;
  color:#228022;
  font-variant:small-caps;
}
}


.lignecapitale:first-line
/* Display "From Meta..." */
{
#siteSub {
font-variant:small-caps;
    display: inline;
font-size:120%;
    font-size: 120%;
text-align: justify;
    font-weight: normal;
}
}


/*</pre>
/* Do not print certain classes that shouldn't appear on paper */


== Espaces wikisources ==
@media print {
 
    .editlink, .noprint, .metadata, .dablink { display: none }
<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 */
/* Style [[Meta:Language select]] widget */
.ns-100 * #content { background : #EEFFEE; }
.lang_info {font-size:8pt;text-align:right;margin-bottom:0.5em;}
.ns-100 * #p-cactions li { background : #EEFFEE; }
    .lang_info a {font-weight:bold;font-family:Arial,
.ns-100 * #p-cactions li a { background : #EEFFEE; }
      sans-serif;font-size:8pt;}
    .lang_info input {font-size:8pt;}
    .lang_info input.ls_select {font-weight:bold;}


/* Couleur de fond des pages Discussion Transwiki */
/* Disable grey background when code is used in a header */
.ns-101 * #content { background : #F5FFEE; }
h2 code, h3 code, h4 code, h5 code, h6 code {background:none;}
.ns-101 * #p-cactions li { background : #F5FFEE; }
/* Some monospace fonts are too light in comparison to surrounding heading text, give them a nudge */
.ns-101 * #p-cactions li a { background : #F5FFEE; }
h2 code {font-weight:bold;}


/*</pre>*/
/* </nowiki></pre> */

Dernière version du 20 juin 2007 à 07:02

/* <pre><nowiki> */

/* edit this file to customize the monobook skin for the entire site */
#fundraising {
 text-align: center;
 border: 1px solid gray;
 padding: 5px;
 margin-top: 5px;
}	 	
		 	
#content {
    background: #ffffff; /* white */
}

.ns-0 * #content {
    background: #ffffff;
}

#mytabs li {
    background: #f4f4f4;
}

.ns-0 * #mytabs li {
    background: #f4f4f4;
}

#mytabs li a {
    background-color: #f4f4f4;
}

.ns-0 * #mytabs li a {
    background-color: #f4f4f4;
}

/* For p-cactions (the top "tabs") it works only because my .js moves them into the
   "ns-0" wrapper anyway. */
#p-cactions li {
    background: #f4f4f4;
}

.ns-0 * #p-cactions li {
    background: #ffffff;
}

#p-cactions li a {
    background-color: #ffffff;
}

.ns-0 * #p-cactions li a {
    background-color: #ffffff;
}

/* Display "From Meta..." */
#siteSub {
    display: inline;
    font-size: 120%;
    font-weight: normal;
}

/* Do not print certain classes that shouldn't appear on paper */

@media print {
    .editlink, .noprint, .metadata, .dablink { display: none }
}

/* Style [[Meta:Language select]] widget */
.lang_info {font-size:8pt;text-align:right;margin-bottom:0.5em;}
    .lang_info a {font-weight:bold;font-family:Arial,
      sans-serif;font-size:8pt;}
    .lang_info input {font-size:8pt;}
    .lang_info input.ls_select {font-weight:bold;}

/* Disable grey background when code is used in a header */
h2 code, h3 code, h4 code, h5 code, h6 code {background:none;}
/* Some monospace fonts are too light in comparison to surrounding heading text, give them a nudge */
h2 code {font-weight:bold;}

/* </nowiki></pre> */