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

De WikiPerche
Aucun résumé des modifications
Aucun résumé des modifications
 
(59 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
/* Tout CSS placé ici sera chargé avec les pages accédées par les utilisateurs de l’habillage Timeless */
```css id="stable-perche-css"
/* Tout CSS placé ici sera chargé avec les pages accédées par les utilisateurs
  de l'habillage Timeless */


/* ============================================================
  THÈME « PERCHE NOGENTAIS » — BANDEAU LATÉRAL SOMBRE
  ============================================================ */


/* ---------- Réinitialisation globale pour éviter les conflits ---------- */
/* ==========================================================================
  THÈME "PERCHE" — TIMELESS
  Version stable
  ========================================================================== */
 
 
/* ==========================================================================
  1. PALETTE
  ========================================================================== */
 
:root {
    --perche-bg: #F7F3EA;
    --perche-white: #FFFFFF;
    --perche-sand: #E9E0CC;
    --perche-green-dark: #3B5B3E;
    --perche-green: #5C7A4E;
    --perche-green-light: #7A9471;
    --perche-brown: #8A4B2E;
    --perche-brown-dark: #6B3A22;
    --perche-text: #2C2A26;
}
 
 
/* ==========================================================================
  2. FOND GÉNÉRAL
  ========================================================================== */
 
html {
    background-color: #F7F3EA;
}
 
body {
body {
  background: linear-gradient(180deg, #dfe7d4 0%, var(--couleur-fond, #f7f5ef) 340px) !important;
    background-color: #F7F3EA;
  color: var(--couleur-texte, #26251f) !important;
    color: #2C2A26;
    min-height: 100%;
}
 
 
/* ==========================================================================
  3. CONTENU
  ========================================================================== */
 
#content {
    background-color: #FFFFFF;
    color: #2C2A26;
}
 
 
/* ==========================================================================
  4. EN-TÊTE
  ========================================================================== */
 
#p-logo,
.mw-header,
#mw-header-container,
header#mw-header {
    background-color: #3B5B3E !important;
}
 
#p-logo.mw-portlet {
    background-color: #E9E0CC !important;
}
 
.mw-header,
.mw-header a,
#mw-header-container a {
    color: #F7F3EA !important;
}
 
.mw-header a:hover,
.mw-header a:focus,
#mw-header-container a:hover,
#mw-header-container a:focus {
    color: #FFFFFF !important;
}
 
 
/* ==========================================================================
  5. MENU PERSONNEL
  ========================================================================== */
 
#personal-inner.dropdown {
    background-color: #FFFFFF;
    color: #2C2A26 !important;
}
 
#personal-inner.dropdown a {
    color: #2C2A26 !important;
}
 
#personal-inner.dropdown a:visited {
    color: #6B3A22 !important;
}
 
#personal-inner.dropdown a:hover,
#personal-inner.dropdown a:focus {
    background-color: #E9E0CC !important;
    color: #3B5B3E !important;
}
 
 
/* ==========================================================================
  6. PIED DE PAGE
  ========================================================================== */
 
#mw-footer-container,
#footer {
    background-color: #3B5B3E !important;
    color: #F7F3EA !important;
}
 
#footer a,
#mw-footer-container a {
    color: #F7F3EA !important;
}
 
#footer a:hover,
#mw-footer-container a:hover {
    color: #FFFFFF !important;
}
 
 
/* ==========================================================================
  7. SIDEBARS
  ========================================================================== */
 
#mw-site-navigation,
#mw-page-tools,
.sidebar-inner,
#mw-related-navigation {
    background-color: #E9E0CC !important;
    color: #2C2A26;
}
 
.sidebar-chunk {
    background-color: #E9E0CC !important;
    border: none !important;
    box-shadow: none !important;
}
 
 
/* ==========================================================================
  8. LIENS DES SIDEBARS
  ========================================================================== */
 
#mw-site-navigation a,
#mw-site-navigation .mw-portlet-body a,
#mw-related-navigation a,
#mw-related-navigation .mw-portlet-body a,
#mw-page-tools a,
#mw-page-tools .mw-portlet-body a,
.sidebar-inner a,
.sidebar-inner .mw-portlet-body a,
.sidebar-chunk a {
    color: #8A4B2E !important;
}
}


/* ---------- Barre latérale : cibler TOUS les conteneurs ---------- */
#mw-site-navigation a:visited,
.ts-sidebar,
#mw-site-navigation .mw-portlet-body a:visited,
.ts-sidebar .sidebar-inner,
#mw-related-navigation a:visited,
.ts-sidebar .sidebar-chunk,
#mw-related-navigation .mw-portlet-body a:visited,
#site-navigation,
#mw-page-tools a:visited,
#site-tools,
#mw-page-tools .mw-portlet-body a:visited,
#user-tools,
.sidebar-inner a:visited,
.ts-sidebar #site-navigation,
.sidebar-inner .mw-portlet-body a:visited,
.ts-sidebar #site-tools,
.sidebar-chunk a:visited {
.ts-sidebar #user-tools {
    color: #6B3A22 !important;
  background: #1a2018 !important; /* Fond sombre uniforme */
  border: none !important; /* Supprime les bordures indésirables */
  border-radius: 0 !important;
  padding: 0.5em !important;
  margin: 0 !important;
  width: 100% !important; /* Prend toute la largeur disponible */
  box-sizing: border-box !important;
}
}


/* Conteneur principal de la barre latérale */
#mw-site-navigation a:hover,
.ts-sidebar {
#mw-site-navigation a:focus,
  border-right: 1px solid #333b2e !important; /* Bordure droite pour délimiter */
#mw-related-navigation a:hover,
  padding: 1em !important;
#mw-related-navigation a:focus,
  width: 250px !important; /* Largeur fixe */
#mw-page-tools a:hover,
#mw-page-tools a:focus,
.sidebar-inner a:hover,
.sidebar-inner a:focus,
.sidebar-chunk a:hover,
.sidebar-chunk a:focus {
    color: #3B5B3E !important;
}
}


/* ---------- Titres des sections de la barre latérale ---------- */
 
.ts-sidebar .sidebar-chunk h2,
/* ==========================================================================
#site-navigation .sidebar-chunk h2,
  9. LIENS DU CONTENU
#site-tools .sidebar-chunk h2,
  ========================================================================== */
#user-tools .sidebar-chunk h2 {
 
  color: #a9c79b !important;
#content a {
  border-bottom: 2px solid #8c5a2b !important;
    color: #8A4B2E;
  font-size: 1em !important;
  padding-bottom: 0.3em !important;
  margin-bottom: 0.5em !important;
  background: transparent !important;
}
}


/* ---------- Liens dans la barre latérale ---------- */
#content a:visited {
.ts-sidebar a,
    color: #6B3A22;
#site-navigation a,
#site-tools a,
#user-tools a {
  color: #e9e7dc !important;
  text-decoration: none !important;
  background: transparent !important;
}
}
.ts-sidebar a:hover,
 
#site-navigation a:hover,
#content a:hover,
#site-tools a:hover,
#content a:focus {
#user-tools a:hover {
    color: #3B5B3E;
  background: #2a3028 !important;
  border-radius: 4px !important;
  color: #ffffff !important;
}
}


/* ---------- Contenu principal (fond clair) ---------- */
 
#mw-content,
/* ==========================================================================
.mw-body,
  10. RÉFÉRENCES
.mw-body-content {
  ========================================================================== */
  background: #ffffff !important;
 
  border: 1px solid #d9d5c7 !important;
#content .reference a:hover,
  border-radius: 8px !important;
#content .reference a:focus,
  box-shadow: 0 2px 8px rgba(47, 82, 51, 0.1) !important;
#content sup.reference a:hover,
  padding: 1.4em !important;
#content sup.reference a:focus,
  color: #26251f !important;
#content .mw-references a:hover,
  margin-left: 0 !important; /* Évite les marges indésirables */
#content .mw-references a:focus {
    color: #3B5B3E !important;
}
}


/* ---------- Table des matières ---------- */
 
#toc,
/* ==========================================================================
.toc {
  11. BORDURES
  background: transparent !important;
  ========================================================================== */
  border: none !important;
 
  padding-left: 0 !important;
#content,
.sidebar-inner,
#mw-site-navigation {
    border-color: #7A9471 !important;
}
}
#toc::after {
 
  content: none !important;
hr {
    border-color: #7A9471 !important;
}
}


/* ---------- Tableaux ---------- */
 
table.wikitable > caption,
/* ==========================================================================
table.infobox .infobox-title {
  12. ÉLÉMENTS DU HEADER TIMELESS
  background: #2f5233 !important;
  ========================================================================== */
  color: #ffffff !important;
 
  border-radius: 6px 6px 0 0 !important;
#mw-head-base,
#mw-page-base {
    background-color: #3B5B3E !important;
}
 
.mw-header-container,
.mw-header-wrapper {
    background-color: #3B5B3E !important;
}
}


/* ---------- Pied de page ---------- */
 
#footer,
/* ==========================================================================
.footer {
  13. BARRE DE COULEUR
  background: transparent !important;
  ========================================================================== */
  border-top: 2px solid #8c5a2b !important;
 
  color: #55524a !important;
.color-bar {
    background-color: #7A9471 !important;
}
}
#footer a {
 
  color: #2b6cb0 !important;
.color-middle,
.color-middle-container {
    background-color: #5C7A4E !important;
}
}


/* ---------- Liens [modifier] ---------- */
.color-left,
.mw-editsection a {
.color-right {
  color: #8c5a2b !important;
    background-color: #E9E0CC !important;
}
}


/* ---------- Mode sombre ---------- */
 
@media (prefers-color-scheme: dark) {
/* ==========================================================================
  body {
  14. TITRES
    background: linear-gradient(180deg, #171d14 0%, #12160f 340px) !important;
  ========================================================================== */
    color: #e9e7dc !important;
 
  }
/* Structure actuelle de MediaWiki */
  .ts-sidebar,
#content .mw-heading1,
  .ts-sidebar .sidebar-inner,
#content .mw-heading2,
  .ts-sidebar .sidebar-chunk {
#content .mw-heading3,
    background: #12160f !important;
#content .mw-heading4,
    border-right-color: #2a3028 !important;
#content .mw-heading5,
  }
#content .mw-heading6 {
  #mw-content,
     border-bottom-color: #7A9471 !important;
  .mw-body {
    background: #1a2018 !important;
    border-color: #333b2e !important;
    color: #e9e7dc !important;
  }
  .mw-body h1,
  .mw-body h2,
  .mw-body h3 {
     color: #a9c79b !important;
  }
  #footer {
    color: #9aa292 !important;
  }
}
}


/* ---------- Mobile ---------- */
/* Compatibilité avec l'ancienne structure */
@media screen and (max-width: 720px) {
#content h1,
  body {
#content h2,
    background: #f7f5ef !important;
#content h3,
  }
#content h4,
  .ts-sidebar {
#content h5,
    background: #1a2018 !important;
#content h6 {
    border-right: none !important;
     border-bottom-color: #7A9471 !important;
    width: 100% !important;
    padding: 0.5em !important;
  }
  #mw-content,
  .mw-body {
    padding: 0.8em !important;
     border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }
  table.infobox {
    float: none !important;
    width: 100% !important;
    margin: 0 0 1em 0 !important;
  }
}
}
/* ==========================================================================
  15. ONGLETS
  ========================================================================== */
#mw-page-header-links .mw-portlet li.selected,
#mw-page-header-links .mw-portlet li.selected a,
#mw-page-header-links .mw-portlet li a:hover,
#mw-page-header-links .mw-portlet li a:focus {
    border-bottom-color: #7A9471 !important;
}
#p-associated-pages li.selected,
#p-views li.selected {
    border-bottom-color: #7A9471 !important;
}
/* ==========================================================================
  16. SOMMAIRE
  ========================================================================== */
.toctogglecheckbox:not(:checked) + .toctitle .toctogglelabel::after {
    color: #8A4B2E;
}
.toctogglecheckbox:checked + .toctitle .toctogglelabel::after {
    color: #8A4B2E;
}
.toctitle .toctogglelabel:hover::after {
    color: #3B5B3E;
    text-decoration: underline;
    cursor: pointer;
}
/* ==========================================================================
  17. SUGGESTIONS DE RECHERCHE
  ========================================================================== */
.mw-searchSuggest-link:hover,
.mw-searchSuggest-link:hover *,
.mw-searchSuggest-link.mw-searchSuggest-active,
.mw-searchSuggest-link.mw-searchSuggest-active * {
    background-color: #E9E0CC !important;
    color: #2C2A26 !important;
}
.suggestions-result-current,
.suggestions-result-current .mw-searchSuggest-link,
.suggestions-result-current * {
    background-color: #E9E0CC !important;
    color: #2C2A26 !important;
}
/* ==========================================================================
  18. RECHERCHE
  ========================================================================== */
#simpleSearch {
    border-color: #7A9471 !important;
}
#searchInput {
    color: #2C2A26;
}
/* ==========================================================================
  19. TABLEAUX
  ========================================================================== */
.wikitable {
    border-color: #7A9471 !important;
}
.wikitable > tr > th,
.wikitable > * > tr > th {
    background-color: #E9E0CC !important;
    color: #3B5B3E;
    border-color: #7A9471 !important;
}
.wikitable > tr > td,
.wikitable > * > tr > td {
    border-color: #7A9471 !important;
}
/* ==========================================================================
  20. MINIATURES
  ========================================================================== */
.thumbinner {
    background-color: #F7F3EA !important;
    border-color: #7A9471 !important;
}
/* ==========================================================================
  21. CODE
  ========================================================================== */
pre,
code {
    background-color: #F7F3EA;
    color: #2C2A26;
    border-color: #7A9471;
}
/* ==========================================================================
  22. BOUTONS MEDIAWIKI CLASSIQUES
  ========================================================================== */
/*
* On conserve uniquement les boutons MediaWiki classiques.
*
* IMPORTANT :
* Pas de .oo-ui-buttonElement-button global ici.
*/
.mw-ui-button {
    background-color: #5C7A4E !important;
    color: #FFFFFF !important;
    border-color: #3B5B3E !important;
}
.mw-ui-button:hover,
.mw-ui-button:focus {
    background-color: #3B5B3E !important;
    color: #FFFFFF !important;
    border-color: #3B5B3E !important;
}
/* ==========================================================================
  23. VISUALEDITOR — ENREGISTRER LES MODIFICATIONS
  ========================================================================== */
/*
* Ciblage limité au bouton de sauvegarde de VisualEditor.
* On ne touche PAS aux autres boutons OOUI.
*/
.ve-ui-toolbar-group-save .oo-ui-tool-link {
    background-color: #5C7A4E !important;
    background-image: none !important;
    border-color: #3B5B3E !important;
    color: #FFFFFF !important;
}
/* Texte du bouton */
.ve-ui-toolbar-group-save .oo-ui-tool-link .oo-ui-tool-title,
.ve-ui-toolbar-group-save .oo-ui-tool-link .oo-ui-labelElement-label,
.ve-ui-toolbar-group-save .oo-ui-tool-link * {
    color: #FFFFFF !important;
}
/* Survol */
.ve-ui-toolbar-group-save .oo-ui-tool-link:hover {
    background-color: #3B5B3E !important;
    background-image: none !important;
    border-color: #3B5B3E !important;
    color: #FFFFFF !important;
}
.ve-ui-toolbar-group-save .oo-ui-tool-link:hover * {
    color: #FFFFFF !important;
}
/* ==========================================================================
  24. FOCUS
  ========================================================================== */
#content a:focus,
#mw-site-navigation a:focus,
#mw-page-tools a:focus,
#mw-related-navigation a:focus,
.sidebar-inner a:focus {
    outline-color: #5C7A4E;
}
/* ==========================================================================
  FIN
  ========================================================================== */
/*
* Aucune modification de :
* - position
* - display
* - width
* - height
* - margin
* - padding
* - flex
* - grid
* - overflow
*
* Le layout natif de Timeless est conservé.
*/
```

Dernière version du 3 octobre 2026 à 14:11

```css id="stable-perche-css"
/* Tout CSS placé ici sera chargé avec les pages accédées par les utilisateurs
   de l'habillage Timeless */


/* ==========================================================================
   THÈME "PERCHE" — TIMELESS
   Version stable
   ========================================================================== */


/* ==========================================================================
   1. PALETTE
   ========================================================================== */

:root {
    --perche-bg: #F7F3EA;
    --perche-white: #FFFFFF;
    --perche-sand: #E9E0CC;
    --perche-green-dark: #3B5B3E;
    --perche-green: #5C7A4E;
    --perche-green-light: #7A9471;
    --perche-brown: #8A4B2E;
    --perche-brown-dark: #6B3A22;
    --perche-text: #2C2A26;
}


/* ==========================================================================
   2. FOND GÉNÉRAL
   ========================================================================== */

html {
    background-color: #F7F3EA;
}

body {
    background-color: #F7F3EA;
    color: #2C2A26;
    min-height: 100%;
}


/* ==========================================================================
   3. CONTENU
   ========================================================================== */

#content {
    background-color: #FFFFFF;
    color: #2C2A26;
}


/* ==========================================================================
   4. EN-TÊTE
   ========================================================================== */

#p-logo,
.mw-header,
#mw-header-container,
header#mw-header {
    background-color: #3B5B3E !important;
}

#p-logo.mw-portlet {
    background-color: #E9E0CC !important;
}

.mw-header,
.mw-header a,
#mw-header-container a {
    color: #F7F3EA !important;
}

.mw-header a:hover,
.mw-header a:focus,
#mw-header-container a:hover,
#mw-header-container a:focus {
    color: #FFFFFF !important;
}


/* ==========================================================================
   5. MENU PERSONNEL
   ========================================================================== */

#personal-inner.dropdown {
    background-color: #FFFFFF;
    color: #2C2A26 !important;
}

#personal-inner.dropdown a {
    color: #2C2A26 !important;
}

#personal-inner.dropdown a:visited {
    color: #6B3A22 !important;
}

#personal-inner.dropdown a:hover,
#personal-inner.dropdown a:focus {
    background-color: #E9E0CC !important;
    color: #3B5B3E !important;
}


/* ==========================================================================
   6. PIED DE PAGE
   ========================================================================== */

#mw-footer-container,
#footer {
    background-color: #3B5B3E !important;
    color: #F7F3EA !important;
}

#footer a,
#mw-footer-container a {
    color: #F7F3EA !important;
}

#footer a:hover,
#mw-footer-container a:hover {
    color: #FFFFFF !important;
}


/* ==========================================================================
   7. SIDEBARS
   ========================================================================== */

#mw-site-navigation,
#mw-page-tools,
.sidebar-inner,
#mw-related-navigation {
    background-color: #E9E0CC !important;
    color: #2C2A26;
}

.sidebar-chunk {
    background-color: #E9E0CC !important;
    border: none !important;
    box-shadow: none !important;
}


/* ==========================================================================
   8. LIENS DES SIDEBARS
   ========================================================================== */

#mw-site-navigation a,
#mw-site-navigation .mw-portlet-body a,
#mw-related-navigation a,
#mw-related-navigation .mw-portlet-body a,
#mw-page-tools a,
#mw-page-tools .mw-portlet-body a,
.sidebar-inner a,
.sidebar-inner .mw-portlet-body a,
.sidebar-chunk a {
    color: #8A4B2E !important;
}

#mw-site-navigation a:visited,
#mw-site-navigation .mw-portlet-body a:visited,
#mw-related-navigation a:visited,
#mw-related-navigation .mw-portlet-body a:visited,
#mw-page-tools a:visited,
#mw-page-tools .mw-portlet-body a:visited,
.sidebar-inner a:visited,
.sidebar-inner .mw-portlet-body a:visited,
.sidebar-chunk a:visited {
    color: #6B3A22 !important;
}

#mw-site-navigation a:hover,
#mw-site-navigation a:focus,
#mw-related-navigation a:hover,
#mw-related-navigation a:focus,
#mw-page-tools a:hover,
#mw-page-tools a:focus,
.sidebar-inner a:hover,
.sidebar-inner a:focus,
.sidebar-chunk a:hover,
.sidebar-chunk a:focus {
    color: #3B5B3E !important;
}


/* ==========================================================================
   9. LIENS DU CONTENU
   ========================================================================== */

#content a {
    color: #8A4B2E;
}

#content a:visited {
    color: #6B3A22;
}

#content a:hover,
#content a:focus {
    color: #3B5B3E;
}


/* ==========================================================================
   10. RÉFÉRENCES
   ========================================================================== */

#content .reference a:hover,
#content .reference a:focus,
#content sup.reference a:hover,
#content sup.reference a:focus,
#content .mw-references a:hover,
#content .mw-references a:focus {
    color: #3B5B3E !important;
}


/* ==========================================================================
   11. BORDURES
   ========================================================================== */

#content,
.sidebar-inner,
#mw-site-navigation {
    border-color: #7A9471 !important;
}

hr {
    border-color: #7A9471 !important;
}


/* ==========================================================================
   12. ÉLÉMENTS DU HEADER TIMELESS
   ========================================================================== */

#mw-head-base,
#mw-page-base {
    background-color: #3B5B3E !important;
}

.mw-header-container,
.mw-header-wrapper {
    background-color: #3B5B3E !important;
}


/* ==========================================================================
   13. BARRE DE COULEUR
   ========================================================================== */

.color-bar {
    background-color: #7A9471 !important;
}

.color-middle,
.color-middle-container {
    background-color: #5C7A4E !important;
}

.color-left,
.color-right {
    background-color: #E9E0CC !important;
}


/* ==========================================================================
   14. TITRES
   ========================================================================== */

/* Structure actuelle de MediaWiki */
#content .mw-heading1,
#content .mw-heading2,
#content .mw-heading3,
#content .mw-heading4,
#content .mw-heading5,
#content .mw-heading6 {
    border-bottom-color: #7A9471 !important;
}

/* Compatibilité avec l'ancienne structure */
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    border-bottom-color: #7A9471 !important;
}


/* ==========================================================================
   15. ONGLETS
   ========================================================================== */

#mw-page-header-links .mw-portlet li.selected,
#mw-page-header-links .mw-portlet li.selected a,
#mw-page-header-links .mw-portlet li a:hover,
#mw-page-header-links .mw-portlet li a:focus {
    border-bottom-color: #7A9471 !important;
}

#p-associated-pages li.selected,
#p-views li.selected {
    border-bottom-color: #7A9471 !important;
}


/* ==========================================================================
   16. SOMMAIRE
   ========================================================================== */

.toctogglecheckbox:not(:checked) + .toctitle .toctogglelabel::after {
    color: #8A4B2E;
}

.toctogglecheckbox:checked + .toctitle .toctogglelabel::after {
    color: #8A4B2E;
}

.toctitle .toctogglelabel:hover::after {
    color: #3B5B3E;
    text-decoration: underline;
    cursor: pointer;
}


/* ==========================================================================
   17. SUGGESTIONS DE RECHERCHE
   ========================================================================== */

.mw-searchSuggest-link:hover,
.mw-searchSuggest-link:hover *,
.mw-searchSuggest-link.mw-searchSuggest-active,
.mw-searchSuggest-link.mw-searchSuggest-active * {
    background-color: #E9E0CC !important;
    color: #2C2A26 !important;
}

.suggestions-result-current,
.suggestions-result-current .mw-searchSuggest-link,
.suggestions-result-current * {
    background-color: #E9E0CC !important;
    color: #2C2A26 !important;
}


/* ==========================================================================
   18. RECHERCHE
   ========================================================================== */

#simpleSearch {
    border-color: #7A9471 !important;
}

#searchInput {
    color: #2C2A26;
}


/* ==========================================================================
   19. TABLEAUX
   ========================================================================== */

.wikitable {
    border-color: #7A9471 !important;
}

.wikitable > tr > th,
.wikitable > * > tr > th {
    background-color: #E9E0CC !important;
    color: #3B5B3E;
    border-color: #7A9471 !important;
}

.wikitable > tr > td,
.wikitable > * > tr > td {
    border-color: #7A9471 !important;
}


/* ==========================================================================
   20. MINIATURES
   ========================================================================== */

.thumbinner {
    background-color: #F7F3EA !important;
    border-color: #7A9471 !important;
}


/* ==========================================================================
   21. CODE
   ========================================================================== */

pre,
code {
    background-color: #F7F3EA;
    color: #2C2A26;
    border-color: #7A9471;
}


/* ==========================================================================
   22. BOUTONS MEDIAWIKI CLASSIQUES
   ========================================================================== */

/*
 * On conserve uniquement les boutons MediaWiki classiques.
 *
 * IMPORTANT :
 * Pas de .oo-ui-buttonElement-button global ici.
 */

.mw-ui-button {
    background-color: #5C7A4E !important;
    color: #FFFFFF !important;
    border-color: #3B5B3E !important;
}

.mw-ui-button:hover,
.mw-ui-button:focus {
    background-color: #3B5B3E !important;
    color: #FFFFFF !important;
    border-color: #3B5B3E !important;
}


/* ==========================================================================
   23. VISUALEDITOR — ENREGISTRER LES MODIFICATIONS
   ========================================================================== */

/*
 * Ciblage limité au bouton de sauvegarde de VisualEditor.
 * On ne touche PAS aux autres boutons OOUI.
 */

.ve-ui-toolbar-group-save .oo-ui-tool-link {
    background-color: #5C7A4E !important;
    background-image: none !important;
    border-color: #3B5B3E !important;
    color: #FFFFFF !important;
}

/* Texte du bouton */
.ve-ui-toolbar-group-save .oo-ui-tool-link .oo-ui-tool-title,
.ve-ui-toolbar-group-save .oo-ui-tool-link .oo-ui-labelElement-label,
.ve-ui-toolbar-group-save .oo-ui-tool-link * {
    color: #FFFFFF !important;
}

/* Survol */
.ve-ui-toolbar-group-save .oo-ui-tool-link:hover {
    background-color: #3B5B3E !important;
    background-image: none !important;
    border-color: #3B5B3E !important;
    color: #FFFFFF !important;
}

.ve-ui-toolbar-group-save .oo-ui-tool-link:hover * {
    color: #FFFFFF !important;
}


/* ==========================================================================
   24. FOCUS
   ========================================================================== */

#content a:focus,
#mw-site-navigation a:focus,
#mw-page-tools a:focus,
#mw-related-navigation a:focus,
.sidebar-inner a:focus {
    outline-color: #5C7A4E;
}


/* ==========================================================================
   FIN
   ========================================================================== */

/*
 * Aucune modification de :
 * - position
 * - display
 * - width
 * - height
 * - margin
 * - padding
 * - flex
 * - grid
 * - overflow
 *
 * Le layout natif de Timeless est conservé.
 */
```