Style Guide


A collection of little decisions to help present information consistently.

Keeping a style guide for this website allows me to codify small decisions over time. This style guide is a living document and regularly updated.

Table of contents
  1. Writing styles
  2. Visual styles
    1. Colors
    2. HTML Elements

Writing Styles

Visual Styles

Colors

HTML Elements

Asides

Blockquotes

Blockquotes are presented with a normal type size, because they exist in support of the primary text. Blockquotes include an author (linked if appropriate) and a title (a cite element, linked if appropriate).

The powerful lady, respected in the gathering of rulers, has accepted her offerings from her. Inana's holy heart has been assuaged. The light was sweet for her, delight extended over her, she was full of fairest beauty. Like the light of the rising moon, she exuded delight. Nanna came out to gaze at her properly, and her mother Ningal blessed her. The door posts greeted her. Everyone's speech to the mistress is exalted. Praise be to the destroyer of foreign lands, endowed with divine powers by An, to my lady enveloped in beauty, to Inana!
Enheduanna, The Exaltation of Inana

Code (inline)

Inline <code> elements are presented with some padding, monospace font, and background color. (example: PRINT "Hello, World")

Code (blocks)

Block code elements are wrapped in a figure element, make use of a descriptive figcaption, and include a border.

Hello world in QuickBASIC
CLS
PRINT "Hello, World"
END

Details

Summary element

Details element paragraphs.

Lists

Unordered lists
Ordered lists
  1. Ordered lists have monospaced number markers
    1. Nested ordered lists do, too
  2. Number markers match the site theme color
Description lists
Description terms are styled normally
Descriptions in a smaller type size