« 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 Balise : Révoqué |
||
| Ligne 21 : | Ligne 21 : | ||
clear: both; | clear: both; | ||
} | } | ||
} | |||
.scw-horizontal-gallery { | |||
display: flex; | |||
overflow-x: auto; | |||
gap: 12px; | |||
padding: 12px 0; | |||
scroll-snap-type: x mandatory; | |||
} | |||
.scw-horizontal-gallery img { | |||
height: 170px; | |||
border-radius: 8px; | |||
scroll-snap-align: start; | |||
} | } | ||
Version du 12 juillet 2025 à 13:54
/* 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;
}
}
.scw-horizontal-gallery {
display: flex;
overflow-x: auto;
gap: 12px;
padding: 12px 0;
scroll-snap-type: x mandatory;
}
.scw-horizontal-gallery img {
height: 170px;
border-radius: 8px;
scroll-snap-align: start;
}