Module:Chem2/styles.css: Difference between revisions
From Vigyanwiki
(Created page with ".template-chem2-su { →{{pp-template}}: display: inline-block; font-size: 80%; line-height: 1; vertical-align: -0.35em; } .template-chem2-su > span { display: block;...") |
m (1 revision imported from alpha:Module:Chem2/styles.css) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
.template-chem2-su > span { | .template-chem2-su > span { | ||
display: block; | display: block; | ||
text-align: left; | |||
} | } | ||
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;
}