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. */

/* ===================================================
   Police de caractère pour cadre MJonly
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Cormorant+Garamond:ital@1&display=swap');

/* ===================================================
   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: 1.1em;
  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.85em;
  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);
  font-weight: 500;
  font-size: 15px;
}

/* --- 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; }


/* ============================================= */
/* FichePNJNL — Couleurs par type de PNJ         */
/* ============================================= */

/* --- Structure commune --- */
.FichePNJNL .entete-pnj {
    text-align: center;
}
.FichePNJNL .bandeau-pnj {
    padding: .3em .8em;
    font-weight: bold;
}
.FichePNJNL .sous-titre-pnj {
    color: rgba(255,255,255,0.65);
}

/* --- Fallback / Autre créature (gris standard) --- */
.FichePNJNL .entete-pnj {
    background-color: #8C8C8C;
    color: #fff;
}
.FichePNJNL .bandeau-pnj {
    background-color: #DCDCDC;
}

/* --- Pyrim / Effet-dragon Feu (rouge) --- */
.fiche-pnj-pyrim .entete-pnj {
    background-color: #C0524E;
    color: #fff;
}
.fiche-pnj-pyrim .bandeau-pnj {
    background-color: #F2D5D3;
}

/* --- Éolim / Effet-dragon Air (bleu ciel) --- */
.fiche-pnj-eolim .entete-pnj {
    background-color: #5BA4D9;
    color: #fff;
}
.fiche-pnj-eolim .bandeau-pnj {
    background-color: #D4E9F7;
}

/* --- Hydrim / Effet-dragon Eau (bleu outremer) --- */
.fiche-pnj-hydrim .entete-pnj {
    background-color: #3B6FA0;
    color: #fff;
}
.fiche-pnj-hydrim .bandeau-pnj {
    background-color: #CEDDEF;
}

/* --- Faërim / Effet-dragon Terre (vert) --- */
.fiche-pnj-faerim .entete-pnj {
    background-color: #4A9A6A;
    color: #fff;
}
.fiche-pnj-faerim .bandeau-pnj {
    background-color: #D2EDDA;
}

/* --- Onirim / Effet-dragon Lune (violet sombre) --- */
.fiche-pnj-onirim .entete-pnj {
    background-color: #6B4E8A;
    color: #fff;
}
.fiche-pnj-onirim .bandeau-pnj {
    background-color: #E0D4EE;
}

/* --- Selenim / Effet-dragon Lune Noire (noir) --- */
.fiche-pnj-selenim .entete-pnj {
    background-color: #3A3A3A;
    color: #E8E8E8;
}
.fiche-pnj-selenim .bandeau-pnj {
    background-color: #D2D2D2;
}

/* --- Saurien (violet sombre corrompu) --- */
.fiche-pnj-saurien .entete-pnj {
    background-color: #352846;
    color: #fff;
}
.fiche-pnj-saurien .bandeau-pnj {
    background-color: #C0B8C8;
}

/* --- Humain lambda (jaune sable) --- */
.fiche-pnj-humain .entete-pnj {
    background-color: #B8A878;
    color: #fff;
}
.fiche-pnj-humain .bandeau-pnj {
    background-color: #EAE2CE;
}

/* --- Humain initié (or solaire) --- */
.fiche-pnj-humain-initie .entete-pnj {
    background-color: #D4A820;
    color: #fff;
}
.fiche-pnj-humain-initie .bandeau-pnj {
    background-color: #F5ECBA;
}

/* --- Ar-Kaïm (turquoise) --- */
.fiche-pnj-arkaim .entete-pnj {
    background-color: #2E9E9E;
    color: #fff;
}
.fiche-pnj-arkaim .bandeau-pnj {
    background-color: #C8EAEA;
}

/* --- Bohémien (mauve clair) --- */
.fiche-pnj-bohemien .entete-pnj {
    background-color: #A86CA8;
    color: #fff;
}
.fiche-pnj-bohemien .bandeau-pnj {
    background-color: #EDDCED;
}

/* --- Daïmon (gris métallique) --- */
.fiche-pnj-daimon .entete-pnj {
    background-color: #6E7A85;
    color: #fff;
}
.fiche-pnj-daimon .bandeau-pnj {
    background-color: #D8DDE2;
}

/* --- Wowakan / Loa / Shen / Jukurrpa (marron terre) --- */
.fiche-pnj-cousin .entete-pnj {
    background-color: #6B4832;
    color: #fff;
}
.fiche-pnj-cousin .bandeau-pnj {
    background-color: #E2D2C0;
}

/* --- Reflet akashique (soleil pur) --- */
.fiche-pnj-reflet .entete-pnj {
    background-color: #E8C820;
    color: #fff;
}
.fiche-pnj-reflet .bandeau-pnj {
    background-color: #FBF2C0;
}

/* --- DraKaon (dégradé arc-en-ciel des 5 Ka) --- */
.fiche-pnj-drakaon .entete-pnj {
    background: linear-gradient(135deg, #5BA4D9 0%, #3B6FA0 20%, #4A9A6A 40%, #C0524E 60%, #6B4E8A 80%, #5BA4D9 100%);
    color: #fff;
}
.fiche-pnj-drakaon .bandeau-pnj {
    background: linear-gradient(to right, #F2D5D3, #D4E9F7, #D2EDDA, #E0D4EE);
}