From 35510b3c230ae8b352f95806b35057cbfab1f564 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 25 May 2022 13:28:13 -0500 Subject: [PATCH] Use subset webfont --- host/layer/nginx-user-public/.nginx-autoindex-before.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/host/layer/nginx-user-public/.nginx-autoindex-before.html b/host/layer/nginx-user-public/.nginx-autoindex-before.html index f7b6f40..bac5c30 100644 --- a/host/layer/nginx-user-public/.nginx-autoindex-before.html +++ b/host/layer/nginx-user-public/.nginx-autoindex-before.html @@ -15,7 +15,7 @@ font-weight: 400; font-stretch: normal; font-style: normal; - src: url('https://files.lyte.dev/iosevkalyte/woff2/iosevkalyte-regular.woff2') format('woff2'), url('https://files.lyte.dev/iosevkalyte/ttf/iosevkalyte-regular.ttf') format('truetype'); + src: url('https://files.lyte.dev/iosevkalyte/iosevkalyteweb-regular.subset.woff2') format('woff2'); } @media (prefers-color-scheme: dark) { @@ -54,6 +54,8 @@ h1, pre { display: block; max-width: 800px; margin: 0.5em auto; + padding-left: 3.5em; + padding-right: 3.5em; }