By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 style.css

View raw Download
text/plain • 6.91 kiB
Unicode text, UTF-8 text
        
            
1
@font-face {
2
font-family: "Romanian League Gothic";
3
src: url("/static/fonts/RoLeagueGothic-Regular.woff2") format("woff2");
4
font-weight: normal;
5
font-style: normal;
6
}
7
8
@font-face {
9
font-family: "Romanian League Gothic Condensed";
10
src: url("/static/fonts/RoLeagueGothic-Condensed.woff2") format("woff2");
11
font-weight: normal;
12
font-style: normal;
13
}
14
15
@font-face {
16
font-family: "Source Serif";
17
src: url("/static/fonts/SourceSerif4Variable-Roman.otf.woff2") format("woff2-variations");
18
}
19
20
@font-face {
21
font-family: "Source Serif";
22
src: url("/static/fonts/SourceSerif4Variable-Italic.otf.woff2") format("woff2-variations");
23
font-style: italic;
24
}
25
26
@font-face {
27
font-family: "Source Sans";
28
src: url("/static/fonts/SourceSans3VF-Upright.otf.woff2") format("woff2-variations");
29
}
30
31
@font-face {
32
font-family: "Source Sans";
33
src: url("/static/fonts/SourceSans3VF-Italic.otf.woff2") format("woff2-variations");
34
font-style: italic;
35
}
36
37
@font-face {
38
font-family: "Source Code";
39
src: url("/static/fonts/SourceCodeVF-Upright.otf.woff2") format("woff2-variations");
40
}
41
42
@font-face {
43
font-family: "Source Code";
44
src: url("/static/fonts/SourceCodeVF-Italic.otf.woff2") format("woff2-variations");
45
font-style: italic;
46
}
47
48
body {
49
line-height: 1.5rem;
50
font-family: "Source Serif", serif;
51
font-weight: 375;
52
font-size: 1.125rem;
53
54
min-height: 100vh;
55
margin: 0;
56
display: flex;
57
flex-direction: column;
58
align-items: center;
59
background: #eceff1;
60
font-variation-settings: "opsz" 14;
61
}
62
63
a {
64
color: #009688;
65
text-decoration-thickness: 0.125em;
66
}
67
68
header {
69
width: 100%;
70
font-family: "Source Sans", sans-serif;
71
position: sticky;
72
top: 0;
73
background: #eceff1;
74
display: flex;
75
justify-content: center;
76
}
77
78
nav {
79
width: min(800px, 100%);
80
display: flex;
81
justify-content: space-between;
82
align-items: center;
83
box-sizing: border-box;
84
min-height: 4rem;
85
padding: 1rem 0;
86
margin: 0 0.5rem;
87
}
88
89
nav > ul {
90
font-family: "Romanian League Gothic", sans-serif;
91
display: flex;
92
list-style: none;
93
padding: 0;
94
margin: 0;
95
align-items: center;
96
gap: 1rem;
97
font-weight: normal;
98
font-size: 1.75rem;
99
line-height: 2rem;
100
text-transform: uppercase;
101
}
102
103
@media (max-width: 576px) {
104
nav > ul {
105
flex-flow: row wrap;
106
justify-content: center;
107
row-gap: 0.5rem;
108
}
109
nav {
110
flex-direction: column;
111
gap: 1rem;
112
}
113
header {
114
position: static;
115
}
116
}
117
118
@media (max-width: 720px) {
119
nav {
120
flex-direction: column;
121
padding: 0.5rem;
122
gap: 0.5rem;
123
}
124
}
125
126
nav > ul > li > a {
127
font-weight: normal;
128
text-decoration: none;
129
color: #000000;
130
text-decoration-thickness: 0.125em;
131
}
132
133
nav > ul > li > a:hover {
134
text-decoration: underline;
135
}
136
137
footer {
138
width: min(800px, 100%);
139
padding: 1rem;
140
box-sizing: border-box;
141
font-family: "Source Sans", sans-serif;
142
}
143
144
main {
145
width: min(800px, 100%);
146
flex: 1 0 auto;
147
gap: 1rem;
148
display: flex;
149
flex-direction: column;
150
}
151
152
.content-area {
153
box-shadow: 0 0 1px #00000028,
154
0 0 2px #00000020,
155
0 2px 4px #00000010,
156
0 2px 18px -6px #00000010;
157
padding: 1rem;
158
box-sizing: border-box;
159
background: #ffffff;
160
}
161
162
h1 {
163
font-family: "Romanian League Gothic Condensed", sans-serif;
164
font-weight: normal;
165
font-size: 4rem;
166
line-height: 5rem;
167
margin: 0;
168
text-align: center;
169
border-bottom: 0.5px solid #000000;
170
}
171
172
h2 {
173
font-family: "Romanian League Gothic", sans-serif;
174
font-weight: normal;
175
font-size: 2.75rem;
176
line-height: 3rem;
177
margin: 0;
178
}
179
180
h3 {
181
font-family: "Source Sans", sans-serif;
182
font-weight: 725;
183
font-size: 1.875rem;
184
line-height: 3rem;
185
margin: 0;
186
}
187
188
h4 {
189
font-family: "Source Sans", sans-serif;
190
font-weight: 800;
191
font-size: 1.5rem;
192
line-height: 2rem;
193
margin: 0;
194
}
195
196
h5 {
197
font-family: "Source Sans", sans-serif;
198
font-weight: 800;
199
font-size: 1.25rem;
200
line-height: 2rem;
201
margin: 0;
202
}
203
204
h6 {
205
font-family: "Source Sans", sans-serif;
206
font-weight: 900;
207
font-size: 1.125rem;
208
line-height: 2rem;
209
margin: 0;
210
}
211
212
.article-title {
213
text-decoration: none;
214
text-align: center;
215
color: #009688;
216
display: block;
217
width: 100%;
218
}
219
220
#mail-link {
221
color: #009688;
222
text-transform: none;
223
}
224
225
pre, code, kbd, samp, var {
226
font-family: "Source Code", monospace;
227
}
228
229
pre {
230
overflow-x: auto;
231
padding: 1rem;
232
background: #263238;
233
color: #ffffff;
234
color-scheme: dark;
235
font-size: 1rem;
236
line-height: 1.25rem;
237
}
238
239
.project-title {
240
display: flex;
241
align-items: center;
242
justify-content: space-between;
243
gap: 1rem;
244
width: 100%;
245
border: none;
246
}
247
248
.project-title > span {
249
padding: 0.5rem;
250
}
251
252
.project-title > a {
253
text-decoration: none;
254
background: #009688;
255
color: #ffffff;
256
padding: 0 1rem;
257
border: 4px solid #00796B;
258
box-sizing: border-box;
259
line-height: 1.25em;
260
font-size: 0.875em;
261
font-family: "Romanian League Gothic Condensed", sans-serif;
262
align-self: stretch;
263
display: flex;
264
align-items: center;
265
justify-content: center;
266
min-width: 25%;
267
268
transition: 400ms;
269
}
270
271
@media (max-width: 512px) {
272
.project-title {
273
flex-direction: column;
274
align-items: center;
275
}
276
277
.project-title > a {
278
min-height: 1.5lh;
279
margin: auto;
280
padding: 0 2rem;
281
}
282
}
283
284
.project-title > a:hover {
285
border-width: 8px;
286
}
287
288
strong, em {
289
font: inherit;
290
}
291
292
.emphasis-1 {
293
font-style: italic;
294
}
295
296
.emphasis-2 {
297
font-weight: 625;
298
}
299
300
.emphasis-3 {
301
font-variant: small-caps;
302
font-synthesis-small-caps: none;
303
}
304
305
#article-date, .home-article-date {
306
font-family: "Source Code", sans-serif;
307
font-feature-settings: "zero" on;
308
font-weight: 625;
309
text-align: center;
310
}
311
312
blockquote {
313
font-family: "Source Serif", serif;
314
font-weight: 350;
315
border-top: 0.5px solid #009688;
316
border-bottom: 0.5px solid #009688;
317
padding: 0.5rem 2rem;
318
margin: 0;
319
}
320
321
blockquote > p:first-child {
322
margin-top: 0;
323
}
324
325
blockquote > p:last-child {
326
margin-bottom: 0;
327
}
328
329
img {
330
max-width: 100%;
331
height: auto;
332
}
333
334
.topic-expander .topic-posts {
335
display: flex;
336
flex-direction: column;
337
gap: 0.5rem;
338
}
339
340
.topic-expander > summary {
341
display: flex;
342
justify-content: space-between;
343
align-items: center;
344
cursor: pointer;
345
text-transform: uppercase;
346
user-select: none;
347
align-items: center;
348
}
349
350
.topic-expander > summary > h2 {
351
font-family: "Romanian League Gothic", sans-serif;
352
font-size: 2.75rem;
353
}
354
355
.topic-expander > summary::after {
356
content: "▶";
357
transition: transform 400ms;
358
font-size: 1.5rem;
359
}
360
361
.topic-expander[open] > summary::after {
362
transform: rotate(90deg);
363
}
364
365
#index-container {
366
display: grid;
367
grid-template-columns: 1fr 1fr;
368
gap: 1rem;
369
}
370