Module:Chem2/styles.css

From KYNNpedia
Revision as of 21:31, 25 November 2022 by imported>GKFX (Left-align stacked superscripts and subscripts. Otherwise they can be centred if they appear in centred content.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.template-chem2-su { /* {{pp-template}} */
	display: inline-block;
	font-size: 80%;
	line-height: 1;
	vertical-align: -0.35em;
}

.template-chem2-su > span {
	display: block;
	text-align: left;
}

/* Ignore the linter error about this selector being "overqualified"; this is the
   correct selector to override the default stylesheet. */
sub.template-chem2-sub {
	font-size: 80%;
	vertical-align: -0.35em;
}

sup.template-chem2-sup {
	font-size: 80%;
	vertical-align: 0.65em;
}