-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
70 lines (58 loc) · 884 Bytes
/
style.css
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
/* NOTE: this stylesheet is compressed and directly embedded into the go code */
:root {
--b: #fbf1c7;
--f: #282828;
--d: #af3a03;
font-family: monospace;
font-size: 16px;
}
* {
color: var(--f);
background: var(--b);
}
body {
margin: 0;
padding: 1.5rem;
line-height: 1.8;
}
h1 {
font-size: 1.5rem;
}
a {
word-wrap: break-word;
min-width: 0;
white-space: pre-wrap;
text-underline-position: under;
}
.d {
color: var(--d);
}
.g {
display: grid;
width: 100%;
grid-template-columns: 7fr 3fr 2fr;
}
.g * {
margin: 0.5rem;
}
.g *:nth-child(3n + 3) {
text-align: right;
}
@media (prefers-color-scheme: dark) {
:root {
--b: #282828;
--f: #fbf1c7;
--d: #fe8019;
}
}
@media (max-width: 880px) {
.g {
grid-template-columns: 7fr 3fr;
}
.g * {
margin: 1rem;
}
.g *:nth-child(3n + 2) {
display: none;
}
}