« MediaWiki:Common.css » : différence entre les versions
aucun résumé des modifications
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 2 143 : | Ligne 2 143 : | ||
.def-badge-wiki { | .def-badge-wiki { | ||
background-color: #B89860; | background-color: #B89860; | ||
} | |||
/* ============================================ | |||
INFOBOX SUPPLÉMENTS — Styles par édition | |||
À ajouter dans MediaWiki:Common.css | |||
============================================ */ | |||
/* --- Structure commune --- */ | |||
.infobox-supplement { | |||
background: #fff; | |||
border-radius: 4px; | |||
overflow: hidden; | |||
box-shadow: 0 1px 5px rgba(0,0,0,0.1); | |||
font-family: 'EB Garamond', 'Georgia', serif; | |||
font-size: 0.92em; | |||
} | |||
.infobox-supplement table { | |||
width: 100%; | |||
border-collapse: collapse; | |||
} | |||
.infobox-supplement-badge { | |||
font-family: 'Cinzel', serif; | |||
font-size: 0.65em; | |||
letter-spacing: 0.15em; | |||
text-transform: uppercase; | |||
text-align: center; | |||
padding: 3px 8px; | |||
color: rgba(255,255,255,0.82); | |||
} | |||
.infobox-supplement-title { | |||
font-family: 'Cinzel', serif; | |||
font-size: 1.05em; | |||
font-weight: 700; | |||
text-align: center; | |||
padding: 10px 12px; | |||
color: #fff; | |||
text-shadow: 0 1px 2px rgba(0,0,0,0.15); | |||
} | |||
.infobox-supplement-cover { | |||
text-align: center; | |||
padding: 12px; | |||
} | |||
.infobox-supplement-cover img { | |||
border-radius: 2px; | |||
border: 1px solid rgba(0,0,0,0.08); | |||
} | |||
.infobox-supplement-legend { | |||
text-align: center; | |||
font-style: italic; | |||
font-size: 0.82em; | |||
color: #888; | |||
padding: 0 12px 8px; | |||
} | |||
.infobox-supplement-sep { | |||
height: 1px; | |||
padding: 0; | |||
line-height: 0; | |||
font-size: 0; | |||
} | |||
.infobox-supplement-section { | |||
font-family: 'Cinzel', serif; | |||
font-size: 0.68em; | |||
font-weight: 600; | |||
letter-spacing: 0.1em; | |||
text-transform: uppercase; | |||
padding: 4px 10px; | |||
color: #fff; | |||
} | |||
.infobox-supplement-label { | |||
width: 38%; | |||
text-align: left; | |||
padding: 4px 10px; | |||
font-weight: 600; | |||
font-size: 0.85em; | |||
vertical-align: top; | |||
background: #fff; | |||
border-bottom: 1px solid #EDEDED; | |||
} | |||
.infobox-supplement-data { | |||
padding: 4px 10px; | |||
font-size: 0.92em; | |||
vertical-align: top; | |||
color: #444; | |||
background: #fff; | |||
border-bottom: 1px solid #EDEDED; | |||
} | |||
/* --- NL — 5e édition (Légende) — Pourpre --- */ | |||
.infobox-supplement-nl { | |||
border: 1px solid #C4BAD0; | |||
} | |||
.infobox-supplement-nl .infobox-supplement-badge { | |||
background: #483D5C; | |||
} | |||
.infobox-supplement-nl .infobox-supplement-title { | |||
background: linear-gradient(135deg, #574B6B, #7B6E91); | |||
} | |||
.infobox-supplement-nl .infobox-supplement-cover { | |||
background: #E3DEE8; | |||
} | |||
.infobox-supplement-nl .infobox-supplement-legend { | |||
background: #E3DEE8; | |||
} | |||
.infobox-supplement-nl .infobox-supplement-sep { | |||
background: #C4BAD0; | |||
} | |||
.infobox-supplement-nl .infobox-supplement-section { | |||
background: #7B6E91; | |||
} | |||
.infobox-supplement-nl .infobox-supplement-label { | |||
color: #574B6B; | |||
} | |||
/* --- N4 — 4e édition (Anniversaire) — Bordeaux --- */ | |||
.infobox-supplement-n4 { | |||
border: 1px solid #D0C0BD; | |||
} | |||
.infobox-supplement-n4 .infobox-supplement-badge { | |||
background: #5B3538; | |||
} | |||
.infobox-supplement-n4 .infobox-supplement-title { | |||
background: linear-gradient(135deg, #6B4548, #8B6568); | |||
} | |||
.infobox-supplement-n4 .infobox-supplement-cover { | |||
background: #E8DDD8; | |||
} | |||
.infobox-supplement-n4 .infobox-supplement-legend { | |||
background: #E8DDD8; | |||
} | |||
.infobox-supplement-n4 .infobox-supplement-sep { | |||
background: #D0C0BD; | |||
} | |||
.infobox-supplement-n4 .infobox-supplement-section { | |||
background: #8B6568; | |||
} | |||
.infobox-supplement-n4 .infobox-supplement-label { | |||
color: #6B4548; | |||
} | |||
/* --- NR — 3e édition (Révélation) — Bleu nuit --- */ | |||
.infobox-supplement-nr { | |||
border: 1px solid #C0C8D0; | |||
} | |||
.infobox-supplement-nr .infobox-supplement-badge { | |||
background: #3A4558; | |||
} | |||
.infobox-supplement-nr .infobox-supplement-title { | |||
background: linear-gradient(135deg, #4A5568, #6A7588); | |||
} | |||
.infobox-supplement-nr .infobox-supplement-cover { | |||
background: #DDE2E8; | |||
} | |||
.infobox-supplement-nr .infobox-supplement-legend { | |||
background: #DDE2E8; | |||
} | |||
.infobox-supplement-nr .infobox-supplement-sep { | |||
background: #C0C8D0; | |||
} | |||
.infobox-supplement-nr .infobox-supplement-section { | |||
background: #6A7588; | |||
} | |||
.infobox-supplement-nr .infobox-supplement-label { | |||
color: #4A5568; | |||
} | |||
/* --- N2 — 2e édition — Olive --- */ | |||
.infobox-supplement-n2 { | |||
border: 1px solid #C8C8C0; | |||
} | |||
.infobox-supplement-n2 .infobox-supplement-badge { | |||
background: #626A58; | |||
} | |||
.infobox-supplement-n2 .infobox-supplement-title { | |||
background: linear-gradient(135deg, #727a68, #8A9278); | |||
} | |||
.infobox-supplement-n2 .infobox-supplement-cover { | |||
background: #E8E4D8; | |||
} | |||
.infobox-supplement-n2 .infobox-supplement-legend { | |||
background: #E8E4D8; | |||
} | |||
.infobox-supplement-n2 .infobox-supplement-sep { | |||
background: #C8C8C0; | |||
} | |||
.infobox-supplement-n2 .infobox-supplement-section { | |||
background: #8A9278; | |||
} | |||
.infobox-supplement-n2 .infobox-supplement-label { | |||
color: #727a68; | |||
} | |||
/* --- N1 — 1ère édition — Brun chaud --- */ | |||
.infobox-supplement-n1 { | |||
border: 1px solid #D0C8B8; | |||
} | |||
.infobox-supplement-n1 .infobox-supplement-badge { | |||
background: #5B4D3F; | |||
} | |||
.infobox-supplement-n1 .infobox-supplement-title { | |||
background: linear-gradient(135deg, #6B5D4F, #8B7D6F); | |||
} | |||
.infobox-supplement-n1 .infobox-supplement-cover { | |||
background: #E8E0D3; | |||
} | |||
.infobox-supplement-n1 .infobox-supplement-legend { | |||
background: #E8E0D3; | |||
} | |||
.infobox-supplement-n1 .infobox-supplement-sep { | |||
background: #D0C8B8; | |||
} | |||
.infobox-supplement-n1 .infobox-supplement-section { | |||
background: #8B7D6F; | |||
} | |||
.infobox-supplement-n1 .infobox-supplement-label { | |||
color: #6B5D4F; | |||
} | |||
/* --- NUS — US édition — Gris neutre --- */ | |||
.infobox-supplement-nus { | |||
border: 1px solid #C8C8C8; | |||
} | |||
.infobox-supplement-nus .infobox-supplement-badge { | |||
background: #5B5B5B; | |||
} | |||
.infobox-supplement-nus .infobox-supplement-title { | |||
background: linear-gradient(135deg, #6B6B6B, #8B8B8B); | |||
} | |||
.infobox-supplement-nus .infobox-supplement-cover { | |||
background: #E8E8E8; | |||
} | |||
.infobox-supplement-nus .infobox-supplement-legend { | |||
background: #E8E8E8; | |||
} | |||
.infobox-supplement-nus .infobox-supplement-sep { | |||
background: #C8C8C8; | |||
} | |||
.infobox-supplement-nus .infobox-supplement-section { | |||
background: #8B8B8B; | |||
} | |||
.infobox-supplement-nus .infobox-supplement-label { | |||
color: #6B6B6B; | |||
} | |||
/* --- FAN — Fanzines — Bleu-vert --- */ | |||
.infobox-supplement-fan { | |||
border: 1px solid #B8D0C8; | |||
} | |||
.infobox-supplement-fan .infobox-supplement-badge { | |||
background: #2D5B5B; | |||
} | |||
.infobox-supplement-fan .infobox-supplement-title { | |||
background: linear-gradient(135deg, #3D6B6B, #5D8B8B); | |||
} | |||
.infobox-supplement-fan .infobox-supplement-cover { | |||
background: #D8E8E4; | |||
} | |||
.infobox-supplement-fan .infobox-supplement-legend { | |||
background: #D8E8E4; | |||
} | |||
.infobox-supplement-fan .infobox-supplement-sep { | |||
background: #B8D0C8; | |||
} | |||
.infobox-supplement-fan .infobox-supplement-section { | |||
background: #5D8B8B; | |||
} | |||
.infobox-supplement-fan .infobox-supplement-label { | |||
color: #3D6B6B; | |||
} | } | ||