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
|
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap");
@import "https://www.nerdfonts.com/assets/css/webfont.css";
@media (prefers-color-scheme: light) {
:root {
--color-primary: rgb(0 104 119);
--color-on-primary: rgb(255 255 255);
--color-secondary: rgb(74 98 104);
--color-surface: rgb(245 250 252);
--color-surface-container: rgb(233 239 240);
--color-on-surface: rgb(23 29 30);
}
}
@media (prefers-color-scheme: dark) {
:root {
--color-primary: rgb(131 210 228);
--color-on-primary: rgb(0 54 62);
--color-secondary: rgb(178 203 209);
--color-surface: rgb(14 20 22);
--color-surface-container: rgb(27 33 34);
--color-on-surface: rgb(222 227 229);
}
}
* {
transition-duration: 0.5s;
transition-property: background, color;
transition-timing-function: ease-in-out;
}
body {
font-family: "Noto Sans", sans-serif;
background-color: var(--color-surface);
color: var(--color-on-surface);
margin: 0 auto;
padding: 0 0.5rem;
max-width: 50rem;
}
nav {
margin-top: 1rem;
display: flex;
gap: 0.5rem;
}
nav > * {
background-color: var(--color-surface-container);
border-radius: 2rem;
padding: 0.5rem;
flex: 1;
text-align: center;
text-wrap: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
nav > .current {
outline: 0.1rem solid var(--color-primary);
}
main,
section,
footer {
background-color: var(--color-surface-container);
border-radius: 2rem;
margin: 1rem 0;
padding: 1.5rem;
}
main > :first-child,
section > :first-child,
footer > :first-child {
margin-top: 0;
}
main > :last-child,
section > :last-child,
footer > :last-child {
margin-bottom: 0;
}
ul {
list-style: none;
padding-left: 0;
}
a,
.copy {
color: var(--color-primary);
text-decoration: none;
}
.copy:hover {
cursor: pointer;
color: var(--color-secondary);
}
.links {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-top: 1rem;
}
.links > a {
flex: 1;
text-align: center;
text-wrap: nowrap;
padding: 0.25rem 1rem;
border: 0.1rem solid var(--color-primary);
border-radius: 1rem;
}
.webring {
display: flex;
}
.webring > * {
flex: 1;
text-align: center;
}
|