Skip to content

Commit

Permalink
ante-kulupu-so: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr committed Nov 9, 2023
1 parent 3093f90 commit 4f58344
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
18 changes: 9 additions & 9 deletions ante-kulupu-so.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,15 @@ Fonts used to display [sitelen pona]:

大人
: <span lang="tp">jan wawa</span>
: <span lang="en">the ideal protagonist</span>
: <span lang="en">the ideal protagonist; the aligned self; a person-in-flow</span>

君子
: <span lang="tp">jan pona</span>
: <span lang="en">an honorable one; a noble person</span>
: <span lang="en">a noble person; an honorable one</span>

小人
: <span lang="tp">jan anpa</span>
: <span lang="en">a dishonorable one</span>
: <span lang="en">a lowly person; a dishonorable one</span>

涉大川
: <span lang="tp">pali suli</span>
Expand All @@ -160,7 +160,7 @@ Fonts used to display [sitelen pona]:

攸往
: <span lang="tp">_tawa ma ante_</span>
: <span lang="en">'visiting a different place': "destination" [^Minford]</span> <!-- TODO Check… -->
: <span lang="en">'visiting a different place': "destination" [^Minford]</span>

{:.bagua}
| linja | 名字 | English | **sitelen** | nimi
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -1147,7 +1147,7 @@ Fonts used to display [sitelen pona]:
}
input#lp:checked + *[lang=tp] {
font-family: tp-linjapona;
}
} */

.page__content {
display: flex;
Expand All @@ -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 {
Expand All @@ -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 {
Expand Down Expand Up @@ -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] {
Expand Down
15 changes: 11 additions & 4 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}



Expand Down

0 comments on commit 4f58344

Please sign in to comment.