Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.

« MediaWiki:Common.css » : différence entre les versions

Page de l’interface de MediaWiki
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: 12px;
   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 img {
.scw-horizontal-gallery > * {
   height: 170px;
   flex: 0 0 auto;
  border-radius: 8px;
   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;
}