lumbda/www/style.css
russell@unturf.com f0dbf62cef www: single #227842 brand green for λ mark, period, links, CTAs
Collapse --accent (was blue #0b5394) into the same green as the
period. One color now marks everything that says "lumbda": the λ
logo, the declarative period, link underlines, and the CTA buttons.
Dark-mode variant lightened to #5ec07a so the green reads on
#161613.
2026-04-19 17:17:38 -04:00

196 lines
3.7 KiB
CSS

/* lumbda.com — minimal, monospace, readable */
@font-face {
font-family: 'chunkfive';
src: url('fonts/chunkfive/chunkfive-regular-webfont.woff2') format('woff2'),
url('fonts/chunkfive/chunkfive-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
:root {
--fg: #1a1a1a;
--bg: #fafaf7;
--muted: #666;
--accent: #227842; /* single brand green — λ mark, period, links, CTAs */
--green: #227842;
--rule: #d4d4d0;
--code-bg: #f0ede4;
}
@media (prefers-color-scheme: dark) {
:root {
--fg: #e8e6e0;
--bg: #161613;
--muted: #9a9892;
--accent: #5ec07a; /* lightened for contrast on dark bg */
--green: #5ec07a;
--rule: #3a3a36;
--code-bg: #22221f;
}
}
* { box-sizing: border-box; }
html {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "DejaVu Sans Mono", monospace;
font-size: 15px;
line-height: 1.55;
color: var(--fg);
background: var(--bg);
}
body {
max-width: 720px;
margin: 0 auto;
padding: 2.5rem 1.25rem 4rem;
}
header {
border-bottom: 1px solid var(--rule);
padding-bottom: 1.5rem;
margin-bottom: 2rem;
}
/* Logo row: flipped-λ brand mark sits beside the wordmark, not inside it. */
header .logo-row {
display: flex;
align-items: baseline;
gap: 0.6rem;
}
/* Brand mark — a distinct, oversized λ rotated upside-down. Readable
as a logo separate from the "lumbda" word; the inversion reads as a
play on "lambda" the primitive, turned on its head. */
header .lambda-mark {
display: inline-block;
transform: scaleY(-1);
font-family: 'chunkfive', Georgia, serif;
font-size: 5rem;
line-height: 0.9;
color: var(--green);
}
header h1 {
font-family: 'chunkfive', Georgia, serif;
font-size: 3.2rem;
margin: 0;
letter-spacing: -0.01em;
line-height: 1;
}
/* Period after the wordmark reads as declarative: "lumbda." is final.
Green for growth — matches the permacomputer ethos. */
header h1 .period {
color: var(--green);
}
.tagline {
color: var(--muted);
margin: 0.25rem 0 0;
font-size: 1rem;
}
main h2 {
font-family: 'chunkfive', Georgia, serif;
font-size: 1.5rem;
font-weight: normal;
margin-top: 2.5rem;
margin-bottom: 0.75rem;
border-bottom: 1px solid var(--rule);
padding-bottom: 0.25rem;
letter-spacing: 0.01em;
}
.lead {
font-size: 1.05rem;
line-height: 1.65;
}
p { margin: 0.75em 0; }
a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 2px;
}
a:hover { text-decoration-thickness: 2px; }
code {
background: var(--code-bg);
padding: 1px 4px;
border-radius: 2px;
font-size: 0.92em;
}
pre {
background: var(--code-bg);
padding: 0.75rem 1rem;
overflow-x: auto;
border-left: 3px solid var(--accent);
font-size: 0.9rem;
line-height: 1.45;
}
pre code {
background: transparent;
padding: 0;
border-radius: 0;
font-size: inherit;
}
table {
border-collapse: collapse;
width: 100%;
margin: 1rem 0;
font-size: 0.9rem;
}
th, td {
text-align: left;
padding: 0.45rem 0.6rem;
border-bottom: 1px solid var(--rule);
vertical-align: top;
}
th {
font-weight: 600;
color: var(--muted);
border-bottom: 2px solid var(--rule);
}
tbody tr:last-child td { border-bottom: none; }
ul {
padding-left: 1.25rem;
}
li { margin: 0.25rem 0; }
.cta {
display: inline-block;
margin: 0.5rem 0.5rem 0 0;
padding: 0.5rem 0.9rem;
border: 1px solid var(--accent);
text-decoration: none;
font-weight: 600;
}
.cta:hover {
background: var(--accent);
color: var(--bg);
}
footer {
margin-top: 4rem;
padding-top: 1.5rem;
border-top: 1px solid var(--rule);
color: var(--muted);
font-size: 0.9rem;
text-align: center;
}
footer a { color: var(--muted); }