View all flavours in panels โ†’

The Monospace Web Theme

A minimal, character-aligned grid for modern browsers

โ–ถ Click here for the Pandoc-driven example site with GitHub Actions!

Version v1.1.0 Updated 2025-06-09
Author Cameron K. Brooks License MIT

Introduction

Monospace fonts offer clarity and a retro aesthetic. This theme enforces a character-aligned grid, perfect for code-style layouts, tables, forms, and ASCII artโ€”all in pure CSS plus a small JS helper.

Switch your OS/browser between light and dark mode to see the inverted colors.

Lists

Unordered list:

Ordered list:

  1. Goals
    1. Intrinsic
    2. Extrinsic
  2. Second-order Effects

Tree view:

Tables

Responsive table:

Name Dimensions Location
Boboli Obelisk 1.41m ร— 1.41m ร— 4.87m 43ยฐ45โ€ฒ50.78โ€ณN 11ยฐ15โ€ฒ3.34โ€ณE
Pyramid of Khafre 215.25m ร— 215.25m ร— 136.4m 29ยฐ58โ€ฒ34โ€ณN 31ยฐ07โ€ฒ51โ€ณE

Forms

Buttons:

Text inputs:

Radio buttons:

Grids

Note that grids maintain the monospace, so the total width might not be 100%. Six grids with increasing cell count:

If we want one cell to fill the remainder, we set flex-grow: 1; for that particular cell.

Note however that this breaks the monospace alignment, as the grid is not display: grid; but rather display: flex;.

ASCII Drawings

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ MONOSPACE ROCKS โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚Actor 1โ”‚ โ”‚Actor 2โ”‚ โ”‚Actor 3โ”‚
โ””โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”˜
    โ”‚         โ”‚         โ”‚    
    โ”‚         โ”‚  msg 1  โ”‚    
    โ”‚         โ”‚โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚    
    โ”‚         โ”‚         โ”‚    
    โ”‚  msg 2  โ”‚         โ”‚    
    โ”‚โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚         โ”‚    
โ”Œโ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”
โ”‚Actor 1โ”‚ โ”‚Actor 2โ”‚ โ”‚Actor 3โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
Example: Message passing.

Details & Summary

Click to expand

Hidden content inside <details> stays on the grid.

Media

Responsive image example:

Italian Trulli Houses
An image of Trulli Houses (sample)

Responsive video example:

Big Buck Bunny (sample)

Discussion

This demo shows how headings, tables, forms, lists, grids, ASCII art, and media snap to a monospace grid. Toggle โ€œShow Grid Overlayโ€ to verify alignment.