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
@media screen {
:root {
color-scheme: normal;
--body-background: white;
--body-color: black;
--header-color: black;
--pre-background: #ddd;
--pre-color: #212529;
--link-color: black;
--nav-active-background: #ccc;
--nav-active-color: #777;
--nav-color: #777;
}
}
@media screen and (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
--body-background: #222;
--body-color: #9e9e9e;
--header-color: #9e9e9e;
--pre-background: #333;
--pre-color: #fff;
--link-color: #87ab63;
--nav-active-background: #87ab63;
--nav-active-color: #222;
--nav-color: #9e9e9e;
}
}
* {
font-family: monospace;
line-height: 1.25;
}
*, ::after, ::before {
box-sizing: border-box;
}
body {
margin: 0 auto;
max-width: 800px;
background: var(--body-background);
color: var(--body-color);
}
a {
color: var(--link-color);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
header {
margin: 10px;
}
header h1 {
color: var(--header-color);
font-size: 2em;
font-weight: bold;
margin-bottom: 0;
}
header p {
color: #777;
margin-top: 0;
}
nav {
margin-top: 2em;
padding: 0px 1em;
vertical-align: bottom;
}
nav a {
color: var(--nav-color);
text-decoration: none;
padding: 2px 0.75em;
font-size: 110%;
}
nav a.active {
color: var(--nav-active-color);
background: var(--nav-active-background);
}
nav a.right {
float: right;
}
main {
padding: 1em;
}
main {
padding: 2em;
text-align: center;
}
main ul h2 {
margin: .3em 0;
}
main ul {
display: grid;
grid-template-columns: auto;
grid-gap: 1em;
text-align: center;
list-style: none;
padding: 0;
}
.avatar {
margin-left: auto;
margin-right: auto;
border-radius: 100%;
}
@media (min-width: 600px) {
main ul {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
footer {
margin-top: 0;
text-align: center;
font-size: 1em;
color: #ccc;
}