MediaWiki:Common.css
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');
/* ===================================================
Police de caractère pour le nouveau Accueil
=================================================== */
/* === Import Google Fonts (optionnel, à mettre tout en haut du fichier) === */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lora:ital,wght@0,400;0,600;1,400&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);
}
/* ============================================================
NEPHILIM WIKI - STYLES MODERNISÉS POUR LA PAGE D'ACCUEIL
À ajouter dans MediaWiki:Common.css
============================================================ */
/* --- Variables couleurs (via classes, MediaWiki ne supporte pas :root nativement partout) --- */
/* === BANNIERE HERO === */
.nph-hero {
background: #FBF7ED;
border-bottom: 2px solid #E8D5A3;
padding: 1.2rem 1.5rem 1rem;
text-align: center;
margin-bottom: 1.2rem;
border-radius: 0 0 10px 10px;
}
.nph-hero-title {
font-family: 'Cinzel', 'Georgia', serif;
color: #2D1B4E;
font-size: 1.6rem;
font-weight: 600;
letter-spacing: 0.04em;
margin-bottom: 0.1rem;
}
.nph-hero-title small {
font-size: 0.65em;
color: #8E7BA8;
font-weight: 400;
}
.nph-hero-subtitle {
font-family: 'Lora', 'Georgia', serif;
font-style: italic;
color: #7A6E5E;
font-size: 0.88rem;
margin-bottom: 0.6rem;
}
.nph-hero-nav {
margin-bottom: 0.4rem;
}
.nph-hero-nav a {
color: #6B4D8A !important;
text-decoration: none;
font-size: 0.8rem;
padding: 2px 8px;
border-radius: 4px;
transition: color 0.2s, background 0.2s;
}
.nph-hero-nav a:hover {
color: #2D1B4E !important;
background: rgba(196,154,42,0.15);
text-decoration: none;
}
.nph-hero-sep {
color: #E0D5C0;
margin: 0 1px;
}
.nph-hero-stats {
font-size: 0.78rem;
color: #7A6E5E;
}
.nph-hero-stats strong {
color: #4A2D6B;
}
/* === LAYOUT GRILLE PRINCIPALE === */
.nph-layout {
display: grid;
grid-template-columns: 1fr 340px;
gap: 0.9rem;
align-items: start;
max-width: 100%;
}
.nph-content { min-width: 0; }
.nph-sidebar { min-width: 0; }
@media (max-width: 900px) {
.nph-layout {
grid-template-columns: 1fr;
}
}
/* === CARTES CONTENU (colonne principale) === */
.nph-card {
background: #FFFFFF;
border-radius: 10px;
box-shadow: 0 1px 3px rgba(45,27,78,0.06);
margin-bottom: 0.8rem;
overflow: hidden;
border: 1px solid #E0D5C0;
transition: box-shadow 0.2s;
}
.nph-card:hover {
box-shadow: 0 4px 12px rgba(45,27,78,0.08);
}
.nph-card-header {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.45rem 1rem;
border-bottom: 1px solid #E0D5C0;
background: linear-gradient(to right, #F5ECD7, #FFFFFF);
}
.nph-card-icon {
width: 22px;
text-align: center;
flex-shrink: 0;
}
.nph-card-header h2,
.nph-card-header .nph-card-title {
font-family: 'Cinzel', 'Georgia', serif;
font-size: 0.92rem;
font-weight: 600;
color: #2D1B4E;
letter-spacing: 0.02em;
margin: 0;
padding: 0;
border: none;
}
.nph-card-header .nph-edit {
margin-left: auto;
font-size: 0.72rem;
color: #7A6E5E;
opacity: 0;
transition: opacity 0.2s;
}
.nph-card:hover .nph-card-header .nph-edit {
opacity: 1;
}
.nph-card-body {
padding: 0.5rem 1rem;
font-size: 0.88rem;
line-height: 1.45;
}
/* === TABLEAUX DANS LES CARTES === */
.nph-card-body table.wikitable,
.nph-table {
width: 100%;
border-collapse: collapse;
font-size: 0.85rem;
background: transparent;
border: none;
}
.nph-table th {
text-align: left;
padding: 0.3rem 0.7rem;
font-weight: 600;
color: #4A2D6B;
background: #F5ECD7;
border-bottom: 2px solid #E8D5A3;
font-family: 'Cinzel', 'Georgia', serif;
font-size: 0.8rem;
}
.nph-table td {
padding: 0.25rem 0.7rem;
border-bottom: 1px solid rgba(224,213,192,0.5);
vertical-align: top;
border-left: none;
border-right: none;
}
.nph-table tr:last-child td {
border-bottom: none;
}
.nph-table tr:hover td {
background: rgba(245,236,215,0.4);
}
.nph-table td:first-child {
font-weight: 600;
color: #4A2D6B;
white-space: nowrap;
width: 140px;
}
.nph-table a {
color: #6B4D8A;
}
.nph-table a:hover {
color: #4A2D6B;
}
/* === VARIANTE SANS EN-TÊTE (nph-table-flat) === */
.nph-table-flat {
width: 100%;
border-collapse: collapse;
font-size: 0.85rem;
background: transparent;
border: none;
}
.nph-table-flat td {
padding: 0.25rem 0.7rem;
border-bottom: 1px solid rgba(224,213,192,0.5);
vertical-align: top;
border-left: none;
border-right: none;
}
.nph-table-flat tr:last-child td {
border-bottom: none;
}
.nph-table-flat tr:hover td {
background: rgba(245,236,215,0.4);
}
.nph-table-flat td:first-child {
font-weight: 600;
color: #4A2D6B;
white-space: nowrap;
width: 140px;
}
.nph-table-flat td:first-child b,
.nph-table-flat td:first-child strong {
font-weight: 600;
}
.nph-table-flat a {
color: #6B4D8A;
}
.nph-table-flat a:hover {
color: #4A2D6B;
}
/* === CARTES SIDEBAR === */
.nph-sidebar .nph-card-header {
background: linear-gradient(to right, #2D1B4E, #4A2D6B);
border-bottom: none;
}
.nph-sidebar .nph-card-header h2,
.nph-sidebar .nph-card-header .nph-card-title {
color: #E8D5A3;
}
.nph-sidebar .nph-card-header .nph-edit {
color: #8E7BA8;
}
.nph-sidebar .nph-card-body {
font-size: 0.82rem;
max-height: 420px;
overflow-y: auto;
}
/* === BLOCS NOUVEAUTÉS === */
.nph-news-item {
padding-bottom: 0.5rem;
margin-bottom: 0.5rem;
border-bottom: 1px solid rgba(224,213,192,0.4);
}
.nph-news-item:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.nph-news-date {
display: inline-block;
font-family: 'Cinzel', 'Georgia', serif;
font-size: 0.72rem;
font-weight: 700;
color: #8B6914;
background: #F5ECD7;
padding: 2px 8px;
border-radius: 3px;
margin-bottom: 0.3rem;
}
.nph-news-title {
font-weight: 600;
color: #2C2418;
margin-bottom: 0.15rem;
}
/* === INDEX TAGS === */
.nph-tags {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
}
.nph-tag {
display: inline-block;
padding: 3px 10px;
border-radius: 4px;
font-size: 0.78rem;
font-weight: 500;
text-decoration: none !important;
transition: all 0.15s;
}
.nph-tag-primary {
background: #2D1B4E;
color: #E8D5A3 !important;
}
.nph-tag-primary a {
color: #E8D5A3 !important;
text-decoration: none !important;
}
.nph-tag-primary:hover {
background: #4A2D6B;
}
.nph-tag-secondary {
background: #F5ECD7;
color: #4A2D6B !important;
border: 1px solid #E0D5C0;
}
.nph-tag-secondary a {
color: #4A2D6B !important;
text-decoration: none !important;
}
.nph-tag-secondary:hover {
background: #E8D5A3;
}
/* === BOUTON PARTICIPER === */
.nph-btn {
display: inline-block;
padding: 6px 16px;
background: #4A2D6B;
color: #E8D5A3 !important;
text-decoration: none !important;
border-radius: 5px;
font-size: 0.82rem;
font-weight: 600;
transition: background 0.2s, transform 0.2s;
}
.nph-btn:hover {
background: #2D1B4E;
transform: translateY(-1px);
}
.nph-btn a {
color: #E8D5A3 !important;
text-decoration: none !important;
}
.nph-btn:hover a {
color: #F5ECD7 !important;
}
/* === ÉPHÉMÉRIDES === */
.nph-ephem-day {
font-family: 'Cinzel', 'Georgia', serif;
font-weight: 700;
color: #4A2D6B;
text-align: center;
margin-bottom: 0.5rem;
font-size: 0.95rem;
}
.nph-ephem-icon {
text-align: center;
margin-bottom: 0.4rem;
}
.nph-ephem-warning {
text-align: center;
font-weight: 700;
color: #A0522D;
font-size: 0.8rem;
margin-bottom: 0.4rem;
}
.nph-ephem-list {
list-style: none;
padding-left: 0;
margin: 0;
}
.nph-ephem-list li {
padding: 0.25rem 0 0.25rem 1.2rem;
position: relative;
font-size: 0.8rem;
line-height: 1.5;
}
.nph-ephem-list li::before {
content: '✦';
position: absolute;
left: 0;
color: #C49A2A;
font-size: 0.55rem;
top: 0.4rem;
}
.nph-ephem-list li.nph-ephem-bonus::before {
content: '▲';
color: #4A8C5C;
font-size: 0.5rem;
}
.nph-ephem-list li.nph-ephem-malus::before {
content: '▼';
color: #A0522D;
font-size: 0.5rem;
}
.nph-ephem-random {
margin-top: 0.5rem;
padding: 0.5rem 0.7rem;
background: #F5ECD7;
border-radius: 6px;
font-size: 0.78rem;
line-height: 1.6;
}
.nph-ephem-random-title {
font-weight: 700;
color: #4A2D6B;
margin-bottom: 0.2rem;
font-size: 0.8rem;
}
.nph-ephem-random-table {
width: 100%;
border-collapse: collapse;
margin: 0.4rem 0;
font-size: 0.78rem;
}
.nph-ephem-random-table td {
padding: 0.2rem 0.5rem;
border-bottom: 1px solid rgba(196,154,42,0.25);
}
.nph-ephem-random-table tr:last-child td {
border-bottom: none;
}
.nph-ephem-random-table td:first-child {
font-weight: 700;
color: #4A2D6B;
text-align: center;
width: 55px;
background: rgba(255,255,255,0.5);
border-radius: 3px;
font-family: 'Cinzel', 'Georgia', serif;
font-size: 0.75rem;
}
.nph-ephem-random-table td:last-child {
color: #4A3F32;
font-style: italic;
}
.nph-ephem-random-table th {
font-size: 0.7rem;
font-weight: 600;
color: #4A2D6B;
text-align: center;
padding: 0.2rem 0.5rem;
border-bottom: 2px solid rgba(196,154,42,0.4);
background: rgba(255,255,255,0.4);
}
.nph-ephem-random-table td.nph-ephem-malus-cell {
color: #A0522D;
font-style: italic;
}
.nph-ephem-random-note {
font-size: 0.75rem;
color: #7A6E5E;
font-style: italic;
margin-top: 0.2rem;
}
/* === SIGNE ASTROLOGIQUE EN COURS === */
.nph-ephem-signe {
text-align: center;
font-size: 0.82rem;
color: #4A2D6B;
margin-bottom: 0.7rem;
padding: 0.3rem 0.5rem;
background: rgba(74,45,107,0.06);
border-radius: 5px;
}
/* === ENCARTS ÉDITION (Révélation / Légende) === */
.nph-ephem-edition {
margin-top: 0.6rem;
border: 1px solid #E0D5C0;
border-radius: 7px;
overflow: hidden;
}
.nph-ephem-edition-header {
font-family: 'Cinzel', 'Georgia', serif;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.04em;
padding: 0.3rem 0.6rem;
text-transform: uppercase;
}
.nph-ephem-edition-revelation .nph-ephem-edition-header {
background: #4A5568;
color: #DDE2E8;
}
.nph-ephem-edition-revelation .nph-ephem-edition-body {
background: #DDE2E8;
}
.nph-ephem-edition-legende .nph-ephem-edition-header {
background: #574B6B;
color: #E3DEE8;
}
.nph-ephem-edition-legende .nph-ephem-edition-body {
background: #E3DEE8;
}
.nph-ephem-edition-body {
padding: 0.5rem 0.6rem;
font-size: 0.8rem;
}
.nph-ephem-placeholder {
font-style: italic;
color: #7A6E5E;
font-size: 0.78rem;
text-align: center;
padding: 0.3rem 0;
}
/* === SOUS-SECTIONS DANS LES ENCARTS ÉDITION === */
.nph-ephem-section-title {
font-family: 'Cinzel', 'Georgia', serif;
font-size: 0.78rem;
font-weight: 700;
color: #2C2418;
margin-top: 0.5rem;
margin-bottom: 0.2rem;
padding-bottom: 0.15rem;
border-bottom: 1px solid rgba(0,0,0,0.1);
}
.nph-ephem-section-title:first-child {
margin-top: 0;
}
.nph-ephem-impossible {
font-style: italic;
color: #7A6E5E;
font-size: 0.78rem;
padding: 0.2rem 0;
}
.nph-ephem-saturnales {
margin-top: 0.4rem;
padding: 0.35rem 0.5rem;
background: rgba(101,101,101,0.1);
border-left: 3px solid #656565;
border-radius: 0 4px 4px 0;
font-size: 0.78rem;
color: #4A3F32;
}
.nph-ephem-grande-active {
margin-top: 0.3rem;
padding: 0.35rem 0.5rem;
background: rgba(74,45,107,0.06);
border-left: 3px solid #574B6B;
border-radius: 0 4px 4px 0;
font-size: 0.78rem;
}
/* === Masquer le titre H1 sur la page d'accueil === */
body.page-Accueil #firstHeading {
display: none;
}
/* === GAMME (G1 — Pastilles d'éditions) === */
.nph-gamme {
background: #FFFFFF;
border-radius: 8px;
padding: 1rem 1.2rem;
box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.nph-gamme-title {
font-family: 'Cinzel', 'Georgia', serif;
font-size: 0.85rem;
font-weight: 600;
color: #2D1B4E;
}
.nph-gamme-title a {
color: #2D1B4E !important;
text-decoration: none;
}
.nph-gamme-title a:hover {
color: #4A2D6B !important;
text-decoration: underline;
}
.nph-gamme-title-sep {
color: #C49A2A;
font-size: 0.7rem;
margin: 0 0.2rem;
}
.nph-gamme-editions {
margin-top: 0.7rem;
}
.nph-gamme-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.4rem;
margin-bottom: 0.4rem;
}
.nph-gamme-row:last-child {
margin-bottom: 0;
}
.nph-gamme-label {
font-family: 'Cinzel', 'Georgia', serif;
font-size: 0.65rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.1em;
color: #C49A2A;
min-width: 95px;
flex-shrink: 0;
}
.nph-gamme-ed {
display: inline-block;
font-size: 0.75rem;
padding: 0.2rem 0.65rem;
border-radius: 4px;
background: #F0EBE0;
transition: background 0.15s;
}
.nph-gamme-ed a {
color: #6B4D8A !important;
text-decoration: none;
}
.nph-gamme-ed:hover {
background: #E3D8C8;
}
.nph-gamme-ed-current {
background: #4A2D6B;
}
.nph-gamme-ed-current a {
color: #FFFFFF !important;
font-weight: 600;
}
.nph-gamme-ed-current:hover {
background: #2D1B4E;
}
.nph-gamme-links {
margin-top: 0.7rem;
padding-top: 0.5rem;
border-top: 1px solid rgba(196,154,42,0.2);
font-size: 0.8rem;
}
.nph-gamme-links a {
color: #6B4D8A !important;
text-decoration: none;
}
.nph-gamme-links a:hover {
color: #2D1B4E !important;
text-decoration: underline;
}
.nph-gamme-links-sep {
color: #C49A2A;
font-size: 0.55rem;
margin: 0 0.3rem;
vertical-align: middle;
}
/* ============================================================
NEPHILIM LÉGENDE — CSS de base pour tous les tableaux
Classe : neph_table_NL
À copier dans MediaWiki:Common.css
Charte NL : Pourpre sombre #574B6B / Parchemin mauve #E3DEE8
Polices : Cinzel (titres), Crimson Text (sous-titres),
EB Garamond (contenu, 16px, weight 500)
Bordures : #33302A · Texte : #2A2520 · Blanc : #F7F6F2
USAGE (tableau simple) :
{| class="wikitable neph_table_NL"
|-
! En-tête 1 !! En-tête 2
|-
| Donnée 1 || Donnée 2
|}
USAGE (tableau large avec scroll horizontal) :
<div class="neph-scroll-top"><div class="neph-scroll-top-spacer"></div></div>
<div class="neph-scroll-table">
{| class="wikitable neph_table_NL" ...
|}
</div>
(requiert nephilim-double-scroll.js dans MediaWiki:Common.js)
Pour le tableau des Incarnations, ajouter aussi la classe
neph_table_incarnations et charger le CSS correspondant.
============================================================ */
/* ===========================================================
1. CONTENEUR À DÉFILEMENT HORIZONTAL (optionnel)
=========================================================== */
.neph-scroll-table {
overflow-x: auto;
overflow-y: visible;
-webkit-overflow-scrolling: touch;
max-width: 100%;
margin: 0 0 1.5em 0;
border: 2px solid #33302A;
border-radius: 0 0 8px 8px;
background: #ffffff;
box-shadow: 0 3px 16px rgba(30, 27, 22, 0.2);
position: relative;
}
/* --- Barre de défilement HAUTE (div vide + spacer) --- */
.neph-scroll-top {
overflow-x: auto;
overflow-y: hidden;
max-width: 100%;
margin: 1.5em 0 0 0;
border: 2px solid #33302A;
border-bottom: none;
border-radius: 8px 8px 0 0;
background: #E3DEE8;
height: 14px;
}
.neph-scroll-top-spacer {
height: 1px;
}
/* Scrollbar personnalisée — barre HAUTE */
.neph-scroll-top::-webkit-scrollbar { height: 10px; }
.neph-scroll-top::-webkit-scrollbar-track {
background: #E3DEE8;
border-radius: 8px 8px 0 0;
}
.neph-scroll-top::-webkit-scrollbar-thumb {
background: #574B6B;
border-radius: 5px;
border: 2px solid #E3DEE8;
}
.neph-scroll-top::-webkit-scrollbar-thumb:hover {
background: #6B5D80;
}
/* Scrollbar personnalisée — barre BASSE */
.neph-scroll-table::-webkit-scrollbar { height: 10px; }
.neph-scroll-table::-webkit-scrollbar-track {
background: #E3DEE8;
border-radius: 0 0 8px 8px;
}
.neph-scroll-table::-webkit-scrollbar-thumb {
background: #574B6B;
border-radius: 5px;
border: 2px solid #E3DEE8;
}
.neph-scroll-table::-webkit-scrollbar-thumb:hover {
background: #6B5D80;
}
/* Firefox */
.neph-scroll-top,
.neph-scroll-table {
scrollbar-color: #574B6B #E3DEE8;
scrollbar-width: thin;
}
/* Quand le scroll-table est seul (sans scroll-top au-dessus) :
coins arrondis complets et marge haute restaurée */
.neph-scroll-table:not(.neph-scroll-top + .neph-scroll-table) {
margin-top: 1.5em;
border-radius: 8px;
}
/* ===========================================================
2. STYLE DE BASE DU TABLEAU
=========================================================== */
.neph_table_NL {
border-collapse: separate !important;
border-spacing: 0 !important;
background: #ffffff !important;
color: #2A2520 !important;
font-family: 'EB Garamond', Georgia, serif;
font-size: 16px !important;
font-weight: 500;
line-height: 1.4;
border: none !important;
}
/* --- Cellules générales --- */
.neph_table_NL th,
.neph_table_NL td {
border: 1px solid #c8c0d0 !important;
padding: 4px 7px !important;
vertical-align: middle !important;
background: #ffffff !important;
color: #2A2520 !important;
}
/* Force 16px sur les cellules de données (surcharge wikitable) */
.neph_table_NL td {
font-size: 16px !important;
}
/* --- En-têtes (th) --- */
.neph_table_NL th {
background: #574B6B !important;
color: #F7F6F2 !important;
font-family: 'Cinzel', serif;
font-weight: 600;
font-size: 0.85em;
letter-spacing: 0.04em;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
border-color: #473D5B !important;
border-bottom: 2px solid #33302A !important;
}
/* Liens dans les en-têtes : blancs sur fond pourpre */
.neph_table_NL th a,
.neph_table_NL th a:visited {
color: #ffffff !important;
text-decoration: none;
}
.neph_table_NL th a:hover {
color: #E3DEE8 !important;
text-decoration: underline;
}
/* ===========================================================
3. LIENS DANS LES CELLULES
=========================================================== */
.neph_table_NL td a {
color: #574B6B !important;
text-decoration: none;
}
.neph_table_NL td a:hover {
color: #7a6a9a !important;
text-decoration: underline;
}
/* Liens non existants (redlinks MediaWiki) */
.neph_table_NL a.new {
color: #a0352a !important;
}
/* ===========================================================
4. SÉPARATION VISUELLE (opt-in)
Ajouter class="ere-end" sur une cellule pour un trait fort
=========================================================== */
.neph_table_NL .ere-end {
border-right: 2px solid #574B6B !important;
}
/* ===========================================================
5. EFFETS INTERACTIFS
=========================================================== */
.neph_table_NL tbody tr:hover td {
background: #EDE8F0 !important;
transition: background 0.12s ease;
}
.neph_table_NL td:hover {
outline: 1px solid #574B6B;
outline-offset: -1px;
}
/* ===========================================================
6. RESPONSIVE
=========================================================== */
@media (max-width: 768px) {
.neph_table_NL {
font-size: 12px;
}
.neph_table_NL th,
.neph_table_NL td {
padding: 3px 5px !important;
}
}
/* ===========================================================
7. IMPRESSION
=========================================================== */
@media print {
.neph-scroll-table,
.neph-scroll-top {
overflow: visible;
box-shadow: none;
border: 1px solid #999;
}
.neph-scroll-top {
display: none;
}
.neph_table_NL th,
.neph_table_NL td {
position: static !important;
}
.neph_table_NL th {
background: #ddd !important;
color: #000 !important;
text-shadow: none;
}
}
/* ============================================================
NEPHILIM 4e — Anniversaire — CSS de base pour tous les tableaux
Classe : neph_table_N4
À copier dans MediaWiki:Common.css
Charte N4 : #6B4548 / #E8DDD8
Polices : Cinzel (titres), Crimson Text (sous-titres),
EB Garamond (contenu, 16px, weight 500)
Bordures : #33302A · Texte : #2A2520 · Blanc : #F7F6F2
USAGE :
{| class="wikitable neph_table_N4"
...
|}
============================================================ */
/* ===========================================================
1. STYLE DE BASE DU TABLEAU
=========================================================== */
.neph_table_N4 {
border-collapse: separate !important;
border-spacing: 0 !important;
background: #ffffff !important;
color: #2A2520 !important;
font-family: 'EB Garamond', Georgia, serif;
font-size: 16px !important;
font-weight: 500;
line-height: 1.4;
border: none !important;
}
/* --- Cellules générales --- */
.neph_table_N4 th,
.neph_table_N4 td {
border: 1px solid #d0c0c0 !important;
padding: 4px 7px !important;
vertical-align: middle !important;
background: #ffffff !important;
color: #2A2520 !important;
}
/* Force 16px sur les cellules de données (surcharge wikitable) */
.neph_table_N4 td {
font-size: 16px !important;
}
/* --- En-têtes (th) --- */
.neph_table_N4 th {
background: #6B4548 !important;
color: #F7F6F2 !important;
font-family: 'Cinzel', serif;
font-weight: 600;
font-size: 0.85em;
letter-spacing: 0.04em;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
border-color: #5B3538 !important;
border-bottom: 2px solid #33302A !important;
}
/* Liens dans les en-têtes : blancs */
.neph_table_N4 th a,
.neph_table_N4 th a:visited {
color: #ffffff !important;
text-decoration: none;
}
.neph_table_N4 th a:hover {
color: #E8DDD8 !important;
text-decoration: underline;
}
/* ===========================================================
2. LIENS DANS LES CELLULES
=========================================================== */
.neph_table_N4 td a {
color: #6B4548 !important;
text-decoration: none;
}
.neph_table_N4 td a:hover {
color: #9a6a6d !important;
text-decoration: underline;
}
.neph_table_N4 a.new {
color: #a0352a !important;
}
/* ===========================================================
3. SÉPARATION VISUELLE (opt-in)
=========================================================== */
.neph_table_N4 .ere-end {
border-right: 2px solid #6B4548 !important;
}
/* ===========================================================
4. EFFETS INTERACTIFS
=========================================================== */
.neph_table_N4 tbody tr:hover td {
background: #F0E8E5 !important;
transition: background 0.12s ease;
}
.neph_table_N4 td:hover {
outline: 1px solid #6B4548;
outline-offset: -1px;
}
/* ===========================================================
5. RESPONSIVE
=========================================================== */
@media (max-width: 768px) {
.neph_table_N4 {
font-size: 12px;
}
.neph_table_N4 th,
.neph_table_N4 td {
padding: 3px 5px !important;
}
}
/* ===========================================================
6. IMPRESSION
=========================================================== */
@media print {
.neph_table_N4 th,
.neph_table_N4 td {
position: static !important;
}
.neph_table_N4 th {
background: #ddd !important;
color: #000 !important;
text-shadow: none;
}
}
/* ============================================================
NEPHILIM 3e — Révélation — CSS de base pour tous les tableaux
Classe : neph_table_NR
À copier dans MediaWiki:Common.css
Charte NR : #4A5568 / #DDE2E8
Polices : Cinzel (titres), Crimson Text (sous-titres),
EB Garamond (contenu, 16px, weight 500)
Bordures : #33302A · Texte : #2A2520 · Blanc : #F7F6F2
USAGE :
{| class="wikitable neph_table_NR"
...
|}
============================================================ */
/* ===========================================================
1. STYLE DE BASE DU TABLEAU
=========================================================== */
.neph_table_NR {
border-collapse: separate !important;
border-spacing: 0 !important;
background: #ffffff !important;
color: #2A2520 !important;
font-family: 'EB Garamond', Georgia, serif;
font-size: 16px !important;
font-weight: 500;
line-height: 1.4;
border: none !important;
}
/* --- Cellules générales --- */
.neph_table_NR th,
.neph_table_NR td {
border: 1px solid #c0c8d0 !important;
padding: 4px 7px !important;
vertical-align: middle !important;
background: #ffffff !important;
color: #2A2520 !important;
}
/* Force 16px sur les cellules de données (surcharge wikitable) */
.neph_table_NR td {
font-size: 16px !important;
}
/* --- En-têtes (th) --- */
.neph_table_NR th {
background: #4A5568 !important;
color: #F7F6F2 !important;
font-family: 'Cinzel', serif;
font-weight: 600;
font-size: 0.85em;
letter-spacing: 0.04em;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
border-color: #3A4558 !important;
border-bottom: 2px solid #33302A !important;
}
/* Liens dans les en-têtes : blancs */
.neph_table_NR th a,
.neph_table_NR th a:visited {
color: #ffffff !important;
text-decoration: none;
}
.neph_table_NR th a:hover {
color: #DDE2E8 !important;
text-decoration: underline;
}
/* ===========================================================
2. LIENS DANS LES CELLULES
=========================================================== */
.neph_table_NR td a {
color: #4A5568 !important;
text-decoration: none;
}
.neph_table_NR td a:hover {
color: #6a7a9a !important;
text-decoration: underline;
}
.neph_table_NR a.new {
color: #a0352a !important;
}
/* ===========================================================
3. SÉPARATION VISUELLE (opt-in)
=========================================================== */
.neph_table_NR .ere-end {
border-right: 2px solid #4A5568 !important;
}
/* ===========================================================
4. EFFETS INTERACTIFS
=========================================================== */
.neph_table_NR tbody tr:hover td {
background: #E8ECF0 !important;
transition: background 0.12s ease;
}
.neph_table_NR td:hover {
outline: 1px solid #4A5568;
outline-offset: -1px;
}
/* ===========================================================
5. RESPONSIVE
=========================================================== */
@media (max-width: 768px) {
.neph_table_NR {
font-size: 12px;
}
.neph_table_NR th,
.neph_table_NR td {
padding: 3px 5px !important;
}
}
/* ===========================================================
6. IMPRESSION
=========================================================== */
@media print {
.neph_table_NR th,
.neph_table_NR td {
position: static !important;
}
.neph_table_NR th {
background: #ddd !important;
color: #000 !important;
text-shadow: none;
}
}
/* ============================================================
NEPHILIM 2e édition — CSS de base pour tous les tableaux
Classe : neph_table_N2
À copier dans MediaWiki:Common.css
Charte N2 : #727a68 / #E8E4D8
Polices : Cinzel (titres), Crimson Text (sous-titres),
EB Garamond (contenu, 16px, weight 500)
Bordures : #33302A · Texte : #2A2520 · Blanc : #F7F6F2
USAGE :
{| class="wikitable neph_table_N2"
...
|}
============================================================ */
/* ===========================================================
1. STYLE DE BASE DU TABLEAU
=========================================================== */
.neph_table_N2 {
border-collapse: separate !important;
border-spacing: 0 !important;
background: #ffffff !important;
color: #2A2520 !important;
font-family: 'EB Garamond', Georgia, serif;
font-size: 16px !important;
font-weight: 500;
line-height: 1.4;
border: none !important;
}
/* --- Cellules générales --- */
.neph_table_N2 th,
.neph_table_N2 td {
border: 1px solid #c8c8c0 !important;
padding: 4px 7px !important;
vertical-align: middle !important;
background: #ffffff !important;
color: #2A2520 !important;
}
/* Force 16px sur les cellules de données (surcharge wikitable) */
.neph_table_N2 td {
font-size: 16px !important;
}
/* --- En-têtes (th) --- */
.neph_table_N2 th {
background: #727a68 !important;
color: #F7F6F2 !important;
font-family: 'Cinzel', serif;
font-weight: 600;
font-size: 0.85em;
letter-spacing: 0.04em;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
border-color: #626A58 !important;
border-bottom: 2px solid #33302A !important;
}
/* Liens dans les en-têtes : blancs */
.neph_table_N2 th a,
.neph_table_N2 th a:visited {
color: #ffffff !important;
text-decoration: none;
}
.neph_table_N2 th a:hover {
color: #E8E4D8 !important;
text-decoration: underline;
}
/* ===========================================================
2. LIENS DANS LES CELLULES
=========================================================== */
.neph_table_N2 td a {
color: #727a68 !important;
text-decoration: none;
}
.neph_table_N2 td a:hover {
color: #8a9a7a !important;
text-decoration: underline;
}
.neph_table_N2 a.new {
color: #a0352a !important;
}
/* ===========================================================
3. SÉPARATION VISUELLE (opt-in)
=========================================================== */
.neph_table_N2 .ere-end {
border-right: 2px solid #727a68 !important;
}
/* ===========================================================
4. EFFETS INTERACTIFS
=========================================================== */
.neph_table_N2 tbody tr:hover td {
background: #EDE8E0 !important;
transition: background 0.12s ease;
}
.neph_table_N2 td:hover {
outline: 1px solid #727a68;
outline-offset: -1px;
}
/* ===========================================================
5. RESPONSIVE
=========================================================== */
@media (max-width: 768px) {
.neph_table_N2 {
font-size: 12px;
}
.neph_table_N2 th,
.neph_table_N2 td {
padding: 3px 5px !important;
}
}
/* ===========================================================
6. IMPRESSION
=========================================================== */
@media print {
.neph_table_N2 th,
.neph_table_N2 td {
position: static !important;
}
.neph_table_N2 th {
background: #ddd !important;
color: #000 !important;
text-shadow: none;
}
}
/* ============================================================
NEPHILIM 1ère édition — CSS de base pour tous les tableaux
Classe : neph_table_N1
À copier dans MediaWiki:Common.css
Charte N1 : #6B5D4F / #E8E0D3
Polices : Cinzel (titres), Crimson Text (sous-titres),
EB Garamond (contenu, 16px, weight 500)
Bordures : #33302A · Texte : #2A2520 · Blanc : #F7F6F2
USAGE :
{| class="wikitable neph_table_N1"
...
|}
============================================================ */
/* ===========================================================
1. STYLE DE BASE DU TABLEAU
=========================================================== */
.neph_table_N1 {
border-collapse: separate !important;
border-spacing: 0 !important;
background: #ffffff !important;
color: #2A2520 !important;
font-family: 'EB Garamond', Georgia, serif;
font-size: 16px !important;
font-weight: 500;
line-height: 1.4;
border: none !important;
}
/* --- Cellules générales --- */
.neph_table_N1 th,
.neph_table_N1 td {
border: 1px solid #d0c8c0 !important;
padding: 4px 7px !important;
vertical-align: middle !important;
background: #ffffff !important;
color: #2A2520 !important;
}
/* Force 16px sur les cellules de données (surcharge wikitable) */
.neph_table_N1 td {
font-size: 16px !important;
}
/* --- En-têtes (th) --- */
.neph_table_N1 th {
background: #6B5D4F !important;
color: #F7F6F2 !important;
font-family: 'Cinzel', serif;
font-weight: 600;
font-size: 0.85em;
letter-spacing: 0.04em;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
border-color: #5B4D3F !important;
border-bottom: 2px solid #33302A !important;
}
/* Liens dans les en-têtes : blancs */
.neph_table_N1 th a,
.neph_table_N1 th a:visited {
color: #ffffff !important;
text-decoration: none;
}
.neph_table_N1 th a:hover {
color: #E8E0D3 !important;
text-decoration: underline;
}
/* ===========================================================
2. LIENS DANS LES CELLULES
=========================================================== */
.neph_table_N1 td a {
color: #6B5D4F !important;
text-decoration: none;
}
.neph_table_N1 td a:hover {
color: #9a8a7a !important;
text-decoration: underline;
}
.neph_table_N1 a.new {
color: #a0352a !important;
}
/* ===========================================================
3. SÉPARATION VISUELLE (opt-in)
=========================================================== */
.neph_table_N1 .ere-end {
border-right: 2px solid #6B5D4F !important;
}
/* ===========================================================
4. EFFETS INTERACTIFS
=========================================================== */
.neph_table_N1 tbody tr:hover td {
background: #F0E8E0 !important;
transition: background 0.12s ease;
}
.neph_table_N1 td:hover {
outline: 1px solid #6B5D4F;
outline-offset: -1px;
}
/* ===========================================================
5. RESPONSIVE
=========================================================== */
@media (max-width: 768px) {
.neph_table_N1 {
font-size: 12px;
}
.neph_table_N1 th,
.neph_table_N1 td {
padding: 3px 5px !important;
}
}
/* ===========================================================
6. IMPRESSION
=========================================================== */
@media print {
.neph_table_N1 th,
.neph_table_N1 td {
position: static !important;
}
.neph_table_N1 th {
background: #ddd !important;
color: #000 !important;
text-shadow: none;
}
}
/* ============================================================
NEPHILIM LÉGENDE — CSS spécifique au tableau des Incarnations
Classe additionnelle : neph_table_incarnations
À copier dans MediaWiki:Common.css (après nephilim-table-NL.css)
REQUIERT : nephilim-table-NL.css (classe de base neph_table_NL)
USAGE MediaWiki :
<div class="neph-scroll-top"><div class="neph-scroll-top-spacer"></div></div>
<div class="neph-scroll-table">
{| class="wikitable neph_table_NL neph_table_incarnations"
...
|}
</div>
============================================================ */
/* ===========================================================
1. TABLEAU LARGE — forcer la largeur au contenu
=========================================================== */
.neph_table_incarnations {
width: max-content;
min-width: 100%;
}
.neph_table_incarnations td {
white-space: nowrap;
}
/* ===========================================================
2. LIGNES D'EN-TÊTE POSITIONNELLES
Spécifiques à la structure Ères (1ère ligne) + Époques (2ème)
=========================================================== */
/* --- Ligne des Ères (première ligne) --- */
.neph_table_incarnations tr:first-child th {
font-size: 0.88em;
letter-spacing: 0.06em;
padding: 7px 8px !important;
}
/* Séparations d'ères : blanc sur la ligne Ères (fond pourpre) */
.neph_table_incarnations tr:first-child th.ere-end {
border-right: 2px solid #ffffff !important;
}
/* --- Ligne des Époques (deuxième ligne) --- */
.neph_table_incarnations tr:nth-child(2) td,
.neph_table_incarnations tr:nth-child(2) th {
background: #E3DEE8 !important;
color: #574B6B !important;
font-family: 'Crimson Text', serif;
font-size: 0.82em;
font-weight: 600;
text-shadow: none;
border-bottom: 2px solid #574B6B !important;
}
/* ===========================================================
3. COLONNES FIXES (sticky)
Classes explicites pour éviter les bugs liés au rowspan.
| class="neph-sticky-1" rowspan="5" | Vécus
| class="neph-sticky-2" | Feu
=========================================================== */
.neph_table_incarnations .neph-sticky-1 {
position: sticky !important;
left: 0 !important;
z-index: 8;
background: #E3DEE8 !important;
color: #574B6B !important;
font-family: 'Cinzel', serif;
font-weight: 600;
font-size: 0.88em;
border-right: 2px solid #574B6B !important;
box-sizing: border-box;
width: 95px;
min-width: 95px;
max-width: 95px;
white-space: normal;
}
.neph_table_incarnations .neph-sticky-2 {
position: sticky !important;
left: 95px !important;
z-index: 7;
background: #E3DEE8 !important;
color: #574B6B !important;
font-family: 'Cinzel', serif;
font-weight: 600;
font-size: 0.85em;
border-right: 2px solid #574B6B !important;
box-sizing: border-box;
width: 60px;
min-width: 60px;
max-width: 60px;
box-shadow: 3px 0 6px rgba(87, 75, 107, 0.1);
}
/* En-têtes sticky : z-index supérieur */
.neph_table_incarnations th.neph-sticky-1 {
z-index: 15;
background: #574B6B !important;
color: #F7F6F2 !important;
}
.neph_table_incarnations th.neph-sticky-2 {
z-index: 14;
background: #574B6B !important;
color: #F7F6F2 !important;
}
/* ===========================================================
4. LIGNES DES ÉLÉMENTS (Vécus par Ka)
Couleurs adaptées au fond clair
=========================================================== */
/* --- Feu --- */
.neph_table_incarnations .ka-feu .neph-sticky-2 {
background: #f8e8e4 !important;
color: #a0352a !important;
}
.neph_table_incarnations .ka-feu td {
background: #fdf6f5 !important;
}
/* --- Air --- */
.neph_table_incarnations .ka-air .neph-sticky-2 {
background: #e4eef6 !important;
color: #3a6a90 !important;
}
.neph_table_incarnations .ka-air td {
background: #f5f8fc !important;
}
/* --- Eau --- */
.neph_table_incarnations .ka-eau .neph-sticky-2 {
background: #dce8f2 !important;
color: #2a5a80 !important;
}
.neph_table_incarnations .ka-eau td {
background: #f2f6fa !important;
}
/* --- Terre --- */
.neph_table_incarnations .ka-terre .neph-sticky-2 {
background: #e4f0dc !important;
color: #3a6a28 !important;
}
.neph_table_incarnations .ka-terre td {
background: #f5faf2 !important;
}
/* --- Lune --- */
.neph_table_incarnations .ka-lune .neph-sticky-2 {
background: #ebe4f2 !important;
color: #6a4a8a !important;
}
.neph_table_incarnations .ka-lune td {
background: #f8f5fc !important;
}
/* Label "Vécus" sticky sur les lignes élémentaires */
.neph_table_incarnations .ka-feu .neph-sticky-1,
.neph_table_incarnations .ka-air .neph-sticky-1,
.neph_table_incarnations .ka-eau .neph-sticky-1,
.neph_table_incarnations .ka-terre .neph-sticky-1,
.neph_table_incarnations .ka-lune .neph-sticky-1 {
background: #E3DEE8 !important;
color: #574B6B !important;
}
/* Survol élémentaire : rester dans la teinte */
.neph_table_incarnations tr.ka-feu:hover td { background: #f3e0dc !important; }
.neph_table_incarnations tr.ka-air:hover td { background: #dce8f2 !important; }
.neph_table_incarnations tr.ka-eau:hover td { background: #d4e0ec !important; }
.neph_table_incarnations tr.ka-terre:hover td { background: #dcecd4 !important; }
.neph_table_incarnations tr.ka-lune:hover td { background: #e2d8ee !important; }
/* ===========================================================
5. LIGNES SPÉCIALES
=========================================================== */
/* PI (points d'incarnation) */
.neph_table_incarnations .neph-pi td {
text-align: center;
font-weight: 700;
color: #574B6B !important;
font-family: 'Cinzel', serif;
font-size: 1em;
background: #f0ecf4 !important;
}
.neph_table_incarnations .neph-pi .neph-sticky-1,
.neph_table_incarnations .neph-pi .neph-sticky-2 {
background: #E3DEE8 !important;
}
/* Lignes multi-contenu (texte wrappé) */
.neph_table_incarnations .neph-so td,
.neph_table_incarnations .neph-sorts td,
.neph_table_incarnations .neph-quetes td,
.neph_table_incarnations .neph-quetes-arcane td,
.neph_table_incarnations .neph-savoirs td {
font-size: 0.82em;
line-height: 1.5;
white-space: normal;
min-width: 100px;
}
/* Stases */
.neph_table_incarnations .neph-stases td {
font-style: italic;
color: #6a6060 !important;
font-size: 0.82em;
white-space: normal;
min-width: 150px;
}
/* ===========================================================
6. RESPONSIVE — colonnes sticky
=========================================================== */
@media (max-width: 768px) {
/* Sur mobile, ne garder que la 1ère colonne sticky */
.neph_table_incarnations .neph-sticky-2 {
position: static !important;
left: auto !important;
}
}
/* ===========================================================
7. IMPRESSION — colonnes sticky
=========================================================== */
@media print {
.neph_table_incarnations .neph-sticky-1,
.neph_table_incarnations .neph-sticky-2 {
position: static !important;
}
}
/* ============================================ */
/* INFOBOX EFFETMAGIQUE — Dégradés en-tête */
/* par science occulte */
/* ============================================ */
/* --- Nephilim --- */
/* Magie — Or royal (aussi utilisé par défaut si sc_occulte vide) */
.infobox-sc-magie {
background: linear-gradient(135deg, #6A5010 0%, #B89830 25%, #E8C848 50%, #B89830 75%, #6A5010 100%) !important;
color: #FFFFFF !important;
}
/* Kabbale — Argent sacré */
.infobox-sc-kabbale {
background: linear-gradient(135deg, #3A3A4A 0%, #6A6A80 30%, #9898B0 50%, #6A6A80 70%, #3A3A4A 100%) !important;
color: #F0F0F8 !important;
}
/* Alchimie — Rouge métallique */
.infobox-sc-alchimie {
background: linear-gradient(135deg, #3A0A0A 0%, #6A1A1A 30%, #982828 50%, #6A1A1A 70%, #3A0A0A 100%) !important;
color: #F8D8D8 !important;
}
/* Qiyas — Or classique */
.infobox-sc-qiyas {
background: linear-gradient(135deg, #B8860B 0%, #DAA520 30%, #F0D060 50%, #DAA520 70%, #B8860B 100%) !important;
color: #2A1F0A !important;
}
/* --- Selenim --- */
/* Nécromancie — Noir / violet sombre */
.infobox-sc-necromancie {
background: linear-gradient(135deg, #1A1020 0%, #2A1840 30%, #402860 50%, #2A1840 70%, #1A1020 100%) !important;
color: #D0C0E0 !important;
}
/* Kabbale noire — Noir / gris métallique */
.infobox-sc-kabbale-noire {
background: linear-gradient(135deg, #0E0E0E 0%, #2A2A30 30%, #484850 50%, #2A2A30 70%, #0E0E0E 100%) !important;
color: #C8C8D0 !important;
}
/* --- Ar-Kaïm --- */
/* Talents — Turquoise métallique */
.infobox-sc-talents {
background: linear-gradient(135deg, #0A3038 0%, #186068 30%, #20888C 50%, #186068 70%, #0A3038 100%) !important;
color: #D0F4F4 !important;
}
/* --- Bohémiens --- */
/* Mandalas — Mauve / gris argent */
.infobox-sc-mandalas {
background: linear-gradient(135deg, #3A2848 0%, #6A5080 30%, #8878A0 50%, #6A5080 70%, #3A2848 100%) !important;
color: #E8E0F0 !important;
}
/* Dons — Mauve / doré */
.infobox-sc-dons {
background: linear-gradient(135deg, #3A2040 0%, #6A4060 30%, #A07040 50%, #6A4060 70%, #3A2040 100%) !important;
color: #F0E0D0 !important;
}