« MediaWiki:Common.css » : différence entre les versions
Page de l’interface de MediaWiki
Autres actions
Aucun résumé des modifications Balise : Révocation manuelle |
Aucun résumé des modifications Balise : Révoqué |
||
| Ligne 14 : | Ligne 14 : | ||
.page-info { | .page-info { | ||
display: none !important; | display: none !important; | ||
} | |||
/* Images adaptatives seulement si on leur met la classe mobile-responsive */ | |||
.mobile-responsive { | |||
max-width: 100%; | |||
height: auto; | |||
display: block; | |||
margin-left: auto; | |||
margin-right: auto; | |||
object-fit: contain; | |||
} | |||
/* Conteneur optionnel pour plusieurs images (galerie responsive) */ | |||
.responsive-images { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); | |||
gap: 10px; | |||
margin: 0 auto; | |||
} | |||
.responsive-images img { | |||
width: 100%; | |||
height: auto; | |||
} | |||
/* Galeries MediaWiki <gallery> adaptatives */ | |||
.gallery { | |||
display: grid !important; | |||
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important; | |||
gap: 8px !important; | |||
max-width: 100% !important; | |||
} | |||
/* Mobile-first tweaks */ | |||
@media (max-width: 600px) { | |||
.gallery, | |||
.responsive-images { | |||
grid-template-columns: 1fr !important; | |||
gap: 6px !important; | |||
} | |||
} | } | ||
Version du 8 mars 2026 à 03:48
#footer {
display: none;
}
.last-modified {
display: none;
}
.citizen-dropdown-summary {
display: none;
}
/* Date modified */
.page-info {
display: none !important;
}
/* Images adaptatives seulement si on leur met la classe mobile-responsive */
.mobile-responsive {
max-width: 100%;
height: auto;
display: block;
margin-left: auto;
margin-right: auto;
object-fit: contain;
}
/* Conteneur optionnel pour plusieurs images (galerie responsive) */
.responsive-images {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 10px;
margin: 0 auto;
}
.responsive-images img {
width: 100%;
height: auto;
}
/* Galeries MediaWiki <gallery> adaptatives */
.gallery {
display: grid !important;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
gap: 8px !important;
max-width: 100% !important;
}
/* Mobile-first tweaks */
@media (max-width: 600px) {
.gallery,
.responsive-images {
grid-template-columns: 1fr !important;
gap: 6px !important;
}
}