« MediaWiki:Common.css » : différence entre les versions
aucun résumé des modifications
Aucun résumé des modifications Balises : Modification par mobile Modification par le web mobile |
Aucun résumé des modifications |
||
| (39 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 131 : | Ligne 131 : | ||
/* --- Pyrim / Effet-dragon Feu (rouge) --- */ | /* --- Pyrim / Effet-dragon Feu (rouge) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-pyrim .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-pyrim .entete-pnj { | ||
background- | background: linear-gradient(135deg, #8B2A28 0%, #C0524E 60%, #D4706C 100%); | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Ligne 140 : | Ligne 140 : | ||
/* --- Éolim / Effet-dragon Air (bleu ciel) --- */ | /* --- Éolim / Effet-dragon Air (bleu ciel) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-eolim .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-eolim .entete-pnj { | ||
background- | background: linear-gradient(135deg, #2E6B9A 0%, #5BA4D9 60%, #7CBDE8 100%); | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Ligne 149 : | Ligne 149 : | ||
/* --- Hydrim / Effet-dragon Eau (bleu outremer) --- */ | /* --- Hydrim / Effet-dragon Eau (bleu outremer) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-hydrim .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-hydrim .entete-pnj { | ||
background- | background: linear-gradient(135deg, #1E4A6E 0%, #3B6FA0 60%, #5488B8 100%); | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Ligne 158 : | Ligne 158 : | ||
/* --- Faërim / Effet-dragon Terre (vert) --- */ | /* --- Faërim / Effet-dragon Terre (vert) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-faerim .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-faerim .entete-pnj { | ||
background- | background: linear-gradient(135deg, #266044 0%, #4A9A6A 60%, #62B07E 100%); | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Ligne 167 : | Ligne 167 : | ||
/* --- Onirim / Effet-dragon Lune (violet sombre) --- */ | /* --- Onirim / Effet-dragon Lune (violet sombre) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-onirim .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-onirim .entete-pnj { | ||
background- | background: linear-gradient(135deg, #3A2458 0%, #6B4E8A 60%, #8262A0 100%); | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Ligne 176 : | Ligne 176 : | ||
/* --- Selenim / Effet-dragon Lune Noire (noir) --- */ | /* --- Selenim / Effet-dragon Lune Noire (noir) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj { | ||
background- | background: linear-gradient(135deg, #1A1A1A 0%, #3A3A3A 60%, #555555 100%); | ||
} | } | ||
.mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj, | .mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj, | ||
| Ligne 189 : | Ligne 189 : | ||
/* --- Saurien (violet sombre corrompu) --- */ | /* --- Saurien (violet sombre corrompu) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-saurien .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-saurien .entete-pnj { | ||
background- | background: linear-gradient(135deg, #1C1228 0%, #352846 60%, #4A3860 100%); | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Ligne 198 : | Ligne 198 : | ||
/* --- Humain lambda (jaune sable) --- */ | /* --- Humain lambda (jaune sable) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-humain .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-humain .entete-pnj { | ||
background- | background: linear-gradient(135deg, #7A6A48 0%, #B8A878 60%, #CEC098 100%); | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Ligne 207 : | Ligne 207 : | ||
/* --- Humain initié (or solaire) --- */ | /* --- Humain initié (or solaire) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-humain-initie .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-humain-initie .entete-pnj { | ||
background- | background: linear-gradient(135deg, #8A6800 0%, #D4A820 60%, #E8C84A 100%); | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Ligne 216 : | Ligne 216 : | ||
/* --- Ar-Kaïm (turquoise) --- */ | /* --- Ar-Kaïm (turquoise) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-arkaim .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-arkaim .entete-pnj { | ||
background- | background: linear-gradient(135deg, #1A6E6E 0%, #2E9E9E 60%, #46B8B8 100%); | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Ligne 225 : | Ligne 225 : | ||
/* --- Bohémien (mauve clair) --- */ | /* --- Bohémien (mauve clair) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-bohemien .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-bohemien .entete-pnj { | ||
background- | background: linear-gradient(135deg, #6A3A6A 0%, #A86CA8 60%, #C088C0 100%); | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Ligne 234 : | Ligne 234 : | ||
/* --- Daïmon (gris métallique) --- */ | /* --- Daïmon (gris métallique) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-daimon .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-daimon .entete-pnj { | ||
background- | background: linear-gradient(135deg, #404C55 0%, #6E7A85 60%, #8A98A5 100%); | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Ligne 243 : | Ligne 243 : | ||
/* --- Wowakan / Loa / Shen / Jukurrpa (marron terre) --- */ | /* --- Wowakan / Loa / Shen / Jukurrpa (marron terre) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-cousin .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-cousin .entete-pnj { | ||
background- | background: linear-gradient(135deg, #3E2818 0%, #6B4832 60%, #8A6248 100%); | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Ligne 252 : | Ligne 252 : | ||
/* --- Reflet akashique (soleil pur) --- */ | /* --- Reflet akashique (soleil pur) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-reflet .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-reflet .entete-pnj { | ||
background- | background: linear-gradient(135deg, #A89000 0%, #E8C820 60%, #F5DC50 100%); | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Ligne 270 : | Ligne 270 : | ||
/* ============================================= */ | /* ============================================= */ | ||
/* FichePNJNL — Nouvelles classes de couleurs */ | /* FichePNJNL — Nouvelles classes de couleurs */ | ||
/* ============================================= */ | /* ============================================= */ | ||
/* --- 1. Ka-Soleil (Nephilim exceptionnel, ex: Khnoum) --- */ | /* --- 1. Ka-Soleil (Nephilim exceptionnel, ex: Khnoum) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-soleil .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-soleil .entete-pnj { | ||
background: linear-gradient(135deg, # | background: linear-gradient(135deg, #8B5A00 0%, #C49A2A 40%, #E8C84A 70%, #F5DC80 100%) !important; | ||
} | } | ||
.mw-body-content .FichePNJNL.fiche-pnj-soleil .bandeau-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-soleil .bandeau-pnj { | ||
| Ligne 299 : | Ligne 298 : | ||
} | } | ||
/* --- 3. Autre créature ( | /* --- 3. Autre créature (crème/sable) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-autre .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-autre .entete-pnj { | ||
background: linear-gradient(135deg, #B5A68C 0%, #C9BC9E 50%, #B5A68C 100%) !important; | background: linear-gradient(135deg, #B5A68C 0%, #C9BC9E 50%, #B5A68C 100%) !important; | ||
| Ligne 314 : | Ligne 313 : | ||
/* --- 4. Animal (ocre) --- */ | /* --- 4. Animal (ocre) --- */ | ||
.mw-body-content .FichePNJNL.fiche-pnj-animal .entete-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-animal .entete-pnj { | ||
background: #B8883B !important; | background: linear-gradient(135deg, #7A5520 0%, #B8883B 60%, #D0A860 100%) !important; | ||
} | } | ||
.mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj { | .mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj { | ||
| Ligne 1 183 : | Ligne 1 182 : | ||
background: #ffffff !important; | background: #ffffff !important; | ||
color: #2A2520 !important; | color: #2A2520 !important; | ||
font-family: ' | font-family: 'Source Sans 3', 'Segoe UI', sans-serif; | ||
font-size: 16px !important; | font-size: 16px !important; | ||
font-weight: 500; | font-weight: 500; | ||
| Ligne 1 339 : | Ligne 1 338 : | ||
background: #ffffff !important; | background: #ffffff !important; | ||
color: #2A2520 !important; | color: #2A2520 !important; | ||
font-family: ' | font-family: 'Source Sans 3', 'Segoe UI', sans-serif; | ||
font-size: 16px !important; | font-size: 16px !important; | ||
font-weight: 500; | font-weight: 500; | ||
| Ligne 1 484 : | Ligne 1 483 : | ||
background: #ffffff !important; | background: #ffffff !important; | ||
color: #2A2520 !important; | color: #2A2520 !important; | ||
font-family: ' | font-family: 'Source Sans 3', 'Segoe UI', sans-serif; | ||
font-size: 16px !important; | font-size: 16px !important; | ||
font-weight: 500; | font-weight: 500; | ||
| Ligne 1 629 : | Ligne 1 628 : | ||
background: #ffffff !important; | background: #ffffff !important; | ||
color: #2A2520 !important; | color: #2A2520 !important; | ||
font-family: ' | font-family: 'Source Sans 3', 'Segoe UI', sans-serif; | ||
font-size: 16px !important; | font-size: 16px !important; | ||
font-weight: 500; | font-weight: 500; | ||
| Ligne 1 774 : | Ligne 1 773 : | ||
background: #ffffff !important; | background: #ffffff !important; | ||
color: #2A2520 !important; | color: #2A2520 !important; | ||
font-family: ' | font-family: 'Source Sans 3', 'Segoe UI', sans-serif; | ||
font-size: 16px !important; | font-size: 16px !important; | ||
font-weight: 500; | font-weight: 500; | ||
| Ligne 2 144 : | Ligne 2 143 : | ||
} | } | ||
/* =========================================================== | /* =========================================================== | ||
STYLE TABLEAU QUÊTE ÉSOTÉRIQUE (NL) | |||
=========================================================== */ | |||
.neph_table_NL_quete_eso { | |||
border-collapse: separate !important; | |||
border-spacing: 0 !important; | |||
background: #ffffff !important; | |||
color: #2A2520 !important; | |||
font-family: 'Source Sans 3', 'Segoe UI', sans-serif; | |||
font-size: 16px !important; | |||
font-weight: 500; | |||
line-height: 1.4; | |||
border: none !important; | |||
width: 100% !important; | |||
} | |||
/* --- | /* --- Cellules générales --- */ | ||
. | .neph_table_NL_quete_eso th, | ||
.neph_table_NL_quete_eso td { | |||
border: 1px solid #c8c0d0 !important; | |||
padding: 4px 7px !important; | |||
vertical-align: middle !important; | |||
background: #ffffff !important; | |||
color: #2A2520 !important; | |||
} | } | ||
/* | .neph_table_NL_quete_eso td { | ||
. | font-size: 16px !important; | ||
} | |||
/* --- En-têtes (th) --- */ | |||
.neph_table_NL_quete_eso th { | |||
background: #2D1B4E !important; | |||
color: #D0C4DC !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: #1E0F38 !important; | |||
border-bottom: 2px solid #33302A !important; | |||
} | } | ||
/* | /* --- Largeurs des colonnes --- */ | ||
. | .neph_table_NL_quete_eso th:first-child { | ||
width: 8%; | |||
} | |||
.neph_table_NL_quete_eso th:nth-child(2), | |||
.neph_table_NL_quete_eso th:nth-child(3) { | |||
width: 46%; | |||
} | } | ||
/* --- | /* --- Première colonne (Degré) --- */ | ||
. | .neph_table_NL_quete_eso td:first-child { | ||
text-align: center !important; | |||
font-weight: bold !important; | |||
background: #574B6B !important; | |||
color: #D0C4DC !important; | |||
} | } | ||
/* | /* --- Caption --- */ | ||
.neph_table_NL_quete_eso caption { | |||
font-weight: bold; | |||
font-size: 1.1em; | |||
padding: 8px; | |||
font-family: 'Cinzel', serif; | |||
} | } | ||
/* --- | /* --- Ligne séparatrice colspan --- */ | ||
. | .neph_table_NL_quete_eso th[colspan] { | ||
text-align: center; | |||
} | } | ||
/* --- | /* ============================================================ | ||
.infobox-effetmagique | INFOBOX EFFETMAGIQUE — Style épuré | ||
background | Inspiré de l'infobox Arcane Majeur | ||
border | À ajouter dans MediaWiki:Common.css | ||
border- | ============================================================ */ | ||
/* --- Conteneur principal --- */ | |||
font- | .infobox-effetmagique { | ||
float: right; | |||
width: 320px; | |||
color: # | margin: 0 0 12px 16px; | ||
padding: 0; | |||
background: #ffffff; | |||
border: 1px solid #d0c4dc; | |||
border-radius: 10px; | |||
overflow: hidden; | |||
box-shadow: 0 1px 4px rgba(0,0,0,0.06); | |||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; | |||
font-size: 13px; | |||
line-height: 1.5; | |||
color: #1e293b; | |||
} | } | ||
/* | /* Reset des marges parasites insérées par MediaWiki */ | ||
.infobox-effetmagique p { | |||
margin: 0; | |||
padding: 0; | |||
} | |||
/* | /* Reset de la table infobox_v2 interne */ | ||
.infobox-effetmagique .infobox_v2 | .infobox-effetmagique .infobox_v2 { | ||
border: none !important; | |||
border | |||
background: transparent !important; | background: transparent !important; | ||
box-shadow: none !important; | |||
} | } | ||
.infobox-effetmagique .infobox_v2 td { | .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] { | ||
padding: | background: linear-gradient(135deg, #1e1535 0%, #3a2d60 60%, #4a3a80 100%) !important; | ||
font-size: | padding: 16px 20px !important; | ||
text-align: center; | |||
font-size: 20px !important; | |||
font-weight: 700; | |||
line-height: 1.3; | |||
text-transform: none !important; | |||
font-variant: normal !important; | |||
font-family: 'EB Garamond', 'Lora', Georgia, serif !important; | |||
} | } | ||
/* | /* Texte blanc dans l'en-tête */ | ||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td | body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"], | ||
color: # | body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] b, | ||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] i, | |||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] span { | |||
color: #ffffff !important; | |||
} | } | ||
/* --- Image --- */ | |||
.infobox-effetmagique .infobox_v2 td[style*="text-align:center"] img { | |||
border-radius: 6px; | |||
margin: 4px 0; | |||
} | } | ||
/* --- | /* --- Bandeau de section (Identité, Sources) --- */ | ||
.infobox-effetmagique .infobox_v2 td[colspan="2"][style*="background-color: #E8E8E8"] { | |||
background-color: #f8fafc !important; | |||
border-top: 2px solid #f0f1f3 !important; | |||
border-bottom: 1px solid #e2e5ea !important; | |||
padding: 8px 20px !important; | |||
font-size: 10px !important; | |||
font-weight: 700 !important; | |||
letter-spacing: 2px !important; | |||
text-transform: none !important; | |||
color: #94a3b8 !important; | |||
} | } | ||
/* | /* --- Bandeaux d'édition (en-têtes colorés NL, N4, NR, N2, N1) --- | ||
Ciblés via les classes infobox-sc-* définies dans les sous-modèles */ | |||
/* --- Champs clé/valeur --- */ | |||
.infobox-effetmagique .infobox_v2 th { | |||
padding: 5px 20px !important; | |||
font-size: 12px !important; | |||
font-weight: 400 !important; | |||
color: #64748b !important; | |||
vertical-align: top; | |||
border-bottom: 1px solid #f1f5f9 !important; | |||
background: transparent !important; | |||
} | } | ||
.infobox-effetmagique .infobox_v2 td { | |||
padding: 5px 20px !important; | |||
font-size: 13px !important; | |||
color: #1e293b !important; | |||
vertical-align: top; | |||
border-bottom: 1px solid #f1f5f9 !important; | |||
} | |||
/* Liens dans les valeurs */ | |||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td a:not(.new):not(.external) { | |||
color: #1e293b !important; | |||
border-bottom: none !important; | |||
} | |||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td a:not(.new):not(.external):hover { | |||
color: #6366f1 !important; | |||
} | |||
/* --- Responsive : pleine largeur en mobile --- */ | |||
@media screen and (max-width: 768px) { | |||
.mw-parser-output .infobox-effetmagique { | |||
float: none !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 0 1em 0 !important; | |||
} | |||
} | |||
/* Bandeau édition dans Infobox Effetmagique — forcer texte clair */ | |||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="574B6B"], | |||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="574B6B"] span, | |||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B4548"], | |||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B4548"] span, | |||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="4A5568"], | |||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="4A5568"] span, | |||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="727a68"], | |||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="727a68"] span, | |||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B5D4F"], | |||
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B5D4F"] span { | |||
color: #F7F6F2 !important; | |||
text-transform: none !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) */ | /* Magie — Or royal (aussi utilisé par défaut si sc_occulte vide) */ | ||
.infobox-sc-magie { | .infobox-sc-magie { | ||
| Ligne 2 347 : | Ligne 2 422 : | ||
color: #F0E0D0 !important; | color: #F0E0D0 !important; | ||
} | |||
/* --- Sources : texte réduit --- */ | |||
.infobox-effetmagique .infobox_v2 th.infobox-src, | |||
.infobox-effetmagique .infobox_v2 td.infobox-src { | |||
font-size: 11px !important; | |||
padding: 8px 12px !important; | |||
} | } | ||
| Ligne 2 461 : | Ligne 2 543 : | ||
/* --- Structure commune --- */ | /* --- Structure commune --- */ | ||
.infobox-supplement { | table.infobox-supplement { | ||
float: right !important; | |||
width: 35% !important; | |||
min-width: 280px !important; | |||
margin: 0 0 1em 2em !important; | |||
border-collapse: collapse; | |||
background: #fff; | background: #fff; | ||
border-radius: 4px; | border-radius: 4px; | ||
| Ligne 2 469 : | Ligne 2 556 : | ||
font-size: 0.92em; | font-size: 0.92em; | ||
} | } | ||
.infobox-supplement-badge { | .infobox-supplement-badge { | ||
font-family: 'Cinzel', serif; | font-family: 'Cinzel', serif; | ||
| Ligne 2 762 : | Ligne 2 843 : | ||
font-weight: 600; | font-weight: 600; | ||
color: #1E1A16; | color: #1E1A16; | ||
} | |||
.mw-body-content th b, | |||
.mw-body-content th strong { | |||
color: inherit; | |||
} | } | ||
.mw-body-content i, | .mw-body-content i, | ||
| Ligne 2 801 : | Ligne 2 886 : | ||
font-weight: 600; | font-weight: 600; | ||
color: #1E1A16; | color: #1E1A16; | ||
} | |||
body:not(.page-Accueil) .mw-body-content th b, | |||
body:not(.page-Accueil) .mw-body-content th strong { | |||
color: inherit; | |||
} | } | ||
| Ligne 4 220 : | Ligne 4 309 : | ||
background: linear-gradient(90deg, #C49A2A 0%, transparent 80%); | background: linear-gradient(90deg, #C49A2A 0%, transparent 80%); | ||
opacity: 0.3; | opacity: 0.3; | ||
} | |||
/* =========================================================== | |||
BLOCKQUOTE qui respecte les infobox flottantes | |||
=========================================================== */ | |||
.mw-parser-output blockquote { | |||
overflow: hidden; | |||
} | |||
/* ============================================ */ | |||
/* Infobox Métamorphe — Base */ | |||
/* ============================================ */ | |||
.mw-parser-output .infobox-metamorphe { | |||
float: right; | |||
margin: 0 0 0.75em 0.75em; | |||
width: 400px; | |||
border-radius: 5px; | |||
overflow: hidden; | |||
border: 1px solid rgba(45,27,78,0.25) !important; | |||
} | |||
.mw-parser-output .infobox-metamorphe .infobox_v2 { | |||
border-collapse: collapse !important; | |||
width: 100% !important; | |||
border-spacing: 0 !important; | |||
table-layout: fixed !important; | |||
} | |||
/* Colonne gauche et droite égales */ | |||
.mw-parser-output .infobox-metamorphe .infobox_v2 th { | |||
width: 50% !important; | |||
font-weight: 600 !important; | |||
text-align: left !important; | |||
white-space: normal !important; | |||
padding: 4px 8px !important; | |||
border: none !important; | |||
border-bottom: 1px solid rgba(0,0,0,0.07) !important; | |||
font-size: 0.88em !important; | |||
vertical-align: top !important; | |||
} | |||
.mw-parser-output .infobox-metamorphe .infobox_v2 td { | |||
width: 50% !important; | |||
padding: 4px 8px !important; | |||
border: none !important; | |||
border-bottom: 1px solid rgba(0,0,0,0.07) !important; | |||
font-size: 0.88em !important; | |||
vertical-align: top !important; | |||
} | |||
/* Cellule titre — fond coloré, texte non italique */ | |||
.mw-parser-output .infobox-metamorphe .infobox_v2 td.entete.auteur { | |||
width: 100% !important; | |||
font-family: 'Cinzel', serif !important; | |||
font-style: normal !important; | |||
font-weight: 600 !important; | |||
text-align: center !important; | |||
padding: 8px 12px 6px !important; | |||
text-transform: none !important; | |||
font-variant: normal !important; | |||
font-size: 1.0em !important; | |||
border-bottom: none !important; | |||
line-height: 1.5 !important; | |||
} | |||
/* Titre en blanc, non italique */ | |||
.mw-parser-output .infobox-metamorphe .infobox_v2 td.entete.auteur b, | |||
.mw-parser-output .infobox-metamorphe .infobox_v2 td.entete.auteur strong { | |||
color: #FFFFFF !important; | |||
font-style: normal !important; | |||
} | |||
/* Sous-titre dans la même cellule */ | |||
.mw-parser-output .infobox-metamorphe .infobox_v2 td.entete.auteur .soustitre-metamorphe { | |||
display: block !important; | |||
font-family: 'EB Garamond', serif !important; | |||
font-style: italic !important; | |||
font-size: 0.82em !important; | |||
font-weight: 400 !important; | |||
margin-top: 2px !important; | |||
} | |||
/* Masquer les <hr> */ | |||
.mw-parser-output .infobox-metamorphe .infobox_v2 hr { | |||
display: none !important; | |||
} | |||
/* Masquer les lignes vides générées par les <hr> */ | |||
.mw-parser-output .infobox-metamorphe .infobox_v2 tr:has(> td[colspan="2"] > hr) { | |||
display: none !important; | |||
} | |||
/* Bandeaux de section — base */ | |||
.mw-parser-output .infobox-metamorphe .infobox_v2 td[colspan="2"]:not(.entete) { | |||
width: 100% !important; | |||
text-align: center !important; | |||
font-family: 'Cinzel', serif !important; | |||
font-size: 0.75em !important; | |||
font-weight: 600 !important; | |||
letter-spacing: 0.08em !important; | |||
padding: 3px 8px 4px !important; | |||
background-color: #FFFFFF !important; | |||
border-top: none !important; | |||
border-bottom: none !important; | |||
} | |||
.mw-parser-output .infobox-metamorphe .infobox_v2 td[colspan="2"]:not(.entete) b { | |||
display: inline !important; | |||
font-style: normal !important; | |||
} | |||
/* Couleur des bandeaux par élément */ | |||
.mw-parser-output .metamorphe-pyrim .infobox_v2 td[colspan="2"]:not(.entete) b { | |||
color: #C0524E !important; | |||
} | |||
.mw-parser-output .metamorphe-eolim .infobox_v2 td[colspan="2"]:not(.entete) b { | |||
color: #3B7FAD !important; | |||
} | |||
.mw-parser-output .metamorphe-hydrim .infobox_v2 td[colspan="2"]:not(.entete) b { | |||
color: #3B6FA0 !important; | |||
} | |||
.mw-parser-output .metamorphe-faerim .infobox_v2 td[colspan="2"]:not(.entete) b { | |||
color: #4A9A6A !important; | |||
} | |||
.mw-parser-output .metamorphe-onirim .infobox_v2 td[colspan="2"]:not(.entete) b { | |||
color: #6B4E8A !important; | |||
} | |||
.mw-parser-output .metamorphe-neutre .infobox_v2 td[colspan="2"]:not(.entete) b { | |||
color: #574B6B !important; | |||
} | |||
/* ============================================ */ | |||
/* Couleurs par élément */ | |||
/* ============================================ */ | |||
/* ---- Feu / Pyrim ---- */ | |||
.mw-parser-output .metamorphe-pyrim .infobox_v2 td.entete.auteur { | |||
background: linear-gradient(135deg, #8B2A28 0%, #C0524E 100%) !important; | |||
} | |||
.mw-parser-output .metamorphe-pyrim .infobox_v2 td.entete.auteur .soustitre-metamorphe { | |||
color: #F2D5D3 !important; | |||
} | |||
.mw-parser-output .metamorphe-pyrim .infobox_v2 th { | |||
background-color: #F2D5D3 !important; | |||
color: #6A1F1D !important; | |||
} | |||
.mw-parser-output .metamorphe-pyrim .infobox_v2 td:not(.entete) { | |||
background-color: #FDF0EF !important; | |||
} | |||
.mw-parser-output .metamorphe-pyrim .infobox_v2 td[colspan="2"]:not(.entete) { | |||
color: #C0524E !important; | |||
} | |||
/* ---- Air / Éolim ---- */ | |||
.mw-parser-output .metamorphe-eolim .infobox_v2 td.entete.auteur { | |||
background: linear-gradient(135deg, #2E6B9A 0%, #5BA4D9 100%) !important; | |||
} | |||
.mw-parser-output .metamorphe-eolim .infobox_v2 td.entete.auteur .soustitre-metamorphe { | |||
color: #D4E9F7 !important; | |||
} | |||
.mw-parser-output .metamorphe-eolim .infobox_v2 th { | |||
background-color: #D4E9F7 !important; | |||
color: #1A3F5A !important; | |||
} | |||
.mw-parser-output .metamorphe-eolim .infobox_v2 td:not(.entete) { | |||
background-color: #F0F7FD !important; | |||
} | |||
.mw-parser-output .metamorphe-eolim .infobox_v2 td[colspan="2"]:not(.entete) { | |||
color: #3B7FAD !important; | |||
} | |||
/* ---- Eau / Hydrim ---- */ | |||
.mw-parser-output .metamorphe-hydrim .infobox_v2 td.entete.auteur { | |||
background: linear-gradient(135deg, #1E4A6E 0%, #3B6FA0 100%) !important; | |||
} | |||
.mw-parser-output .metamorphe-hydrim .infobox_v2 td.entete.auteur .soustitre-metamorphe { | |||
color: #CEDDEF !important; | |||
} | |||
.mw-parser-output .metamorphe-hydrim .infobox_v2 th { | |||
background-color: #CEDDEF !important; | |||
color: #1A3550 !important; | |||
} | |||
.mw-parser-output .metamorphe-hydrim .infobox_v2 td:not(.entete) { | |||
background-color: #EEF5FB !important; | |||
} | |||
.mw-parser-output .metamorphe-hydrim .infobox_v2 td[colspan="2"]:not(.entete) { | |||
color: #3B6FA0 !important; | |||
} | |||
/* ---- Terre / Faërim ---- */ | |||
.mw-parser-output .metamorphe-faerim .infobox_v2 td.entete.auteur { | |||
background: linear-gradient(135deg, #266044 0%, #4A9A6A 100%) !important; | |||
} | |||
.mw-parser-output .metamorphe-faerim .infobox_v2 td.entete.auteur .soustitre-metamorphe { | |||
color: #D2EDDA !important; | |||
} | |||
.mw-parser-output .metamorphe-faerim .infobox_v2 th { | |||
background-color: #D2EDDA !important; | |||
color: #1A4A2A !important; | |||
} | |||
.mw-parser-output .metamorphe-faerim .infobox_v2 td:not(.entete) { | |||
background-color: #F0FAF4 !important; | |||
} | |||
.mw-parser-output .metamorphe-faerim .infobox_v2 td[colspan="2"]:not(.entete) { | |||
color: #4A9A6A !important; | |||
} | |||
/* ---- Lune / Onirim ---- */ | |||
.mw-parser-output .metamorphe-onirim .infobox_v2 td.entete.auteur { | |||
background: linear-gradient(135deg, #3A2458 0%, #6B4E8A 100%) !important; | |||
} | |||
.mw-parser-output .metamorphe-onirim .infobox_v2 td.entete.auteur .soustitre-metamorphe { | |||
color: #E0D4EE !important; | |||
} | |||
.mw-parser-output .metamorphe-onirim .infobox_v2 th { | |||
background-color: #E0D4EE !important; | |||
color: #2D1B4E !important; | |||
} | |||
.mw-parser-output .metamorphe-onirim .infobox_v2 td:not(.entete) { | |||
background-color: #F7F3FC !important; | |||
} | |||
.mw-parser-output .metamorphe-onirim .infobox_v2 td[colspan="2"]:not(.entete) { | |||
color: #6B4E8A !important; | |||
} | |||
/* ---- Neutre ---- */ | |||
.mw-parser-output .metamorphe-neutre .infobox_v2 td.entete.auteur { | |||
background: linear-gradient(135deg, #2D1B4E 0%, #574B6B 100%) !important; | |||
} | |||
.mw-parser-output .metamorphe-neutre .infobox_v2 td.entete.auteur .soustitre-metamorphe { | |||
color: #D0C4DC !important; | |||
} | |||
.mw-parser-output .metamorphe-neutre .infobox_v2 th { | |||
background-color: #E8E0F0 !important; | |||
color: #2D1B4E !important; | |||
} | |||
.mw-parser-output .metamorphe-neutre .infobox_v2 td:not(.entete) { | |||
background-color: #F8F5FC !important; | |||
} | |||
.mw-parser-output .metamorphe-neutre .infobox_v2 td[colspan="2"]:not(.entete) { | |||
color: #574B6B !important; | |||
} | |||
/* ============================================ */ | |||
/* Responsive mobile */ | |||
/* ============================================ */ | |||
@media screen and (max-width: 768px) { | |||
.mw-parser-output .infobox-metamorphe { | |||
float: none !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 0 1em 0 !important; | |||
} | |||
.mw-parser-output .infobox-metamorphe .infobox_v2 { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
} | |||
} | } | ||