« MediaWiki:Common.css » : différence entre les versions
(Thème couleur Ruches (marine #1a2040, rouge #cc2020, beige #c9b99a)) |
(Thème Ruches v3 — fond marine global, contenu blanc, liens marine) |
||
| Ligne 1 : | Ligne 1 : | ||
/* ============================================================ | /* ============================================================ | ||
Thème Ruches | Thème Ruches v3 | ||
Marine #1a2040 | Rouge #cc2020 | Beige #c9b99a | |||
============================================================ */ | ============================================================ */ | ||
/* ── Variables progressives Vector 2022 ── */ | /* ── Variables progressives Vector 2022 ── */ | ||
:root { | :root { | ||
--color-progressive: | --color-progressive: #1a2040; | ||
--color-progressive--hover: | --color-progressive--hover: #2e3a6e; | ||
--color-progressive--active: | --color-progressive--active: #0f1428; | ||
--color-progressive--focus: | --color-progressive--focus: #1a2040; | ||
--background-color-progressive: #cc2020; | --background-color-progressive: #cc2020; | ||
--background-color-progressive--hover: #a01818; | --background-color-progressive--hover: #a01818; | ||
} | |||
/* ── Stratégie : fond global marine, contenu blanc ── */ | |||
body, | |||
.mw-page-container, | |||
.mw-page-container-inner { | |||
background-color: #1a2040 !important; | |||
} | |||
/* Whitewash la zone de contenu uniquement */ | |||
.mw-content-container, | |||
.mw-body, | |||
#content, | |||
#mw-content-text { | |||
background-color: #ffffff !important; | |||
} | } | ||
| Ligne 23 : | Ligne 37 : | ||
} | } | ||
/* | /* ── Texte et liens dans les sidebars ── */ | ||
.mw- | .mw-portlet h3, | ||
# | .mw-portlet-heading, | ||
color: # | .vector-menu-heading, | ||
.vector-menu-heading-label, | |||
.mw-portlet-nav h3, | |||
#mw-panel .portal h3 { | |||
color: #c9b99a !important; | |||
border-bottom: 1px solid rgba(201,185,154,0.3) !important; | |||
background: transparent !important; | |||
} | } | ||
/* | /* Liens sidebar (navigation, TOC, outils) */ | ||
. | .mw-portlet a, | ||
.vector- | .vector-toc a, | ||
#mw-panel a, | |||
.mw-table-of-contents-container a, | |||
.vector-sidebar a { | |||
. | |||
.vector- | |||
color: #c9b99a !important; | color: #c9b99a !important; | ||
} | } | ||
.vector- | .mw-portlet a:hover, | ||
. | .vector-toc a:hover, | ||
#mw-panel a:hover, | |||
.mw-table-of-contents-container a:hover, | |||
.vector-sidebar a:hover { | |||
color: #ffffff !important; | color: #ffffff !important; | ||
text-decoration: none !important; | |||
} | } | ||
/* | /* TOC entrée active */ | ||
.vector-toc .vector-toc-link--active { | |||
color: #cc2020 !important; | color: #cc2020 !important; | ||
font-weight: bold; | |||
} | } | ||
/* Boutons [masquer] et texte utilitaire dans les sidebars */ | |||
. | .mw-portlet-hide, | ||
.vector- | .mw-portlet-body, | ||
.vector-pinnable-header-label { | |||
color: #c9b99a !important; | color: #c9b99a !important; | ||
} | } | ||
/* ── Liens dans le contenu — MARINE ── */ | |||
/* ── Liens dans le contenu ── */ | |||
#mw-content-text a, | #mw-content-text a, | ||
.mw-body-content a, | .mw-body-content a, | ||
.mw-parser-output a { | .mw-parser-output a { | ||
color: # | color: #1a2040; | ||
} | } | ||
#mw-content-text a:visited, | #mw-content-text a:visited, | ||
.mw-body-content a:visited { | .mw-body-content a:visited { | ||
color: # | color: #2e3a6e; | ||
} | } | ||
#mw-content-text a:hover, | #mw-content-text a:hover, | ||
.mw-body-content a:hover { | .mw-body-content a:hover { | ||
color: # | color: #cc2020; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
/* Liens de | /* Liens rouges = pages non créées (garder rouge pour les distinguer) */ | ||
# | #mw-content-text a.new, | ||
.mw-body-content a.new { | |||
color: #cc2020 !important; | |||
} | |||
#mw-content-text a.new:hover, | |||
.mw-body-content a.new:hover { | |||
color: #a01818 !important; | |||
} | |||
/* ── Onglets de la page (Lire / Modifier / Historique) ── */ | |||
.vector-menu-tabs a, | |||
.vector-menu-tabs-legacy a { | |||
color: #555 !important; | |||
} | |||
.vector-menu-tabs .selected a, | |||
.vector-menu-tabs-legacy .selected a { | |||
color: #cc2020 !important; | |||
border-bottom: 2px solid #cc2020 !important; | |||
} | |||
/* ── Liens [modifier] de section ── */ | |||
.mw-editsection a { | .mw-editsection a { | ||
color: # | color: #1a2040 !important; | ||
font-size: 0.85em; | |||
} | } | ||
/* ── Titres ── */ | /* ── Titres ── */ | ||
.firstHeading, | .firstHeading, h1.firstHeading { | ||
h1.firstHeading { | |||
color: #1a2040; | color: #1a2040; | ||
border-bottom: 2px solid #cc2020; | border-bottom: 2px solid #cc2020; | ||
| Ligne 134 : | Ligne 145 : | ||
} | } | ||
/* ── Boutons | /* ── Boutons ── */ | ||
.mw-ui-button.mw-ui-progressive, | .mw-ui-button.mw-ui-progressive, | ||
.oo-ui-buttonElement-button.oo-ui-flaggedElement-progressive { | .oo-ui-buttonElement-button.oo-ui-flaggedElement-progressive { | ||
| Ligne 148 : | Ligne 159 : | ||
} | } | ||
/* ── Tables | /* ── Tables ── */ | ||
.wikitable > tr > th, | .wikitable > tr > th, | ||
.wikitable > * > tr > th { | .wikitable > * > tr > th { | ||
| Ligne 161 : | Ligne 172 : | ||
} | } | ||
/* ── | /* ── Catégories ── */ | ||
#catlinks { | #catlinks { | ||
background-color: #f5f0e8; | background-color: #f5f0e8; | ||
border-color: #c9b99a; | border-color: #c9b99a; | ||
color: #1a2040; | color: #1a2040; | ||
} | |||
#catlinks a { | |||
color: #1a2040 !important; | |||
} | } | ||
/* ── Footer ── */ | /* ── Footer ── */ | ||
#footer, | #footer, .mw-footer { | ||
.mw-footer { | |||
background-color: #1a2040 !important; | background-color: #1a2040 !important; | ||
border-top: 2px solid #cc2020 !important; | border-top: 2px solid #cc2020 !important; | ||
| Ligne 176 : | Ligne 190 : | ||
} | } | ||
#footer a, | #footer a, .mw-footer a { | ||
.mw-footer a { | |||
color: #c9b99a !important; | color: #c9b99a !important; | ||
} | } | ||
#footer a:hover, | #footer a:hover, .mw-footer a:hover { | ||
.mw-footer a:hover { | |||
color: #ffffff !important; | color: #ffffff !important; | ||
} | } | ||
Version du 19 juin 2026 à 19:37
/* ============================================================
Thème Ruches v3
Marine #1a2040 | Rouge #cc2020 | Beige #c9b99a
============================================================ */
/* ── Variables progressives Vector 2022 ── */
:root {
--color-progressive: #1a2040;
--color-progressive--hover: #2e3a6e;
--color-progressive--active: #0f1428;
--color-progressive--focus: #1a2040;
--background-color-progressive: #cc2020;
--background-color-progressive--hover: #a01818;
}
/* ── Stratégie : fond global marine, contenu blanc ── */
body,
.mw-page-container,
.mw-page-container-inner {
background-color: #1a2040 !important;
}
/* Whitewash la zone de contenu uniquement */
.mw-content-container,
.mw-body,
#content,
#mw-content-text {
background-color: #ffffff !important;
}
/* ── En-tête ── */
.vector-header,
.mw-header {
background-color: #1a2040 !important;
border-bottom: 2px solid #cc2020 !important;
box-shadow: none !important;
}
/* ── Texte et liens dans les sidebars ── */
.mw-portlet h3,
.mw-portlet-heading,
.vector-menu-heading,
.vector-menu-heading-label,
.mw-portlet-nav h3,
#mw-panel .portal h3 {
color: #c9b99a !important;
border-bottom: 1px solid rgba(201,185,154,0.3) !important;
background: transparent !important;
}
/* Liens sidebar (navigation, TOC, outils) */
.mw-portlet a,
.vector-toc a,
#mw-panel a,
.mw-table-of-contents-container a,
.vector-sidebar a {
color: #c9b99a !important;
}
.mw-portlet a:hover,
.vector-toc a:hover,
#mw-panel a:hover,
.mw-table-of-contents-container a:hover,
.vector-sidebar a:hover {
color: #ffffff !important;
text-decoration: none !important;
}
/* TOC entrée active */
.vector-toc .vector-toc-link--active {
color: #cc2020 !important;
font-weight: bold;
}
/* Boutons [masquer] et texte utilitaire dans les sidebars */
.mw-portlet-hide,
.mw-portlet-body,
.vector-pinnable-header-label {
color: #c9b99a !important;
}
/* ── Liens dans le contenu — MARINE ── */
#mw-content-text a,
.mw-body-content a,
.mw-parser-output a {
color: #1a2040;
}
#mw-content-text a:visited,
.mw-body-content a:visited {
color: #2e3a6e;
}
#mw-content-text a:hover,
.mw-body-content a:hover {
color: #cc2020;
text-decoration: underline;
}
/* Liens rouges = pages non créées (garder rouge pour les distinguer) */
#mw-content-text a.new,
.mw-body-content a.new {
color: #cc2020 !important;
}
#mw-content-text a.new:hover,
.mw-body-content a.new:hover {
color: #a01818 !important;
}
/* ── Onglets de la page (Lire / Modifier / Historique) ── */
.vector-menu-tabs a,
.vector-menu-tabs-legacy a {
color: #555 !important;
}
.vector-menu-tabs .selected a,
.vector-menu-tabs-legacy .selected a {
color: #cc2020 !important;
border-bottom: 2px solid #cc2020 !important;
}
/* ── Liens [modifier] de section ── */
.mw-editsection a {
color: #1a2040 !important;
font-size: 0.85em;
}
/* ── Titres ── */
.firstHeading, h1.firstHeading {
color: #1a2040;
border-bottom: 2px solid #cc2020;
padding-bottom: 0.2em;
}
#mw-content-text h2,
.mw-body-content h2 {
border-bottom: 1px solid #cc2020;
color: #1a2040;
}
#mw-content-text h3,
.mw-body-content h3 {
color: #1a2040;
}
/* ── Boutons ── */
.mw-ui-button.mw-ui-progressive,
.oo-ui-buttonElement-button.oo-ui-flaggedElement-progressive {
background-color: #cc2020 !important;
border-color: #cc2020 !important;
color: #ffffff !important;
}
.mw-ui-button.mw-ui-progressive:hover,
.oo-ui-buttonElement-button.oo-ui-flaggedElement-progressive:hover {
background-color: #a01818 !important;
border-color: #a01818 !important;
}
/* ── Tables ── */
.wikitable > tr > th,
.wikitable > * > tr > th {
background-color: #1a2040;
color: #ffffff;
border-color: #cc2020;
}
.wikitable > tr > td,
.wikitable > * > tr > td {
border-color: #c9b99a;
}
/* ── Catégories ── */
#catlinks {
background-color: #f5f0e8;
border-color: #c9b99a;
color: #1a2040;
}
#catlinks a {
color: #1a2040 !important;
}
/* ── Footer ── */
#footer, .mw-footer {
background-color: #1a2040 !important;
border-top: 2px solid #cc2020 !important;
color: #c9b99a !important;
}
#footer a, .mw-footer a {
color: #c9b99a !important;
}
#footer a:hover, .mw-footer a:hover {
color: #ffffff !important;
}