From 2269a2495f2acf3099b967374347c1bab82ea78f Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Thu, 18 May 2023 21:40:32 +0200 Subject: [PATCH] update fonts --- theme.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/theme.css b/theme.css index 4d2f95d..cb8d1d5 100644 --- a/theme.css +++ b/theme.css @@ -3,6 +3,11 @@ src: url('./fonts/ubuntu-light.woff') format('woff'); } +@font-face { + font-family: 'UbuntuMono'; + src: url('./fonts/ubuntu-mono.ttf') format('truetype'); +} + :root { --color-hover: #3c7ead; --color-primary-light-1: #4793cc; @@ -10,6 +15,10 @@ --fonts-override: 'Ubuntu'; } +.code-block, .code-block code { + font-family: 'UbuntuMono'; +} + #navbar .active { background: var(--color-hover) !important; /* background: #d46ba3; */