levineuwirth.org/static/css
Levi Neuwirth 4a5332b7c6
vita: fix the entry layout, which was losing to typography.css
Two specificity collisions, both invisible in the markup and both my fault
for styling with bare class selectors on a surface that typography.css owns
through #markdownBody:

  #markdownBody :is(h1..h6)  (1,0,1)  beat  .vita-entry-title  (0,1,0)
  #markdownBody p + p        (1,0,2)  beat  .vita-role etc.    (0,1,0)

So entry titles rendered at 1.45rem sans with 2.475rem heading margins
instead of 1rem serif — the "too much space" and the odd text sizes — and
every second paragraph in a card picked up the 1.5em essay prose indent,
which is the strange horizontal offset on the date lines.

now.css never hits either, because Now uses no heading elements inside its
cards and emits one paragraph per card. The vita keeps its headings, since a
record page wants a real document outline, and pays with specificity: every
rule is now #markdownBody-scoped, and card paragraphs reset text-indent
outright.

Also restructured onto the layout item-card.css already establishes: title
and date share a baseline with the date flush right, and role, location and
GPA collapse onto one line beneath it, instead of stacking title / role /
lone indented date. Dates moved from <time> to <span> — half of them are
"Fall 2024", "expected 2028" or "Present", which have no valid datetime
value, and a <time> without one is worse than none.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SUGesXiMmACsLBTGG1xuEU
2026-08-11 09:39:22 +02:00
..
annotations.css yum cappuccino yay! 2026-05-03 21:16:58 -04:00
archive.css Add link archive system: snapshots, backlinks, link-rot 2026-05-23 10:06:33 -04:00
base.css Layout: page-shell wrapper for iOS sticky, scrollable TOC 2026-05-23 12:06:02 -04:00
build.css audit: frontend a11y, JS shared utils, CSS variable definitions 2026-04-10 17:41:21 -04:00
catalog.css initial deploy! whoop 2026-03-17 21:56:14 -04:00
commonplace.css initial deploy! whoop 2026-03-17 21:56:14 -04:00
components.css Branding diet: logo sprite via <use>, lean favicon.ico, simple mask icon 2026-06-10 10:43:06 -04:00
gallery.css initial deploy! whoop 2026-03-17 21:56:14 -04:00
home.css affiliation, cabal helper script 2026-03-26 08:14:50 -04:00
images.css initial deploy! whoop 2026-03-17 21:56:14 -04:00
item-card.css Navigation refactor 2026-04-19 14:35:41 -04:00
layout.css Layout: page-shell wrapper for iOS sticky, scrollable TOC 2026-05-23 12:06:02 -04:00
library.css yum cappuccino yay! 2026-05-03 21:16:58 -04:00
links.css yum cappuccino yay! 2026-05-03 21:16:58 -04:00
marks.css Marks II: broader monogram coverage + audit-marks tool 2026-05-23 12:05:08 -04:00
memento-mori.css initial deploy! whoop 2026-03-17 21:56:14 -04:00
now.css sync before transfer 2026-07-27 19:10:51 -04:00
photography.css Spec dilemma 2026-05-01 21:22:01 -04:00
popups.css Popups: always clamp into the viewport 2026-06-10 13:14:14 -04:00
print.css print.css: refresh page rules and prose treatments 2026-05-23 12:06:20 -04:00
reading.css Layout: page-shell wrapper for iOS sticky, scrollable TOC 2026-05-23 12:06:02 -04:00
score-reader.css initial deploy! whoop 2026-03-17 21:56:14 -04:00
selection-popup.css initial deploy! whoop 2026-03-17 21:56:14 -04:00
sidenotes.css Sidenotes: emit the section.footnotes fallback the CSS expects 2026-06-10 10:37:28 -04:00
syntax.css initial deploy! whoop 2026-03-17 21:56:14 -04:00
typography.css yum cappuccino yay! 2026-05-03 21:16:58 -04:00
vita.css vita: fix the entry layout, which was losing to typography.css 2026-08-11 09:39:22 +02:00
viz.css auto: 2026-04-05T01:18:45Z 2026-04-04 21:18:45 -04:00