MediaWiki:Common.css

De Wiki Pathfinder Lacrypte
Version datée du 12 février 2026 à 20:24 par Errius (discussion | contributions)
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).
  •  Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
/************/
/* TABLEAUX */
/************/

table.tablo {
  border-collapse: collapse;
}

/* Titre du tableau */
table.tablo caption {
  background-color: #4b3124;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  padding: 4px;
  margin-bottom: 6px;
}

/* Contenu */
table.tablo tr {
  vertical-align: top;
}

table.tablo td {
  border-top: 1px solid #e7dfc6;
  text-align: center;
  padding: 4px;
}

table.toutgauche td {
  text-align: left;
}

table.tablo td:first-child {
  text-align: left;
}

table.col1centre td:first-child {
  text-align: center;
}

/* Titres */
table.tablo tr.titre td {
  border-top: 0;
  background-color: transparent;
  font-weight: bold;
  padding: 0 4px 4px 4px;
  text-align: center;
}

table.toutgauche tr.titre td {
  text-align: left;
}

table.tablo tr.titre td:first-child {
  text-align: left;
}

table.col1centre tr.titre td:first-child {
  text-align: center;
}

table.tablo tr.titre td.avecsoustitre {
  padding: 0 4px 0px 4px;
}

table.tablo tr.soustitre td {
  border-top: 0;
  background-color: #FFFFFF;
  font-weight: normal;
  text-align: center;
  font-size: 85%;
}

/* Exceptions */
table.tablo td.gauche {
  text-align: left;
}

table.tablo td.centre {
  text-align: center;
}

table.tablo tr.premier td {
  border-top: 2px solid black;
}

table.tablo tr.lignesup td {
  border-top: 1px solid black;
}

table.tablo tr.dernier td {
  border-bottom: 2px solid black;
}

table.tablo tr.alt {
  background-color: #f3efe2;
}

table.autoalt tr.alt {
  background-color: #fff;
}

table.autoalt tr:nth-child(odd) {
  background-color: #f3efe2;
}

table.autoalt tr.titre td {
  background-color: #fff;
}

table.tablo tr:hover {
  background-color: #ffc;
}

/* Notes */
table.tablo tr.note td,
table.tablo td.note {
  padding: 2px 20px;
  font-size: x-small;
  font-style: italic;
  text-align: left;
}