diff options
| author | Paul Buetow <paul@buetow.org> | 2023-03-26 15:56:11 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-03-26 15:56:11 +0300 |
| commit | d65e35caef5683182c23f786441d30f0ddee5aa1 (patch) | |
| tree | bf50f6b2ffad309d4b14a12075edc8de7fb7a18c | |
| parent | 6a6f7d996c499bb23588aa6e749c38992940f685 (diff) | |
use hack font by default
| -rw-r--r-- | extras/html/style.css | 25 | ||||
| -rw-r--r-- | gemtexter.conf | 2 |
2 files changed, 24 insertions, 3 deletions
diff --git a/extras/html/style.css b/extras/html/style.css index fb970a9..86eb404 100644 --- a/extras/html/style.css +++ b/extras/html/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; diff --git a/gemtexter.conf b/gemtexter.conf index 50aaa4e..5095d22 100644 --- a/gemtexter.conf +++ b/gemtexter.conf @@ -10,7 +10,7 @@ declare -xr POST_PUBLISH_HOOK=./post_publish_hook.sh declare -xr HTML_HEADER=./extras/html/header.html.part declare -xr HTML_FOOTER=./extras/html/footer.html.part declare -xr HTML_CSS_STYLE=./extras/html/style.css -declare -xr HTML_WEBFONT_TEXT=./extras/html/oxygen/Oxygen-Regular.ttf +declare -xr HTML_WEBFONT_TEXT=./extras/html/hack/Hack-Regular.ttf declare -xr HTML_WEBFONT_CODE=./extras/html/hack/Hack-Regular.ttf declare -xr HTML_WEBFONT_HANDNOTES=./extras/html/khand/khand.ttf declare -xr HTML_WEBFONT_TYPEWRITER=./extras/html/zai-aeg-mignon-typewriter-1924/zai_AEGMignonTypewriter1924.ttf |
