1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-13 00:25:28 -04:00

a couple more typography fixes

This commit is contained in:
2021-11-12 10:35:51 -05:00
parent 3444e54db6
commit 178dd93ce5
3 changed files with 34 additions and 22 deletions
+5 -3
View File
@@ -59,12 +59,14 @@ pre,
// Chrome doesn't automatically slant multi-axis Inter var, for some reason.
// Adding "slnt" -10 fixes Chrome but then over-italicizes in Firefox. AHHHHHHHHHH.
em {
font-style: normal;
font-style: normal !important;
font-variation-settings: "ital" 1, "slnt" -10;
// Roboto Mono doesn't have this problem, but the above fix breaks it, of course.
code {
font-style: italic;
code,
pre,
.monospace {
font-style: italic !important;
}
}
}