From 2384321c21a8e3fa5f576641c7d04c05dbbd49ab Mon Sep 17 00:00:00 2001 From: phineas-pta Date: Mon, 11 Sep 2023 15:39:14 +0200 Subject: [PATCH] change font --- README.md | 11 +++++------ _includes/lay-chap.njk | 8 ++++---- _includes/navbar.njk | 4 ++-- _includes/wait-sign.html | 2 +- assets/fonts/GrenzeGotisch-ExtraBold.woff2 | Bin 53056 -> 49456 bytes assets/fonts/fa-solid-900.ttf | Bin 0 -> 394668 bytes assets/fonts/fa-solid-900.woff2 | Bin 0 -> 150024 bytes assets/style.sass | 13 +++++++++---- 8 files changed, 21 insertions(+), 17 deletions(-) create mode 100644 assets/fonts/fa-solid-900.ttf create mode 100644 assets/fonts/fa-solid-900.woff2 diff --git a/README.md b/README.md index 5ebe91f..9565e1b 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ src/ │ ├─ book-1/ │ │ ├─ chapter-1.html │ │ ├─ chapter-2.html +│ ... │ ├─ book-2/ │ │ ├─ chapter-1.html │ │ ├─ chapter-2.html @@ -55,12 +56,10 @@ using 11ty: docker ?? no option to change host additional setup: - - - Favicon: https://www.iconarchive.com/download/i75808/martz90/circle/books.ico - - AR PL (Arphic Public Licensed) UKaiHK font: https://github.com/SilentByte/fonts-arphic-ukai/blob/master/fonts-arphic-ukai/ukai.ttc, under the [Arphic public license](assets/fonts/ARPHICPL.txt) - - Grenze Gotisch font: https://github.com/Omnibus-Type/Grenze-Gotisch/blob/master/fonts/ttf/GrenzeGotisch-ExtraBold.ttf, under the [SIL OFL v1.1](assets/fonts/OFL.txt) - -convert `.ttf` → `.woff2` using https://github.com/google/woff2 +- Favicon: https://www.iconarchive.com/download/i75808/martz90/circle/books.ico +- AR PL (Arphic Public Licensed) UKaiHK font: https://github.com/SilentByte/fonts-arphic-ukai/blob/master/fonts-arphic-ukai/ukai.ttc, under the [Arphic public license](assets/fonts/ARPHICPL.txt) +- Grenze Gotisch font: https://github.com/Omnibus-Type/Grenze-Gotisch, under the [SIL OFL v1.1](assets/fonts/OFL.txt) +- Font Awesome v6 solid: https://github.com/FortAwesome/Font-Awesome/tree/6.4.2/webfonts, under the [SIL OFL v1.1](assets/fonts/OFL.txt) UKaiHK font: originally `.ttc` → use FontForge to extract `.ttf` № 2 (HK) diff --git a/_includes/lay-chap.njk b/_includes/lay-chap.njk index e8b5f42..eca1d7e 100644 --- a/_includes/lay-chap.njk +++ b/_includes/lay-chap.njk @@ -21,14 +21,14 @@ {% set prev_next = eleventyNavigation.key | findNextPrev(navPages) %} diff --git a/_includes/navbar.njk b/_includes/navbar.njk index eafd167..bba473f 100644 --- a/_includes/navbar.njk +++ b/_includes/navbar.njk @@ -3,10 +3,10 @@