« MediaWiki:Common.css » : différence entre les versions
Aller à la navigation
Aller à la recherche
Page créée avec « →Le CSS placé ici sera appliqué à tous les habillages. : →Redimensionner le logo dans la barre latérale : .mw-wiki-logo { background-size: contain; →Force l'image à tenir dans le cadre : width: 160px; →Largeur standard : height: 160px; →Hauteur standard : } →Pour le nouveau skin Vector (2022) : .mw-logo-icon { width: 160px !important; height: auto !important; } » |
Aucun résumé des modifications |
||
| Ligne 3 : | Ligne 3 : | ||
.mw-wiki-logo { | .mw-wiki-logo { | ||
background-size: contain; /* Force l'image à tenir dans le cadre */ | background-size: contain; /* Force l'image à tenir dans le cadre */ | ||
width: | width: 240px; /* Largeur standard */ | ||
height: | height: 240px; /* Hauteur standard */ | ||
} | } | ||
/* Pour le nouveau skin Vector (2022) */ | /* Pour le nouveau skin Vector (2022) */ | ||
.mw-logo-icon { | .mw-logo-icon { | ||
width: | width: 240px !important; | ||
height: auto !important; | height: auto !important; | ||
} | } | ||
Version du 12 janvier 2026 à 17:09
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Redimensionner le logo dans la barre latérale */
.mw-wiki-logo {
background-size: contain; /* Force l'image à tenir dans le cadre */
width: 240px; /* Largeur standard */
height: 240px; /* Hauteur standard */
}
/* Pour le nouveau skin Vector (2022) */
.mw-logo-icon {
width: 240px !important;
height: auto !important;
}