Add Raleway font for page headings

This commit is contained in:
Talia 2022-01-04 13:22:32 +01:00
parent 4c7fe1bec9
commit 085f014d9e
1 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
:root { :root {
font-family: sans-serif; font-family: sans-serif;
--color-bg: white; --color-bg: white;
@ -28,6 +30,11 @@ body>section {
max-width: 60em; max-width: 60em;
} }
h1, h2, h3, h4, h5, h6 {
font-family: 'Raleway', sans-serif;
font-weight: normal;
}
h2 { h2 {
padding: 0 1em 0 .2em; padding: 0 1em 0 .2em;
width: max-content; width: max-content;
@ -40,11 +47,11 @@ em {
} }
hr { hr {
all: unset; all: unset;
width: 100%; width: 100%;
border-bottom: .2em solid var(--color-ac); border-bottom: .2em solid var(--color-ac);
grid-column: 1 / -1; grid-column: 1 / -1;
margin: 1em 0; margin: 1em 0;
} }
.button { .button {