Ir al contenido

Diferencia entre revisiones de «Plantilla:Ficha/imagelimit.css»

m 9 revisiones importadas
Fichas centradas y a todo el ancho en pantallas pequeñas
Línea 18: Línea 18:
max-width: 100% !important;
max-width: 100% !important;
height: auto !important;
height: auto !important;
}
/* En pantallas pequeñas la ficha ocupa el ancho de la página y queda centrada, sin hueco a la izquierda. */
@media (max-width: 720px) {
.infobox {
float: none !important;
clear: both;
width: 100% !important;
max-width: 100% !important;
margin: 0 0 1em 0 !important;
box-sizing: border-box;
}
}
}

Revisión del 08:00 4 nov 2026

/* [[Categoría:Wikipedia:Subpáginas de estilo de plantillas]] */
/* csslint important:false, overqualified-elements:false */
.infobox .imagen {
	max-width: 100%;
	margin: 0 auto;
}
.infobox .imagen img {
	max-width: 100%;
	height: auto;
}
.infobox .mw-kartographer-container .thumbinner,
.infobox .mw-kartographer-map {
	box-sizing: border-box;
	width: 100% !important;
}
/* timeless override */
body.skin-timeless .infobox .imagen a.image > img {
	max-width: 100% !important;
	height: auto !important;
}

/* En pantallas pequeñas la ficha ocupa el ancho de la página y queda centrada, sin hueco a la izquierda. */
@media (max-width: 720px) {
	.infobox {
		float: none !important;
		clear: both;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 0 1em 0 !important;
		box-sizing: border-box;
	}
}