Array

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(67 intermediate revisions by one other user not shown)
Line 1: Line 1:
/* Responsive Hn */
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
}
 
 
h1 {
/* Forzar que el contenedor de imagen centrada se ajuste al ancho de la imagen */
font-size: 7rem !important;
div.thumb.mw-halign-center {
}
    display: table !important;
    margin-left: auto !important;
h2 {
    margin-right: auto !important;
font-size: 5.2rem !important;
    float: none !important;
}
}
 
h3 {
/* Asegurar que el interior del thumb también sea consistente */
font-size: 4.8rem !important;
div.thumb.mw-halign-center .thumbinner {
}
    margin: 0 auto !important;
    display: table-caption; /* Opcional: ayuda a que el texto se mantenga dentro */
h4 {
font-size: 3.8rem !important;
}
h5 {
font-size: 4.0rem !important;
}
h6 {
font-size: 3.8rem !important;
}
}
}

Latest revision as of 20:54, 6 February 2026

/* Responsive Hn */
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
  
	h1 {
		font-size: 7rem !important;
	}
	
	h2 {
		font-size: 5.2rem !important;
	}
	
	h3 {
		font-size: 4.8rem !important;
	}
	
	h4 {
		font-size: 3.8rem !important;
	}
	
	h5 {
		font-size: 4.0rem !important;
	}
	
	h6 {
		font-size: 3.8rem !important;
	}
}