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

fix Inter italics on Chrome, and only declare latin and latin-ext unicode ranges

This commit is contained in:
2021-11-12 08:44:23 -05:00
parent 6ff413d8ec
commit 0e609f0d7b
3 changed files with 25 additions and 9 deletions
+6
View File
@@ -55,6 +55,12 @@ pre,
.monospace {
font-family: settings.$font-stack-mono-variable;
}
// Chrome doesn't automatically slant multi-axis Inter var, for some reason
em {
font-style: italic;
font-variation-settings: "ital" 1, "slnt" -10;
}
}
a {
+1 -1
View File
@@ -3,7 +3,7 @@
// all code
code {
font-size: 0.925em;
letter-spacing: 0;
letter-spacing: normal;
page-break-inside: avoid; // stylelint-disable-line plugin/no-unsupported-browser-features
}