summaryrefslogtreecommitdiffstatshomepage
path: root/sass
diff options
context:
space:
mode:
authorWolfgang Müller2021-06-13 20:50:49 +0200
committerWolfgang Müller2021-06-13 20:50:49 +0200
commit7f37398ab35efe42d381da3b554653de81281fa3 (patch)
tree92897de00d3309c5227c5873ffd3c206f3238124 /sass
parent3b306ae249f605da4ab5b5e7afa55d5974e92176 (diff)
downloadzunzuncito-7f37398ab35efe42d381da3b554653de81281fa3.tar.gz
sass: Specify font family for <code>
Currently, --font-mono is only applied to <pre> blocks, leaving <code> unstyled. Since <pre> blocks will end up containing <code>, set the font family on <code> instead.
Diffstat (limited to '')
-rw-r--r--sass/style.sass3
1 files changed, 1 insertions, 2 deletions
diff --git a/sass/style.sass b/sass/style.sass
index fdb2e91..6d3f79a 100644
--- a/sass/style.sass
+++ b/sass/style.sass
@@ -53,11 +53,10 @@ h2.mentions
margin-bottom: .2rem
pre
- font-family: var(--font-mono)
-
margin-left: 1rem
code
+ font-family: var(--font-mono)
font-size: var(--font-size-pre)
padding: 0 .2em