Initial scaffold: Hugo site for west575.org

Blog with contact form and newsletter signup, structured like the
other Reground-hosted sites but with its own visual identity.
This commit is contained in:
2026-08-27 05:28:14 -04:00
commit 19034a026e
17 changed files with 672 additions and 0 deletions
+310
View File
@@ -0,0 +1,310 @@
/* ==========================================================================
west575.org — site stylesheet
Fonts: Fraunces (headings) — a soft-edged serif with a lot of character
at display sizes, so headings read as written-by-a-person rather than
templated. Work Sans (body/UI) — a plain, well-built humanist sans that
stays out of the way at paragraph length. Loaded from Google Fonts in
layouts/_default/baseof.html.
Accent: one color, a warm terracotta/marigold (#d9531e). Picked because
it reads as a highlighter or a sticky note, not a corporate swatch —
nothing here is trying to look like a SaaS product or a publisher's
imprint, just a person's site with one confident splash of color.
========================================================================== */
:root {
color-scheme: light dark;
--bg: #fbf8f3;
--bg-raised: #f2ece1;
--fg: #241f19;
--fg-muted: #6e6559;
--border: #e2d8c7;
--accent: #d9531e;
--accent-fg: #ffffff;
/* Same hue as --accent, darkened for button/link contrast on light bg
(white-on-#d9531e is 3.6:1, fails WCAG AA for normal text; this pairing
hits 4.7:1 against --bg-raised and 5.1:1 for --accent-fg on --cta). */
--cta: #b8431a;
--cta-fg: #ffffff;
--radius: 0.4rem;
--max-width: 40rem;
--font-heading: "Fraunces", Georgia, "Times New Roman", serif;
--font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #1a1611;
--bg-raised: #241f19;
--fg: #f2ece1;
--fg-muted: #b3a795;
--border: #3a3227;
--accent: #f0834f;
--accent-fg: #1a1611;
--cta: #f0834f;
--cta-fg: #1a1611;
}
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: var(--font-body);
line-height: 1.65;
background: var(--bg);
color: var(--fg);
display: flex;
flex-direction: column;
min-height: 100vh;
}
a { color: var(--cta); }
a:hover { text-decoration-thickness: 2px; }
.skip-link {
position: absolute;
left: -9999px;
top: 0;
z-index: 100;
background: var(--cta);
color: var(--cta-fg);
padding: 0.75rem 1.25rem;
border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
h1, h2, h3 {
font-family: var(--font-heading);
font-weight: 600;
line-height: 1.2;
color: var(--fg);
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; margin-top: 3rem; }
/* Header: plain wordmark + nav, no color band — the accent is saved for
links and buttons rather than spent on chrome. */
header.site {
border-bottom: 1px solid var(--border);
}
header.site .inner {
max-width: var(--max-width);
margin: 0 auto;
padding: 1.5rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}
header.site .brand {
font-family: var(--font-heading);
font-weight: 600;
font-size: 1.25rem;
color: var(--fg);
text-decoration: none;
}
header.site nav {
display: flex;
gap: 1.5rem;
}
header.site nav a {
color: var(--fg-muted);
text-decoration: none;
font-size: 0.95rem;
}
header.site nav a:hover,
header.site nav a[aria-current="page"] {
color: var(--cta);
}
main {
flex: 1;
max-width: var(--max-width);
margin: 0 auto;
padding: 3.5rem 1.5rem;
width: 100%;
}
.hero p { font-size: 1.1rem; }
.home-subscribe {
background: var(--bg-raised);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 2rem;
margin-top: 3rem;
}
.home-subscribe h2 { margin-top: 0; }
/* Footer: about/links on one side, a subscribe form on the other — the
one place the newsletter ask repeats on every page. */
footer.site {
border-top: 1px solid var(--border);
margin-top: 3rem;
background: var(--bg-raised);
}
footer.site .inner {
max-width: var(--max-width);
margin: 0 auto;
padding: 2rem 1.5rem;
}
footer.site .footer-top {
display: flex;
justify-content: space-between;
gap: 2rem;
flex-wrap: wrap;
}
footer.site .footer-about {
font-size: 0.9rem;
color: var(--fg-muted);
display: flex;
flex-direction: column;
gap: 0.5rem;
}
footer.site .footer-about nav {
display: flex;
gap: 1.25rem;
}
footer.site .footer-about nav a {
color: var(--fg-muted);
}
footer.site .footer-about nav a:hover { color: var(--cta); }
footer.site .footer-subscribe {
min-width: 16rem;
flex: 1 1 16rem;
}
footer.site .footer-subscribe-label {
margin: 0 0 0.75rem;
font-size: 0.9rem;
color: var(--fg-muted);
}
.subscribe-form {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.subscribe-form input[type="email"] {
flex: 1 1 12rem;
margin-bottom: 0;
}
.subscribe-status {
font-size: 0.85rem;
color: var(--fg-muted);
margin: 0.5rem 0 0;
}
.btn {
display: inline-block;
padding: 0.7rem 1.4rem;
border-radius: var(--radius);
background: var(--cta);
color: var(--cta-fg);
text-decoration: none;
font-weight: 600;
border: none;
font-size: 1rem;
cursor: pointer;
}
.btn:hover { opacity: 0.9; }
.btn-subscribe { padding: 0.7rem 1.1rem; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
outline: 2px solid var(--cta);
outline-offset: 2px;
}
label {
display: block;
font-weight: 600;
font-size: 0.9rem;
margin-bottom: 0.35rem;
}
input, textarea {
width: 100%;
padding: 0.6rem 0.75rem;
border-radius: var(--radius);
border: 1px solid var(--border);
background: var(--bg);
color: var(--fg);
font-family: inherit;
font-size: 1rem;
margin-bottom: 1.25rem;
}
.field-honeypot {
position: absolute;
left: -9999px;
width: 1px;
height: 1px;
overflow: hidden;
}
.contact-form { max-width: 28rem; margin-top: 2rem; }
.contact-status { color: var(--fg-muted); }
.lede { color: var(--fg-muted); font-size: 1.05rem; }
/* Post list (home page + /posts/) */
.post-list {
list-style: none;
padding: 0;
margin: 1.5rem 0;
}
.post-list-item {
display: flex;
justify-content: space-between;
gap: 1rem;
padding: 0.75rem 0;
border-bottom: 1px solid var(--border);
}
.post-list-item a {
text-decoration: none;
font-weight: 600;
color: var(--fg);
}
.post-list-item a:hover { color: var(--cta); }
.post-date {
color: var(--fg-muted);
font-size: 0.9rem;
white-space: nowrap;
}
/* Single post */
.post-header { margin-bottom: 2rem; }
.post-meta {
color: var(--fg-muted);
font-size: 0.9rem;
display: flex;
gap: 0.75rem;
align-items: center;
flex-wrap: wrap;
}
.post-tags { display: flex; gap: 0.5rem; }
.post-tag {
background: var(--bg-raised);
border: 1px solid var(--border);
border-radius: 999px;
padding: 0.15rem 0.65rem;
font-size: 0.8rem;
}
.post-body { font-size: 1.05rem; }
.post-body p { margin: 1.25rem 0; }