site.css feature showcase
Quick overview
This post is a living playground for every class shipped in src/static/site.css. Keep it around to verify layout regressions after CSS changes.
Hero with pills and badge
Demonstrates background, border, badge, and pill styling.
Inline navigation + notice
The inline list above uses the ornamental star bullets and gap spacing.
Grid and cards
Card title
Hover to see the slight lift from the transform transition.
Button linkCard title
Demonstrates cover borders, card padding, and box shadow stack.
Button linkCard title
Shows grid spacing and responsive collapse to 2 then 1 columns.
Button linkArticle shell
Article heading inside shell
The shell uses the card background, thick border, and shadow stack. The default typography pulls from the SourceHanSerifCN stack.
Citation block to test left border, padding, and muted text.
Notice text uses the muted color and small font size.
Inline code like .button-link and .pill-row should inherit monospace and remain readable.
Code and preformatted blocks
// TypeScript block with Shiki highlighting
const hello = (name: string) => {
return `hi, ${name}`;
};
console.log(hello("world"));
Resize the viewport to confirm media queries: header stacking, grid collapse, and hero badge repositioning.