Marshall Bowers

Ridge No. 319 · drawn on Sunday, November 15, 2026

23 plates

Design system

Xishan西山

Xishan (西山) is the design system used to build maxdeviant.com.

It gets its name from the Western Hills in Yunnan province.

§1Color

1.1Pigments

Stone

--stone #efebe2

Malachite

--malachite #1f4a40

Malachite night

--malachite-night #10211d

Cinnabar

--cinnabar #ad3424

Gold

--gold #dcaa40

Seal red

--seal-red #b8352a

1.2Themes

@include day-theme · .theme-day

Day

  • Background#efebe2
  • Text#1d2723
  • Muted#6c6a60
  • Accent#ad3424
  • Faint border#d9d2c3

Headline

Sphinx of black quartz, judge my vow.

Monday, January 1, 2024 · 5 min

Night

  • Background#10211d
  • Text#ede8d8
  • Muted#9fb0a6
  • Accent#dcaa40
  • Faint border#213b34

Headline

Sphinx of black quartz, judge my vow.

Monday, January 1, 2024 · 5 min

§2Type

2.1Typefaces

Display & text

AaAa

Source Serif 4

$font-display · $font-text

Wayfinding

AaAa

Source Sans 3

$font-sans

Labels & code

Aa 0123

Source Code Pro

$font-mono

Chinese

西山

Noto Serif SC

$font-cjk-serif

2.2Roles

  • Headline

    TitleDisplay italic · 3.5rem
  • A Post

    EntryText · 1.3125rem
  • Sphinx of black quartz, judge my vow.

    BodyText · 1.3125rem / 1.6 · oldstyle figures
  • A label · 2014–2025

    LabelMono · 0.75rem · capitals, tracked
  • WayfindingSans · 1.0625rem semibold, over 0.9375rem

§3Marks

3.1Ridge

Ridge::for_date(date) · ridge_masthead()

Day

Ridge No. 319 · drawn on Sunday, November 15, 2026

Night

Ridge No. 319 · drawn on Sunday, November 15, 2026

3.2Lake

Ridge::render_lake_png()

Day

Night

3.3Seals

name_chop(class) · logo_seal(class) · .seal

Day

西山

Night

西山

3.4Horizon

3.5Ridge break

§4Components

4.1Body copy

BodyCopy::new()

Subheading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sodales finibus magna id consequat. Nulla consequat turpis non pulvinar interdum. Donec id dolor vitae arcu ornare venenatis nec quis ligula. Aenean tempor sodales turpis, at tempus ex consectetur vitae. Nullam a est et arcu congue porttitor.

4.3Inline code

For instance, calling the turtle.forward() function will move the turtle forward. See config.lua for the fuel threshold.

4.4Blockquote

Blockquote::new()

It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.

The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense.

— Edsger Dijkstra

4.5Code block

CodeBlock::new().filepath(path).language(tag)

With a file path

fibonacci.rsRust
fn fibonacci(n: u32) -> u32 {
    match n {
        0 => 0,
        1 => 1,
        _ => fibonacci(n - 1) + fibonacci(n - 2),
    }
}

4.6Figure

Figure::new(src, caption)
Sphinx of black quartz, judge my vow.
Sphinx of black quartz, judge my vow.

4.7Headline

Headline::new(title)

This is a headline

4.8Subheadline

Subheadline::new(title)

This is a subheadline

4.9Article entry

ArticleEntry::from_page(page)

A Post

Monday, January 1, 2024
•
5 minute read

4.10Counts

ReadTime::new(time) · WordCount::new(count)
5 minute read
9,001 words

4.11Table of contents

TableOfContents::new(permalink, headings)

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sodales finibus magna id consequat. Nulla consequat turpis non pulvinar interdum. Donec id dolor vitae arcu ornare venenatis nec quis ligula. Aenean tempor sodales turpis, at tempus ex consectetur vitae. Nullam a est et arcu congue porttitor.

4.12Thematic break

ThematicBreak::new().symbol(symbol)

Default


With a symbol


4.13Note

Note::new().kind(kind)
This note contains some information.
This note contains a warning.
This note contains an error.

4.14Theme switcher

ThemeAppearanceSwitcher::new(id)

Text

Icons