MediaWiki:Common.css

De Librairal
Aller à la navigation Aller à la recherche

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  • Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
  • Opera : appuyez sur Ctrl + F5.
/* CSS placed here will be applied to all skins */

   .references-small { font-size: 90%;}


/* Alignement de la barre de titre */

   h1 {
      text-align: left;
      }


/* === Prettytable === */

   table.prettytable {
      margin: 1em 1em 1em 0;
      background: #f9f9f9;
      border: 1px #AAA solid;
      border-collapse: collapse;
      }

   table.prettytable th, table.prettytable td {
      border: 1px #AAA solid;
      padding: 0.2em;
      }

   table.prettytable th {
      background: #f2f2f2;
      text-align: center;
      }

   table.prettytable caption {
      margin-left: inherit;
      margin-right: inherit;
      }

/* === Wikitable === */

/* Classe pour tableaux standards, légèrement grisés. Syntaxe : <code>{| class="wikitable"</code> */

/* Les tableaux sont centrés par défaut. */

   table.wikitable {
      margin: 1em auto 1em auto;
      background: #f9f9f9;
      border: 1px #aaaaaa solid;
      border-collapse: collapse;
      }
   table.wikitable th, table.wikitable td {
      border:  1px #aaaaaa solid;
      padding: 0.3em;
      }
   table.wikitable th {
      background: #f2f2f2;
      text-align: center;
      }
   table.wikitable 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.gauche {
      float:left;
      margin: 0em 1em 1em 0em;
      }
   table.droite {
      float:right;
      margin: 0em 0em 1em 1em;
      }

/* === Taille et famille des polices pour les écritures non-latines ; voir aussi {{m|lang}}. === */
 
   .lang-grc, .lang-el {
      font-family: "DejaVu Sans", Athena, Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000, sans-serif;
      }

   .lang-he {
      font-family: "SBL Hebrew", "Ezra SIL SR", "Ezra SIL", Cardo, "Chrysanthi Unicode", "TITUS Cyberbit Basic", "Arial Unicode MS", Narkisim, "Times New Roman";
      }


/* #### {{header}} */
        table.headertemplate {
                width:100%;
                margin-bottom:5px;
                border:1px solid #ADA;
                background:#E4F2E4;
                text-align:center;
                font-size:0.9em;
                }

        .headertemplate .header_backlink, .headertemplate .header_forelink {
                width:20%; font-size:0.9em;
                } 

        .header_notes {
                width:100%;
                border-bottom:1px solid #A88;
                background:#FAFAFF;
                font-size:0.9em;
                }

        .headertemplate .header_title { width: 60%; }
        .headertemplate .header_backlink { text-align:left; }
        .headertemplate .header_forelink { text-align:right; }

/** BOÎTES ET MESSAGES **/
 
/* BANDEAUX D'AVERTISSEMENT */
/* style par défaut des bandeaux d'avertissement décidés sur
   Wikipédia:Prise de décision/Changement de style des messages d'avertissement
   Utilisé dans Modèle:Méta bandeau d'avertissement
*/
.bandeau { /* monobookocentré */
  text-align: left;
  margin: 8px 10% 12px;
  border-style: solid;
  border-width: 1px 1px 1px 10px;
  padding: 2px 10px;
}
.bandeau table { background-color: transparent }
 
.bandeau-niveau-grave       { border-color: #aa0044; background-color: #ffcccc }
.bandeau-niveau-modere      { border-color: #ff8822; background-color: #ffeedd }
.bandeau-niveau-ebauche     { border-color: #ff8822; background-color: #ffeedd }
.bandeau-niveau-information { border-color: #77ccff; background-color: #fbfbfb }
 
.bandeau-icone { vertical-align: middle; text-align: center; min-width: 45px; padding-right: 10px }
 
.bandeau-titre { font-size: 1em;   line-height: 1.4em; margin-bottom: 0.5em }
.bandeau-texte { font-size: 0.9em; line-height: 1.2em }
 
/* MESSAGEBOX */
 
/* Styles des « messagebox » standard. Utilisation : 
* class="messagebox" : voir [[modèle:Messagebox]].
* class="messagebox merge" : inutilisé ?
* class="messagebox cleanup" pour certains bandeaux de maintenance (exemple sur [[modèle:Résumé introductif]])
* class="messagebox standard-talk" pour les bandeaux en page de discussion des aricles (exemple : [[modèle:Traduit de]])
*/
.messagebox { /* monobookocentré */
 border:1px solid #AAA;
 background:#F9F9F9;
 width:80%;
 margin:0 auto 1em auto;
 padding:.2em;
 text-align:justify;
}
 
.messagebox.merge { /* monobookocentré */
 border:1px solid #CF9FFF;
 background:#F5EDF5;
 text-align:center;
}
 
.messagebox.cleanup { /* monobookocentré */
 border:1px solid #9F9FFF;
 background:#EFEFFF;
 text-align:center;
}
 
.messagebox.standard-talk { /* monobookocentré */
 border:1px solid #C0C090;
 background:#F8EABA;
}

 
/* MESSAGES D'ALERTE */
 
/* Styles par défaut pour les bandeaux en haut des articles. Syntaxe :
   Styles décidés suite à [[Projet:Charte graphique/Harmonisation des messages d'avertissement]]
   et [[Wikipédia:Prise de décision/Harmonisation des messages d'avertissement]]. */
/* Classe pour toutes les alertes. */
.alerte { /* monobookocentré */
 padding:.11em;
 background:#FFD;
 margin-bottom:.4em;
 font-style:italic;
}
 
/* Classe supplémentaire pour les alertes graves. */
.grave { border:1px solid #F96 } /* monobookocentré */

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