7a5be9250a
- Dark full-bleed masthead with serif wordmark and stacked nav
- Hero entry treatment: full-bleed image bg with gradient overlay
- Per-section color system (data-section) + per-post override (data-color)
- Japanese accent palette (ajisai, sakura, suna, ichigo, yuyake, sora,
kusa, kori, amagumo, yuki) — set via `color:` in front matter
- Tag pills replace hashtag-style tags; rendered as sibling of card link
to avoid invalid nested <a> elements
- Single article: clean Republik-style header, no section rubric,
tags as pills at bottom
- Cover image support (`cover_image:` in front matter):
- wide mode: full-card banner above text
- icon mode: small thumbnail right of text with colored card bg
- Library subsection header redesigned with section-colored stripe
- Dates use Swiss DD.MM.YYYY display (ISO retained in datetime attr)
- Custom Tokyo metro photo as demo cover image
1066 lines
31 KiB
CSS
1066 lines
31 KiB
CSS
/* ========================================================================
|
|
OPENBUREAU — site-level overrides on top of shibui.
|
|
Differentiation from kgva.ch: serif body, strong wordmark, wider column,
|
|
editorial journal entries (not portfolio cards), more breathing room,
|
|
no 8bit cursor.
|
|
======================================================================== */
|
|
|
|
@import url('https://fonts.bunny.net/css?family=newsreader:400,400i,500,500i,600,600i,700,700i,800,800i|ibm-plex-mono:400,500|space-grotesk:400,500,700|inter:400,500,600');
|
|
|
|
:root {
|
|
/* Typography — editorial:
|
|
serif body, display for headings/nav, sans (Inter) for listings/labels,
|
|
mono kept narrow (code, dates, technical stamps). */
|
|
--font-family-serif: 'Newsreader', Charter, 'Source Serif Pro', Georgia, serif;
|
|
--font-family-sans: 'Inter', system-ui, -apple-system, sans-serif;
|
|
--font-family-mono: 'IBM Plex Mono', 'Courier New', ui-monospace, monospace;
|
|
--font-family-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
|
|
--font-family-mono-shibui: var(--font-family-mono);
|
|
|
|
--font-size-base: 1.0625rem;
|
|
--font-size-small: 0.875rem;
|
|
--font-size-code: 0.92rem;
|
|
|
|
--spacing-base: 1.7em;
|
|
--spacing-xs: calc(var(--spacing-base) * 0.25);
|
|
--spacing-sm: calc(var(--spacing-base) * 0.5);
|
|
--spacing-md: var(--spacing-base);
|
|
--spacing-lg: calc(var(--spacing-base) * 2);
|
|
--spacing-xl: calc(var(--spacing-base) * 3);
|
|
|
|
--container-width: 72ch;
|
|
|
|
/* Off-white paper + warm ink */
|
|
--bg-h: 35;
|
|
--bg-s: 14%;
|
|
--bg-l: 96%;
|
|
|
|
--color-bg-primary: hsl(var(--bg-h) var(--bg-s) var(--bg-l));
|
|
--color-bg-secondary: hsl(var(--bg-h) var(--bg-s) calc(var(--bg-l) - 3%));
|
|
--color-border: hsl(var(--bg-h) var(--bg-s) calc(var(--bg-l) - 12%));
|
|
--color-text-primary: hsl(25 18% 10%);
|
|
--color-text-muted: hsl(25 8% 38%);
|
|
--color-text-code: hsl(25 10% 22%);
|
|
|
|
--accent: #b54a2c;
|
|
--accent-soft: #d97a5a;
|
|
|
|
/* Republik-aligned tokens */
|
|
--color-dark-panel: #191919; /* masthead/footer/hero (Republik #191919) */
|
|
--color-dark-panel-text: #f0f0f0;
|
|
--color-dark-panel-muted: #a9a9a9;
|
|
|
|
/* Section accents — warm palette tuned to OPENBUREAU's terracotta brand.
|
|
Each library section reads on the warm-paper background. */
|
|
--section-color-software: #b54a2c; /* terracotta — brand primary */
|
|
--section-color-buerofuehrung: #D0913C; /* gold — warm/editorial */
|
|
--section-color-theorie: #7d2e16; /* deep rust — heavier weight */
|
|
|
|
/* Per-post color palette — Japanese accents, soft and editorial.
|
|
Set `color: <name>` in front matter (e.g. color: sakura). */
|
|
--palette-ajisai: #A39EC4; /* hydrangea (lavender) */
|
|
--palette-sakura: #C49EC4; /* cherry blossom (pink) */
|
|
--palette-suna: #C4C19E; /* sand (warm beige) */
|
|
--palette-ichigo: #C49EA0; /* strawberry (rose) */
|
|
--palette-yuyake: #CEB188; /* sunset (peach) */
|
|
--palette-sora: #9EC3C4; /* sky (teal) */
|
|
--palette-kusa: #9EC49F; /* grass (green) */
|
|
--palette-kori: #A5B4CB; /* ice (cool blue) */
|
|
--palette-amagumo: #4C4C4C; /* rain cloud (grey) */
|
|
--palette-yuki: #F0F0F0; /* snow (near white) */
|
|
|
|
color-scheme: light;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
Base body — serif editorial, 3-col grid so header/footer can full-bleed
|
|
while content stays boxed
|
|
------------------------------------------------------------------------ */
|
|
body {
|
|
font-family: var(--font-family-serif);
|
|
font-size: var(--font-size-base);
|
|
line-height: 1.55;
|
|
padding: 0 0 var(--spacing-xl);
|
|
margin: 0;
|
|
gap: var(--spacing-sm);
|
|
display: grid;
|
|
grid-template-rows: auto 1fr auto;
|
|
/* Boxed content column = 72ch with 1.75rem gutters, side columns absorb the rest */
|
|
grid-template-columns:
|
|
1fr
|
|
min(var(--container-width), 100% - 3.5rem)
|
|
1fr;
|
|
}
|
|
/* Default: every direct body child sits in the content column */
|
|
body > * { grid-column: 2; }
|
|
/* Opt-in: full-bleed children break out edge-to-edge */
|
|
body > .full-bleed,
|
|
body > header.site-header,
|
|
body > footer { grid-column: 1 / -1; }
|
|
|
|
|
|
p { margin: var(--spacing-sm) 0; }
|
|
/* Republik-style: serif headlines as the visual anchor, not sans display */
|
|
h1, h2, h3, h4, h5 { font-family: var(--font-family-serif); font-weight: 600; letter-spacing: -0.015em; }
|
|
|
|
/* Disable shibui's nested h2/h3/h4 counters everywhere on this site */
|
|
h2::before, h3::before, h4::before, h5::before { content: none !important; }
|
|
|
|
code, pre, kbd, samp { font-family: var(--font-family-mono); }
|
|
code { font-size: var(--font-size-code); }
|
|
|
|
a {
|
|
color: var(--color-text-primary);
|
|
border-bottom: 1px solid var(--color-border);
|
|
text-decoration: none;
|
|
margin-left: 0;
|
|
}
|
|
a:hover {
|
|
color: var(--accent);
|
|
border-bottom-color: var(--accent);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
Site header — black masthead, Republik-style serif wordmark
|
|
Full-bleed bar with content-column-aligned inner layout
|
|
------------------------------------------------------------------------ */
|
|
.site-header {
|
|
background: var(--color-dark-panel);
|
|
color: var(--color-dark-panel-text);
|
|
padding: 0.9rem 0;
|
|
border-bottom: none;
|
|
margin-bottom: var(--spacing-md);
|
|
/* inner 3-col grid matches body so wordmark/nav align with content column */
|
|
display: grid;
|
|
grid-template-columns:
|
|
1fr
|
|
min(var(--container-width), 100% - 3.5rem)
|
|
1fr;
|
|
align-items: center;
|
|
row-gap: 0.6rem;
|
|
}
|
|
.site-header > * { grid-column: 2; }
|
|
.site-header .wordmark-link,
|
|
.site-header .site-nav {
|
|
grid-column: 2;
|
|
}
|
|
/* Inner row: wordmark center, nav under it (closer to Republik's stacked masthead).
|
|
To get wordmark + nav as one row instead, change to grid-template-columns: auto 1fr. */
|
|
.site-header {
|
|
/* override: stack wordmark above nav, both within content column */
|
|
}
|
|
|
|
.wordmark-link {
|
|
border: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: inline-block;
|
|
justify-self: center;
|
|
/* Republik-style: serif wordmark, all caps, white on black */
|
|
font-family: var(--font-family-serif);
|
|
font-weight: 700;
|
|
font-size: clamp(1.5rem, 3vw, 2rem);
|
|
letter-spacing: 0.02em;
|
|
line-height: 1;
|
|
color: #fff;
|
|
}
|
|
.wordmark-link:hover,
|
|
.wordmark-link:focus { color: #fff; border: none; opacity: 0.85; }
|
|
|
|
.site-header .site-nav {
|
|
justify-self: center;
|
|
}
|
|
|
|
.wordmark-link:focus-visible { outline: 2px dotted var(--color-text-muted); outline-offset: 4px; }
|
|
|
|
.wordmark-tagline {
|
|
font-family: var(--font-family-serif);
|
|
font-style: italic;
|
|
font-size: var(--font-size-small);
|
|
color: var(--color-text-muted);
|
|
margin: 0;
|
|
max-width: 32ch;
|
|
line-height: 1.35;
|
|
text-align: right;
|
|
}
|
|
@media (max-width: 720px) {
|
|
.wordmark-tagline { text-align: left; max-width: 38ch; }
|
|
}
|
|
|
|
/* Site nav — under wordmark, white on black masthead.
|
|
Keeps the original display font (Space Grotesk) — only colour changes. */
|
|
.site-nav nav {
|
|
margin: 0;
|
|
}
|
|
.site-nav ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 0.25rem 1.6rem;
|
|
font-family: var(--font-family-display);
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
.site-nav li { margin: 0; }
|
|
.site-nav a {
|
|
border: none;
|
|
color: #d4d4d4;
|
|
}
|
|
.site-nav a:hover { color: #fff; }
|
|
.site-nav a.active,
|
|
.site-nav a.ancestor {
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Breadcrumb (only on non-home pages) */
|
|
.path-nav {
|
|
font-family: var(--font-family-mono);
|
|
font-size: var(--font-size-small);
|
|
color: var(--color-text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
.path-nav ol {
|
|
list-style: none;
|
|
margin-left: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.2rem;
|
|
}
|
|
.path-nav li { margin: 0; }
|
|
.path-nav a {
|
|
border: none;
|
|
color: var(--color-text-muted);
|
|
}
|
|
.path-nav a:hover { color: var(--accent); }
|
|
.path-nav li.current a { color: var(--color-text-primary); }
|
|
|
|
/* ------------------------------------------------------------------------
|
|
Journal (home) — editorial entries, not portfolio cards
|
|
------------------------------------------------------------------------ */
|
|
.journal-header {
|
|
margin-top: var(--spacing-md);
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
.journal-header h2 {
|
|
font-size: 0.95rem;
|
|
font-family: var(--font-family-mono);
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
color: var(--color-text-muted);
|
|
margin: 0 0 0.25rem;
|
|
}
|
|
.journal-header p {
|
|
margin: 0;
|
|
font-style: italic;
|
|
}
|
|
|
|
.journal-list {
|
|
list-style: none;
|
|
margin-left: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.journal-entry {
|
|
border-top: 1px solid var(--color-border);
|
|
padding: 1.6rem 0 1.7rem;
|
|
}
|
|
.journal-entry:last-child { border-bottom: 1px solid var(--color-border); }
|
|
|
|
/* Card link: image (optional) + body block */
|
|
.journal-entry-link,
|
|
.journal-entry-link:hover,
|
|
.journal-entry-link:focus {
|
|
display: block;
|
|
border: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
.journal-entry-link:hover .journal-title { color: var(--section-color, var(--accent)); }
|
|
|
|
.journal-entry-body {
|
|
display: grid;
|
|
grid-auto-flow: row;
|
|
row-gap: 0.7rem;
|
|
}
|
|
.journal-entry-body > * { margin: 0; }
|
|
|
|
/* Center non-hero entries' content (excluding icon-mode which has horizontal layout) */
|
|
.journal-entry:not(.journal-entry--hero):not([data-image="icon"]) .journal-entry-body {
|
|
justify-items: center;
|
|
text-align: center;
|
|
}
|
|
.journal-entry:not(.journal-entry--hero):not([data-image="icon"]) .journal-entry-body > * {
|
|
max-width: 55ch;
|
|
}
|
|
.journal-entry:not(.journal-entry--hero):not([data-image="icon"]) > .tag-pills {
|
|
text-align: center;
|
|
}
|
|
|
|
/* Rubric (section label, own line above headline) — Republik pattern */
|
|
.journal-rubric {
|
|
margin: 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* Byline: single smooth serif line, "Von Author, DD.MM.YYYY" — Republik-style */
|
|
.journal-byline {
|
|
font-family: var(--font-family-serif);
|
|
font-size: 1rem;
|
|
font-style: italic;
|
|
line-height: 1.4;
|
|
color: var(--color-text-muted);
|
|
margin: 0;
|
|
white-space: normal;
|
|
}
|
|
.journal-byline .journal-author {
|
|
color: var(--color-text-primary);
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
text-decoration: underline;
|
|
text-decoration-thickness: 1px;
|
|
text-underline-offset: 0.18em;
|
|
}
|
|
.journal-byline .journal-date { font-variant-numeric: tabular-nums; font-style: normal; }
|
|
|
|
/* Legacy .journal-meta retained for backwards-compat if any markup references it */
|
|
.journal-meta {
|
|
font-family: var(--font-family-mono);
|
|
font-size: var(--font-size-small);
|
|
line-height: 1.3;
|
|
color: var(--color-text-muted);
|
|
display: flex;
|
|
gap: 0.8rem;
|
|
align-items: baseline;
|
|
}
|
|
.journal-section {
|
|
display: inline-block;
|
|
background: color-mix(in oklab, var(--section-color, var(--accent)) 35%, transparent);
|
|
color: var(--color-text-primary);
|
|
font-family: var(--font-family-display);
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
font-size: 0.78rem;
|
|
padding: 0.2rem 0.6rem;
|
|
border-radius: 2px;
|
|
line-height: 1.35;
|
|
}
|
|
/* Hero section label sits on its own line above the headline */
|
|
.journal-entry--hero .journal-section {
|
|
font-size: 0.9rem;
|
|
letter-spacing: 0.12em;
|
|
}
|
|
.journal-author::before { content: "Von "; color: var(--color-text-muted); font-weight: 400; font-style: italic; }
|
|
.journal-entry--hero .journal-author::before { color: var(--color-dark-panel-muted); }
|
|
|
|
.journal-title {
|
|
font-family: var(--font-family-serif);
|
|
font-size: 1.65rem;
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
line-height: 1.2;
|
|
color: var(--color-text-primary);
|
|
transition: color 0.15s ease;
|
|
}
|
|
|
|
/* Section-color mapping — sets --section-color per entry so meta label
|
|
and hero top-border pick up the right accent. */
|
|
[data-section="software"] { --section-color: var(--section-color-software); }
|
|
[data-section="buerofuehrung"] { --section-color: var(--section-color-buerofuehrung); }
|
|
[data-section="theorie"] { --section-color: var(--section-color-theorie); }
|
|
|
|
/* Per-post color override (front matter `color: <name>`) — wins over section */
|
|
[data-color="ajisai"] { --section-color: var(--palette-ajisai); }
|
|
[data-color="sakura"] { --section-color: var(--palette-sakura); }
|
|
[data-color="suna"] { --section-color: var(--palette-suna); }
|
|
[data-color="ichigo"] { --section-color: var(--palette-ichigo); }
|
|
[data-color="yuyake"] { --section-color: var(--palette-yuyake); }
|
|
[data-color="sora"] { --section-color: var(--palette-sora); }
|
|
[data-color="kusa"] { --section-color: var(--palette-kusa); }
|
|
[data-color="kori"] { --section-color: var(--palette-kori); }
|
|
[data-color="amagumo"] { --section-color: var(--palette-amagumo); }
|
|
[data-color="yuki"] { --section-color: var(--palette-yuki); }
|
|
|
|
/* Hero treatment — first entry as a coloured Republik-style block.
|
|
Full-bleed dark panel, white serif title, light meta on top. */
|
|
/* Hero entry — Republik pattern.
|
|
Without cover_image: warm terracotta panel, centered text on it.
|
|
With cover_image: image fills the hero as background, text sits
|
|
at the bottom on a dark gradient that fades into the terracotta. */
|
|
.journal-entry--hero {
|
|
border: none;
|
|
background: #3a1a0d;
|
|
color: var(--color-dark-panel-text);
|
|
padding: 0;
|
|
margin: 0 calc(50% - 50vw) var(--spacing-lg);
|
|
border-top: 10px solid var(--section-color, var(--accent));
|
|
}
|
|
.journal-entry--hero:last-child { border-bottom: none; }
|
|
.journal-entry--hero .journal-entry-link {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
position: relative;
|
|
overflow: hidden;
|
|
color: inherit;
|
|
min-height: auto;
|
|
}
|
|
/* When a hero image is present, give the link a viewport-anchored height */
|
|
.journal-entry--hero:has(.journal-hero-image) .journal-entry-link {
|
|
min-height: 72vh;
|
|
}
|
|
.journal-hero-image {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
z-index: 0;
|
|
margin: 0;
|
|
filter: none;
|
|
}
|
|
.journal-hero-image:hover { filter: none; }
|
|
.journal-entry--hero .journal-entry-body {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: grid;
|
|
justify-items: center;
|
|
row-gap: 1.1rem;
|
|
padding: 2.6rem 1.75rem 3rem;
|
|
text-align: center;
|
|
background: #3a1a0d;
|
|
}
|
|
/* When a hero image is present, body sits at the bottom over a gradient
|
|
so text reads cleanly over the photo while the photo stays visible above. */
|
|
.journal-entry--hero:has(.journal-hero-image) .journal-entry-body {
|
|
padding-top: 7rem;
|
|
background: linear-gradient(180deg,
|
|
rgba(58,26,13,0) 0%,
|
|
rgba(58,26,13,0.55) 25%,
|
|
rgba(58,26,13,0.92) 65%,
|
|
#3a1a0d 100%);
|
|
}
|
|
.journal-entry--hero .journal-entry-body > * {
|
|
max-width: 60ch;
|
|
margin: 0;
|
|
}
|
|
.journal-entry--hero .journal-summary { max-width: 38ch; }
|
|
|
|
/* ------------------------------------------------------------------------
|
|
Non-hero card with cover image — two presentation modes:
|
|
|
|
1) default (wide): Republik-style — image as full-card wide banner above body.
|
|
2) icon mode: small square/portrait thumbnail next to the body text,
|
|
with the card background filled in --section-color (when set).
|
|
Trigger by adding `image_mode: icon` in the front matter
|
|
(which adds `data-image="icon"` to the <li>).
|
|
------------------------------------------------------------------------ */
|
|
|
|
/* Default wide banner image (no data-image) */
|
|
.journal-entry:not(.journal-entry--hero) .journal-card-image {
|
|
display: block;
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
object-fit: cover;
|
|
margin: 0 0 1rem;
|
|
filter: grayscale(40%);
|
|
transition: filter 0.4s ease;
|
|
}
|
|
.journal-entry-link:hover .journal-card-image { filter: grayscale(0%); }
|
|
|
|
/* Icon mode — colored card with thumbnail to the right */
|
|
.journal-entry[data-image="icon"]:not(.journal-entry--hero) {
|
|
border: none;
|
|
background: color-mix(in oklab, var(--section-color, var(--accent)) 12%, transparent);
|
|
padding: 1.2rem 1.4rem;
|
|
border-radius: 4px;
|
|
border-left: 4px solid var(--section-color, var(--accent));
|
|
}
|
|
.journal-entry[data-image="icon"]:not(.journal-entry--hero) + .journal-entry { border-top: none; }
|
|
.journal-entry[data-image="icon"]:not(.journal-entry--hero) .journal-entry-link {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
column-gap: 1.4rem;
|
|
align-items: start;
|
|
}
|
|
.journal-entry[data-image="icon"]:not(.journal-entry--hero) .journal-entry-body {
|
|
grid-column: 1;
|
|
}
|
|
.journal-entry[data-image="icon"]:not(.journal-entry--hero) .journal-card-image {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
width: 96px;
|
|
height: 96px;
|
|
aspect-ratio: 1 / 1;
|
|
object-fit: cover;
|
|
margin: 0;
|
|
border-radius: 4px;
|
|
filter: none;
|
|
}
|
|
@media (max-width: 540px) {
|
|
.journal-entry[data-image="icon"]:not(.journal-entry--hero) .journal-card-image {
|
|
width: 64px;
|
|
height: 64px;
|
|
}
|
|
}
|
|
.journal-entry--hero .journal-section {
|
|
/* on the dark hero bg: brighter tint, light text */
|
|
background: color-mix(in oklab, var(--section-color, var(--accent-soft)) 45%, transparent);
|
|
color: var(--color-dark-panel-text);
|
|
}
|
|
.journal-entry--hero .journal-byline { color: var(--color-dark-panel-muted); }
|
|
.journal-entry--hero .journal-byline .journal-author { color: var(--color-dark-panel-text); }
|
|
.journal-entry--hero .journal-byline .journal-author::before { color: var(--color-dark-panel-muted); }
|
|
.journal-entry--hero .journal-title {
|
|
font-size: clamp(2.1rem, 4.2vw, 3rem);
|
|
line-height: 1.02;
|
|
letter-spacing: -0.028em;
|
|
font-weight: 800;
|
|
color: var(--color-dark-panel-text);
|
|
}
|
|
.journal-entry--hero .journal-summary {
|
|
font-size: 1.35rem;
|
|
line-height: 1.35;
|
|
color: var(--color-dark-panel-text);
|
|
max-width: 38ch;
|
|
}
|
|
.journal-entry--hero .journal-byline {
|
|
font-size: 1.05rem;
|
|
color: var(--color-dark-panel-muted);
|
|
}
|
|
.journal-entry--hero .journal-byline .journal-author {
|
|
color: var(--color-dark-panel-text);
|
|
}
|
|
.journal-entry--hero .journal-tags { color: var(--color-dark-panel-muted); }
|
|
.journal-entry--hero .journal-entry-link:hover .journal-title { color: var(--accent-soft); }
|
|
|
|
.journal-summary {
|
|
font-family: var(--font-family-serif);
|
|
font-size: var(--font-size-base);
|
|
line-height: 1.45;
|
|
color: var(--color-text-primary);
|
|
max-width: 60ch;
|
|
}
|
|
|
|
.journal-tags { /* now extends .tag-pills — base styles come from there */ }
|
|
|
|
/* Hero tags — sit inside the dark hero block, below the link, centered */
|
|
.journal-entry--hero > .tag-pills {
|
|
margin: 0 auto;
|
|
padding: 0 1.75rem 2.2rem;
|
|
max-width: var(--container-width);
|
|
text-align: center;
|
|
}
|
|
.journal-entry--hero > .tag-pills a {
|
|
background: color-mix(in oklab, var(--section-color, var(--accent-soft)) 30%, transparent);
|
|
color: var(--color-dark-panel-text);
|
|
}
|
|
.journal-entry--hero > .tag-pills a:hover {
|
|
background: color-mix(in oklab, var(--section-color, var(--accent-soft)) 50%, transparent);
|
|
}
|
|
|
|
/* Non-hero tags — sit just below the body of the card */
|
|
.journal-entry:not(.journal-entry--hero) > .tag-pills {
|
|
margin-top: 0.6rem;
|
|
}
|
|
/* In icon-mode card: tags align with the body (left of the thumbnail) */
|
|
.journal-entry[data-image="icon"]:not(.journal-entry--hero) > .tag-pills {
|
|
margin-top: 0.6rem;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.more {
|
|
margin-top: var(--spacing-md);
|
|
font-family: var(--font-family-mono);
|
|
font-size: var(--font-size-small);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
Library — Atlas view
|
|
------------------------------------------------------------------------ */
|
|
.atlas {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-lg);
|
|
margin-top: var(--spacing-md);
|
|
}
|
|
.atlas-section h2,
|
|
.atlas-tags h2 {
|
|
font-family: var(--font-family-serif);
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
letter-spacing: -0.018em;
|
|
color: var(--color-text-primary);
|
|
border-bottom: 3px solid var(--section-color, var(--accent));
|
|
padding-bottom: var(--spacing-xs);
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
.atlas-section h2 a,
|
|
.atlas-tags h2 a { border: none; color: inherit; }
|
|
.atlas-section h2 a:hover { color: var(--accent); }
|
|
.atlas-section > p { font-style: italic; color: var(--color-text-muted); margin-bottom: var(--spacing-sm); }
|
|
|
|
.atlas-list {
|
|
list-style: none;
|
|
margin-left: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
.atlas-list li {
|
|
display: flex;
|
|
gap: 0.6rem;
|
|
align-items: baseline;
|
|
flex-wrap: wrap;
|
|
}
|
|
.atlas-list .list-meta { font-family: var(--font-family-mono); font-size: 0.78rem; }
|
|
|
|
.tag-cloud {
|
|
list-style: none;
|
|
margin-left: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem 1.1rem;
|
|
font-family: var(--font-family-sans);
|
|
font-size: var(--font-size-small);
|
|
}
|
|
.tag-cloud li { margin: 0; }
|
|
.tag-cloud a { border: none; }
|
|
|
|
/* ------------------------------------------------------------------------
|
|
Library subsection (chronological list)
|
|
------------------------------------------------------------------------ */
|
|
.section-header {
|
|
border-top: 8px solid var(--section-color, var(--accent));
|
|
padding-top: var(--spacing-sm);
|
|
margin-top: var(--spacing-md);
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
.section-rubric {
|
|
font-family: var(--font-family-display);
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
font-size: 0.85rem;
|
|
color: var(--section-color, var(--accent));
|
|
margin: 0 0 0.4rem;
|
|
}
|
|
.section-title {
|
|
font-family: var(--font-family-serif);
|
|
font-size: clamp(1.9rem, 4vw, 2.6rem);
|
|
font-weight: 800;
|
|
letter-spacing: -0.026em;
|
|
line-height: 1.05;
|
|
margin: 0 0 0.4rem;
|
|
}
|
|
.section-description {
|
|
font-style: italic;
|
|
color: var(--color-text-muted);
|
|
margin: 0 0 var(--spacing-sm);
|
|
max-width: 60ch;
|
|
}
|
|
|
|
.time-list ul {
|
|
list-style: none;
|
|
margin-left: 0;
|
|
}
|
|
.list-item {
|
|
border-top: 1px solid var(--color-border);
|
|
padding: var(--spacing-sm) 0;
|
|
}
|
|
.list-item:last-child { border-bottom: 1px solid var(--color-border); }
|
|
.list-title-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
gap: 1rem;
|
|
}
|
|
.list-title {
|
|
margin: 0;
|
|
font-family: var(--font-family-serif);
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
flex: 1;
|
|
}
|
|
.list-title a { border: none; }
|
|
.list-meta {
|
|
font-family: var(--font-family-mono);
|
|
font-size: 0.8rem;
|
|
color: var(--color-text-muted);
|
|
white-space: nowrap;
|
|
}
|
|
.list-summary {
|
|
margin-top: 0.3rem;
|
|
font-style: italic;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
Software showcase
|
|
------------------------------------------------------------------------ */
|
|
.software-showcase {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-lg);
|
|
margin-top: var(--spacing-md);
|
|
}
|
|
.software-item {
|
|
border-top: 1px solid var(--color-border);
|
|
padding-top: var(--spacing-md);
|
|
}
|
|
.software-item:last-child { border-bottom: 1px solid var(--color-border); padding-bottom: var(--spacing-md); }
|
|
.software-item h2 {
|
|
font-family: var(--font-family-serif);
|
|
font-size: 2rem;
|
|
font-weight: 800;
|
|
letter-spacing: -0.024em;
|
|
line-height: 1.08;
|
|
margin: 0 0 0.4rem;
|
|
}
|
|
.software-item h2 a { border: none; }
|
|
.software-summary {
|
|
margin: 0 0 0.5rem;
|
|
font-style: italic;
|
|
color: var(--color-text-primary);
|
|
max-width: 55ch;
|
|
}
|
|
.software-meta {
|
|
font-family: var(--font-family-mono);
|
|
font-size: var(--font-size-small);
|
|
display: flex;
|
|
gap: 0.4rem;
|
|
align-items: baseline;
|
|
flex-wrap: wrap;
|
|
}
|
|
.software-external {
|
|
color: var(--accent);
|
|
border-bottom-color: var(--accent);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
Single page (article)
|
|
------------------------------------------------------------------------ */
|
|
.single { margin-top: var(--spacing-md); }
|
|
.single-header { margin-bottom: var(--spacing-md); }
|
|
/* Single article — full-bleed cover image directly under the masthead.
|
|
width:100vw breaks the boxed column horizontally; negative top margin
|
|
cancels the body grid gap + header margin so the image sits flush. */
|
|
.single-hero-image {
|
|
display: block;
|
|
width: 100vw;
|
|
max-width: 100vw;
|
|
height: auto;
|
|
max-height: 60vh;
|
|
object-fit: cover;
|
|
margin-left: calc(50% - 50vw);
|
|
margin-right: calc(50% - 50vw);
|
|
margin-top: calc(-1 * (var(--spacing-md) + var(--spacing-sm)));
|
|
margin-bottom: var(--spacing-md);
|
|
filter: none;
|
|
}
|
|
.single-hero-image:hover { filter: none; }
|
|
|
|
.single-header {
|
|
position: relative;
|
|
margin-top: var(--spacing-md);
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
.single-header h1 {
|
|
font-family: var(--font-family-serif);
|
|
font-size: clamp(2.1rem, 4.6vw, 3rem);
|
|
font-weight: 800;
|
|
letter-spacing: -0.028em;
|
|
line-height: 1.05;
|
|
margin: 0 0 var(--spacing-sm);
|
|
}
|
|
.single-summary {
|
|
font-family: var(--font-family-serif);
|
|
font-style: normal;
|
|
font-size: 1.25rem;
|
|
line-height: 1.4;
|
|
color: var(--color-text-primary);
|
|
margin: 0 0 var(--spacing-sm);
|
|
max-width: 55ch;
|
|
}
|
|
.single-byline {
|
|
font-family: var(--font-family-serif);
|
|
font-style: italic;
|
|
font-size: 1rem;
|
|
line-height: 1.4;
|
|
color: var(--color-text-muted);
|
|
margin: 0;
|
|
}
|
|
.single-byline .byline-author {
|
|
color: var(--color-text-primary);
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
text-decoration: underline;
|
|
text-decoration-thickness: 1px;
|
|
text-underline-offset: 0.18em;
|
|
}
|
|
.single-byline .byline-author::before {
|
|
content: "Von ";
|
|
color: var(--color-text-muted);
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
text-decoration: none;
|
|
}
|
|
.single-byline .byline-date { font-style: normal; font-variant-numeric: tabular-nums; }
|
|
.single-byline {
|
|
font-family: var(--font-family-mono);
|
|
font-size: 0.85rem;
|
|
color: var(--color-text-muted);
|
|
margin: 0 0 var(--spacing-xs);
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.6rem;
|
|
align-items: baseline;
|
|
}
|
|
.byline-author { color: var(--color-text-primary); font-weight: 500; }
|
|
.byline-date { font-variant-numeric: tabular-nums; }
|
|
|
|
.single-summary {
|
|
font-family: var(--font-family-serif);
|
|
font-style: italic;
|
|
font-size: 1.02rem;
|
|
line-height: 1.45;
|
|
margin: var(--spacing-xs) 0 0;
|
|
max-width: 55ch;
|
|
}
|
|
.single-content h2 {
|
|
font-family: var(--font-family-serif);
|
|
font-size: 1.45rem;
|
|
font-weight: 600;
|
|
letter-spacing: -0.015em;
|
|
line-height: 1.2;
|
|
margin-top: var(--spacing-lg);
|
|
margin-bottom: var(--spacing-xs);
|
|
}
|
|
.single-content h3 {
|
|
font-family: var(--font-family-serif);
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
margin-top: var(--spacing-md);
|
|
margin-bottom: var(--spacing-xs);
|
|
}
|
|
.single-content blockquote {
|
|
border-left: 2px solid var(--accent);
|
|
padding-left: 1rem;
|
|
margin: var(--spacing-md) 0;
|
|
font-style: italic;
|
|
color: var(--color-text-muted);
|
|
}
|
|
.single-content ul, .single-content ol { margin: var(--spacing-sm) 0 var(--spacing-sm) 1.6rem; }
|
|
.single-content li { margin: 0.3rem 0; }
|
|
|
|
.toc {
|
|
font-family: var(--font-family-sans);
|
|
font-size: var(--font-size-small);
|
|
line-height: 1.45;
|
|
border-left: 2px solid var(--color-border);
|
|
padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-sm);
|
|
margin-bottom: var(--spacing-lg);
|
|
color: var(--color-text-muted);
|
|
}
|
|
.toc strong {
|
|
color: var(--color-text-primary);
|
|
display: block;
|
|
margin-bottom: 0.4rem;
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
.toc a { border: none; color: var(--color-text-muted); }
|
|
.toc a:hover { color: var(--accent); }
|
|
.toc ul, .toc ol { margin: 0 0 0 1.2rem; padding: 0; }
|
|
.toc li { margin: 0.15rem 0; }
|
|
|
|
/* Tag pills — small section-tinted chips at the foot of the article.
|
|
No hash symbol, lowercase, rounded; subtle on the warm paper. */
|
|
.tag-pills {
|
|
list-style: none;
|
|
margin: var(--spacing-sm) 0 0;
|
|
margin-left: 0;
|
|
padding: 0;
|
|
line-height: 1;
|
|
}
|
|
.tag-pills li {
|
|
display: inline-block;
|
|
margin: 0 0.3rem 0.3rem 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
vertical-align: middle;
|
|
}
|
|
.tag-pills a {
|
|
display: inline-block;
|
|
padding: 0.35rem 0.85rem;
|
|
line-height: 1.3;
|
|
font-family: var(--font-family-display);
|
|
font-size: 0.78rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.02em;
|
|
text-transform: lowercase;
|
|
background: color-mix(in oklab, var(--section-color, var(--accent)) 14%, transparent);
|
|
color: var(--color-text-primary);
|
|
border: none;
|
|
border-radius: 999px;
|
|
margin: 0;
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
vertical-align: middle;
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
.tag-pills a:hover {
|
|
background: color-mix(in oklab, var(--section-color, var(--accent)) 30%, transparent);
|
|
border: none;
|
|
}
|
|
|
|
.time {
|
|
font-family: var(--font-family-mono);
|
|
font-size: var(--font-size-small);
|
|
color: var(--color-text-muted);
|
|
margin-top: var(--spacing-md);
|
|
padding-top: var(--spacing-sm);
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
|
|
.back-nav-wrap {
|
|
margin-top: var(--spacing-md);
|
|
font-family: var(--font-family-mono);
|
|
font-size: var(--font-size-small);
|
|
}
|
|
.back-link { border: none; color: var(--color-text-muted); }
|
|
.back-link:hover { color: var(--accent); }
|
|
|
|
/* ------------------------------------------------------------------------
|
|
Page foot breadcrumb (moved from top → bottom)
|
|
------------------------------------------------------------------------ */
|
|
.page-foot-nav {
|
|
margin-top: var(--spacing-lg);
|
|
padding-top: var(--spacing-sm);
|
|
border-top: 1px solid var(--color-border);
|
|
font-family: var(--font-family-mono);
|
|
font-size: var(--font-size-small);
|
|
color: var(--color-text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
.page-foot-nav ol {
|
|
list-style: none;
|
|
margin-left: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.2rem;
|
|
}
|
|
.page-foot-nav li { margin: 0; }
|
|
.page-foot-nav a { border: none; color: var(--color-text-muted); }
|
|
.page-foot-nav a:hover { color: var(--accent); }
|
|
.page-foot-nav li.current a { color: var(--color-text-primary); }
|
|
|
|
/* ------------------------------------------------------------------------
|
|
Footer — dark full-bleed bar mirroring the masthead
|
|
------------------------------------------------------------------------ */
|
|
footer {
|
|
background: var(--color-dark-panel);
|
|
color: var(--color-dark-panel-muted);
|
|
margin-top: var(--spacing-xl);
|
|
padding: var(--spacing-lg) 0;
|
|
border-top: none;
|
|
/* inner grid aligns with content column, same trick as header */
|
|
display: grid;
|
|
grid-template-columns:
|
|
1fr
|
|
min(var(--container-width), 100% - 3.5rem)
|
|
1fr;
|
|
}
|
|
footer > * { grid-column: 2; }
|
|
footer a { color: #d4d4d4; border: none; }
|
|
footer a:hover { color: var(--accent-soft); }
|
|
footer p { text-align: left; margin: 0; }
|
|
|
|
.footer-grid {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
align-items: baseline;
|
|
column-gap: 2rem;
|
|
row-gap: var(--spacing-sm);
|
|
}
|
|
|
|
.footer-mark {
|
|
grid-column: 1;
|
|
font-family: var(--font-family-serif);
|
|
font-weight: 700;
|
|
font-size: 1.05rem;
|
|
letter-spacing: 0.02em;
|
|
color: #fff;
|
|
}
|
|
|
|
.footer-nav {
|
|
grid-column: 2;
|
|
justify-self: end;
|
|
}
|
|
.footer-nav ul {
|
|
list-style: none;
|
|
margin-left: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem 1.2rem;
|
|
font-family: var(--font-family-display);
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
.footer-nav li { margin: 0; }
|
|
|
|
.footer-tagline {
|
|
grid-column: 1;
|
|
font-family: var(--font-family-serif);
|
|
font-style: italic;
|
|
font-size: var(--font-size-small);
|
|
line-height: 1.4;
|
|
max-width: 36ch;
|
|
}
|
|
|
|
.footer-credit {
|
|
grid-column: 2;
|
|
justify-self: end;
|
|
font-family: var(--font-family-mono);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
/* Mobile: stack everything left */
|
|
@media (max-width: 720px) {
|
|
.footer-grid { grid-template-columns: 1fr; }
|
|
.footer-mark,
|
|
.footer-nav,
|
|
.footer-tagline,
|
|
.footer-credit {
|
|
grid-column: 1;
|
|
justify-self: start;
|
|
}
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
Images — keep grayscale-on-hover but no portfolio aspect-ratio crop
|
|
------------------------------------------------------------------------ */
|
|
img {
|
|
filter: grayscale(100%);
|
|
transition: filter 0.4s ease;
|
|
max-width: 100%;
|
|
height: auto;
|
|
margin: var(--spacing-sm) 0;
|
|
}
|
|
img:hover { filter: grayscale(0%); }
|