« MediaWiki:Common.css » : différence entre les versions
Page de l’interface de MediaWiki
Autres actions
m FetteClassicUNZFraktur |
mAucun résumé des modifications |
||
| (Une version intermédiaire par le même utilisateur non affichée) | |||
| Ligne 1 : | Ligne 1 : | ||
/* Le CSS placé ici sera appliqué à tous les habillages. */ | /* Le CSS placé ici sera appliqué à tous les habillages. */ | ||
/* | /* ===================================================== | ||
DÉCLARATIONS DE POLICES GLOBALES | |||
===================================================== */ | |||
/* Cinzel Decorative - Police décorative pour lettrines */ | |||
@font-face { | |||
font-family: 'Cinzel Decorative'; | |||
src: url('/fonts/CinzelDecorative-Regular.woff2') format('woff2'), | |||
url('/fonts/CinzelDecorative-Regular.ttf') format('truetype'); | |||
font-weight: 400; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: 'Cinzel Decorative'; | |||
src: url('/fonts/CinzelDecorative-Bold.woff2') format('woff2'), | |||
url('/fonts/CinzelDecorative-Bold.ttf') format('truetype'); | |||
font-weight: 700; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: 'Cinzel Decorative'; | |||
src: url('/fonts/CinzelDecorative-Black.woff2') format('woff2'), | |||
url('/fonts/CinzelDecorative-Black.ttf') format('truetype'); | |||
font-weight: 900; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
/* Fette Unz Fraktur - Police gothique pour lettrines médiévales */ | |||
@font-face { | @font-face { | ||
font-family: 'Fette Unz Fraktur'; | font-family: 'Fette Unz Fraktur'; | ||
src: url('/fonts/FetteUNZFraktur.ttf') format('truetype'); | src: url('/fonts/FetteUNZFraktur.woff2') format('woff2'), | ||
url('/fonts/FetteUNZFraktur.ttf') format('truetype'); | |||
font-weight: normal; | font-weight: normal; | ||
font-style: normal; | font-style: normal; | ||
| Ligne 11 : | Ligne 44 : | ||
@font-face { | @font-face { | ||
font-family: 'Fette Unz Fraktur Classic'; | font-family: 'Fette Unz Fraktur Classic'; | ||
src: url('/fonts/FetteClassicUNZFraktur.ttf') format('truetype'); | src: url('/fonts/FetteClassicUNZFraktur.woff2') format('woff2'), | ||
url('/fonts/FetteClassicUNZFraktur.ttf') format('truetype'); | |||
font-weight: normal; | font-weight: normal; | ||
font-style: normal; | font-style: normal; | ||
Dernière version du 12 novembre 2025 à 13:29
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* =====================================================
DÉCLARATIONS DE POLICES GLOBALES
===================================================== */
/* Cinzel Decorative - Police décorative pour lettrines */
@font-face {
font-family: 'Cinzel Decorative';
src: url('/fonts/CinzelDecorative-Regular.woff2') format('woff2'),
url('/fonts/CinzelDecorative-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Cinzel Decorative';
src: url('/fonts/CinzelDecorative-Bold.woff2') format('woff2'),
url('/fonts/CinzelDecorative-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Cinzel Decorative';
src: url('/fonts/CinzelDecorative-Black.woff2') format('woff2'),
url('/fonts/CinzelDecorative-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-display: swap;
}
/* Fette Unz Fraktur - Police gothique pour lettrines médiévales */
@font-face {
font-family: 'Fette Unz Fraktur';
src: url('/fonts/FetteUNZFraktur.woff2') format('woff2'),
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.woff2') format('woff2'),
url('/fonts/FetteClassicUNZFraktur.ttf') format('truetype');
font-weight: normal;
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;
}