From 2e43626245edf8d490c7aa582bebd836d25e3217 Mon Sep 17 00:00:00 2001 From: JJ Date: Thu, 4 Jan 2024 21:40:29 -0800 Subject: new monospace font --- css/fonts.css | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ css/style.css | 2 +- 2 files changed, 56 insertions(+), 1 deletion(-) (limited to 'css') diff --git a/css/fonts.css b/css/fonts.css index 7703742..db16a75 100644 --- a/css/fonts.css +++ b/css/fonts.css @@ -180,3 +180,58 @@ font-style: italic; font-weight: 800; } + +@font-face { + font-family: NotoSansMono; + src: url(../fonts/NotoSansMono/NotoSansMono-ExtraLight.ttf); + font-weight: 100; +} + +@font-face { + font-family: NotoSansMono; + src: url(../fonts/NotoSansMono/NotoSansMono-Thin.ttf); + font-weight: 200; +} + +@font-face { + font-family: NotoSansMono; + src: url(../fonts/NotoSansMono/NotoSansMono-Light.ttf); + font-weight: 300; +} + +@font-face { + font-family: NotoSansMono; + src: url(../fonts/NotoSansMono/NotoSansMono-Regular.ttf); + font-style: normal; + font-weight: 400; +} + +@font-face { + font-family: NotoSansMono; + src: url(../fonts/NotoSansMono/NotoSansMono-Medium.ttf); + font-weight: 500; +} + +@font-face { + font-family: NotoSansMono; + src: url(../fonts/NotoSansMono/NotoSansMono-SemiBold.ttf); + font-weight: 600; +} + +@font-face { + font-family: NotoSansMono; + src: url(../fonts/NotoSansMono/NotoSansMono-Bold.ttf); + font-weight: 700; +} + +@font-face { + font-family: NotoSansMono; + src: url(../fonts/NotoSansMono/NotoSansMono-ExtraBold.ttf); + font-weight: 800; +} + +@font-face { + font-family: NotoSansMono; + src: url(../fonts/NotoSansMono/NotoSansMono-Black.ttf); + font-weight: 900; +} diff --git a/css/style.css b/css/style.css index 56377aa..3920f27 100644 --- a/css/style.css +++ b/css/style.css @@ -22,7 +22,7 @@ a:hover { } code { - font-family: JuliaMono, monospace; + font-family: NotoSansMono, monospace; font-size: 18px; } -- cgit v1.2.3-70-g09d2