Rearrange some CSS

This commit is contained in:
Ben Edgington
2025-05-05 12:27:43 +01:00
parent 815420292f
commit 35b12d22c2
2 changed files with 27 additions and 27 deletions

View File

@@ -31,30 +31,3 @@
border-radius: 20px;
border: transparent;
}
sup,
sub {
font-size: 0.75em;
line-height: 0;
vertical-align: baseline;
position: relative;
display: inline-block;
}
sup {
top: -0.6em;
left: 0.1em;
}
sub {
bottom: -0.25em;
}
sup a,
sub a,
sup span,
sub span {
line-height: normal;
font-size: inherit;
vertical-align: baseline;
}

View File

@@ -81,6 +81,33 @@ code {
font-size: 95%;
}
/*** Constant line heights ***/
sup, sub {
font-size: 0.75em;
line-height: 0;
vertical-align: baseline;
position: relative;
display: inline-block;
}
sup {
top: -0.6em;
left: 0.1em;
}
sub {
bottom: -0.25em;
}
sup a, sub a, sup span, sub span {
line-height: normal;
font-size: inherit;
vertical-align: baseline;
}
/*** Headings ***/
h3 {
padding-bottom: 6px;
margin-bottom: 1ex;