Array

MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Manual revert
No edit summary
 
(33 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) {
    ol.references { font-size: 3.8rem !important; }
 
    .notes-header-wrapper { font-size: 6.2rem !important; }
/* Responsive tables - simple horizontal scroll solution */
    body { font-size: 3.8rem !important; }
.table-wrapper-mobile {
    h1 { font-size: 5.8rem !important; }
overflow-x: auto !important;
    h2 { font-size: 5.2rem !important; }
-webkit-overflow-scrolling: touch !important;
    h3 { font-size: 4.8rem !important; }
width: 100% !important;
    h4 { font-size: 4.4rem !important; }
margin: 0 -15px !important; /* Extends to edges */
    h5 { font-size: 4.0rem !important; }
padding: 0 15px !important;
    h6 { font-size: 3.8rem !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;
	}
	

}