web/dreamstop.openfp.net · commit
Let the front page's text fill the central column
parents: 4c7ebbf61c
Let the front page's text fill the central column Paragraphs, quotes and example grids now all fill the container column, so the text is as wide as the example boxes; the title keeps its 18ch cap.
2 files changed
Diff
dreamstop-openfp-net-web/ChangeLog.md | 4 ++++ dreamstop.css | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/dreamstop-openfp-net-web/ChangeLog.md b/dreamstop-openfp-net-web/ChangeLog.md index dd55f2f..2cd2e5d 100644 @@ -1,5 +1,9 @@ # ChangeLog +## Unreleased + +- The text on the front page now fills the central column, as wide as the example boxes. + ## 0.2.0.0 — 2026-12-06 - The front page now explains in plain words what dreamstop checks, and says that a program marks up every clause with codepoints. diff --git a/dreamstop.css b/dreamstop.css index 9b6ed83..3987b77 100644 @@ -83,7 +83,7 @@ h1.display { font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.05; text-transform: uppercase; color: var(--title); margin: 1rem 0 0; max-width: 18ch; } -.lead { font-size: clamp(1.05rem, 2.1vw, 1.3rem); color: var(--ink); max-width: 44rem; margin: 1.6rem 0 0; } +.lead { font-size: clamp(1.05rem, 2.1vw, 1.3rem); color: var(--ink); margin: 1.6rem 0 0; } .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.2rem 0 0; } /* Sections. */ @@ -91,7 +91,6 @@ h1.display { .band:nth-of-type(odd) { background: var(--panel); } .section-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); text-transform: uppercase; color: var(--title); margin: 0 0 1.2rem; line-height: 1.15; } -.band p { max-width: 44rem; } /* Footer. */ footer.chrome { position: static; padding: 2.5rem 0; } @@ -106,11 +105,11 @@ footer .copy { color: var(--muted); font-size: .88rem; } /* Example sentences, verdicts and pair sides. */ blockquote.entry { - margin: 1.6rem 0; padding: 1.1rem 1.5rem; max-width: 44rem; + margin: 1.6rem 0; padding: 1.1rem 1.5rem; background: var(--bg); border: 1px solid var(--hair); border-left: 4px solid var(--dk-300); border-radius: .6rem; font-style: italic; font-size: 1.15rem; color: var(--title); } -ul.readings { list-style: none; margin: 1.6rem 0; padding: 0; max-width: 44rem; +ul.readings { list-style: none; margin: 1.6rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; } ul.readings > li { background: var(--bg); border: 1px solid var(--hair); border-radius: .6rem; padding: 1.3rem 1.3rem 1rem; } ul.readings h3 { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--title); @@ -127,5 +126,5 @@ ul.readings code { font-family: var(--font-mono); } * codepoints.css, printed from the layer 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; } -ul.legend { list-style: none; margin: 1rem 0 0; padding: 0; max-width: 44rem; +ul.legend { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-family: var(--font-mono); font-size: .85rem; font-weight: 700; }