« MediaWiki:Common.css » : différence entre les versions
(Thème Ruches v5 — corps + sidebars marines, Admin rouge) |
(Thème Ruches v6 — sélecteurs précis, onglets exclus) |
||
| Ligne 1 : | Ligne 1 : | ||
/* ============================================================ | /* ============================================================ | ||
Thème Ruches | Thème Ruches v6 | ||
Marine #1a2040 | Rouge #cc2020 | Beige #c9b99a | Marine #1a2040 | Rouge #cc2020 | Beige #c9b99a | ||
============================================================ */ | ============================================================ */ | ||
/* ── 1. Corps | /* ── 1. Corps global — marine ── */ | ||
body, | body, | ||
.mw-page-container, | .mw-page-container, | ||
| Ligne 11 : | Ligne 11 : | ||
} | } | ||
/* ── 2. | /* ── 2. En-tête complet — marine ── */ | ||
/* | .vector-header, | ||
.mw-portlet, | .mw-header, | ||
.mw-portlet- | .vector-header-start, | ||
.mw-portlet- | .vector-header-end, | ||
/* | .mw-logo, | ||
#p-logo, | |||
.vector-header-logo { | |||
background-color: #1a2040 !important; | |||
border-bottom: 2px solid #cc2020 !important; | |||
box-shadow: none !important; | |||
} | |||
/* ── 3. Zone Admin/utilisateur — rouge ── */ | |||
.vector-user-links, | |||
.vector-user-links-main, | |||
.vector-user-menu, | |||
.vector-user-menu-overflow, | |||
#pt-userpage, | |||
.mw-portlet-personal, | |||
#p-personal { | |||
background-color: #cc2020 !important; | |||
border-radius: 4px; | |||
border-bottom: none !important; | |||
} | |||
.vector-user-links a, | |||
.vector-user-links button, | |||
.vector-user-menu a, | |||
.mw-portlet-personal a, | |||
#p-personal a, | |||
.vector-user-links .mw-ui-icon::before { | |||
color: #ffffff !important; | |||
} | |||
.vector-user-links a:hover, | |||
.mw-portlet-personal a:hover { | |||
color: #ffe0e0 !important; | |||
text-decoration: none !important; | |||
} | |||
/* ── 4. Sidebars — marine (portlets spécifiques, PAS les onglets de page) ── */ | |||
#p-navigation, | #p-navigation, | ||
#p-tb, | #p-tb, | ||
#p-lang, | |||
#p-coll-print_export, | #p-coll-print_export, | ||
.vector-main-menu, | .vector-main-menu, | ||
#vector-main-menu, | #vector-main-menu, | ||
.vector-main-menu-container, | .vector-main-menu-container, | ||
#vector-main-menu-pinned-container, | #vector-main-menu-pinned-container, | ||
.vector-toc, | .vector-toc, | ||
#vector-toc, | #vector-toc, | ||
| Ligne 33 : | Ligne 67 : | ||
.mw-table-of-contents-container, | .mw-table-of-contents-container, | ||
#vector-toc-pinned-container, | #vector-toc-pinned-container, | ||
.vector-page-tools, | .vector-page-tools, | ||
#vector-page-tools, | #vector-page-tools, | ||
.vector-page-tools-container, | .vector-page-tools-container, | ||
#vector-page-tools-pinned-container, | #vector-page-tools-pinned-container, | ||
.vector-column-start, | .vector-column-start, | ||
.vector-column-end, | .vector-column-end, | ||
| Ligne 44 : | Ligne 76 : | ||
#mw-panel { | #mw-panel { | ||
background-color: #1a2040 !important; | background-color: #1a2040 !important; | ||
border-bottom: none !important; | |||
} | |||
/* ── 5. Onglets de page — fond transparent (héritent du blanc du contenu) ── */ | |||
.mw-portlet-namespaces, | |||
.mw-portlet-views, | |||
.mw-portlet-cactions, | |||
.vector-menu-tabs, | |||
.vector-menu-tabs-legacy, | |||
#p-namespaces, | |||
#p-views, | |||
#p-cactions { | |||
background-color: transparent !important; | |||
border-bottom: none !important; | |||
} | } | ||
/* ── | /* ── 6. Zone de contenu — blanc ── */ | ||
.mw-content-container, | .mw-content-container, | ||
.mw-body, | .mw-body, | ||
| Ligne 55 : | Ligne 101 : | ||
} | } | ||
/* ── | /* ── 7. Texte dans les sidebars — beige ── */ | ||
#p-navigation h3, #p-tb h3, | |||
#p- | |||
#p- | |||
.mw-portlet-heading, | .mw-portlet-heading, | ||
.vector-menu-heading, | .vector-menu-heading, | ||
.vector-menu-heading-label, | .vector-menu-heading-label, | ||
.vector-pinnable-header-label, | .vector-pinnable-header-label, | ||
.vector-toc-heading { | .vector-toc-heading { | ||
color: #c9b99a !important; | color: #c9b99a !important; | ||
| Ligne 100 : | Ligne 114 : | ||
/* Liens sidebar */ | /* Liens sidebar */ | ||
#p-navigation a, #p-tb a, | |||
.vector-toc a, | .vector-toc a, | ||
.vector-main-menu a, | .vector-main-menu a, | ||
.vector-column-start a, | .vector-column-start a, | ||
.vector-column-end a { | .vector-column-end a, | ||
#mw-panel a { | |||
color: #c9b99a !important; | color: #c9b99a !important; | ||
} | } | ||
#p-navigation a:hover, #p-tb a:hover, | |||
.vector-toc a:hover, | .vector-toc a:hover, | ||
.vector-column-start a:hover, | .vector-column-start a:hover, | ||
| Ligne 123 : | Ligne 136 : | ||
} | } | ||
.mw-portlet-hide, | .mw-portlet-hide, | ||
.vector-pinnable-header-toggle-button { | .vector-pinnable-header-toggle-button { | ||
| Ligne 129 : | Ligne 141 : | ||
} | } | ||
/* ── | /* ── 8. Liens dans le contenu — marine ── */ | ||
#mw-content-text a, | #mw-content-text a, | ||
.mw-body-content a, | .mw-body-content a, | ||
| Ligne 153 : | Ligne 165 : | ||
} | } | ||
/* ── | /* ── 9. Onglets (Lire / Modifier / Historique) ── */ | ||
.vector-menu-tabs a, | .vector-menu-tabs a, | ||
.vector-menu-tabs-legacy a { | .vector-menu-tabs-legacy a { | ||
| Ligne 160 : | Ligne 172 : | ||
.vector-menu-tabs .selected a, | .vector-menu-tabs .selected a, | ||
.vector-menu-tabs-legacy .selected | .vector-menu-tabs-legacy .selected a { | ||
color: #cc2020 !important; | color: #cc2020 !important; | ||
border-bottom: 2px solid #cc2020 !important; | border-bottom: 2px solid #cc2020 !important; | ||
} | } | ||
/* ── | /* ── 10. Liens [modifier] de section ── */ | ||
.mw-editsection a { | .mw-editsection a { | ||
color: #1a2040 !important; | color: #1a2040 !important; | ||
| Ligne 172 : | Ligne 183 : | ||
} | } | ||
/* ── | /* ── 11. Titres ── */ | ||
.firstHeading, h1.firstHeading { | .firstHeading, h1.firstHeading { | ||
color: #1a2040; | color: #1a2040; | ||
| Ligne 188 : | Ligne 199 : | ||
} | } | ||
/* ── | /* ── 12. 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 196 : | Ligne 207 : | ||
} | } | ||
/* ── 13. Tables ── */ | |||
/* ── | |||
.wikitable > tr > th, .wikitable > * > tr > th { | .wikitable > tr > th, .wikitable > * > tr > th { | ||
background-color: #1a2040; | background-color: #1a2040; | ||
| Ligne 215 : | Ligne 220 : | ||
} | } | ||
/* ── | /* ── 14. Catégories ── */ | ||
#catlinks { | #catlinks { | ||
background-color: #f5f0e8 !important; | background-color: #f5f0e8 !important; | ||
| Ligne 221 : | Ligne 226 : | ||
color: #1a2040 !important; | color: #1a2040 !important; | ||
} | } | ||
#catlinks a { color: #1a2040 !important; } | #catlinks a { color: #1a2040 !important; } | ||
/* ── | /* ── 15. Footer ── */ | ||
#footer, .mw-footer { | #footer, .mw-footer { | ||
background-color: #1a2040 !important; | background-color: #1a2040 !important; | ||
| Ligne 230 : | Ligne 234 : | ||
color: #c9b99a !important; | color: #c9b99a !important; | ||
} | } | ||
#footer a, .mw-footer a { color: #c9b99a !important; } | #footer a, .mw-footer a { color: #c9b99a !important; } | ||
#footer a:hover, .mw-footer a:hover { color: #ffffff !important; } | #footer a:hover, .mw-footer a:hover { color: #ffffff !important; } | ||
Version du 19 juin 2026 à 22:24
/* ============================================================
Thème Ruches v6
Marine #1a2040 | Rouge #cc2020 | Beige #c9b99a
============================================================ */
/* ── 1. Corps global — marine ── */
body,
.mw-page-container,
.mw-page-container-inner {
background-color: #1a2040 !important;
}
/* ── 2. En-tête complet — marine ── */
.vector-header,
.mw-header,
.vector-header-start,
.vector-header-end,
.mw-logo,
#p-logo,
.vector-header-logo {
background-color: #1a2040 !important;
border-bottom: 2px solid #cc2020 !important;
box-shadow: none !important;
}
/* ── 3. Zone Admin/utilisateur — rouge ── */
.vector-user-links,
.vector-user-links-main,
.vector-user-menu,
.vector-user-menu-overflow,
#pt-userpage,
.mw-portlet-personal,
#p-personal {
background-color: #cc2020 !important;
border-radius: 4px;
border-bottom: none !important;
}
.vector-user-links a,
.vector-user-links button,
.vector-user-menu a,
.mw-portlet-personal a,
#p-personal a,
.vector-user-links .mw-ui-icon::before {
color: #ffffff !important;
}
.vector-user-links a:hover,
.mw-portlet-personal a:hover {
color: #ffe0e0 !important;
text-decoration: none !important;
}
/* ── 4. Sidebars — marine (portlets spécifiques, PAS les onglets de page) ── */
#p-navigation,
#p-tb,
#p-lang,
#p-coll-print_export,
.vector-main-menu,
#vector-main-menu,
.vector-main-menu-container,
#vector-main-menu-pinned-container,
.vector-toc,
#vector-toc,
.vector-toc-inner,
.vector-toc-container,
.mw-table-of-contents-container,
#vector-toc-pinned-container,
.vector-page-tools,
#vector-page-tools,
.vector-page-tools-container,
#vector-page-tools-pinned-container,
.vector-column-start,
.vector-column-end,
.vector-sidebar-inner,
#mw-panel {
background-color: #1a2040 !important;
border-bottom: none !important;
}
/* ── 5. Onglets de page — fond transparent (héritent du blanc du contenu) ── */
.mw-portlet-namespaces,
.mw-portlet-views,
.mw-portlet-cactions,
.vector-menu-tabs,
.vector-menu-tabs-legacy,
#p-namespaces,
#p-views,
#p-cactions {
background-color: transparent !important;
border-bottom: none !important;
}
/* ── 6. Zone de contenu — blanc ── */
.mw-content-container,
.mw-body,
#content,
#mw-content-text,
.mw-parser-output {
background-color: #ffffff !important;
}
/* ── 7. Texte dans les sidebars — beige ── */
#p-navigation h3, #p-tb h3,
.mw-portlet-heading,
.vector-menu-heading,
.vector-menu-heading-label,
.vector-pinnable-header-label,
.vector-toc-heading {
color: #c9b99a !important;
border-bottom: 1px solid rgba(201,185,154,0.3) !important;
background: transparent !important;
}
/* Liens sidebar */
#p-navigation a, #p-tb a,
.vector-toc a,
.vector-main-menu a,
.vector-column-start a,
.vector-column-end a,
#mw-panel a {
color: #c9b99a !important;
}
#p-navigation a:hover, #p-tb a:hover,
.vector-toc a:hover,
.vector-column-start a:hover,
.vector-column-end a:hover {
color: #ffffff !important;
text-decoration: none !important;
}
.vector-toc .vector-toc-link--active {
color: #cc2020 !important;
font-weight: bold;
}
.mw-portlet-hide,
.vector-pinnable-header-toggle-button {
color: #c9b99a !important;
}
/* ── 8. 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;
}
/* Pages non créées : rouge */
#mw-content-text a.new,
.mw-body-content a.new {
color: #cc2020 !important;
}
/* ── 9. Onglets (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;
}
/* ── 10. Liens [modifier] de section ── */
.mw-editsection a {
color: #1a2040 !important;
font-size: 0.85em;
}
/* ── 11. 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;
}
/* ── 12. 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;
}
/* ── 13. Tables ── */
.wikitable > tr > th, .wikitable > * > tr > th {
background-color: #1a2040;
color: #ffffff;
border-color: #cc2020;
}
.wikitable > tr > td, .wikitable > * > tr > td {
border-color: #c9b99a;
background-color: #ffffff;
color: #202122;
}
/* ── 14. Catégories ── */
#catlinks {
background-color: #f5f0e8 !important;
border-color: #c9b99a !important;
color: #1a2040 !important;
}
#catlinks a { color: #1a2040 !important; }
/* ── 15. 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; }