Array

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(79 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
@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;
}
 
}

Latest revision as of 18:48, 19 January 2026

@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;
	}
	

}