Array

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(31 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;
 
.entry-content,
.content {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
}
 
/* Forzar scroll horizontal en tablas */
h2 {
table {
font-size: 5.2rem !important;
width: auto !important;
min-width: 800px !important;
table-layout: auto !important;
display: table !important;
}
}
 
table.wikitable {
h3 {
width: auto !important;
font-size: 4.8rem !important;
min-width: 800px !important;
table-layout: auto !important;
display: table !important;
}
}
 
/* Asegurar que las celdas mantengan un ancho mínimo razonable */
h4 {
table td,
font-size: 3.8rem !important;
table th {
min-width: 100px;
white-space: normal;
word-break: break-word;
}
}
 
table.wikitable td,
h5 {
table.wikitable th {
font-size: 4.0rem !important;
min-width: 100px;
}
white-space: normal;
word-break: break-word;
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;
	}
}