aboutsummaryrefslogtreecommitdiff
path: root/src/assets/stylesheet.css
blob: e5a8a55296b72f03e4d0e56cf2440760d44ade94 (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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
:root
{
    --bg: #0a0a0a;
    --text: beige;
    --main: #0d0;
    --accent: #d0d;
}

@font-face
{
    font-family: spleen24;
    src: url(/assets/fonts/spleen-12x24.woff2);
}

@font-face
{
    font-family: spleen32;
    src: url(/assets/fonts/spleen-16x32.woff2);
}

@font-face
{
    font-family: spleen64;
    src: url(/assets/fonts/spleen-32x64.woff2);
}

@font-face
{
    font-family: texturina;
    src: url(/assets/fonts/Texturina-Regular.ttf);
    font-style: normal;
}

@font-face
{
    font-family: texturina;
    src: url(/assets/fonts/Texturina-Bold.ttf);
    font-weight: bold;
}

@font-face
{
    font-family: texturina;
    src: url(/assets/fonts/Texturina-Italic.ttf);
    font-style: italic;
}

.footpara { display: inline; }

body
{
    background-color: var(--bg);
    color: var(--text);
    max-width: 960px;
    margin: auto;
    font-family: texturina, serif;
    font-size: 1.2em;
}

h1
{
    font-family: spleen64, monospace;
    font-size: 64px;
    line-height: 64px;
}

h2
{
    font-family: spleen32, monospace;
    font-size: 32px;
    line-height: 32px;
}


h1, .subtitle
{
    text-align: center;
}

/* footnotes is also a h2 */
.footnotes
{
    font-family: spleen24, monospace;
    font-size: 24px;
    line-height: 24px;
}

.ascii
{
    text-align: center;
    color: var(--main);
    user-select: none;
    margin: 0;
    padding: 0;
    font-family: spleen24, monospace;
    font-size: 24px;
    line-height: 24px;
}

a { color: var(--main); }

a:hover { text-decoration: underline double var(--accent); }

.buttons
{
    display: grid;
    place-items: center;
}

.buttons > p { margin: 0; }

.footnum, .footref { text-decoration: none; }

.pages
{
    font-family: spleen24, monospace;
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    color: var(--accent);
}

ul { list-style-type: none; }

ul li::before
{
    content: "\25ca  ";
    color: var(--accent);
}

hr
{
    border-color: var(--main);
    border-style: dashed;
}