Array

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
@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) {
    body {
 
        font-size: 3.8rem !important;
/* Responsive tables - simple horizontal scroll solution */
    }
.table-wrapper-mobile {
    h1 { font-size: 5.8rem; }
overflow-x: auto !important;
    h2 { font-size: 5.2rem; }
-webkit-overflow-scrolling: touch !important;
    h3 { font-size: 4.8rem; }
width: 100% !important;
    h4 { font-size: 4.4rem; }
margin: 0 -15px !important; /* Extends to edges */
    h5 { font-size: 4.0rem; }
padding: 0 15px !important;
    h6 { font-size: 3.8rem; }
}
.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;
	}
	

}