MediaWiki:Common.css

Revision as of 13:28, 6 February 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.
/* Responsive Hn */
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
  
	h1 {
		font-size: 5.8rem !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;
	}


	/* Related articles box - stack vertically on mobile */
	.related-articles-box,
	.related-articles-box tbody,
	.related-articles-box tr,
	.related-articles-box td {
		display: block !important;
		width: 100% !important;
	}

	.related-articles-box {
		word-break: keep-all;
	}

	.related-articles-box tr {
		margin-bottom: 0.5em;
	}

	.related-articles-box td {
		padding: 0.2em 0 !important;
	}

	/* First column (title) styling */
	.related-articles-box td:first-child {
		width: 100% !important;
		margin-bottom: 0.2em;
	}
}