Style
Bare bones style guide — a running index of elements and the practices behind them. Deeper write-ups: fluid type & layout, color & theme, password-protect plugin.
Color
One hue on :root drives the palette. Light and dark swap which mix is ink (--text-color) and which is paper (--bg-color). Scrub the sidebar hue control to see these update live.
Symbiotic Colors
Contextual Colors
Typography
IBM Plex Sans is the reading voice (body, UI, meta). Crimson Pro carries headings. Body size is fluid via --font-size (0.75rem + 1.2vw, clamped 16px–24px at a default root). Display titles use a steeper --fs-h1 clamp. Measure lives on .container at 74ch.
Headings
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Kicker / meta label
Body Text
This is a paragraph of body text. The face is IBM Plex Sans. Size tracks the viewport through --font-size, then stays between a rem floor and ceiling so zoom still works.
This is italic text.
This is bold text.
This is bold and italic text.
Text Elements
Unordered list item
Another list item
Nested list item
Another nested item
Back to main list
Ordered list item
Another ordered item
And another
This is a blockquote. It can contain multiple paragraphs and other elements.
This is inline code
This is a code block
with multiple lines
and formatting
Ctrl + C
This is highlighted text
This is small text
Subscript and Superscript
Deleted text and Inserted text
UI Elements
Links
Internal Link | External Link | Direct Link
Buttons
Form Elements
Text Inputs
Textarea
Select
Checkboxes
Radio Buttons
Range Input
File Input
Submit Button
Gallery
Style Practices & Principles
Color
Extend
:root/ theme tokens — do not paste hex into componentsDerive ink and paper with
color-mixfrom the primary hue; light/dark only swap rolesPrefer OKLCH so lightness stays honest as the hue slider moves
Typography
var(--ff-sans)for body and UI;var(--ff-serif)for headingsFluid size via
--font-size/--fs-h1on:root; meta stays fixed (--fs-meta)Cap measure on
.container(74ch), not on a child that switched faces
Layout & spacing
Multiply
var(--gap)instead of inventing a second spacing dialect.layoutowns the shell;.containerowns the reading widthMain breakpoint for the sidebar shell is
960px(not a separate mobile/desktop type scale)