Gabriel Salwey

A quiet place to read

A sample essay, set the way every long piece on this site is set

A page for reading has one job, and most of what a website can do gets in its way. This one keeps a single column of text, a single typeface and a header that never leaves. Scroll, and very little changes besides your place in the text.

The text you are reading is a sample. It describes the page it sits on, so that every element has something true to say: a link in running text, a footnote1, a quotation, a list.

One column, one typeface

Everything is set in Merriweather, a typeface drawn to stay clear on screens: sturdy strokes, open letters, a generous height. Headings, the menu and the dates all use it too. A second typeface would have to earn its place, and on a page this small there is nothing for it to do.

The measure

The column is 600 pixels wide, which at this size gives about seventy characters to a line. That is near the middle of the range most people find comfortable. Shorter, and the eye turns back too often; longer, and it loses the start of the next line.

The scale

Reading text is 17 pixels on a line of about 29. The title is 54 and section headings are 27 and 20. Each step is large enough to see without measuring and small enough that the title does not shout.

  • Titles and headings wrap in balanced lines.
  • Paragraphs are separated by one line of space and never indented.
  • Lists sit inside the column.

A header that keeps your place

The name at the left edge leads home. The three words at the right edge are the whole site: Writing, About, Contact. The header stays at the top of the window at all times and keeps one height.

Once the title of an essay has scrolled out of view, it appears in the header beside the name, so you always know what you are reading. A title too long for the space is cut short with an ellipsis; the menu never gives up its room. Scroll back to the top and the header title goes away again.

On a phone there is no room for all of that. The header shows a menu button and the name, and the button opens the three words in a list.

Finding your place

A long essay needs a way to see its shape. The contents rail at the left edge of the window shows it without taking any room from the text.

At rest

At rest the rail is a short stack of dashes, one for each heading. Long dashes are sections and short ones are sub-sections. The dash for the part you are reading is drawn darker than the rest.

Under the cursor

Move the cursor onto the rail and a card opens with the headings written out. Choose one to go there. Move away and the card closes.

Pictures, code and tables

Pictures and charts are exactly as wide as the column, with a caption underneath.

Text17Sub-section20Section27Title54
Figure 1. The four text sizes, in pixels. Captions sit under the picture, in the small size.

Code is the one exception to the single typeface. It is set in the monospace face your device already has, so nothing extra is loaded. Short pieces such as max-width sit in the line; longer ones get a hairline box.

.column {
  max-width: 600px;
  margin-inline: auto;
}

Tables are set small, with a hairline under each row and numbers aligned to the right.

Style Used for Size
Title The name of the page 54
Section Headings in an essay 27
Text Everything you read 17

A change of subject inside a section is marked by a short rule.


The text then carries on as before.

Brown, and a little turquoise

The text is a very dark brown on a pale, warm ground. Links are a lighter brown and underlined. The only other colour is turquoise, and there is very little of it: a line under the name of the page you are on, a rule beside a quotation, and a link while the cursor is on it.

If nothing on the page is asking for attention, the words get all of it.

Footnotes are plain numbers that lead to the end of the essay and back. There are no entrance animations and no pop-ups.

After dark

If your device is set to a dark appearance, the page follows it: the ground turns to a brown that is nearly black and the text to a pale cream. There is no switch, because your device already has one.

Notes

  1. A footnote is one or two sentences that would break the paragraph if they stayed in it. ↑