MediaWiki:Common.css

De Librairal
Révision datée du 24 février 2008 à 22:25 par Copeau (discussion | contributions)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
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; }