code font fixes

This commit is contained in:
Ell 2023-06-26 23:07:51 +02:00
parent 8fb51456fd
commit f89889cfc8
2 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,6 @@
@import url("https://fonts.cdnfonts.com/css/cadman"); @import url("https://fonts.cdnfonts.com/css/cadman");
@import url("https://fonts.googleapis.com/css?family=Lato&display=swap"); @import url("https://fonts.googleapis.com/css?family=Lato&display=swap");
@import url("https://fonts.googleapis.com/css?family=JetBrains+Mono&display=swap");
body { body {
font-family: Lato, sans-serif; font-family: Lato, sans-serif;
@ -8,3 +9,8 @@ body {
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-family: Cadman, Lato, sans-serif; font-family: Cadman, Lato, sans-serif;
} }
code {
font-family: "JetBrains Mono", monospace;
font-variant-ligatures: none;
}

View file

@ -13,6 +13,7 @@ h1, h2, h3, h4, h5, h6, .nav-item {
code { code {
font-family: "JetBrains Mono", monospace; font-family: "JetBrains Mono", monospace;
font-variant-ligatures: none;
} }
pre.highlight { pre.highlight {