]>
Commit | Line | Data |
---|---|---|
2ed0f35d | 1 | /* vars */ |
f38f696b | 2 | :root { |
d439b099 EK |
3 | --c-dark: #292f2f; |
4 | --c-bg-dark: #3a4346; | |
5 | --c-bg-light: #4c5456; | |
6 | --c-light: #ecf7fa; | |
7 | --c-hl-dark: #008499; | |
8 | --c-hl-light: #3baec4; | |
9 | ||
d1cee50f | 10 | /* backgrounds */ |
d439b099 EK |
11 | --navbar-bg: var(--c-dark); |
12 | --jumbotron-bg: var(--c-bg-dark); | |
13 | --copyright-bg: var(--c-dark); | |
14 | ||
d1cee50f | 15 | /* link colors */ |
d439b099 EK |
16 | --link-color: var(--c-hl-dark); |
17 | --link-hover-color: var(--c-hl-light); | |
18 | --footer-link-color: var(--c-light); | |
19 | --footer-hover-color: #fff; | |
20 | ||
d1cee50f | 21 | /* text colors */ |
d439b099 EK |
22 | --text-color: var(--c-dark); |
23 | --footer-text-color: var(--c-light); | |
24 | --copyright-text-color: var(--c-light); | |
25 | --jumbotron-text-color: var(--c-light); | |
26 | --art-date-color: color(var(--c-dark) tint(50%)); | |
27 | ||
d1cee50f | 28 | /* box colors */ |
d439b099 EK |
29 | --border-color: var(--c-dark); |
30 | --box-color: var(--c-bg-light); | |
31 | --box-hover-color: var(--c-dark);; | |
d1cee50f | 32 | --box-round: 10px; |
d439b099 | 33 | |
d1cee50f SB |
34 | /* other */ |
35 | --max-width: 600px; | |
36 | --max-width-box: 800px; | |
37 | --margin-box-fa: 5px; | |
f38f696b | 38 | } |
d1cee50f SB |
39 | @custom-media --max-sm all and (max-width: 600px); |
40 | @custom-media --max-md all and (max-width: 800px); | |
41 | @custom-media --max-rem all and (max-width: 60rem); | |
2ed0f35d | 42 | |
2ed0f35d | 43 | /* reset css for browser compat */ |
2ed0f35d | 44 | * { |
f38f696b EK |
45 | margin: 0; |
46 | padding: 0; | |
47 | box-sizing: border-box; | |
2ed0f35d S |
48 | } |
49 | ||
50 | /* global */ | |
2ed0f35d | 51 | body { |
f38f696b | 52 | font-family: 'Open Sans'; |
512215ac EK |
53 | font-feature-settings: "lnum"; |
54 | font-variant-numeric: lining-nums; | |
f38f696b EK |
55 | color: var(--text-color); |
56 | font-size: 14px; | |
57 | min-height: 100vh; | |
58 | height: auto; | |
2ed0f35d S |
59 | } |
60 | ||
61 | a { | |
ef54eedd | 62 | color: var(--link-color); |
f38f696b | 63 | text-decoration: none; |
2ed0f35d S |
64 | } |
65 | ||
d439b099 EK |
66 | a:hover { |
67 | color: var(--link-hover-color); | |
68 | } | |
a9a27d4b SB |
69 | img { |
70 | max-width: 100%; | |
71 | } | |
d439b099 | 72 | |
2ed0f35d | 73 | /* navbar */ |
2ed0f35d | 74 | .navbar { |
f38f696b EK |
75 | width: 100%; |
76 | height: 50px; | |
77 | background-color: var(--navbar-bg); | |
545c8ea4 | 78 | box-shadow: 0 3px 4px rgba(0, 0, 0, 0.5); |
f38f696b EK |
79 | position: fixed; |
80 | left: 0; | |
81 | right: 0; | |
82 | top: 0; | |
83 | display: flex; | |
84 | flex-wrap: nowrap; | |
85 | justify-content: space-between; | |
86 | align-items: center; | |
545c8ea4 | 87 | border-bottom: 1px solid var(--border-color); |
f38f696b | 88 | z-index: 100; |
15bc3c0b | 89 | padding-right: 5px; |
2ed0f35d S |
90 | } |
91 | ||
d1cee50f | 92 | @media (--max-sm); { |
545c8ea4 EK |
93 | .navbar { |
94 | position: absolute; | |
95 | } | |
96 | } | |
97 | ||
98 | .navbar a { | |
15bc3c0b | 99 | margin-top: 2px; |
545c8ea4 EK |
100 | height: 40px; |
101 | } | |
102 | ||
2ed0f35d | 103 | .nlogo { |
f38f696b | 104 | height: 40px; |
2ed0f35d S |
105 | } |
106 | ||
2ed0f35d | 107 | /* main */ |
2ed0f35d | 108 | .container { |
f38f696b | 109 | width: 100%; |
28507109 | 110 | min-height: 98vh; |
588c2afb | 111 | padding-top: 50px; |
28507109 | 112 | padding-bottom: 11.5rem; |
2ed0f35d S |
113 | } |
114 | ||
115 | .main { | |
4f236e86 | 116 | margin: 0 auto; |
949bf01c | 117 | margin-top: .75em; |
588c2afb | 118 | padding: 0 .75em; |
4f236e86 | 119 | max-width: var(--max-width); |
19ea0778 | 120 | line-height: 1.4; |
2ed0f35d S |
121 | } |
122 | ||
0e9ffab7 EK |
123 | .main h1, |
124 | .main h2, | |
125 | .main h3, | |
19ea0778 | 126 | .main h4, |
50d68b4a | 127 | .main li, |
19ea0778 EK |
128 | .main pre, |
129 | .main p { | |
588c2afb | 130 | margin-top: .7em; |
0e9ffab7 EK |
131 | } |
132 | ||
19ea0778 EK |
133 | .main h1 + p, |
134 | .main h2 + p, | |
135 | .main h3 + p, | |
136 | .main h3 + p { | |
137 | margin-top: 0; | |
138 | } | |
139 | ||
81cae952 | 140 | ul { |
50d68b4a EK |
141 | padding-left: 2em; |
142 | list-style-type: disc; | |
143 | } | |
144 | ||
19ea0778 EK |
145 | hr { |
146 | margin-top: .8em; | |
147 | margin-bottom: .8em; | |
148 | } | |
149 | ||
2ed0f35d | 150 | /* jumbotron */ |
2ed0f35d | 151 | .jumbotron { |
f38f696b EK |
152 | position: relative; |
153 | width: 100%; | |
154 | margin-top: -16px; | |
f38f696b | 155 | background: var(--jumbotron-bg); |
545c8ea4 | 156 | box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6); |
f38f696b | 157 | color: var(--jumbotron-text-color); |
545c8ea4 | 158 | padding: 2em 0; |
2ed0f35d S |
159 | } |
160 | ||
161 | .child { | |
f38f696b | 162 | text-align: center; |
ef54eedd | 163 | margin: .5em auto; |
f38f696b EK |
164 | font-size: 32px; |
165 | line-height: 48px; | |
ef54eedd | 166 | max-width: 75%; |
2ed0f35d S |
167 | } |
168 | ||
169 | .box-container { | |
f38f696b EK |
170 | display: flex; |
171 | flex-wrap: wrap; | |
172 | justify-content: space-around; | |
173 | align-items: stretch; | |
d1cee50f | 174 | max-width: var(--max-width-box); |
6c2065c4 | 175 | margin: 0 auto; |
2ed0f35d S |
176 | } |
177 | ||
178 | .box { | |
6c2065c4 | 179 | text-align: center; |
f38f696b | 180 | text-decoration: none; |
ef54eedd | 181 | color: var(--jumbotron-text-color); |
f38f696b | 182 | margin-bottom: 5px; |
f38f696b | 183 | flex-basis: 30%; |
81cae952 | 184 | min-width: 26%; |
ef54eedd | 185 | background-color: var(--box-color); |
f38f696b | 186 | border-radius: var(--box-round); |
81cae952 | 187 | padding: 1em; |
f38f696b EK |
188 | } |
189 | ||
190 | .box:hover,.box:active { | |
d439b099 | 191 | color: var(--jumbotron-text-color); |
f38f696b EK |
192 | background-color: var(--box-hover-color); |
193 | } | |
194 | ||
195 | .box div{ | |
f38f696b | 196 | position: relative; |
d4b00db0 | 197 | top: initial; |
257112d0 | 198 | font-size: 20px; |
ef54eedd | 199 | font-weight: 600; |
d4b00db0 | 200 | line-height: 16px; |
d4b00db0 | 201 | display: block; |
81cae952 | 202 | margin-top: .75em; |
e9725e62 | 203 | } |
204 | ||
2ed0f35d | 205 | .fa-users { |
d1cee50f | 206 | margin-top: var(--margin-box-fa); |
2ed0f35d S |
207 | } |
208 | ||
f38f696b | 209 | .fa-comment,.fa-question { |
d1cee50f | 210 | margin-bottom: var(--margin-box-fa); |
2ed0f35d S |
211 | } |
212 | ||
213 | .title { | |
f38f696b | 214 | text-align: center; |
2ed0f35d S |
215 | } |
216 | ||
d1cee50f SB |
217 | @media (--max-md) { |
218 | .box { | |
219 | text-align: center; | |
220 | } | |
221 | ||
222 | .child { | |
223 | font-size: 20px; | |
224 | line-height: 30px; | |
225 | padding: 10px 0 5px; | |
226 | } | |
227 | ||
228 | .fa-4x { | |
229 | padding: 0; | |
230 | margin: 0; | |
231 | width: 60px; | |
232 | text-align: center; | |
233 | font-size: 28px; | |
234 | } | |
235 | ||
236 | .box-container { | |
237 | flex-direction: column; | |
238 | margin: 0 .5em; | |
239 | } | |
240 | ||
241 | .box div { | |
242 | font-size: 22px; | |
243 | line-height: 22px; | |
244 | padding-left: 8px; | |
245 | font-weight: 700; | |
246 | position: relative; | |
247 | display: inline; | |
248 | text-align: center; | |
249 | } | |
250 | ||
251 | .box { | |
252 | text-align: left; | |
253 | border-radius: calc(var(--box-round) / 2); | |
254 | margin: 5px 0; | |
255 | } | |
256 | } | |
257 | ||
b9f1cb69 | 258 | /* articles */ |
2ed0f35d | 259 | h1 { |
f38f696b | 260 | margin: 0; |
2ed0f35d S |
261 | } |
262 | ||
b9f1cb69 | 263 | .art-info { |
ea0081b5 | 264 | line-height: 1.6; |
512215ac | 265 | display: flex; |
512215ac | 266 | flex-direction: row; |
ea0081b5 | 267 | flex-wrap: wrap; |
512215ac | 268 | justify-content: space-between; |
ea0081b5 | 269 | align-items: baseline; |
2ed0f35d S |
270 | } |
271 | ||
b7b20c22 | 272 | .art-info h1 { |
b7b20c22 | 273 | margin-top: 0; |
ea0081b5 | 274 | display: inline; |
b7b20c22 EK |
275 | } |
276 | ||
b9f1cb69 EK |
277 | .art-body { |
278 | margin-bottom: 1em; | |
279 | } | |
280 | ||
281 | .artlist { | |
00873aed | 282 | max-width: var(--max-width); |
588c2afb | 283 | margin: 0 auto; |
fd277af5 SB |
284 | margin-top: .5em; |
285 | } | |
286 | ||
b9f1cb69 | 287 | .artlist .art-info:not(:first-child) { |
545c8ea4 | 288 | border-top: 1px solid var(--border-color); |
2ed0f35d S |
289 | } |
290 | ||
dbdcf68c | 291 | .art-date { |
ea0081b5 EK |
292 | display: inline-block; |
293 | text-align: baseline; | |
294 | line-height: 1; | |
295 | white-space: nowrap; | |
d1cee50f | 296 | color: var(--art-date-color); |
512215ac EK |
297 | font-feature-settings: "tnum"; |
298 | font-variant-numeric: tabular-nums; | |
2ed0f35d S |
299 | } |
300 | ||
b9f1cb69 EK |
301 | .art-nav { |
302 | display: flex; | |
303 | flex-direction: row; | |
304 | justify-content: space-between; | |
305 | width: 100%; | |
2ed0f35d S |
306 | } |
307 | ||
d1cee50f | 308 | @media (--max-md) { |
4ec635fa EK |
309 | .main.artlist { |
310 | padding-left: 0; | |
311 | padding-right: 0; | |
312 | } | |
313 | ||
512215ac | 314 | .artlist .art-info { |
4ec635fa EK |
315 | padding: 0 .75em; |
316 | } | |
317 | } | |
318 | ||
81cae952 EK |
319 | /* faq */ |
320 | .faq-index { | |
321 | list-style-type: none; | |
322 | padding-left: 0; | |
aad4ef42 EK |
323 | display: flex; |
324 | flex-direction: row; | |
325 | flex-wrap: wrap; | |
326 | justify-content: stretch; | |
81cae952 EK |
327 | } |
328 | ||
329 | .faq-index li { | |
aad4ef42 EK |
330 | display: block; |
331 | flex: 1 1 15em; | |
332 | height: 7em; | |
333 | margin: 1em; | |
334 | } | |
335 | ||
336 | .faq-index li h2 { | |
337 | margin-top: 0; | |
338 | } | |
339 | ||
340 | .faq-index a { | |
341 | display: block; | |
342 | color: var(--text-color); | |
343 | width: 100%; | |
344 | height: 100%; | |
345 | } | |
346 | .faq-index a h2 { | |
347 | color: var(--link-color); | |
348 | } | |
349 | .faq-index a:hover h2 { | |
350 | color: var(--link-hover-color); | |
81cae952 EK |
351 | } |
352 | ||
2ed0f35d | 353 | /* footer */ |
daf4b56e | 354 | .footers { |
28507109 EK |
355 | /*min-height: 30vh;*/ |
356 | margin-top: -11rem; | |
357 | min-height: 11rem; | |
daf4b56e S |
358 | } |
359 | ||
2ed0f35d | 360 | .footer { |
f38f696b | 361 | background: var(--jumbotron-bg); |
545c8ea4 | 362 | color: var(--footer-text-color); |
502cdd50 | 363 | width: 100%; |
f38f696b | 364 | margin-top: 2vh; |
502cdd50 | 365 | box-shadow: 0 -3px 5px rgba(150,150,150,.36); |
366 | min-height: 9.5rem; | |
367 | } | |
368 | ||
369 | .footer-container { | |
f38f696b | 370 | display: flex; |
6c2065c4 | 371 | flex-wrap: wrap; |
f38f696b EK |
372 | justify-content: space-between; |
373 | align-items: flex-start; | |
502cdd50 | 374 | margin: 0 auto; |
2ed0f35d S |
375 | } |
376 | ||
377 | .footerchild { | |
502cdd50 | 378 | margin: 0 2em; |
f38f696b | 379 | margin-top: .5em; |
51b09107 | 380 | flex: 1 1 1px; |
28507109 EK |
381 | } |
382 | ||
383 | .footerchild:last-child { | |
384 | margin-bottom: 1em; | |
6c2065c4 EK |
385 | } |
386 | ||
51b09107 EV |
387 | .footer-push { |
388 | margin-left: auto; | |
389 | width: max-content; | |
2ed0f35d S |
390 | } |
391 | ||
502cdd50 | 392 | footer a { |
545c8ea4 | 393 | color: var(--footer-link-color); |
2ed0f35d S |
394 | } |
395 | ||
502cdd50 | 396 | footer a:hover { |
d1cee50f | 397 | color: var(--footer-hover-color); |
ef54eedd EK |
398 | } |
399 | ||
f8883dc0 | 400 | .footer h2 { |
28507109 | 401 | margin-bottom: .1em; |
f38f696b | 402 | display: inline-block; |
f8883dc0 S |
403 | } |
404 | ||
81cae952 EK |
405 | .footerchild ul, .footerchild ul ul { |
406 | padding-left: 0; | |
f38f696b EK |
407 | margin-left: 10px; |
408 | margin-right: 10px; | |
409 | list-style-type: none; | |
2ed0f35d S |
410 | } |
411 | ||
412 | .footerchild ul ul { | |
f38f696b | 413 | padding-left: 30px; |
2ed0f35d S |
414 | } |
415 | ||
d1cee50f | 416 | @media (--max-md) { |
a406ba13 | 417 | .footer-container { |
f38f696b EK |
418 | flex-direction: column; |
419 | } | |
db572d44 | 420 | |
a406ba13 EV |
421 | .footer-push { |
422 | margin-left: 0; | |
f38f696b | 423 | } |
db572d44 | 424 | |
f38f696b EK |
425 | .footerchild ul li:last-child { |
426 | margin-bottom: .5em; | |
427 | } | |
e9725e62 | 428 | |
f38f696b EK |
429 | .hdn { |
430 | display: none; | |
431 | } | |
2ed0f35d S |
432 | } |
433 | ||
502cdd50 | 434 | .footer h2, .footer h3 { |
f38f696b EK |
435 | margin-left: 10px; |
436 | margin-right: 10px; | |
2ed0f35d S |
437 | } |
438 | ||
81cae952 | 439 | footer.copyright { |
f38f696b | 440 | display: flex; |
545c8ea4 | 441 | flex-wrap: wrap; |
f38f696b | 442 | justify-content: space-between; |
545c8ea4 EK |
443 | background: var(--copyright-bg); |
444 | min-height: 1.5rem; | |
445 | color: var(--copyright-text-color); | |
81cae952 EK |
446 | padding-left: .5em; |
447 | padding-right: .5em; | |
448 | overflow: hidden; | |
db572d44 SB |
449 | } |
450 | ||
81cae952 EK |
451 | footer.copyright div { |
452 | display: flex; | |
453 | align-items: center; | |
454 | height: 1.5rem; | |
455 | line-height: 1.5rem; | |
456 | vertical-align: top; | |
db572d44 SB |
457 | } |
458 | ||
81cae952 EK |
459 | .copyright * { |
460 | margin: 0; | |
28507109 | 461 | height: 1.5rem; |
81cae952 | 462 | line-height: 1.5rem; |
df74dd1d SB |
463 | } |
464 | ||
502cdd50 | 465 | .copyright .fa { |
466 | height: 100%; | |
5b76ff14 SB |
467 | vertical-align: top; |
468 | font-size: 1.4em; | |
502cdd50 | 469 | } |
470 | ||
81cae952 EK |
471 | .copyright .footer-link { |
472 | height: 28px; | |
f38f696b | 473 | margin-right: .5em; |
81cae952 EK |
474 | } |
475 | ||
476 | .copyright img { | |
477 | height: 1.5rem; | |
478 | width: auto; | |
ebee5e25 | 479 | } |