Files
reground-site/assets/css/main.css
T
will 13cd32d878
deploy / deploy (push) Successful in 4s
Apply brand palette and typography
Reconciled two overlapping note sets — kept the intent from both,
resolved contradictions toward the more distinctive option (cream over
plain gray/white background), and fixed a couple of pairings that would
have been genuinely hard to read as written (teal button with taupe
text, rose links on taupe — both too low-contrast) by keeping the color
but swapping in white/higher-contrast text instead.

Slate blue header (firm, confident) with warm cream body (gentle,
breathing room), teal CTAs (clarity/action), dusty rose as the one purely
interactive/decorative touch (hover states), warm taupe grounding the
footer. Headings in slate blue to tie the brand color into the type
hierarchy. Roboto/Open Sans/Source Code Pro per the font pairing brief,
loaded via Google Fonts since that's what was specified.
2026-07-08 19:09:35 -04:00

191 lines
3.9 KiB
CSS

:root {
color-scheme: light dark;
/* Palette: slate blue (firm/trustworthy) + dusty rose (warmth/reassurance)
+ teal (clarity/action) + warm taupe (grounding), on a cream base.
"Gentle but firm" — bold blue header, soft cream body, energetic teal
CTAs, rose as the one purely decorative/interactive touch. */
--bg: #faf8f4;
--bg-raised: #f5f1e8;
--fg: #333333;
--fg-muted: #6b6560;
--border: #e5ddd0;
--slate: #4a6fa5;
--rose: #d9a9b0;
--teal: #009688;
--taupe: #b19a75;
--heading: var(--slate);
--accent: var(--slate);
--accent-fg: #ffffff;
--cta: var(--teal);
--cta-fg: #ffffff;
--radius: 0.5rem;
--max-width: 42rem;
--font-heading: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
--font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
--font-accent: "Source Code Pro", "Courier New", monospace;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #1c1917;
--bg-raised: #262220;
--fg: #f0ebe3;
--fg-muted: #a89e92;
--border: #3a352f;
--slate: #8fa8d1;
--rose: #e6c3ca;
--teal: #2dd4c4;
--taupe: #cbb190;
--heading: var(--slate);
--accent: var(--slate);
--accent-fg: #14161a;
--cta: var(--teal);
--cta-fg: #0f1115;
}
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: var(--font-body);
line-height: 1.6;
background: var(--bg);
color: var(--fg);
display: flex;
flex-direction: column;
min-height: 100vh;
}
a { color: var(--accent); }
h1, h2, h3 {
font-family: var(--font-heading);
color: var(--heading);
line-height: 1.25;
}
code, kbd, .accent-text {
font-family: var(--font-accent);
}
/* Header: the "firm leadership" statement — solid, confident, warm text
rather than stark white, with a rose touch on interaction. */
header.site {
background: var(--slate);
}
header.site .inner {
max-width: var(--max-width);
margin: 0 auto;
padding: 1.25rem 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: 700;
font-size: 1.1rem;
color: var(--bg);
text-decoration: none;
}
header.site nav {
display: flex;
gap: 1.5rem;
}
header.site nav a {
color: var(--bg);
opacity: 0.85;
text-decoration: none;
font-size: 0.95rem;
}
header.site nav a:hover { opacity: 1; color: var(--rose); }
main {
flex: 1;
max-width: var(--max-width);
margin: 0 auto;
padding: 4rem 1.5rem;
width: 100%;
}
/* Footer: grounding warm-taupe band bookending the blue header. */
footer.site {
background: var(--bg-raised);
border-top: 1px solid var(--taupe);
margin-top: 2rem;
}
footer.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;
font-size: 0.85rem;
color: var(--fg-muted);
}
footer.site nav {
display: flex;
gap: 1.25rem;
}
footer.site nav a {
color: var(--slate);
text-decoration: none;
}
footer.site nav a:hover { color: var(--rose); }
.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
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; }
label {
display: block;
font-weight: 600;
font-size: 0.9rem;
margin-bottom: 0.35rem;
}
input, textarea {
width: 100%;
padding: 0.65rem 0.75rem;
border-radius: var(--radius);
border: 1px solid var(--border);
background: var(--bg-raised);
color: var(--fg);
font-family: inherit;
font-size: 1rem;
margin-bottom: 1.25rem;
}
input:focus, textarea:focus {
outline: 2px solid var(--cta);
outline-offset: 1px;
}
.field-honeypot {
position: absolute;
left: -9999px;
width: 1px;
height: 1px;
overflow: hidden;
}