From d288bd7f7bd4ac374a3c4d6ebed7043641709487 Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Mon, 25 Oct 2021 11:57:26 +0100 Subject: [PATCH] css: Only use Raleway font for

Raleway has very different metrics to the default fonts of some Linux distros resulting in

being smaller than

, which is very confusing.

is larger and often underlined, so we can keep it there. --- css/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/main.css b/css/main.css index f5c913d..365ad01 100644 --- a/css/main.css +++ b/css/main.css @@ -10,7 +10,7 @@ a:hover { color: black; } #navbarText > ul > li > a:hover { color: #000; } .btn-primary { background-color: #900; border-color: #900; } .btn-primary:hover { background-color: #000; border-color: #000; } -h1, h2 { font-family: Raleway, var(--bs-font-sans-serif); font-weight: 500; } +h1 { font-family: Raleway, var(--bs-font-sans-serif); font-weight: 500; } code { padding: .2rem .4rem; background-color: #f8f8f8; border-radius: .25rem; } pre code { padding: 0; background-color: transparent; border-radius: 0; } pre { padding: 0.5rem 0.5rem; background-color: #f8f8f8; border-radius: .5rem; }