From 0840d5a6dbc256a45ded7660009f152c360e5191 Mon Sep 17 00:00:00 2001 From: Marius Bergmann Date: Sat, 7 Jan 2023 17:16:01 +0100 Subject: [PATCH] Make inline code font size relative to parent Previously, `rem` was used, which sets the font-size irrespective of its surrounding context. Changing this to `em` makes it possible to e.g. use inline code in headings without rendering them much smaller than the surrounding font. --- assets/css/main.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index 9206f88..e631093 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -131,7 +131,7 @@ code, kbd { padding: 1px 6px; margin: 0 2px; border-radius: 5px; - font-size: .9rem; + font-size: .9em; font-weight: normal; font-feature-settings: normal;