Skip to content

Commit 386f324

Browse files
committed
switch fonts to Noto
1 parent 83c6cfb commit 386f324

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

_includes/head.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
{% seo %}
77

8+
<link rel="preconnect" href="https://fonts.googleapis.com">
9+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10+
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@400;600&family=Noto+Serif:wght@300;400;600;700&display=swap" rel="stylesheet">
11+
812
<link rel="icon" href="{{ '/favicon.svg' | relative_url }}" type="image/svg+xml">
913

1014
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">

_sass/_base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ code {
133133
border-radius: 3px;
134134
background-color: $code-bg-color; // dark code background
135135
color: $text-color; // readable on dark bg
136+
font-family: $code-font-family;
136137
}
137138

138139
code {

css/main.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ img.cltk_logo {
1010

1111

1212
// Our variables
13-
$base-font-family: Helvetica, Arial, sans-serif;
13+
$base-font-family: 'Noto Serif', Georgia, serif;
1414
$base-font-size: 16px;
1515
$small-font-size: $base-font-size * 0.875;
1616
$base-line-height: 1.5;
@@ -34,6 +34,7 @@ $on-laptop: 800px;
3434

3535
// Code colors (dark mode)
3636
$code-bg-color: hsl(225, 15%, 18%);
37+
$code-font-family: 'Noto Sans Mono', 'SFMono-Regular', Consolas, Menlo, monospace;
3738

3839

3940

0 commit comments

Comments
 (0)