Aller au contenu

MediaWiki:Common.css

De Dark Pappers
Version datée du 22 février 2026 à 21:46 par Contrefeu (discussion | contributions) (Page créée avec « Infobox (style proche Wikipédia) : .infobox { float: right; clear: right; width: 320px; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; background: #f8f9fa; color: #202122; font-size: 90%; line-height: 1.4; border-collapse: collapse; } .infobox th, .infobox td { padding: 6px 8px; vertical-align: top; border-top: 1px solid #a2a9b1; } .infobox th { text-align: left; white-space: nowrap; font-weight: 600; } .infobox .infobox-t... »)
(diff) ← Version précédente | Version actuelle (diff) | Version suivante → (diff)

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.
/* Infobox (style proche Wikipédia) */
.infobox {
  float: right;
  clear: right;
  width: 320px;
  margin: 0 0 1em 1em;
  border: 1px solid #a2a9b1;
  background: #f8f9fa;
  color: #202122;
  font-size: 90%;
  line-height: 1.4;
  border-collapse: collapse;
}

.infobox th,
.infobox td {
  padding: 6px 8px;
  vertical-align: top;
  border-top: 1px solid #a2a9b1;
}

.infobox th {
  text-align: left;
  white-space: nowrap;
  font-weight: 600;
}

.infobox .infobox-title {
  background: #cedff2; /* proche du bleu pâle Wikipédia */
  text-align: center;
  font-size: 120%;
  font-weight: 700;
  padding: 10px 8px;
  border-top: 0;
}

.infobox .infobox-image {
  text-align: center;
  padding: 10px 8px;
}

.infobox .infobox-caption {
  text-align: center;
  font-size: 90%;
  color: #54595d;
  padding: 0 8px 10px;
  border-top: 0;
}