« MediaWiki:Common.css » : différence entre les versions
(Thème Ruches v7 — carrés blancs header corrigés) |
(Thème Ruches v8 — carrés blancs header corrigés) |
||
| Ligne 1 : | Ligne 1 : | ||
/* ============================================================ | /* ============================================================ | ||
Thème Ruches | Thème Ruches v8 | ||
Marine #1a2040 | Rouge #cc2020 | Beige #c9b99a | Marine #1a2040 | Rouge #cc2020 | Beige #c9b99a | ||
============================================================ */ | ============================================================ */ | ||
| Ligne 19 : | Ligne 19 : | ||
} | } | ||
/* | /* Enfants du header — marine */ | ||
.vector-header-start, | .vector-header-start, | ||
.vector-header-end, | .vector-header-end, | ||
| Ligne 25 : | Ligne 25 : | ||
.mw-logo, | .mw-logo, | ||
.mw-logo a, | .mw-logo a, | ||
.mw-logo-container, | |||
.mw-logo-icon, | .mw-logo-icon, | ||
.mw-logo-wordmark, | .mw-logo-wordmark, | ||
.mw-logo-tagline, | .mw-logo-tagline, | ||
#p-logo, | #p-logo, | ||
#p-logo a, | #p-logo a { | ||
background-color: #1a2040 !important; | |||
border-bottom: none !important; | |||
box-shadow: none !important; | |||
} | |||
/* Search box — conteneur marine, input blanc, bouton restauré */ | |||
.vector-search-box, | .vector-search-box, | ||
.vector-search-box-vue, | .vector-search-box-vue, | ||
.vector-search-box-form, | .vector-search-box-form, | ||
.cdx-search-input, | .cdx-search-input, | ||
.cdx- | .cdx-text-input { | ||
background-color: #1a2040 !important; | background-color: #1a2040 !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
.cdx-text-input__input, | .cdx-text-input__input, | ||
#searchInput, | #searchInput, | ||
| Ligne 47 : | Ligne 51 : | ||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
color: #202122 !important; | color: #202122 !important; | ||
border-color: #c9b99a !important; | |||
} | |||
/* Bouton recherche — on restaure l'apparence par défaut */ | |||
.cdx-search-input__end-button, | |||
.cdx-button, | |||
.vector-search-box-show-thumbnail { | |||
background-color: initial !important; | |||
color: initial !important; | |||
box-shadow: initial !important; | |||
} | } | ||
Version du 19 juin 2026 à 22:41
/* ============================================================
Thème Ruches v8
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 — marine + ligne rouge (seulement sur l'élément racine) ── */
.vector-header,
.mw-header {
background-color: #1a2040 !important;
border-bottom: 2px solid #cc2020 !important;
box-shadow: none !important;
}
/* Enfants du header — marine */
.vector-header-start,
.vector-header-end,
.vector-header-logo,
.mw-logo,
.mw-logo a,
.mw-logo-container,
.mw-logo-icon,
.mw-logo-wordmark,
.mw-logo-tagline,
#p-logo,
#p-logo a {
background-color: #1a2040 !important;
border-bottom: none !important;
box-shadow: none !important;
}
/* Search box — conteneur marine, input blanc, bouton restauré */
.vector-search-box,
.vector-search-box-vue,
.vector-search-box-form,
.cdx-search-input,
.cdx-text-input {
background-color: #1a2040 !important;
box-shadow: none !important;
}
.cdx-text-input__input,
#searchInput,
input[name="search"] {
background-color: #ffffff !important;
color: #202122 !important;
border-color: #c9b99a !important;
}
/* Bouton recherche — on restaure l'apparence par défaut */
.cdx-search-input__end-button,
.cdx-button,
.vector-search-box-show-thumbnail {
background-color: initial !important;
color: initial !important;
box-shadow: initial !important;
}
/* ── 3. Zone Admin/utilisateur — rouge ── */
.vector-user-links,
.vector-user-links-main,
.vector-user-menu,
.vector-user-menu-overflow,
.vector-user-menu-dropdown,
#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; }