]>
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 | 34 | /* other */ |
46687d13 | 35 | --max-width: 600px; |
d1cee50f SB |
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 | ||
e43e6fbd | 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 | ||
90257b61 AM |
107 | .tlogo { |
108 | height: 40px; | |
109 | margin-bottom: -9px; | |
110 | margin-left: -10px; | |
111 | margin-right: -10px; | |
112 | } | |
113 | ||
2ed0f35d | 114 | /* main */ |
2ed0f35d | 115 | .container { |
f38f696b | 116 | width: 100%; |
0a1e9a90 EK |
117 | min-height: 100vh; |
118 | padding-top: 50px; | |
ea5b3fae | 119 | padding-bottom: 17.5rem; |
2ed0f35d S |
120 | } |
121 | ||
122 | .main { | |
0a1e9a90 | 123 | margin: 2em auto; |
588c2afb | 124 | padding: 0 .75em; |
4f236e86 | 125 | max-width: var(--max-width); |
10218a76 | 126 | line-height: 1.8; |
2ed0f35d S |
127 | } |
128 | ||
0e9ffab7 EK |
129 | .main h1, |
130 | .main h2, | |
131 | .main h3, | |
19ea0778 | 132 | .main h4, |
96915a91 | 133 | .main li, |
19ea0778 EK |
134 | .main pre, |
135 | .main p { | |
588c2afb | 136 | margin-top: .7em; |
0e9ffab7 EK |
137 | } |
138 | ||
96915a91 EK |
139 | .artlist li { |
140 | margin-top: 0; | |
141 | } | |
142 | ||
19ea0778 EK |
143 | .main h1 + p, |
144 | .main h2 + p, | |
145 | .main h3 + p, | |
146 | .main h3 + p { | |
147 | margin-top: 0; | |
148 | } | |
149 | ||
81cae952 | 150 | ul { |
50d68b4a EK |
151 | padding-left: 2em; |
152 | list-style-type: disc; | |
153 | } | |
154 | ||
f2fdabcd SB |
155 | ol { |
156 | padding-left: 2em; | |
157 | list-style-type: decimal; | |
158 | } | |
159 | ||
19ea0778 EK |
160 | hr { |
161 | margin-top: .8em; | |
162 | margin-bottom: .8em; | |
163 | } | |
164 | ||
30b54282 EK |
165 | table { |
166 | border: 1px solid var(--c-dark); | |
167 | border-collapse: collapse; | |
168 | } | |
169 | ||
170 | th, td { | |
171 | margin: .2em; | |
172 | } | |
173 | ||
174 | th { | |
175 | background-color: var(--c-bg-dark); | |
176 | color: var(--c-light); | |
177 | } | |
178 | ||
179 | td { | |
180 | padding: .2em .5em; | |
181 | } | |
182 | ||
183 | td:not(:first-child), th:not(:first-child) { | |
184 | border-left: 1px solid var(--c-dark); | |
185 | } | |
186 | ||
2ed0f35d | 187 | /* jumbotron */ |
2ed0f35d | 188 | .jumbotron { |
f38f696b EK |
189 | position: relative; |
190 | width: 100%; | |
0a1e9a90 | 191 | margin-top: -50px; |
f38f696b | 192 | background: var(--jumbotron-bg); |
545c8ea4 | 193 | box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6); |
f38f696b | 194 | color: var(--jumbotron-text-color); |
7e59dd2d SB |
195 | padding: 4em 0 4em 0; |
196 | } | |
197 | ||
198 | .jindex { | |
90257b61 | 199 | z-index: 99; |
7e59dd2d SB |
200 | } |
201 | ||
202 | .jlogo { | |
203 | display: block; | |
204 | margin: 25px auto; | |
205 | } | |
206 | ||
207 | .jpia { | |
208 | position: absolute; | |
209 | height: 40px; | |
ea5b3fae | 210 | right: 0; |
7e59dd2d SB |
211 | top: 0; |
212 | margin: 25px; | |
213 | } | |
214 | ||
215 | @media (--max-sm) { | |
216 | .jlogo { | |
217 | margin: 2em auto -2em auto; | |
218 | } | |
219 | .jumbotron { | |
220 | padding-bottom: 2em; | |
221 | } | |
2ed0f35d S |
222 | } |
223 | ||
224 | .child { | |
f38f696b | 225 | text-align: center; |
ef54eedd | 226 | margin: .5em auto; |
f38f696b EK |
227 | font-size: 32px; |
228 | line-height: 48px; | |
ef54eedd | 229 | max-width: 75%; |
2ed0f35d S |
230 | } |
231 | ||
232 | .box-container { | |
f38f696b EK |
233 | display: flex; |
234 | flex-wrap: wrap; | |
235 | justify-content: space-around; | |
236 | align-items: stretch; | |
d1cee50f | 237 | max-width: var(--max-width-box); |
6c2065c4 | 238 | margin: 0 auto; |
2ed0f35d S |
239 | } |
240 | ||
241 | .box { | |
6c2065c4 | 242 | text-align: center; |
f38f696b | 243 | text-decoration: none; |
ef54eedd | 244 | color: var(--jumbotron-text-color); |
f38f696b | 245 | margin-bottom: 5px; |
f38f696b | 246 | flex-basis: 30%; |
81cae952 | 247 | min-width: 26%; |
ef54eedd | 248 | background-color: var(--box-color); |
f38f696b | 249 | border-radius: var(--box-round); |
81cae952 | 250 | padding: 1em; |
f38f696b EK |
251 | } |
252 | ||
253 | .box:hover,.box:active { | |
d439b099 | 254 | color: var(--jumbotron-text-color); |
f38f696b EK |
255 | background-color: var(--box-hover-color); |
256 | } | |
257 | ||
57bd8f7d | 258 | .box span { |
f38f696b | 259 | position: relative; |
d4b00db0 | 260 | top: initial; |
257112d0 | 261 | font-size: 20px; |
ef54eedd | 262 | font-weight: 600; |
d4b00db0 | 263 | line-height: 16px; |
d4b00db0 | 264 | display: block; |
81cae952 | 265 | margin-top: .75em; |
e9725e62 | 266 | } |
267 | ||
2ed0f35d | 268 | .fa-users { |
d1cee50f | 269 | margin-top: var(--margin-box-fa); |
2ed0f35d S |
270 | } |
271 | ||
cd9b0475 | 272 | .fa-comments,.fa-question { |
d1cee50f | 273 | margin-bottom: var(--margin-box-fa); |
2ed0f35d S |
274 | } |
275 | ||
276 | .title { | |
f38f696b | 277 | text-align: center; |
2ed0f35d S |
278 | } |
279 | ||
d1cee50f SB |
280 | @media (--max-md) { |
281 | .box { | |
282 | text-align: center; | |
283 | } | |
284 | ||
285 | .child { | |
286 | font-size: 20px; | |
287 | line-height: 30px; | |
288 | padding: 10px 0 5px; | |
289 | } | |
290 | ||
291 | .fa-4x { | |
292 | padding: 0; | |
293 | margin: 0; | |
294 | width: 60px; | |
295 | text-align: center; | |
296 | font-size: 28px; | |
297 | } | |
298 | ||
299 | .box-container { | |
300 | flex-direction: column; | |
301 | margin: 0 .5em; | |
302 | } | |
303 | ||
57bd8f7d | 304 | .box span { |
d1cee50f SB |
305 | font-size: 22px; |
306 | line-height: 22px; | |
307 | padding-left: 8px; | |
57bd8f7d | 308 | font-weight: bold; |
d1cee50f | 309 | position: relative; |
57bd8f7d | 310 | display: inline-block; |
d1cee50f | 311 | text-align: center; |
da5e0658 | 312 | margin-top: 0; |
d1cee50f SB |
313 | } |
314 | ||
315 | .box { | |
316 | text-align: left; | |
317 | border-radius: calc(var(--box-round) / 2); | |
318 | margin: 5px 0; | |
319 | } | |
320 | } | |
321 | ||
b9f1cb69 | 322 | /* articles */ |
2ed0f35d | 323 | h1 { |
f38f696b | 324 | margin: 0; |
2ed0f35d S |
325 | } |
326 | ||
8e4058cf EK |
327 | .artlist ul { |
328 | padding: 0; | |
5a791e57 EK |
329 | list-style-type: none; |
330 | } | |
331 | ||
b9f1cb69 | 332 | .art-info { |
512215ac | 333 | display: flex; |
512215ac | 334 | flex-direction: row; |
ea0081b5 | 335 | flex-wrap: wrap; |
512215ac | 336 | justify-content: space-between; |
ea0081b5 | 337 | align-items: baseline; |
2ed0f35d S |
338 | } |
339 | ||
b7b20c22 | 340 | .art-info h1 { |
b7b20c22 | 341 | margin-top: 0; |
ea0081b5 | 342 | display: inline; |
0f23d7fd | 343 | margin-right: 2em; |
b7b20c22 EK |
344 | } |
345 | ||
b9f1cb69 EK |
346 | .art-body { |
347 | margin-bottom: 1em; | |
348 | } | |
349 | ||
8e4058cf EK |
350 | @media(--max-sm) { |
351 | .artlist .heading { | |
352 | padding: 0 0.75em; | |
353 | } | |
fd277af5 SB |
354 | } |
355 | ||
8e4058cf EK |
356 | .artlist ul { |
357 | max-width: var(--max-width); | |
358 | margin: 2em auto; | |
359 | margin-top: .5em; | |
d535feaa | 360 | } |
361 | ||
5a791e57 | 362 | .artlist li:not(:first-child) { |
545c8ea4 | 363 | border-top: 1px solid var(--border-color); |
2ed0f35d S |
364 | } |
365 | ||
5a791e57 EK |
366 | .art-info .art { |
367 | font-weight: bold; | |
368 | font-size: 120%; | |
369 | } | |
370 | ||
dbdcf68c | 371 | .art-date { |
ea0081b5 | 372 | display: inline-block; |
0f23d7fd | 373 | vertical-align: baseline; |
ea0081b5 EK |
374 | line-height: 1; |
375 | white-space: nowrap; | |
d1cee50f | 376 | color: var(--art-date-color); |
512215ac EK |
377 | font-feature-settings: "tnum"; |
378 | font-variant-numeric: tabular-nums; | |
2ed0f35d S |
379 | } |
380 | ||
5a791e57 EK |
381 | .artlist .art-date { |
382 | margin-bottom: .5em; | |
383 | } | |
384 | ||
b9f1cb69 EK |
385 | .art-nav { |
386 | display: flex; | |
387 | flex-direction: row; | |
388 | justify-content: space-between; | |
5a791e57 | 389 | flex-basis: 30%; |
b9f1cb69 | 390 | width: 100%; |
2ed0f35d S |
391 | } |
392 | ||
d1cee50f | 393 | @media (--max-md) { |
4ec635fa EK |
394 | .main.artlist { |
395 | padding-left: 0; | |
396 | padding-right: 0; | |
397 | } | |
398 | ||
512215ac | 399 | .artlist .art-info { |
4ec635fa EK |
400 | padding: 0 .75em; |
401 | } | |
402 | } | |
403 | ||
81cae952 | 404 | /* faq */ |
91b0633e | 405 | .kb-index { |
81cae952 EK |
406 | list-style-type: none; |
407 | padding-left: 0; | |
aad4ef42 EK |
408 | display: flex; |
409 | flex-direction: row; | |
410 | flex-wrap: wrap; | |
411 | justify-content: stretch; | |
81cae952 EK |
412 | } |
413 | ||
91b0633e | 414 | .kb-index li { |
aad4ef42 EK |
415 | display: block; |
416 | flex: 1 1 15em; | |
417 | height: 7em; | |
418 | margin: 1em; | |
419 | } | |
420 | ||
91b0633e | 421 | .kb-index li h2 { |
aad4ef42 EK |
422 | margin-top: 0; |
423 | } | |
424 | ||
91b0633e | 425 | .kb-index a { |
aad4ef42 EK |
426 | display: block; |
427 | color: var(--text-color); | |
428 | width: 100%; | |
429 | height: 100%; | |
430 | } | |
91b0633e | 431 | .kb-index a h2 { |
aad4ef42 EK |
432 | color: var(--link-color); |
433 | } | |
91b0633e | 434 | .kb-index a:hover h2 { |
aad4ef42 | 435 | color: var(--link-hover-color); |
81cae952 EK |
436 | } |
437 | ||
2ed0f35d | 438 | /* footer */ |
daf4b56e | 439 | .footers { |
28507109 | 440 | /*min-height: 30vh;*/ |
ea5b3fae EK |
441 | margin-top: -17rem; |
442 | min-height: 17rem; | |
daf4b56e S |
443 | } |
444 | ||
2ed0f35d | 445 | .footer { |
f38f696b | 446 | background: var(--jumbotron-bg); |
545c8ea4 | 447 | color: var(--footer-text-color); |
502cdd50 | 448 | width: 100%; |
502cdd50 | 449 | box-shadow: 0 -3px 5px rgba(150,150,150,.36); |
ea5b3fae | 450 | min-height: 15.4rem; |
0f23d7fd | 451 | padding: 3em 0; |
502cdd50 | 452 | } |
453 | ||
57025cf5 EK |
454 | .footer .fa-fw { |
455 | height: 14px; | |
456 | } | |
457 | ||
502cdd50 | 458 | .footer-container { |
f38f696b | 459 | display: flex; |
6c2065c4 | 460 | flex-wrap: wrap; |
0f23d7fd | 461 | justify-content: center; |
f38f696b | 462 | align-items: flex-start; |
502cdd50 | 463 | margin: 0 auto; |
2ed0f35d S |
464 | } |
465 | ||
466 | .footerchild { | |
502cdd50 | 467 | margin: 0 2em; |
f38f696b | 468 | margin-top: .5em; |
0f23d7fd | 469 | flex-grow: 1; |
470 | flex-shrink: 0; | |
28507109 EK |
471 | } |
472 | ||
473 | .footerchild:last-child { | |
7e59dd2d | 474 | margin-bottom: .5em; |
6c2065c4 EK |
475 | } |
476 | ||
51b09107 EV |
477 | .footer-push { |
478 | margin-left: auto; | |
479 | width: max-content; | |
2ed0f35d S |
480 | } |
481 | ||
502cdd50 | 482 | footer a { |
545c8ea4 | 483 | color: var(--footer-link-color); |
2ed0f35d S |
484 | } |
485 | ||
502cdd50 | 486 | footer a:hover { |
d1cee50f | 487 | color: var(--footer-hover-color); |
ef54eedd EK |
488 | } |
489 | ||
f8883dc0 | 490 | .footer h2 { |
28507109 | 491 | margin-bottom: .1em; |
f38f696b | 492 | display: inline-block; |
f8883dc0 S |
493 | } |
494 | ||
81cae952 EK |
495 | .footerchild ul, .footerchild ul ul { |
496 | padding-left: 0; | |
f38f696b EK |
497 | margin-left: 10px; |
498 | margin-right: 10px; | |
499 | list-style-type: none; | |
2ed0f35d S |
500 | } |
501 | ||
502 | .footerchild ul ul { | |
f38f696b | 503 | padding-left: 30px; |
2ed0f35d S |
504 | } |
505 | ||
7e59dd2d | 506 | @media (--max-sm) { |
a406ba13 | 507 | .footer-container { |
f38f696b EK |
508 | flex-direction: column; |
509 | } | |
db572d44 | 510 | |
a406ba13 EV |
511 | .footer-push { |
512 | margin-left: 0; | |
7e59dd2d | 513 | width: 100%; |
f38f696b | 514 | } |
db572d44 | 515 | |
f38f696b EK |
516 | .footerchild ul li:last-child { |
517 | margin-bottom: .5em; | |
518 | } | |
e9725e62 | 519 | |
7e59dd2d SB |
520 | .footer-push ul li:last-child { |
521 | margin-bottom: .1em; | |
522 | } | |
523 | ||
f38f696b EK |
524 | .hdn { |
525 | display: none; | |
526 | } | |
7e59dd2d SB |
527 | .footer { |
528 | padding: .5em 0; | |
529 | } | |
fbbfcaa8 EK |
530 | .footer li a { |
531 | line-height: 1.8; | |
532 | } | |
7e59dd2d SB |
533 | .footer-push ul { |
534 | display: flex; | |
535 | flex-wrap: wrap; | |
536 | flex-direction: row; | |
537 | justify-content: space-between; | |
538 | align-items: flex-start; | |
539 | text-align: center; | |
540 | } | |
541 | .footer-push ul li { | |
542 | display: inline-block; | |
fbbfcaa8 | 543 | font-size: 2.5rem; |
7e59dd2d | 544 | } |
fbbfcaa8 EK |
545 | .footerchild ul li img, |
546 | .footerchild ul li .fa-fw { | |
547 | height: 2.5rem; | |
7e59dd2d | 548 | } |
2ed0f35d S |
549 | } |
550 | ||
502cdd50 | 551 | .footer h2, .footer h3 { |
f38f696b EK |
552 | margin-left: 10px; |
553 | margin-right: 10px; | |
2ed0f35d S |
554 | } |
555 | ||
81cae952 | 556 | footer.copyright { |
f38f696b | 557 | display: flex; |
545c8ea4 | 558 | flex-wrap: wrap; |
f38f696b | 559 | justify-content: space-between; |
545c8ea4 EK |
560 | background: var(--copyright-bg); |
561 | min-height: 1.5rem; | |
562 | color: var(--copyright-text-color); | |
81cae952 EK |
563 | padding-left: .5em; |
564 | padding-right: .5em; | |
565 | overflow: hidden; | |
db572d44 SB |
566 | } |
567 | ||
81cae952 EK |
568 | footer.copyright div { |
569 | display: flex; | |
570 | align-items: center; | |
ea5b3fae EK |
571 | height: 1.6rem; |
572 | line-height: 1.6rem; | |
81cae952 | 573 | vertical-align: top; |
db572d44 SB |
574 | } |
575 | ||
81cae952 EK |
576 | .copyright * { |
577 | margin: 0; | |
ea5b3fae EK |
578 | height: 1.6rem; |
579 | line-height: 1.6rem; | |
df74dd1d SB |
580 | } |
581 | ||
502cdd50 | 582 | .copyright .fa { |
583 | height: 100%; | |
5b76ff14 SB |
584 | vertical-align: top; |
585 | font-size: 1.4em; | |
502cdd50 | 586 | } |
587 | ||
81cae952 EK |
588 | .copyright .footer-link { |
589 | height: 28px; | |
f38f696b | 590 | margin-right: .5em; |
81cae952 EK |
591 | } |
592 | ||
593 | .copyright img { | |
594 | height: 1.5rem; | |
595 | width: auto; | |
ebee5e25 | 596 | } |