Refactored prose and added style for ToC.astro

This commit is contained in:
2026-09-28 12:03:07 +02:00
parent d06f0293ce
commit 99d2635763
15 changed files with 559 additions and 60 deletions

View File

@@ -179,6 +179,10 @@
--slot-modifier: 1.125rem; /* the +2 / −1 column in contributions */
--slot-marker: var(--size-5); /* footnote marker column */
--slot-roll-range: 1.5rem; /* the 4–5 column in a table row */
--slot-section-number: 5ch;
--slot-prose-marker: 1.625rem;
--slot-prose-gap: var(--size-6);
--slot-prose-bar: var(--size-8);
/* ═══ MOTION ═══ */
--motion-fast: 150ms; /* state change: hover, focus, press */
@@ -189,15 +193,12 @@
--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
/* ═══ LAYOUT ═══ */
--layout-max-width: 74rem; /* the tool shell */
--layout-content-width: minmax(0, 62ch); /* article measure */
--layout-margin-width: minmax(10ch, 1fr);
--layout-step-columns: 2;
--layout-gutter: var(--size-6); /* between step cards */
--layout-section-gap: var(--size-9); /* header to grid */
--layout-wrapper-width: 74rem;
--layout-rail-width: 12.5rem;
--layout-content-width: minmax(0, 62ch);
--layout-margin-width: 18rem;
--layout-gutter: var(--size-12);
--layout-page-margin: var(--size-10);
--layout-tier-height: 2.25rem;
--layout-header-height: 3.125rem;
--layout-card-min-height: 6.5rem; /* stops grid reflow on resolve */
}
}