💄 style: use Cascadia Code as code font

This commit is contained in:
welpo
2023-02-11 19:47:42 +01:00
parent f6cd7d3cf2
commit 9db00d1f9d

View File

@@ -1,6 +1,9 @@
code { code {
background-color: var(--bg-1); background-color: var(--bg-1);
padding: 0.1em 0.2em; padding: 0.1em 0.2em;
font-family: var(--code-font);
font-weight: 350;
font-size: 22px;
} }
pre { pre {
@@ -22,7 +25,6 @@ pre code {
} }
pre { pre {
font-family: var(--code-font);
position: relative; position: relative;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
} }