Array

MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Manual revert
No edit summary
Line 26: Line 26:
}
}


/* 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;
}
}
}

Revision as of 13:28, 6 February 2026

/* 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;
	}
}