From 7bff22ebcb7c5039b9165f6a79482bd23cf000ce Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 28 May 2022 21:06:53 +0100 Subject: canary using webfonts --- style.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index 0f23916b..cba68167 100644 --- a/style.css +++ b/style.css @@ -1,3 +1,13 @@ +@font-face { + font-family: 'text'; + src: url("./text.ttf") format("truetype"); +} + +@font-face { + font-family: 'code'; + src: url("./code.ttf") format("truetype"); +} + * { line-height: 1.5em; margin: 0; @@ -7,7 +17,7 @@ } body { - font: normal 14px monospace; + font-family: text, monospace; width: 99%; max-width: 800px; margin: 2em auto 0; @@ -102,7 +112,7 @@ img { } pre { - font-family: monospace; + font-family: courier, code, monospace; padding: 0; overflow-x: scroll; scrollbar-width: none; -- cgit v1.2.3