Skip to content

Commit 4735b27

Browse files
committed
typography: use 'Google Sans Code' as monospaced font
1 parent 876e8c7 commit 4735b27

16 files changed

+124
-0
lines changed

css/custom.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
@import url('../fonts/googlesanscode.css');
2+
3+
:root {
4+
--mono-font: 'Google Sans Code', monospace;
5+
--code-font-size: 0.9em;
6+
}
7+
8+
code {
9+
font-weight: 500;
10+
}
11+
112
.box {
213
margin: 20px 0;
314
padding: 1.6px 20px;

src/fonts/GoogleSansCode-Bold.ttf

54.2 KB
Binary file not shown.
56.4 KB
Binary file not shown.
54.4 KB
Binary file not shown.
56.6 KB
Binary file not shown.
130 KB
Binary file not shown.
55.8 KB
Binary file not shown.

src/fonts/GoogleSansCode-Light.ttf

53.7 KB
Binary file not shown.
55.8 KB
Binary file not shown.
53.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)