Skip to content

site: unify right and left margins around one rail-plus-measure column - #481

Merged
max-sixty merged 3 commits into
mainfrom
right-margin
May 14, 2026
Merged

max-sixty merged 3 commits into
mainfrom
right-margin

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Several passes to give the marketing site a single visual column instead of five competing edges.

What changed

  • Right edge. Page width was 1080px with body paragraphs ending at 62ch, the activity table extending to the full page, the install snippet at fit-content, and the tagline at 32ch — five right edges. Page width is now calc(--rail + --measure + 4rem) = 50rem, so prose, the activity feed, stats, and the footer all share one right edge.
  • Left edge. The header wordmark and footer credit now margin-left: var(--rail), sitting at the same left position as every section eyebrow and paragraph. The "tend" wordmark in the header sits directly above the "tend" H1 in the hero.
  • Horizontal dividers. Dropped all <hr /> between sections; spacing now comes from .page > section:not(.hero) { margin-top: 5rem }. The section-eyebrow's leading tick still marks each new block, so the change reads as cleaner rather than less structured.
  • Header nav. Removed the four anchor links. The page is short enough that scrolling beats clicking, the footer carries the same destinations, and the nav was already incomplete (missing "Recent ground" and "How it works").
  • Install snippet. The two install pres (hero teaser + quick-start instruction) are unified on the quieter style — left ochre rule, no box. Dropped the .install override.

Variables

  • --rail: 7rem (margin-note column + gap) replaces magic 7rem values in 4 places.
  • --measure-narrow: 48ch replaces the one-off 32ch tagline cap and 48ch section-lead cap.
  • --page-width: 50rem is now rem-based. It used to be calc(--rail + 62ch + 4rem), but ch resolves at the consuming element; the header sets font-size: 0.9rem so its ch was smaller, making the header 4rem narrower than the page. rem keeps the layout stable regardless of child font-sizes.

Other

  • Renamed the "currently tending" indicator to lead with the word "currently".

Notes for review

The footer still has its full-width border-top separator. With every other divider gone, it's now the only horizontal line on the page. I'd argue it reads as edge/chrome rather than a section break (it's full-width, not centered), but worth a glance.

max-sixty and others added 2 commits May 14, 2026 13:45
Five competing right edges (32ch tagline, 48ch lead, 62ch prose,
fit-content install, 1080px wide blocks) collapsed to one. Page width
is now calc(rail + measure + 4rem) so prose, activity feed, stats, and
footer all share the same right edge; the 4rem headroom lets the
activity title column breathe. Logo clamp tightened to fit the
narrower hero. Magic 7rem values canonicalized to --rail.

Co-Authored-By: Claude <[email protected]>
Several consistency passes:

- Remove all <hr /> from the page; rely on whitespace plus the
  section-eyebrow ticks for separation. Section gap set via
  .page > section:not(.hero) { margin-top: 5rem }.
- Drop the header's nav links; the footer covers the same destinations
  and the page is short enough to scroll.
- Rail-align the wordmark and the footer credit so the page has a
  single left edge from header to footer.
- Unify the two install snippets on the quieter pre style (left rule,
  no box); drop the .install override.
- Introduce --measure-narrow for the tagline + section-lead (was two
  one-off ch caps).
- Convert --page-width to rem. It was calc(--rail + 62ch + 4rem), and
  the .site-header's font-size: 0.9rem made its ch smaller — so the
  header was 4rem narrower than the page. rem keeps the layout stable
  across child font-sizes.
- Rename the "currently tending" indicator to lead with "currently".

Co-Authored-By: Claude <[email protected]>

@tend-agent tend-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing: .site-header .wordmark (line 237) and .site-footer .credit (line 561) both pick up margin-left: var(--rail), but --rail has no mobile override. Meanwhile the existing @media (max-width: 760px) block resets .section-eyebrow and .section-lead to margin-left: 0, and the mobile .hero override sets padding: 2rem 0 2rem (dropping its left rail too). So below 760px the wordmark and footer credit retain a 7rem indent while the hero h1, eyebrows, and section leads all sit flush at the gutter — the "tend wordmark sits directly above the tend h1" alignment from the PR body only holds on desktop.

Cleanest fix is to extend the mobile media block:

@media (max-width: 760px) {
  .section-eyebrow { margin-left: 0; }
  .section-eyebrow::before { left: -1.5rem; }
  .section-lead { margin-left: 0; }
  .site-header .wordmark,
  .site-footer .credit { margin-left: 0; }
}

Happy to push that as a follow-up commit if you'd like.

The rail-aligned wordmark and footer credit were missing from the
existing mobile media block, so below 760px they kept a 7rem indent
while the hero h1, eyebrows, and section leads went flush — breaking
the single-left-edge story.

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit 64fba52 into main May 14, 2026
6 checks passed
@max-sixty
max-sixty deleted the right-margin branch May 14, 2026 22:03
@max-sixty max-sixty mentioned this pull request May 15, 2026
2 of 6 tasks
max-sixty added a commit that referenced this pull request May 15, 2026
## Summary

Release 0.0.19. Headline change: **Codex harness support alongside
Claude** (#480).

- New `codex/action.yaml` composite action — invokable as
`max-sixty/tend/codex@v1`.
- `harness: claude | codex` field in `.config/tend.yaml` (default
`claude`); the generator picks the matching action ref and secret names
per harness.
- `shared/system-prompt.md` consumed by both actions.
- Codex plugin manifest at
`plugins/tend-ci-runner/.codex-plugin/plugin.json` and marketplace at
`.agents/plugins/marketplace.json`.

Tend's own config stays on `harness: claude` for now — flipping to Codex
is a separate follow-up PR after this release publishes.

Site polish + minor fixes round out the rest (#456, #462–#464,
#468–#472, #475, #476, #478, #481, #457, #459, #466, #482).

## Test plan

- [x] `wt test` passes
- [x] `pre-commit run --all-files` passes
- [ ] CI green on this PR
- [ ] After merge: `uvx [email protected] --help` resolves once PyPI release
workflow completes
- [ ] v1 branch auto-updated by `update-action-branch.yaml`
- [ ] Follow-up PR regenerates tend's own workflows with `uvx
tend@latest init`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants