From 787ff695953fb4e13ef98118a0ac0a3ece392ab3 Mon Sep 17 00:00:00 2001 From: anoduck <9925396+anoduck@users.noreply.github.com> Date: Wed, 6 Nov 2024 07:20:11 -0500 Subject: docs(content): :rocket: Fonts work, renamed files, added content from previous page renamed blog posts without prefix, custom font renedering works, migrated communication logs to new framework #30 #34 #35 #32 --- assets/scss/theme/font.scss | 18 ++++++++++++++++++ assets/scss/theme/theme.scss | 4 ++++ 2 files changed, 22 insertions(+) (limited to 'assets') diff --git a/assets/scss/theme/font.scss b/assets/scss/theme/font.scss index 6ec2edb..cb7a6db 100644 --- a/assets/scss/theme/font.scss +++ b/assets/scss/theme/font.scss @@ -33,3 +33,21 @@ font-weight: 600; src: url("../fonts/crimson-pro-v24-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } + +/* grenze-gotisch-regular - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: "Grenze Gotisch"; + font-style: normal; + font-weight: 400; + src: url("../fonts/grenze-gotisch-v18-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} + +/* texturina-regular - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: "Texturina"; + font-style: normal; + font-weight: 400; + src: url("../fonts/texturina-v28-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} diff --git a/assets/scss/theme/theme.scss b/assets/scss/theme/theme.scss index a57aa26..590ca23 100644 --- a/assets/scss/theme/theme.scss +++ b/assets/scss/theme/theme.scss @@ -1,3 +1,7 @@ +h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 { + font-family: 'Grenze Gotisch'; +} + @media (prefers-color-scheme: dark) { body { background-color: #343a40; -- cgit v1.2.3