style: fix font-variant-numeric and superscript text

This commit is contained in:
Ben Goldsworthy 2025-02-20 01:22:07 +01:00
parent e6889cabba
commit 7dbc83d190
Signed by: Rumperuu
SSH key fingerprint: SHA256:v3uompaUiPqV2w1/AIRWBSQOxr2dntH9Xs/y8fDnUPU

View file

@ -44,7 +44,7 @@ html {
color: $dark;
background-color: $light;
font-family: $default-font;
font-variant-numeric: 'oldstyle-nums slashed-zero';
font-variant-numeric: oldstyle-nums slashed-zero;
writing-mode: horizontal-tb;
}
@ -305,7 +305,9 @@ kbd {
font-family: Arial, Helvetica, sans-serif;
background-color: #f7f7f7;
color: #333;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px white inset;
box-shadow:
0 1px 0 rgba(0, 0, 0, 0.2),
0 0 0 2px white inset;
border-radius: 3px;
display: inline-block;
margin-block: 0;
@ -350,3 +352,8 @@ kbd {
dfn {
font-variant: small-caps;
}
sub,
sup {
line-height: 0;
}