MediaWiki:Common.css

Revision as of 12:46, 26 January 2026 by MikeParker (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {

	/* Responsive tables - simple horizontal scroll solution */
	.table-wrapper-mobile {
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
		width: 100% !important;
		margin: 0 -15px !important; /* Extends to edges */
		padding: 0 15px !important;
	}
	
	.table-wrapper-mobile table.wikitable {
		min-width: 900px !important;
		width: 100% !important;
	}
	
	table.wikitable th,
	table.wikitable td {
		font-size: 3.2rem !important;
		padding: 10px !important;
	}
	

}


/* Forzar que el contenedor de imagen centrada se ajuste al ancho de la imagen */
div.thumb.mw-halign-center {
    display: table !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

/* Asegurar que el interior del thumb también sea consistente */
div.thumb.mw-halign-center .thumbinner {
    margin: 0 auto !important;
    display: table-caption; /* Opcional: ayuda a que el texto se mantenga dentro */
}