Array

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(30 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 directa sin wrapper */
/* Hacer que las tablas tengan scroll horizontal cuando sean más anchas que el contenedor */
.mw-parser-output table.wikitable,
.mw-content-text table.wikitable,
.mw-parser-output table,
.mw-content-text table {
display: block !important;
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
width: 100% !important;
min-width: 600px !important;
table-layout: auto !important;
margin: 0 !important;
}
}
/* Mantener la estructura de tabla para tbody, thead, etc. */
h2 {
.mw-parser-output table.wikitable tbody,
font-size: 5.2rem !important;
.mw-content-text table.wikitable tbody,
.mw-parser-output table tbody,
.mw-content-text table tbody,
.mw-parser-output table.wikitable thead,
.mw-content-text table.wikitable thead,
.mw-parser-output table thead,
.mw-content-text table thead {
display: table !important;
width: 100% !important;
min-width: 600px !important;
}
}
.mw-parser-output table.wikitable tr,
h3 {
.mw-content-text table.wikitable tr,
font-size: 4.8rem !important;
.mw-parser-output table tr,
.mw-content-text table tr {
display: table-row !important;
}
}
.mw-parser-output table.wikitable th,
h4 {
.mw-content-text table.wikitable th,
font-size: 3.8rem !important;
.mw-parser-output table.wikitable td,
}
.mw-content-text table.wikitable td,
.mw-parser-output table th,
h5 {
.mw-content-text table th,
font-size: 4.0rem !important;
.mw-parser-output table td,
}
.mw-content-text table td {
display: table-cell !important;
h6 {
word-wrap: break-word !important;
font-size: 3.8rem !important;
white-space: normal !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;
	}
}