1.1Pigments
Stone
--stone #efebe2
Malachite
--malachite #1f4a40
Malachite night
--malachite-night #10211d
Cinnabar
--cinnabar #ad3424
Gold
--gold #dcaa40
Seal red
--seal-red #b8352a
Ridge No. 319 · drawn on Sunday, November 15, 2026
23 plates
Design system
Xishan (西山) is the design system used to build maxdeviant.com.
It gets its name from the Western Hills in Yunnan province.
Stone
--stone #efebe2
Malachite
--malachite #1f4a40
Malachite night
--malachite-night #10211d
Cinnabar
--cinnabar #ad3424
Gold
--gold #dcaa40
Seal red
--seal-red #b8352a
@include day-theme · .theme-dayDay
Headline
Sphinx of black quartz, judge my vow.
Night
Headline
Sphinx of black quartz, judge my vow.
Display & text
Source Serif 4
$font-display · $font-textWayfinding
Source Sans 3
$font-sansLabels & code
Source Code Pro
$font-monoChinese
Noto Serif SC
$font-cjk-serifHeadline
A Post
Sphinx of black quartz, judge my vow.
A label · 2014–2025
Ridge::for_date(date) · ridge_masthead()Day
Night
Ridge::render_lake_png()Day
Night
name_chop(class) · logo_seal(class) · .sealDay
Night
BodyCopy::new()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.
Link::new(href)For instance, calling the turtle.forward() function will move the turtle forward. See config.lua for the fuel threshold.
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
CodeBlock::new().filepath(path).language(tag)With a file path
fn fibonacci(n: u32) -> u32 {
match n {
0 => 0,
1 => 1,
_ => fibonacci(n - 1) + fibonacci(n - 2),
}
}
Figure::new(src, caption)Headline::new(title)Subheadline::new(title)ArticleEntry::from_page(page)ReadTime::new(time) · WordCount::new(count)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.
ThematicBreak::new().symbol(symbol)Default
With a symbol
Note::new().kind(kind)ThemeAppearanceSwitcher::new(id)Text
Icons