Skip to content

M8: 2007-faithful CSS#18

Open
simonbc wants to merge 1 commit into
mainfrom
m8-css
Open

M8: 2007-faithful CSS#18
simonbc wants to merge 1 commit into
mainfrom
m8-css

Conversation

@simonbc
Copy link
Copy Markdown
Owner

@simonbc simonbc commented May 16, 2026

Summary

Port jottit's CSS to faithfully reproduce the 2007 look on our modern HTML.

Sub-steps (one commit each):

  • Step 1: chrome + 5-file stylesheet rewrite (claim banner, site header, content card, sidebar, dateline, primer; site_base.html + main_base.html)
  • Step 2: front-page polish (logo, textarea sizing, nav)
  • Step 3: admin pages (3-column row layout with explanation column)
  • Step 4: edit page (body.edit, tabs, preview)
  • Step 5: signin / claim / forgot-password dialog look

Test plan

  • 329 tests passing
  • Visit / on dev server — front page matches screenshot 1
  • Create a site, view home — matches screenshot 2 (claim banner, header, primer, content, sidebar, dateline)
  • Visit /admin/settings — matches screenshot 3/4

🤖 Generated with Claude Code

Split base.html into bare shell + site_base.html (body.app — claim
banner, header strip, white content card, page-list sidebar, footer)
+ main_base.html (body.site — logo, gray body, blue-link nav). Every
content template extends one of the two layout bases; partials that
used to inline header/sidebar/claim-banner are dropped.

Rewrote tokens/reset/base/components/utilities to match the 2007
look: #f0f0ee panel, white content card with #ddd border, 60px left
gutter + 200px right sidebar at ≥768px, dateline footer with grey
button-style history/edit links, yellow "That was easy!" primer.

Wired the /site/hide-primer POST endpoint to flip
sites.show_primer=false and redirect home. Dropped the redundant
"Home" h1 on view_page; the dateline now carries page actions.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant