style: change font-variant-numeric to only body text

This commit is contained in:
Ben Goldsworthy 2025-04-15 13:10:12 +02:00
parent 65bdf098e5
commit eb4b646711
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,6 @@ html {
color: $dark;
background-color: $light;
font-family: $default-font;
font-variant-numeric: oldstyle-nums slashed-zero;
writing-mode: horizontal-tb;
}
@ -65,6 +64,7 @@ hgroup {
p {
text-wrap: pretty;
font-variant-numeric: oldstyle-nums;
margin-block: 1em;
margin-block: 1lh;
}

View file

@ -35,7 +35,7 @@ table {
& td {
padding: 0.5em 1em;
border: 1px solid $dark;
font-variant-numeric: lining-nums tabular-nums;
font-variant-numeric: lining-nums tabular-nums slashed-zero;
}
}
}