Style guide
The same card fixture as the field kit post, rendered as a page.
This page renders every content block the Ghost editor can produce, in the order the editor lists them, filled with field notes from the magazine. Use it after a theme update to see what changed. The cards are Ghost's own; only the words are ours.
Text
A paragraph with bold, italic, a link to a story, inline code and a sentence that runs long enough to wrap on a laptop, so the measure of the reading column shows at its full width, the way a long field note does.
A third-level heading
Headings step down in size. The table of contents lists only second-level headings, so a long section can have sub-sections without crowding it.
A fourth-level heading
Fifth and sixth levels exist too, and render as small capitals.
Fifth level
Sixth level
- An unordered list: otters, beavers, swifts
- With a second item that is long enough to wrap onto a second line, so the hanging indent is visible beside the bullet
- And a third: moths
- An ordered list: stop the draughts
- Top up the loft
- Then floors, walls and windows
A quote. "The bare places teach us more," said the diver, wringing out her hood.
The alternate quote style: larger and centred, for the line you want remembered.
Images
Embeds and links
Code
// Twice the wind speed, roughly eight times the power.
export function windPower(speed, area, density = 1.225) {
return 0.5 * density * area * speed ** 3;
}A Markdown card, written in markdown rather than the editor.
Buttons and callouts
Toggles
A toggle card, closed by default
A second toggle, so the stack spacing shows
Headers and calls to action
A header over an image
The theme adds a scrim so the text stays readable.
A split header
The second header card version: a photo on one side, the words on the other.
Read the storiesProducts
A product card
A four-star rating, a description and a button: the way a review of a well-mended jacket might look.
The end
If a card above looks wrong on your site, compare it with the editor's reference and the theme's changelog.
