From 30cad94cf21e41f52b5fc3aefdb928e079565153 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 25 Jun 2023 17:37:27 +0200 Subject: [PATCH] use proper code font for code blocks in blog --- web/_layouts/default.html | 1 + web/style.css | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/web/_layouts/default.html b/web/_layouts/default.html index c402ba2..85e0ed6 100644 --- a/web/_layouts/default.html +++ b/web/_layouts/default.html @@ -37,6 +37,7 @@ + diff --git a/web/style.css b/web/style.css index 948e83b..71f4279 100644 --- a/web/style.css +++ b/web/style.css @@ -4,11 +4,15 @@ html { body { position: relative; - font-family: Lato, sans-serif; + font-family: "Lato", sans-serif; } h1, h2, h3, h4, h5, h6, .nav-item { - font-family: Cadman, Lato, sans-serif; + font-family: "Cadman", "Lato", sans-serif; +} + +code { + font-family: "JetBrains Mono", monospace; } pre.highlight {