-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
197 lines (150 loc) · 2.59 KB
/
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
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
html,
body {
margin: 0;
padding: 0;
}
* {
box-sizing: border-box;
}
body {
overflow-y: auto;
font-size: 13pt;
font-family: 'Consolas', monospace;
width: 100vw;
height: 100vh;
display: flex;
flex-flow: column nowrap;
align-items: center;
justify-content: space-between;
color: #EEF0F2;
background:
repeating-linear-gradient(to right, #111111 0, #111111 1px, transparent 2px, transparent 20px),
repeating-linear-gradient(to bottom, #111111 0, #111111 1px, transparent 2px, transparent 20px),
repeating-linear-gradient(to right, #373030 0, #373030 20px, #303730 21px, #303730 40px, #303037 41px, #303037 60px);
background-size: 60px 20px;
animation: scroll-bg 3.1s linear infinite;
}
@keyframes scroll-bg {
0% {
background-position: 60px 20px;
}
100% {
background-position: 0 0;
}
}
main {
background: transparent;
display: flex;
flex-flow: row wrap;
max-width: 100ch;
align-items: stretch;
justify-content: center;
padding: 1ex 1ch;
gap: 1ex 1ch;
}
header,
footer {
width: 100%;
padding: 0.5em 1ch;
}
header {
text-align: center;
}
footer {
text-align: end;
}
nav, article, header, footer {
background: #1A1A1AB0;
}
nav, article {
max-width: 72ch;
}
main > * {
border-radius: 0.8em;
border: 3px solid #0A0A0A;
padding: 0 1ch;
}
header {
border-bottom: 3px solid #0A0A0A;
}
footer {
border-top: 3px solid #0A0A0A;
}
article {
text-align: justify;
}
h1 {
font-size: 1.2rem;
}
h1::before {
content: "§ ";
}
ul, ul > li {
width: max-content;
}
ul.links {
width: 100%;
}
ul {
padding: 0;
margin-left: 2ch;
list-style-type: none;
}
ul > li {
margin-right: 2ch;
}
ul > li::before {
content: "- ";
}
h1, p, ul {
margin-top: 1rem;
margin-bottom: 1rem;
}
p {
height: max-content;
width: fit-content;
}
a {
text-decoration: none;
font-weight: bold;
}
a:visited {
color: #149914;
}
a, header > a:visited {
color: #14EE14;
}
a::before {
content: "[";
}
a::after {
content: "]";
}
#links a::before, #links a::after {
content: "";
}
a.kill-link {
color: #EE1414;
font-weight: normal;
cursor: help;
text-decoration: dotted;
}
strong {
color: #FFFFFF;
}
main.no-fade-in {
opacity: 0;
}
.fade-in, main:not(.no-fade-in) {
animation-name: fade-in;
animation-timing-function: ease-out;
animation-duration: 1s;
}
@keyframes fade-in {
0%, 50% {
opacity: 0;
}
100% {
opacity: 1;
}
}