« MediaWiki:Common.css » : différence entre les versions
Page de l’interface de MediaWiki
Autres actions
m FetteClassicUNZFraktur |
m Cinzel font |
||
| Ligne 13 : | Ligne 13 : | ||
src: url('/fonts/FetteClassicUNZFraktur.ttf') format('truetype'); | src: url('/fonts/FetteClassicUNZFraktur.ttf') format('truetype'); | ||
font-weight: normal; | 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-style: normal; | ||
font-display: swap; | font-display: swap; | ||
Version du 12 novembre 2025 à 13:26
/* 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;
}