font family as global variable
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending

This commit is contained in:
Mylloon 2023-10-13 15:04:09 +02:00
parent 4d2db6b4f0
commit 39a28ea745
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 3 additions and 7 deletions

View file

@ -19,4 +19,5 @@
/* Global parameters */ /* Global parameters */
:root { :root {
--font-size: 1.15rem; --font-size: 1.15rem;
--font-family: "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol";
} }

View file

@ -25,7 +25,7 @@ main {
color: var(--font-color); color: var(--font-color);
font-size: var(--font-size); font-size: var(--font-size);
padding: 2em 1em; padding: 2em 1em;
font-family: "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol"; font-family: var(--font-family);
color: var(--font-color); color: var(--font-color);
margin: 0 auto; margin: 0 auto;
max-width: 640px; /* breakpoint */ max-width: 640px; /* breakpoint */
@ -72,12 +72,7 @@ main {
} }
/* Description */ /* Description */
h1, h1 {
h2,
h3,
h4,
h5,
h6 {
font-weight: var(--title-weight); font-weight: var(--title-weight);
font-size: calc(var(--font-size) * 1.6); font-size: calc(var(--font-size) * 1.6);
margin-bottom: 0; margin-bottom: 0;