« MediaWiki:Common.css » : différence entre les versions
Page de l’interface de MediaWiki
Autres actions
Aucun résumé des modifications Balise : Révoqué |
Aucun résumé des modifications Balise : Révoqué |
||
| Ligne 26 : | Ligne 26 : | ||
display: flex; | display: flex; | ||
overflow-x: auto; | overflow-x: auto; | ||
gap: | gap: 14px; | ||
padding: 12px 0; | padding: 12px 0; | ||
scroll-snap-type: x mandatory; | scroll-snap-type: x mandatory; | ||
scrollbar-color: #999 #222; | |||
scrollbar-width: thin; | |||
} | } | ||
.scw-horizontal-gallery | .scw-horizontal-gallery > * { | ||
flex: 0 0 auto; | |||
scroll-snap-align: start; | scroll-snap-align: start; | ||
} | } | ||
Version du 12 juillet 2025 à 14:00
/* 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: 14px;
padding: 12px 0;
scroll-snap-type: x mandatory;
scrollbar-color: #999 #222;
scrollbar-width: thin;
}
.scw-horizontal-gallery > * {
flex: 0 0 auto;
scroll-snap-align: start;
}