summaryrefslogtreecommitdiff
path: root/assets/main.css
blob: b9625c15ef1da07d6fb55ce96e8be09dddb35b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("./fonts/inter-latin-v20.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --font-body: "Inter", system-ui, sans-serif;

    --color-background: #eee;
    --color-text: #333;
    --color-muted: #666;
    --color-heading: #000;


    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-section: 1.25rem;
    --text-title: 2rem;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    background: var(--color-background)
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
}

h1, h2 {
    color: var(--color-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: var(--text-title); }
h2 { font-size: var(--text-section); }

ul li {
    padding-block: 0.25rem;
}

hr {
    margin-block: 1.25rem;
    opacity: 0.5;
    border: 0;
    border-top: 1px solid var(--color-muted);
}

small { font-size: var(--text-sm); }
b, strong { font-weight: 700; }

.padding-x-md {
    padding-inline: 0.75rem
}

.padding-y-md {
    padding-block: 0.75rem
}

.page {
    width: 100%;
    max-width: 32rem;
    margin-inline: auto;
    padding: 1.5rem 1rem;
}


#renderer {
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -5;
}