MediaWiki:Common.css
Page de l’interface de MediaWiki
Autres actions
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. */
/* Déclaration de la police Fette Unz Fraktur */
@font-face {
font-family: 'Fette Unz Fraktur';
src: url('/fonts/FetteUNZFraktur.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Fette Unz Fraktur Classic';
src: url('/fonts/FetteClassicUNZFraktur.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Fette Unz Fraktur';
src: url('/fonts/FetteUNZFraktur.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Fette Unz Fraktur Classic';
src: url('/fonts/FetteClassicUNZFraktur.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
/* Variante Regular (400) */
@font-face {
font-family: 'Cinzel Decorative';
src: url('/fonts/CinzelDecorative-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap; /* Améliore le chargement */
}
/* Variante Bold (700) */
@font-face {
font-family: 'Cinzel Decorative';
src: url('/fonts/CinzelDecorative-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* Variante Black (900) */
@font-face {
font-family: 'Cinzel Decorative';
src: url('/fonts/CinzelDecorative-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-display: swap;
}
.citizen-header__logo {
}
/* Discord masqué et flouté */
.discord-masked {
filter: blur(5px);
transition: filter 0.3s ease;
cursor: pointer;
user-select: none;
display: inline-block;
}
.discord-masked:hover {
filter: blur(0px) !important;
}
/* Style pour les blocs de documentation manquante */
.mw-documentation-missing {
background-color: #f8f9fa !important;
color: #333 !important;
border: 1px solid #a2a9b1 !important;
border-radius: 4px;
padding: 15px;
margin: 1em 0;
}
.mw-documentation-missing h2 {
color: #333;
border-bottom: 1px solid #a2a9b1;
padding-bottom: 0.2em;
margin-top: 0;
}
/* Pour le thème sombre (si utilisé) */
.client-nocturne .mw-documentation-missing {
background-color: #2c2c2c !important;
border-color: #444 !important;
color: #ccc !important;
}
.client-nocturne .mw-documentation-missing h2 {
color: #aaa;
border-bottom-color: #444;
}