« MediaWiki:Common.css » : différence entre les versions
Page de l’interface de MediaWiki
Autres actions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 5 : | Ligne 5 : | ||
.infobox-personnage { | .infobox-personnage { | ||
float: none !important; | float: none !important; | ||
display: block !important; | |||
width: 98% !important; | |||
max-width: 98% !important; | |||
min-width: 0 !important; | |||
margin: 1em auto !important; | margin: 1em auto !important; | ||
box-sizing: border-box !important; | |||
clear: both !important; | clear: both !important; | ||
text-align: center !important; | |||
} | } | ||
} | |||
.infobox-personnage:after { | .infobox-personnage:after { | ||
content: ''; | content: ''; | ||
Version du 12 juillet 2025 à 13:39
/* Le CSS placé ici sera appliqué à tous les habillages. */
@media (max-width: 700px) {
.infobox-personnage {
float: none !important;
display: block !important;
width: 98% !important;
max-width: 98% !important;
min-width: 0 !important;
margin: 1em auto !important;
box-sizing: border-box !important;
clear: both !important;
text-align: center !important;
}
}
.infobox-personnage:after {
content: '';
display: block;
clear: both;
}
}