Permanently protected module

Module:Chem2/styles.css: Difference between revisions

From Vigyanwiki
< Module:Chem2
(Left-align stacked superscripts and subscripts. Otherwise they can be centred if they appear in centred content.)
m (1 revision imported from alpha:Module:Chem2/styles.css)
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 10:07, 22 December 2022

.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;
}