diff --git a/README.md b/README.md index 9a67bf2..b9659d0 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,29 @@ there is no JavaScript framework in this repo. The look has not changed through | Photos | public MinIO bucket `itsthevine` — **not** in the repo or the image | | Deploy | Gitea CI → image → Watchtower → Caddy | +### The look, in one place + +`src/main/styles` is the whole of it — no bundler, no framework, one stylesheet: + +| file | what it holds | +|---|---| +| `theme.css` | the three typefaces and the sage-and-cream palette. Names, nothing drawn | +| `base.css` | bare elements: page background, body type, the fade-in, the focus ring, the z-index scale | +| `type.css` | the typographic ladder (below) | +| `components.css` | `panel`, `pill-*`, `chip`, `section`/`band` — the site's own classes | +| `admin.css` | the admin's controls, as `@utility` so `file:` variants work on the photo pickers | + +**The type ladder comes out of the logo.** The lockup is "The Vine" in LeJour Script over COFFEEHOUSE + +BAKERY in AdBhashitha, letterspaced — and everything below is that idea made progressively more readable: +the script stays in the wordmark and nowhere else; AdBhashitha carries `h1`–`h4` and `price`, keeping the +wordmark's 0.01em letter-spacing so a heading sits on the same rhythm as the logo above it; `eyebrow` and +`label` are the hinge, sans but letterspaced like the tagline; then plain Raleway for anything you have to +read a paragraph of. None of the type classes set a colour — the same heading appears in sage on cream and +cream on sage. + +Write those class names in templates rather than the utilities behind them: a button is `pill-sage`, and +the four colourways exist because the site puts buttons on cream *and* on sage. + ### Why server-rendered The pages are content: a menu, a story, opening hours, a price list. Rendering them in the browser meant diff --git a/src/main/resources/templates/catering.html b/src/main/resources/templates/catering.html index d3a6a69..79eb6e6 100644 --- a/src/main/resources/templates/catering.html +++ b/src/main/resources/templates/catering.html @@ -8,7 +8,7 @@ that is selling something, and the same treatment as the homepage hero — blurred photo, sage wash — carries the brand rather than inventing a new look for it. */--> -
+
@@ -16,9 +16,9 @@
-

Order ahead

-

Goodie boxes & catering

-

+

Order ahead

+

Goodie boxes & catering

+

Boxes for the office, packages for a party, and cakes and desserts for a wedding.

@@ -55,7 +55,7 @@ */-->
-

Office boxes

+

Office boxes

Mini pastries for a morning meeting.

@@ -67,12 +67,11 @@ : (${#lists.size(table.tiers) == 2} ? 'sm:grid-cols-2 max-w-3xl mx-auto' : 'sm:grid-cols-2 lg:grid-cols-3')">
-

Small

-

$24

+ class="flex flex-col panel-lift p-6 md:p-8"> +

Small

+

$24

-

Ask us

+

Ask us

About 6–8 people

@@ -107,14 +106,13 @@ */-->
-

Good to know

+

Good to know

  • Everything is baked in sixes.
Ask about office boxes
@@ -131,20 +129,20 @@ -
+
-

Before you order

+

Before you order

  • These are a guide rather than a menu.
diff --git a/src/main/resources/templates/contact.html b/src/main/resources/templates/contact.html index a41a969..4cc1612 100644 --- a/src/main/resources/templates/contact.html +++ b/src/main/resources/templates/contact.html @@ -4,7 +4,7 @@
-

Contact us

+

Contact us

Ask about a cake, a date, or an order for a crowd. We read everything that comes in.

@@ -17,8 +17,8 @@ */-->
-
-

Get in touch

+
+

Get in touch

Or call us: (309) 701-0660

@@ -52,7 +52,7 @@
@@ -71,18 +71,18 @@