💄 style: use Cascadia Code as code font
This commit is contained in:
parent
f6cd7d3cf2
commit
9db00d1f9d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user