web/dreamstop.openfp.net · commit
Finish the position and place rename
parents: c105c1f269
Finish the position and place rename CONTRIBUTING calls a subordinate clause's role its place, the stylesheet comments say position, and the step helper's Haddock reads one way.
3 files changed
Diff
CONTRIBUTING.md | 2 +- dreamstop-openfp-net-web/src/Site/View.hs | 3 ++- dreamstop.css | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 347007d..0eb728a 100644 @@ -20,7 +20,7 @@ Every sentence of the manual is annotated in dreamstop within the patterns of the manual kind, and every sentence of the front page within the patterns of the website kind. A subordinate clause records its -position and the number of its parent clause, as in `[ASR·HAB]/rel1`. +place and the number of its parent clause, as in `[ASR·HAB]/rel1`. A noun for an act carries BSC for the act or OBJ for its product, in braces after its clause, as in `[ASR·HAB] {review: BSC}`. In the manual, write each sentence as diff --git a/dreamstop-openfp-net-web/src/Site/View.hs b/dreamstop-openfp-net-web/src/Site/View.hs index 3aad7f3..4b59e09 100644 @@ -94,7 +94,8 @@ holdTabKeys _ = do void (event # "preventDefault" $ ()) void (document # "addEventListener" $ ("keydown" :: MisoString, listener)) +-- | Moves @n@ positions along the menu from the given one, wrapping at +-- either end. step :: Int -> Layer -> Layer step n l = toEnum ((fromEnum l + n) `mod` length layers) diff --git a/dreamstop.css b/dreamstop.css index 18de5ba..ca960ab 100644 @@ -123,7 +123,7 @@ ul.readings code { font-family: var(--font-mono); } .annotation code, p.annotation { font-family: var(--font-mono); color: var(--muted); font-size: .85rem; } /* Readings: numbered when there are several. Codepoint colours come from - * codepoints.css, printed from the layer table in nix/site.nix. */ + * codepoints.css, printed from the position table in nix/site.nix. */ ol.annotation { margin: .4rem 0 0; padding-left: 1.4rem; font-family: var(--font-mono); color: var(--muted); font-size: .85rem; } ol.annotation li { margin: .3rem 0; } @@ -135,7 +135,7 @@ ul.entry-bullets { list-style: none; margin: 0; padding: 0; } ul.entry-bullets > li { margin: 1rem 0 0; } ul.entry-bullets blockquote.entry { margin: 0 0 .4rem; } -/* The layer menu. Without JavaScript the tabs are hidden and every layer's +/* The position menu. Without JavaScript the tabs are hidden and every position's * panel shows under its own heading. With it, only the selected panel * shows, and the tab names it. Tab colours come from codepoints.css. */ .tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.4rem 0 0; }