diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-10 17:16:45 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-10 17:16:45 +0100 |
| commit | 7e50f8489e3e5cd43b585f03a604c0a33af10eb9 (patch) | |
| tree | dc031230f2807778b1a9a01e61b87d572e5fa1be /scss/main.scss | |
| parent | fe8acc05561a4b40467f9396f40b6e52b4f1cf4e (diff) | |
feat(style): supports custom font
Diffstat (limited to 'scss/main.scss')
| -rw-r--r-- | scss/main.scss | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scss/main.scss b/scss/main.scss index 80bd37c..d910672 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -4,12 +4,18 @@ $bp-mid: 1000px; $bp-little: 650px; :root { - --text-color: #000 + --text-color: #000; +} + +@font-face { + font-family: "custom"; + src: url("/static/font.woff2"); } body { --background-image: ; font-size: 18px; + font-family: "custom", "serif"; background: var(--background-image) center fixed no-repeat; background-size: cover; color: var(--text-color); |
