Aller au contenu

MediaWiki:Common.css

De Corpus Juris︱IED

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  •  Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
/* Le CSS placé ici sera appliqué à tous les habillages. */
#ca-talk {
    display: none !important;
}

/* === HEADER === */
.vector-header {
    background-color: #1a2744 !important;
}
.mw-logo-wordmark, .mw-wiki-title {
    color: #ffffff !important;
    filter: brightness(0) invert(1);
}

/* === ICONES HEADER EN DORÉ === */
.vector-header .mw-ui-icon::before,
.vector-header .mw-ui-icon-element::before {
    filter: invert(72%) sepia(50%) saturate(500%) hue-rotate(5deg) brightness(100%) contrast(95%) !important;
}
.vector-header svg path {
    fill: #c9a84c !important;
}
.vector-header .cdx-button,
.vector-header button {
    color: #c9a84c !important;
}
.vector-user-links a {
    color: #c9a84c !important;
}
.vector-search-box input {
    color: #ffffff !important;
}

/* === FOND PAGE === */
.mw-page-container {
    background-color: #f5f0e8 !important;
}

/* === SIDEBAR GAUCHE === */
.mw-table-of-contents-container,
.vector-column-start {
    background-color: #eae4d8 !important;
}
.vector-menu-content a {
    color: #1a2744 !important;
}
.vector-menu-content a:hover {
    color: #c9a84c !important;
}

/* === PANNEAU APPARENCE (droite) === */
.vector-column-end,
.vector-sticky-header,
.mw-portlet-vector-user-menu-overflow,
.client-js .skin-vector-feature-custom-font-size-clientpref .vector-client-prefs,
.vector-client-prefs {
    background-color: #eae4d8 !important;
    border: 1px solid #c9a84c !important;
    border-radius: 4px !important;
}
.vector-client-prefs label,
.vector-client-prefs legend {
    color: #1a2744 !important;
    font-family: Georgia, serif !important;
}
.vector-client-prefs input[type="radio"]:checked + label::before,
.vector-client-prefs .cdx-radio__input:checked ~ .cdx-radio__icon {
    border-color: #c9a84c !important;
    background-color: #c9a84c !important;
}

/* === TITRES === */
h1.firstHeading {
    font-family: Georgia, serif !important;
    color: #1a2744 !important;
    border-bottom: 2px solid #c9a84c !important;
}
h2, h3, h4 {
    font-family: Georgia, serif !important;
    color: #1a2744 !important;
}

/* === LIENS CONTENU === */
#mw-content-text a {
    color: #1a2744 !important;
}
#mw-content-text a:hover {
    color: #c9a84c !important;
    text-decoration: underline !important;
}