« 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 32 : | Ligne 32 : | ||
border: none; | border: none; | ||
box-shadow: none; | box-shadow: none; | ||
} | } | ||
| Ligne 39 : | Ligne 38 : | ||
max-width: 145px; | max-width: 145px; | ||
display: block; | display: block; | ||
margin: 0 auto 4px auto; | margin: 0 auto 4px auto; | ||
} | } | ||
.perso-vignette-simple, | |||
.perso-nom-simple { | .perso-nom-simple { | ||
margin | text-align: center !important; | ||
} | |||
.perso-nom-simple { | |||
display: block; | |||
width: 100%; | |||
margin: 4px 0 0 0; | |||
font-size: 1.07em; | font-size: 1.07em; | ||
font-weight: 500; | font-weight: 500; | ||
color: #223; | color: #223; | ||
word-break: break-word; | word-break: break-word; | ||
} | } | ||
.persos-liste { | .persos-liste { | ||
text-align: center; | text-align: center; | ||
} | } | ||
Version du 12 juillet 2025 à 20:27
/* 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;
}
}
.perso-vignette-simple {
width: 155px;
display: inline-block;
margin: 18px 10px;
text-align: center;
vertical-align: top;
background: transparent;
border: none;
box-shadow: none;
}
.perso-vignette-simple img {
width: 100%;
max-width: 145px;
display: block;
margin: 0 auto 4px auto;
}
.perso-vignette-simple,
.perso-nom-simple {
text-align: center !important;
}
.perso-nom-simple {
display: block;
width: 100%;
margin: 4px 0 0 0;
font-size: 1.07em;
font-weight: 500;
color: #223;
word-break: break-word;
}
.persos-liste {
text-align: center;
}