MediaWiki:Common.css

De Nephilim Wiki

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.
/* Le CSS placé ici sera appliqué à tous les habillages. */

/* ===================================================
   NEPHILIM — Points de règle (5 éditions)
   =================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* --- Structure commune --- */
.nephilim-regle {
  margin: 1em 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #33302A;
  box-shadow: 0 3px 16px rgba(30,27,22,0.2);
  font-family: 'EB Garamond', Georgia, serif;
  border-collapse: separate;
  border-spacing: 0;
}
.nephilim-regle-header td {
  padding: 0.7em 0.6em;
  vertical-align: middle;
}
.nephilim-regle-icon {
  width: 40px;
  padding-right: 0 !important;
}
.nephilim-regle-icon img {
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  background: rgba(0,0,0,0.15);
  padding: 4px;
}
.nephilim-regle-titre {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.88em;
  letter-spacing: 0.03em;
  color: #F7F6F2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.nephilim-regle-edition {
  font-family: 'Crimson Text', serif;
  font-weight: 400;
  font-size: 0.72em;
  color: #F7F6F2;
  opacity: 0.7;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nephilim-regle-contenu {
  padding: 1em 1.2em;
  line-height: 1.7;
  color: #2A2520;
  border-top: 1px solid rgba(51,48,42,0.15);
}

/* --- N1 : 1ère édition (Brun chaud / Cuivre) --- */
.regle-n1 .nephilim-regle-header td { background: #6B5D4F; }
.regle-n1 .nephilim-regle-contenu   { background: #E8E0D3; }

/* --- N2 : 2nde édition (Olive / Or) --- */
.regle-n2 .nephilim-regle-header td { background: #727a68; }
.regle-n2 .nephilim-regle-contenu   { background: #E8E4D8; }

/* --- NR : 3ème édition Révélation (Bleu nuit / Argent) --- */
.regle-nr .nephilim-regle-header td { background: #4A5568; }
.regle-nr .nephilim-regle-contenu   { background: #DDE2E8; }

/* --- N4 : 4ème édition Anniversaire (Bordeaux / Or rose) --- */
.regle-n4 .nephilim-regle-header td { background: #6B4548; }
.regle-n4 .nephilim-regle-contenu   { background: #E8DDD8; }

/* --- N5 : 5ème édition Légende (Pourpre / Améthyste) --- */
.regle-nl .nephilim-regle-header td { background: #574B6B; }
.regle-nl .nephilim-regle-contenu   { background: #E3DEE8; }