Array

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(29 intermediate revisions by one other user not shown)
Line 1: Line 1:
/* Responsive: Related articles - título arriba, contenido abajo */
/* 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) {
   .related-articles-box{
    
    word-break: keep-all;
h1 {
  }
font-size: 7rem !important;
/* Tablas con scroll horizontal en móviles - solución mejorada */
/* Hacer que el contenedor tenga scroll horizontal sin romper la estructura de la tabla */
.mw-parser-output,
.mw-content-text {
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
max-width: 100% !important;
width: 100% !important;
box-sizing: border-box !important;
}
}
/* Las tablas mantienen su estructura normal pero con ancho mínimo para activar scroll */
h2 {
.mw-parser-output table.wikitable,
font-size: 5.2rem !important;
.mw-content-text table.wikitable,
}
.mw-parser-output table,
.mw-content-text table {
h3 {
min-width: 600px !important;
font-size: 4.8rem !important;
width: auto !important;
}
max-width: none !important;
table-layout: auto !important;
h4 {
margin: 0 !important;
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;
	}
}