use proper code font for code blocks in blog

This commit is contained in:
Ell 2023-06-25 17:37:27 +02:00
parent 6b57294b85
commit 30cad94cf2
2 changed files with 7 additions and 2 deletions

View file

@ -37,6 +37,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato&display=swap"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=JetBrains+Mono&display=swap">
<link rel="stylesheet" href="https://fonts.cdnfonts.com/css/cadman"> <link rel="stylesheet" href="https://fonts.cdnfonts.com/css/cadman">
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css">
<link rel="icon" href="/favicon.ico"> <link rel="icon" href="/favicon.ico">

View file

@ -4,11 +4,15 @@ html {
body { body {
position: relative; position: relative;
font-family: Lato, sans-serif; font-family: "Lato", sans-serif;
} }
h1, h2, h3, h4, h5, h6, .nav-item { h1, h2, h3, h4, h5, h6, .nav-item {
font-family: Cadman, Lato, sans-serif; font-family: "Cadman", "Lato", sans-serif;
}
code {
font-family: "JetBrains Mono", monospace;
} }
pre.highlight { pre.highlight {