« MediaWiki:Common.css » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 29 : | Ligne 29 : | ||
.skin-vector-2022 .mw-header .mw-logo-container { | .skin-vector-2022 .mw-header .mw-logo-container { | ||
margin-left: 8px; | margin-left: 8px; | ||
} | |||
} | |||
/* Nom et sous-titre personnalisés du wiki — Vector 2022 */ | |||
@media screen and (min-width: 1000px) { | |||
.skin-vector-2022 .mw-logo-container { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: flex-start; | |||
justify-content: center; | |||
min-width: 270px; | |||
margin-left: 12px; | |||
line-height: 1; | |||
} | |||
/* Masquer le nom et le sous-titre graphiques d'origine */ | |||
.skin-vector-2022 .mw-logo-wordmark, | |||
.skin-vector-2022 .mw-logo-tagline { | |||
display: none; | |||
} | |||
/* Grand nom du site */ | |||
.skin-vector-2022 .mw-logo-container::before { | |||
content: "AECFC"; | |||
display: block; | |||
font-size: 36px; | |||
font-weight: 800; | |||
line-height: 1; | |||
letter-spacing: 1px; | |||
color: #8b0000; | |||
white-space: nowrap; | |||
} | |||
/* Sous-titre */ | |||
.skin-vector-2022 .mw-logo-container::after { | |||
content: "École chinoise Paris-Sud"; | |||
display: block; | |||
margin-top: 7px; | |||
font-size: 16px; | |||
font-weight: 500; | |||
line-height: 1.2; | |||
color: #555; | |||
white-space: nowrap; | |||
} | } | ||
} | } | ||
Version du 19 juin 2026 à 17:19
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Agrandir la zone du logo dans Vector 2022 */
@media screen and (min-width: 1000px) {
/* Donner davantage de hauteur à l'en-tête */
.skin-vector-2022 .mw-header {
min-height: 96px;
}
/* Réserver plus de largeur au logo et au nom du wiki */
.skin-vector-2022 .mw-header .mw-logo {
min-width: 300px;
gap: 18px;
margin-left: 20px;
margin-right: 28px;
align-items: center;
}
/* Agrandir l'image du logo */
.skin-vector-2022 .mw-header .mw-logo-icon {
width: 180px;
height: 120px;
max-width: none;
max-height: none;
object-fit: contain;
}
/* Écarter le nom du site du logo */
.skin-vector-2022 .mw-header .mw-logo-container {
margin-left: 8px;
}
}
/* Nom et sous-titre personnalisés du wiki — Vector 2022 */
@media screen and (min-width: 1000px) {
.skin-vector-2022 .mw-logo-container {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
min-width: 270px;
margin-left: 12px;
line-height: 1;
}
/* Masquer le nom et le sous-titre graphiques d'origine */
.skin-vector-2022 .mw-logo-wordmark,
.skin-vector-2022 .mw-logo-tagline {
display: none;
}
/* Grand nom du site */
.skin-vector-2022 .mw-logo-container::before {
content: "AECFC";
display: block;
font-size: 36px;
font-weight: 800;
line-height: 1;
letter-spacing: 1px;
color: #8b0000;
white-space: nowrap;
}
/* Sous-titre */
.skin-vector-2022 .mw-logo-container::after {
content: "École chinoise Paris-Sud";
display: block;
margin-top: 7px;
font-size: 16px;
font-weight: 500;
line-height: 1.2;
color: #555;
white-space: nowrap;
}
}