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