« MediaWiki:Common.css » : différence entre les versions

De WikiRuches
(Thème Ruches v10 — carrés blancs header corrigés)
(Thème Ruches v9 — carrés blancs header corrigés)
Ligne 1 : Ligne 1 :
/* ============================================================
/* ============================================================
   Thème Ruches v10
   Thème Ruches v9
   Marine #1a2040 | Rouge #cc2020 | Beige #c9b99a
   Marine #1a2040 | Rouge #cc2020 | Beige #c9b99a
   ============================================================ */
   ============================================================ */
Ligne 249 : Ligne 249 :
/* ── 11. Titres ── */
/* ── 11. Titres ── */
.firstHeading, h1.firstHeading {
.firstHeading, h1.firstHeading {
     color: #c9b99a !important;
     color: #ffffff !important;
     border-bottom: 2px solid #cc2020;
     border-bottom: 2px solid #cc2020;
     padding-bottom: 0.2em;
     padding-bottom: 0.2em;
Ligne 255 : Ligne 255 :


#mw-content-text h2, .mw-body-content h2 {
#mw-content-text h2, .mw-body-content h2 {
     border-bottom: 1px solid rgba(201,185,154,0.4);
     border-bottom: 1px solid #cc2020;
     color: #c9b99a !important;
     color: #ffffff !important;
}
}


Ligne 264 : Ligne 264 :
.mw-body-content h5, .mw-body-content h6 {
.mw-body-content h5, .mw-body-content h6 {
     color: #c9b99a !important;
     color: #c9b99a !important;
}
/* ── 11b. Dégradés bas de colonnes (sidebars sticky) ── */
.vector-column-start::after,
.vector-column-end::after,
.vector-toc-container::after,
.vector-page-tools-container::after,
.mw-table-of-contents-container::after {
    background: linear-gradient(to bottom, transparent, #1a2040) !important;
}
/* ── 11c. Deuxième trait rouge (barre sous les onglets) → marine ── */
.vector-page-toolbar,
.vector-body-before-content {
    border-bottom: 2px solid #1a2040 !important;
    border-top: 2px solid #1a2040 !important;
}
.mw-body {
    border-top: 2px solid #1a2040 !important;
}
/* ── 11d. Template Proposition et boîtes blanches ── */
.wikitable,
table.infobox,
.mw-parser-output table {
    background-color: #0d1428 !important;
    color: #c9b99a !important;
    border-color: rgba(201,185,154,0.4) !important;
}
.mw-parser-output table td,
.mw-parser-output table th {
    background-color: #0d1428 !important;
    color: #c9b99a !important;
    border-color: rgba(201,185,154,0.4) !important;
}
}



Version du 19 juin 2026 à 22:58

/* ============================================================
   Thème Ruches v9
   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 ── */
.vector-header-container,
.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 — fond blanc explicite */
.cdx-search-input__end-button,
.vector-search-box .cdx-button {
    background-color: #ffffff !important;
    color: #202122 !important;
    border-color: #c9b99a !important;
    box-shadow: none !important;
}

/* Icônes de notifications — marine */
.vector-user-links .mw-echo-notifications-badge,
.mw-echo-ui-notificationsBadgeButtonWidget,
#pt-notifications-alert,
#pt-notifications-notice {
    background-color: #1a2040 !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 — marine ── */
.mw-content-container,
.mw-body,
#content,
#mw-content-text,
.mw-parser-output,
.mw-body-content {
    background-color: #1a2040 !important;
    color: #c9b99a !important;
}

/* Texte courant du contenu */
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output dt,
.mw-parser-output dd,
.mw-parser-output td,
.mw-parser-output th,
.mw-parser-output caption,
.mw-parser-output label {
    color: #c9b99a !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 — beige / rouge au survol ── */
#mw-content-text a,
.mw-body-content a,
.mw-parser-output a {
    color: #c9b99a !important;
    text-decoration: underline;
}

#mw-content-text a:visited,
.mw-body-content a:visited {
    color: #a89880 !important;
}

#mw-content-text a:hover,
.mw-body-content a:hover {
    color: #ffffff !important;
    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: #c9b99a !important;
}

.vector-menu-tabs .selected a,
.vector-menu-tabs-legacy .selected a {
    color: #ffffff !important;
    border-bottom: 2px solid #cc2020 !important;
}

/* ── 10. Liens [modifier] de section ── */
.mw-editsection a {
    color: #c9b99a !important;
    font-size: 0.85em;
}

/* ── 11. Titres ── */
.firstHeading, h1.firstHeading {
    color: #ffffff !important;
    border-bottom: 2px solid #cc2020;
    padding-bottom: 0.2em;
}

#mw-content-text h2, .mw-body-content h2 {
    border-bottom: 1px solid #cc2020;
    color: #ffffff !important;
}

#mw-content-text h3, #mw-content-text h4,
#mw-content-text h5, #mw-content-text h6,
.mw-body-content h3, .mw-body-content h4,
.mw-body-content h5, .mw-body-content h6 {
    color: #c9b99a !important;
}

/* ── 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: #0d1428 !important;
    color: #ffffff !important;
    border-color: #cc2020 !important;
}

.wikitable > tr > td, .wikitable > * > tr > td {
    border-color: rgba(201,185,154,0.4) !important;
    background-color: #1e2a4a !important;
    color: #c9b99a !important;
}

/* ── 14. Catégories ── */
#catlinks {
    background-color: #0d1428 !important;
    border-color: rgba(201,185,154,0.4) !important;
    color: #c9b99a !important;
}
#catlinks a { color: #c9b99a !important; }
#catlinks a:hover { color: #ffffff !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; }