« 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 16 : | Ligne 16 : | ||
} | } | ||
/* Images | |||
/* ====================================== | |||
Images responsive mobiles pour MediaWiki | |||
====================================== */ | |||
/* 1️⃣ Wrapper parent pour forcer l'image thumb/frameless à s'adapter */ | |||
.mobile-responsive { | .mobile-responsive { | ||
max-width: 100%; | max-width: 100%; | ||
display: block; | display: block; | ||
margin-left: auto; | margin-left: auto; | ||
margin-right: auto; | margin-right: auto; | ||
} | |||
/* 2️⃣ Cible les images dans ce wrapper (thumb ou frameless) */ | |||
.mobile-responsive img { | |||
max-width: 100% !important; | |||
height: auto !important; | |||
display: block !important; | |||
} | |||
/* 3️⃣ Si la vignette est une table générée par thumb, on ajuste sa largeur */ | |||
.mobile-responsive .thumb, | |||
.mobile-responsive .frameless { | |||
max-width: 100% !important; | |||
width: auto !important; | |||
} | } | ||
Version du 8 mars 2026 à 04:00
#footer {
display: none;
}
.last-modified {
display: none;
}
.citizen-dropdown-summary {
display: none;
}
/* Date modified */
.page-info {
display: none !important;
}
/* ======================================
Images responsive mobiles pour MediaWiki
====================================== */
/* 1️⃣ Wrapper parent pour forcer l'image thumb/frameless à s'adapter */
.mobile-responsive {
max-width: 100%;
display: block;
margin-left: auto;
margin-right: auto;
}
/* 2️⃣ Cible les images dans ce wrapper (thumb ou frameless) */
.mobile-responsive img {
max-width: 100% !important;
height: auto !important;
display: block !important;
}
/* 3️⃣ Si la vignette est une table générée par thumb, on ajuste sa largeur */
.mobile-responsive .thumb,
.mobile-responsive .frameless {
max-width: 100% !important;
width: auto !important;
}