Story 005: floral margins on the front and about pages, life-weaver's ornament copied from i.bytestone.uk (#24)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
hum3 2026-11-02 14:50:28 +00:00
commit 9eb08d9baa
6 changed files with 3275 additions and 1 deletions

View file

@ -21,6 +21,13 @@ task publish # rsync site/ to the host as www.bytesto
The hostnames are in the statichost Caddyfile; DNS for bytestone.org is at
Namecheap.
## Credits
The floral margins of the front and about pages, `site/margin.svg`, are
life-weaver's ornament, a port of
[florilegium](https://github.com/kevinraymond/florilegium) by Kevin
Raymond (MIT), copied from i.bytestone.uk.
## Links
| | |

View file

@ -2,7 +2,7 @@ version: "3"
tasks:
check:
desc: The front and about pages say what stories 002, 003 and 004 ask, Dan Briggs's memorial is byte for byte as mirrored, no file name carries a query string
desc: The front and about pages say what stories 002, 003, 004 and 005 ask, Dan Briggs's memorial is byte for byte as mirrored, no file name carries a query string
cmds:
- grep -q 'class="count"' site/index.html && grep -q 'data-count' site/index.html
- grep -q 'class="memorial"' site/index.html && grep -q 'class="recent"' site/index.html && grep -q 'data-recent' site/index.html
@ -20,6 +20,8 @@ tasks:
- test -z "$(find site -name '*[?]*')"
- test -z "$(grep -l 'i.bytestone.uk' site/index.html)"
- '! grep -q ''href="https://i.bytestone.uk'' site/about.html'
- test -f site/margin.svg && grep -q 'xmlns="http://www.w3.org/2000/svg"' site/margin.svg
- "grep -q 'body.front::before, body.front::after, body.about::before, body.about::after' site/style.css && grep -q 'mask: url(margin.svg)' site/style.css"
test:
desc: Alias of check

1
changes/24.added.md Normal file
View file

@ -0,0 +1 @@
Floral margins down both sides of the front and about pages, the ornament of life-weaver story 009 copied from i.bytestone.uk

View file

@ -0,0 +1,70 @@
# 005 — Floral margins on the front and about pages (#24)
**Status:** built, awaiting release
**Roadmap:** none — the look of the pages (story 002)
## Why
The front page of i.bytestone.uk, and its person pages, carry
life-weaver's floral margins (its story 009): a Delft-blue ornament of
stems, leaves and flowers down each side of a wide viewport, one ink in
tones, masked in the link blue so it follows the palette in light and
dark. The front and about pages here share that site's palette, mark
and type but not its margins, so a visitor crossing from the lives to
bytestone.org sees the flowers vanish. The two should read as one
place.
## Vocabulary
| Term | Meaning |
|---|---|
| Margin | The ornament down each side of a page, outside the column of text, where the viewport leaves room |
| Ornament | life-weaver's drawing, a port of florilegium (Kevin Raymond, MIT): one ink in tones, read by the page as a luminance mask |
| The day's garden | life-weaver regrows the ornament from the day of the build as its seed; the copy here is one such day's, fixed |
## What changes
- `site/margin.svg`: a copy of the ornament as i.bytestone.uk served it
on 2026-11-02, its MIT notice kept in the file. Copied, not
referenced: a CSS mask will not load a cross-origin image without
CORS, which the host grants only to `kin.json`, and the pages should
not depend on the site of lives being up.
- `site/style.css`: the margin rule of life-weaver's `style.css`, on
`body.front` and `body.about`: fixed down both sides on viewports
wider than 70 rem, mirrored on the right, in `var(--link)`, behind
the text, never in print.
- `task check`: the file is present and the stylesheet masks it.
- README credits florilegium, as life-weaver's does.
## Acceptance
| Page | Viewport | Colour scheme | Outcome |
|---|---|---|---|
| `/`, `/about.html` | wider than about 70 rem | light | the ornament down both sides in the link blue; the text column unmoved |
| the same | the same | dark | the same ornament in the dark scheme's link blue |
| the same | narrower than 70 rem | any | no ornament; the pages as they are today |
| the same | print | | no ornament |
| `/w/dbriggs/` and the Omeka pages | any | any | untouched: the rule is on the two body classes only |
| Check | Outcome |
|---|---|
| `task check` | `site/margin.svg` exists; `site/style.css` masks `margin.svg` on `body.front` and `body.about`; the memorial is byte for byte as mirrored |
## Out of scope
- Regrowing the garden daily, as i.bytestone.uk does: nothing is built
here. A fresh copy is a later story, if the fixed one palls.
- Margins on the memorial or the Omeka pages.
- The portrait tiles of life-weaver story 012.
## Decisions
A copy of the file rather than a build step or a cross-origin
reference: above.
## Done when
- [x] `task check` expresses the acceptance table and passes
- [ ] the acceptance table holds on www.bytestone.org
- [x] changelog entry
- [ ] issue closed with a link to the release

3167
site/margin.svg Normal file

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 511 KiB

View file

@ -85,3 +85,30 @@ footer a { color: var(--muted); }
.about figure { float: none; width: auto; margin: 1rem 0; }
header.site { flex-wrap: wrap; }
}
/* The floral margins (story 005): life-weaver's ornament (its story 009, a
port of florilegium, Kevin Raymond, MIT), one ink in tones, read as a
luminance mask and coloured in the link ink, down both sides of the front
and about pages where the viewport leaves room beside the column;
mirrored on the right; never over the text, never in print. The file is
a copy of the garden i.bytestone.uk grew on 2026-11-02. */
@media (min-width: 70rem) {
body.front::before, body.front::after, body.about::before, body.about::after {
content: "";
position: fixed;
top: 0;
bottom: 0;
width: calc((100vw - 48rem) / 2);
max-width: 14rem;
background: var(--link);
mask: url(margin.svg) no-repeat left bottom / contain;
mask-mode: luminance;
pointer-events: none;
z-index: -1;
}
body.front::before, body.about::before { left: 0; }
body.front::after, body.about::after { right: 0; transform: scaleX(-1); }
}
@media print {
body.front::before, body.front::after, body.about::before, body.about::after { display: none; }
}