From d59b6e0d5e859ccfd16dbaa0fb4b052734eb7e70 Mon Sep 17 00:00:00 2001 From: c Date: Wed, 2 Feb 2022 10:20:43 +0100 Subject: [PATCH] add local font to css --- styles.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/styles.css b/styles.css index 5206773..4b13c36 100644 --- a/styles.css +++ b/styles.css @@ -1,11 +1,16 @@ +@font-face { + font-family: 'Ubuntu Mono'; + src: local(UbuntuMono-R.ttf); +} + * { box-sizing: border-box; } body { + font-family: 'Ubuntu Mono'; background-color: #151515; color: #fc9032; - font-family: 'Ubuntu Mono', monospace; } a:link {