From 727dbbf93a64b9293f22121ebc79704cb7954ebc Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 26 Mar 2023 15:52:02 +0300 Subject: Update content for html --- style.css | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index fb970a97..86eb4048 100644 --- a/style.css +++ b/style.css @@ -1,5 +1,25 @@ +@font-face { + font-family: 'text'; + src: url("./text.ttf") format("truetype"); +} + +@font-face { + font-family: 'code'; + src: url("./code.ttf") format("truetype"); +} + +@font-face { + font-family: 'handnotes'; + src: url("./handnotes.ttf") format("truetype"); +} + +@font-face { + font-family: 'typewriter'; + src: url("./typewriter.ttf") format("truetype"); +} + body { - font-family: monospace; + font-family: text; width: 99%; max-width: 1024px; padding: 0 20px; @@ -67,7 +87,7 @@ img { } pre { - font-family: monospace; + font-family: code; padding: 0; overflow-x: auto; scrollbar-width: none; @@ -81,6 +101,7 @@ pre { } span.inlinecode { + font-family: code; border: 1px solid #000000; padding: 1px; color: grey; -- cgit v1.2.3