« MediaWiki:Common.css » : différence entre les versions
aucun résumé des modifications
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 2 905 : | Ligne 2 905 : | ||
line-height: 1.25; | line-height: 1.25; | ||
border-bottom: none; | border-bottom: none; | ||
} | |||
/* ============================================================ | |||
STYLE DES ONGLETS D'ACTION (Vector 2022) | |||
À AJOUTER à la fin de MediaWiki:Common.css | |||
Onglets : Page/Discussion + Lire/Modifier/Historique | |||
Lignes de séparation sous le titre et sous les onglets | |||
NOTE : la page d'accueil est exclue. | |||
============================================================ */ | |||
/* --- Ligne sous le titre (au-dessus des onglets) : dorée --- */ | |||
body:not(.page-Accueil) .vector-header-container .mw-header, | |||
body:not(.page-Accueil) .vector-page-toolbar { | |||
border-bottom: 3px solid #C49A2A; | |||
} | |||
/* --- Ligne sous les onglets (barre inférieure) --- */ | |||
body:not(.page-Accueil) .vector-page-toolbar-container { | |||
border-bottom-color: #D0C4DC; | |||
} | |||
/* --- Onglets : texte et style de base --- */ | |||
body:not(.page-Accueil) .mw-list-item a, | |||
body:not(.page-Accueil) .vector-tab-noicon a { | |||
font-family: 'Source Sans 3', sans-serif; | |||
font-size: 0.9em; | |||
color: #574B6B; | |||
} | |||
/* --- Onglet actif : soulignement doré --- */ | |||
body:not(.page-Accueil) .mw-list-item.selected a, | |||
body:not(.page-Accueil) .vector-tab-noicon.selected a { | |||
color: #2D1B4E; | |||
font-weight: 600; | |||
border-bottom: 2px solid #C49A2A; | |||
} | |||
/* --- Onglet au survol --- */ | |||
body:not(.page-Accueil) .mw-list-item a:hover, | |||
body:not(.page-Accueil) .vector-tab-noicon a:hover { | |||
color: #2D1B4E; | |||
border-bottom: 2px solid #D0C4DC; | |||
} | |||
/* --- Onglet lien rouge (Discussion inexistante) --- */ | |||
body:not(.page-Accueil) .mw-list-item.new a, | |||
body:not(.page-Accueil) .vector-tab-noicon.new a { | |||
color: #a04030; | |||
} | |||
body:not(.page-Accueil) .mw-list-item.new a:hover, | |||
body:not(.page-Accueil) .vector-tab-noicon.new a:hover { | |||
color: #c05040; | |||
} | } | ||