Jump to content

Module:Charmap/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by GKFX (talk | contribs) at 19:02, 1 October 2021 (Write stylesheet). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
table.template-charmap tr:first-child {
	height: auto; /* this is magic from StackOverflow to make the height below work */
}

table.template-charmap tr:first-child th[colspan] > div {
	display: inline-flex;
	flex-direction: column;
	height: 100%;
	padding: 0 0.5em;
}

table.template-charmap tr:first-child th[colspan] > div > span:first-child {
	/* This balances out a 150% earlier */
	font-size: 66.6667%;
}
table.template-charmap tr:first-child th[colspan] > div > span:nth-child(2) {
	margin: auto;
}

table.template-charmap .smallcaps-cm {
	font-size: 85%;
	font-variant: small-caps;
}