Xishan (西山)

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

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

Typography

Type scale

6. Sphinx of black quartz, judge my vow.
5. Sphinx of black quartz, judge my vow.
4. Sphinx of black quartz, judge my vow.
3. Sphinx of black quartz, judge my vow.
2. Sphinx of black quartz, judge my vow.
1. Sphinx of black quartz, judge my vow.

Article entry

Default

A Post

Monday, January 1, 2024
5 minute read

Blockquote

Default

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

Code block

Default

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

fn main() {
    for i in 0..10 {
        println!("fibonacci({i}) = {}", fibonacci(i));
    }
}

With filepath

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

fn main() {
    for i in 0..10 {
        println!("fibonacci({i}) = {}", fibonacci(i));
    }
}

Figure

Default

Sphinx of black quartz, judge my vow.
Sphinx of black quartz, judge my vow.

Headline

Default

This is a headline

Subheadline

Default

This is a subheadline

Body copy

Default

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. Donec tempor turpis ut iaculis vulputate. Sed tempus magna vitae felis ultricies gravida. Etiam mattis mauris non nibh fringilla, eu laoreet ligula imperdiet. Aenean pellentesque consequat nisl, ac pharetra erat condimentum quis. Cras blandit volutpat volutpat. Nam facilisis aliquam nibh. Mauris quis lorem et ex vestibulum dapibus eu a mauris.

Default

Link

Without underline

Link without underline

Note

Info

This note contains some information.

Warning

This note contains a warning.

Error

This note contains an error.

Read time

Default

5 minute read

Table of contents

Inside paragraph

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. Donec tempor turpis ut iaculis vulputate. Sed tempus magna vitae felis ultricies gravida. Etiam mattis mauris non nibh fringilla, eu laoreet ligula imperdiet. Aenean pellentesque consequat nisl, ac pharetra erat condimentum quis. Cras blandit volutpat volutpat. Nam facilisis aliquam nibh. Mauris quis lorem et ex vestibulum dapibus eu a mauris.

Thematic break

Default


With custom symbols



Theme appearance switcher

Default

Word count

Default

9,001 words