From 9db00d1f9d382c5c6d2f5383ab8c145d3b522696 Mon Sep 17 00:00:00 2001 From: welpo Date: Sat, 11 Feb 2023 19:47:42 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style:=20use=20Cascadia=20Code?= =?UTF-8?q?=20as=20code=20font?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/parts/_code.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sass/parts/_code.scss b/sass/parts/_code.scss index 20beb08..1dedcaf 100644 --- a/sass/parts/_code.scss +++ b/sass/parts/_code.scss @@ -1,6 +1,9 @@ code { background-color: var(--bg-1); padding: 0.1em 0.2em; + font-family: var(--code-font); + font-weight: 350; + font-size: 22px; } pre { @@ -22,7 +25,6 @@ pre code { } pre { - font-family: var(--code-font); position: relative; -webkit-overflow-scrolling: touch; }