diff --git a/static/css/constants.css b/static/css/constants.css index a68e57d..ffcb394 100644 --- a/static/css/constants.css +++ b/static/css/constants.css @@ -19,4 +19,5 @@ /* Global parameters */ :root { --font-size: 1.15rem; + --font-family: "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol"; } diff --git a/static/css/index.css b/static/css/index.css index 6b87291..d0d9287 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -25,7 +25,7 @@ main { color: var(--font-color); font-size: var(--font-size); padding: 2em 1em; - font-family: "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol"; + font-family: var(--font-family); color: var(--font-color); margin: 0 auto; max-width: 640px; /* breakpoint */ @@ -72,12 +72,7 @@ main { } /* Description */ -h1, -h2, -h3, -h4, -h5, -h6 { +h1 { font-weight: var(--title-weight); font-size: calc(var(--font-size) * 1.6); margin-bottom: 0;