Skip to content

Commit b0bc0ae

Browse files
committed
Update fonts
1 parent e01afa6 commit b0bc0ae

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

assets/css/extended/common.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
body {
2+
font-family: 'Inter', Arial, sans-serif !important;
3+
}
4+
15
.logo a {
26
font-family: 'JetBrains Mono', monospace;
7+
font-weight: 700;
8+
}
9+
10+
/* Code blocks */
11+
.highlight span {
12+
font-family: 'JetBrains Mono', monospace;
13+
font-weight: 400;
14+
margin: 0;
15+
}
16+
17+
/* Inline code */
18+
.post-content code {
19+
font-family: 'JetBrains Mono', monospace;
20+
font-weight: 400;
21+
font-size: .8em;
22+
padding: 2px 4px;
23+
margin: 0px;
24+
border-radius: 4px;
25+
}
26+
27+
:root {
28+
--code-bg: rgb(233, 233, 233);
329
}

layouts/partials/extend_head.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
<!-- Fonts -->
77
<link rel="preconnect" href="https://fonts.googleapis.com">
88
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9-
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500&display=swap" rel="stylesheet">
9+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap" rel="stylesheet">
10+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet">

0 commit comments

Comments
 (0)