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