Skip to content

Commit fad3ced

Browse files
liskinslotThe
authored andcommitted
css: Only use Raleway font for <h1>
Raleway has very different metrics to the default fonts of some Linux distros resulting in <h2> being smaller than <h3>, which is very confusing. <h1> is larger and often underlined, so we can keep it there.
1 parent 7f0f484 commit fad3ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css/main.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ a:hover { color: black; }
1010
#navbarText > ul > li > a:hover { color: #000; }
1111
.btn-primary { background-color: #900; border-color: #900; }
1212
.btn-primary:hover { background-color: #000; border-color: #000; }
13-
h1, h2 { font-family: Raleway, var(--bs-font-sans-serif); font-weight: 500; }
13+
h1 { font-family: Raleway, var(--bs-font-sans-serif); font-weight: 500; }
1414
code { padding: .2rem .4rem; background-color: #f8f8f8; border-radius: .25rem; }
1515
pre code { padding: 0; background-color: transparent; border-radius: 0; }
1616
pre { padding: 0.5rem 0.5rem; background-color: #f8f8f8; border-radius: .5rem; }

0 commit comments

Comments
 (0)