css: switch to inter 4.0
Anirudh Oppiliappan x@icyphox.sh
Wed, 07 Dec 2022 22:23:19 +0530
2 files changed,
6 insertions(+),
1 deletions(-)
M
static/style.css
→
static/style.css
@@ -29,7 +29,7 @@ margin: 0;
} main, footer { - font-family: -apple-system, BlinkMacSystemFont, "Inter", "Roboto", "Segoe UI", sans-serif; + font-family: "InterVar", apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif; font-size: 1rem; padding: 0; line-height: 160%;@@ -37,6 +37,10 @@ }
main article, table { min-width: 0; +} + +main h1, h2, h3 { + font-family: "InterDisplay", apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif; } main h1 {
M
templates/partials/head.html
→
templates/partials/head.html
@@ -1,5 +1,6 @@
<link rel="stylesheet" href="/static/style.css" type="text/css"> <link rel="stylesheet" href="/static/syntax.css" type="text/css"> +<link rel="stylesheet" href="https://cdn.icyphox.sh/fonts/inter.css" type="text/css"> <meta name="viewport" content="initial-scale=1,width"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta charset="UTF-8">