From 4f58344c1d373e30edfe093f9d912717470ccd5b Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 9 Nov 2023 09:45:55 -0800 Subject: [PATCH] ante-kulupu-so: tweaks --- ante-kulupu-so.md | 18 +++++++++--------- assets/css/main.scss | 15 +++++++++++---- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/ante-kulupu-so.md b/ante-kulupu-so.md index ac1e87b..38feaa0 100644 --- a/ante-kulupu-so.md +++ b/ante-kulupu-so.md @@ -135,15 +135,15 @@ Fonts used to display [sitelen pona]: 大人 : jan wawa -: the ideal protagonist +: the ideal protagonist; the aligned self; a person-in-flow 君子 : jan pona -: an honorable one; a noble person +: a noble person; an honorable one 小人 : jan anpa -: a dishonorable one +: a lowly person; a dishonorable one 涉大川 : pali suli @@ -160,7 +160,7 @@ Fonts used to display [sitelen pona]: 攸往 : _tawa ma ante_ -: 'visiting a different place': "destination" [^Minford] +: 'visiting a different place': "destination" [^Minford] {:.bagua} | linja | 名字 | English | **sitelen** | nimi @@ -1114,7 +1114,7 @@ Fonts used to display [sitelen pona]: text-decoration: none; } - input#fairfax:checked { } + /* input#fairfax:checked { } input#fairfax:checked + *[lang=tp] { color: red; background: chartreuse; @@ -1147,7 +1147,7 @@ Fonts used to display [sitelen pona]: } input#lp:checked + *[lang=tp] { font-family: tp-linjapona; - } + } */ .page__content { display: flex; @@ -1159,7 +1159,7 @@ Fonts used to display [sitelen pona]: .page__content input { display: inline-block; } /* reset a weird default */ .terms [lang=tp] { - font: 1.25em tp-linjalipamanka; + font: 1.25em tp-LinjaLipamanka; } .bagua { @@ -1173,7 +1173,7 @@ Fonts used to display [sitelen pona]: font: 2em normal; } .bagua strong { - font: 1.25em tp-linjapona; + font: 1.25em tp-LinjaPona; } .page__content dd { @@ -1210,7 +1210,7 @@ Fonts used to display [sitelen pona]: width: 55%; margin-left: 45%; padding-left: 2rem; - font: 1.5rem / 2rem tp-linjalipamanka /* TODO how to toggle fonts using a UI element? */; + font: 1.5rem / 2rem tp-LinjaLipamanka /* TODO how to toggle fonts using a UI element? */; } .page__content h1 + dl dd strong, /* any one-off english... */ .page__content h1 + dl [lang=en] { diff --git a/assets/css/main.scss b/assets/css/main.scss index fcf3f3c..bd7c8df 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -8,25 +8,32 @@ @import "minimal-mistakes"; // @font-face { -// font-family: tp-fairfax; // TODO fix ... or are these unicode?? +// font-family: tp-Fairfax; // TODO fix ... or are these unicode?? // src: url('https://raw.githubusercontent.com/kreativekorp/open-relay/3326b936d7bc0b83aaef5a84c715e6a53070fb78/Fairfax/Fairfax.ttf') format('truetype'); // line-height: 1.1em; // } // @font-face { -// font-family: tp-sitelenselikiwen; // TODO fix... +// font-family: tp-SitelenSeliKiwen; // TODO fix... // src: url('https://raw.githubusercontent.com/kreativekorp/sitelen-seli-kiwen/e964709/main/sitelenselikiwenasuki.ttf') format('truetype'); // line-height: 1.1em; // } @font-face { - font-family: tp-linjalipamanka; // missing: pake + font-family: tp-LinjaLipamanka; // missing: pake src: url('https://lipamanka.gay/linjalipamanka-normal.otf') format('opentype'); line-height: 1.1em; } @font-face { - font-family: tp-linjapona; // missing: pake powe usawi + font-family: tp-LinjaPona; // missing: pake powe usawi src: url('https://raw.githubusercontent.com/janSame/linja-pona/master/linja-pona-4.9.otf') format('opentype'); font-size: 1.1em / 1.1em; // no monospacing of nbsp... } +@font-face { + font-family: tp-SitelenPonaPona; + src: url('https://jackhumbert.github.io/sitelen-pona-pona/fonts/sitelen-pona-pona.otf'); + font-weight: 400; + text-rendering: optimizeLegibility; + font-feature-settings: "liga" 1; +}