]>
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 EK |
110 | min-height: 98vh; |
111 | padding-bottom: 11.5rem; | |
2ed0f35d S |
112 | } |
113 | ||
114 | .main { | |
4f236e86 | 115 | margin: 0 auto; |
0f23d7fd | 116 | margin-top: 3.75em; |
588c2afb | 117 | padding: 0 .75em; |
4f236e86 | 118 | max-width: var(--max-width); |
19ea0778 | 119 | line-height: 1.4; |
2ed0f35d S |
120 | } |
121 | ||
0e9ffab7 EK |
122 | .main h1, |
123 | .main h2, | |
124 | .main h3, | |
19ea0778 | 125 | .main h4, |
50d68b4a | 126 | .main li, |
19ea0778 EK |
127 | .main pre, |
128 | .main p { | |
588c2afb | 129 | margin-top: .7em; |
0e9ffab7 EK |
130 | } |
131 | ||
19ea0778 EK |
132 | .main h1 + p, |
133 | .main h2 + p, | |
134 | .main h3 + p, | |
135 | .main h3 + p { | |
136 | margin-top: 0; | |
137 | } | |
138 | ||
81cae952 | 139 | ul { |
50d68b4a EK |
140 | padding-left: 2em; |
141 | list-style-type: disc; | |
142 | } | |
143 | ||
f2fdabcd SB |
144 | ol { |
145 | padding-left: 2em; | |
146 | list-style-type: decimal; | |
147 | } | |
148 | ||
19ea0778 EK |
149 | hr { |
150 | margin-top: .8em; | |
151 | margin-bottom: .8em; | |
152 | } | |
153 | ||
2ed0f35d | 154 | /* jumbotron */ |
2ed0f35d | 155 | .jumbotron { |
f38f696b EK |
156 | position: relative; |
157 | width: 100%; | |
158 | margin-top: -16px; | |
f38f696b | 159 | background: var(--jumbotron-bg); |
545c8ea4 | 160 | box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6); |
f38f696b | 161 | color: var(--jumbotron-text-color); |
0f23d7fd | 162 | padding: 8em 0 4em 0; |
2ed0f35d S |
163 | } |
164 | ||
165 | .child { | |
f38f696b | 166 | text-align: center; |
ef54eedd | 167 | margin: .5em auto; |
f38f696b EK |
168 | font-size: 32px; |
169 | line-height: 48px; | |
ef54eedd | 170 | max-width: 75%; |
2ed0f35d S |
171 | } |
172 | ||
173 | .box-container { | |
f38f696b EK |
174 | display: flex; |
175 | flex-wrap: wrap; | |
176 | justify-content: space-around; | |
177 | align-items: stretch; | |
d1cee50f | 178 | max-width: var(--max-width-box); |
6c2065c4 | 179 | margin: 0 auto; |
2ed0f35d S |
180 | } |
181 | ||
182 | .box { | |
6c2065c4 | 183 | text-align: center; |
f38f696b | 184 | text-decoration: none; |
ef54eedd | 185 | color: var(--jumbotron-text-color); |
f38f696b | 186 | margin-bottom: 5px; |
f38f696b | 187 | flex-basis: 30%; |
81cae952 | 188 | min-width: 26%; |
ef54eedd | 189 | background-color: var(--box-color); |
f38f696b | 190 | border-radius: var(--box-round); |
81cae952 | 191 | padding: 1em; |
f38f696b EK |
192 | } |
193 | ||
194 | .box:hover,.box:active { | |
d439b099 | 195 | color: var(--jumbotron-text-color); |
f38f696b EK |
196 | background-color: var(--box-hover-color); |
197 | } | |
198 | ||
57bd8f7d | 199 | .box span { |
f38f696b | 200 | position: relative; |
d4b00db0 | 201 | top: initial; |
257112d0 | 202 | font-size: 20px; |
ef54eedd | 203 | font-weight: 600; |
d4b00db0 | 204 | line-height: 16px; |
d4b00db0 | 205 | display: block; |
81cae952 | 206 | margin-top: .75em; |
e9725e62 | 207 | } |
208 | ||
2ed0f35d | 209 | .fa-users { |
d1cee50f | 210 | margin-top: var(--margin-box-fa); |
2ed0f35d S |
211 | } |
212 | ||
f38f696b | 213 | .fa-comment,.fa-question { |
d1cee50f | 214 | margin-bottom: var(--margin-box-fa); |
2ed0f35d S |
215 | } |
216 | ||
217 | .title { | |
f38f696b | 218 | text-align: center; |
2ed0f35d S |
219 | } |
220 | ||
d1cee50f SB |
221 | @media (--max-md) { |
222 | .box { | |
223 | text-align: center; | |
224 | } | |
225 | ||
226 | .child { | |
227 | font-size: 20px; | |
228 | line-height: 30px; | |
229 | padding: 10px 0 5px; | |
230 | } | |
231 | ||
232 | .fa-4x { | |
233 | padding: 0; | |
234 | margin: 0; | |
235 | width: 60px; | |
236 | text-align: center; | |
237 | font-size: 28px; | |
238 | } | |
239 | ||
240 | .box-container { | |
241 | flex-direction: column; | |
242 | margin: 0 .5em; | |
243 | } | |
244 | ||
57bd8f7d | 245 | .box span { |
d1cee50f SB |
246 | font-size: 22px; |
247 | line-height: 22px; | |
248 | padding-left: 8px; | |
57bd8f7d | 249 | font-weight: bold; |
d1cee50f | 250 | position: relative; |
57bd8f7d | 251 | display: inline-block; |
d1cee50f | 252 | text-align: center; |
da5e0658 | 253 | margin-top: 0; |
d1cee50f SB |
254 | } |
255 | ||
256 | .box { | |
257 | text-align: left; | |
258 | border-radius: calc(var(--box-round) / 2); | |
259 | margin: 5px 0; | |
260 | } | |
261 | } | |
262 | ||
b9f1cb69 | 263 | /* articles */ |
2ed0f35d | 264 | h1 { |
f38f696b | 265 | margin: 0; |
2ed0f35d S |
266 | } |
267 | ||
b9f1cb69 | 268 | .art-info { |
d535feaa | 269 | line-height: 2.1; |
512215ac | 270 | display: flex; |
512215ac | 271 | flex-direction: row; |
ea0081b5 | 272 | flex-wrap: wrap; |
512215ac | 273 | justify-content: space-between; |
ea0081b5 | 274 | align-items: baseline; |
2ed0f35d S |
275 | } |
276 | ||
b7b20c22 | 277 | .art-info h1 { |
b7b20c22 | 278 | margin-top: 0; |
ea0081b5 | 279 | display: inline; |
0f23d7fd | 280 | margin-right: 2em; |
b7b20c22 EK |
281 | } |
282 | ||
b9f1cb69 EK |
283 | .art-body { |
284 | margin-bottom: 1em; | |
285 | } | |
286 | ||
287 | .artlist { | |
00873aed | 288 | max-width: var(--max-width); |
588c2afb | 289 | margin: 0 auto; |
fd277af5 SB |
290 | margin-top: .5em; |
291 | } | |
292 | ||
d535feaa | 293 | .artlist.heading { |
36c1b351 | 294 | margin: 8em auto 2em auto; |
d535feaa | 295 | padding: 0 0.75em; |
296 | } | |
297 | ||
b9f1cb69 | 298 | .artlist .art-info:not(:first-child) { |
545c8ea4 | 299 | border-top: 1px solid var(--border-color); |
2ed0f35d S |
300 | } |
301 | ||
dbdcf68c | 302 | .art-date { |
ea0081b5 | 303 | display: inline-block; |
0f23d7fd | 304 | vertical-align: baseline; |
ea0081b5 EK |
305 | line-height: 1; |
306 | white-space: nowrap; | |
d1cee50f | 307 | color: var(--art-date-color); |
512215ac EK |
308 | font-feature-settings: "tnum"; |
309 | font-variant-numeric: tabular-nums; | |
2ed0f35d S |
310 | } |
311 | ||
b9f1cb69 EK |
312 | .art-nav { |
313 | display: flex; | |
314 | flex-direction: row; | |
315 | justify-content: space-between; | |
316 | width: 100%; | |
2ed0f35d S |
317 | } |
318 | ||
d1cee50f | 319 | @media (--max-md) { |
4ec635fa EK |
320 | .main.artlist { |
321 | padding-left: 0; | |
322 | padding-right: 0; | |
323 | } | |
324 | ||
512215ac | 325 | .artlist .art-info { |
4ec635fa EK |
326 | padding: 0 .75em; |
327 | } | |
328 | } | |
329 | ||
81cae952 | 330 | /* faq */ |
91b0633e | 331 | .kb-index { |
81cae952 EK |
332 | list-style-type: none; |
333 | padding-left: 0; | |
aad4ef42 EK |
334 | display: flex; |
335 | flex-direction: row; | |
336 | flex-wrap: wrap; | |
337 | justify-content: stretch; | |
81cae952 EK |
338 | } |
339 | ||
91b0633e | 340 | .kb-index li { |
aad4ef42 EK |
341 | display: block; |
342 | flex: 1 1 15em; | |
343 | height: 7em; | |
344 | margin: 1em; | |
345 | } | |
346 | ||
91b0633e | 347 | .kb-index li h2 { |
aad4ef42 EK |
348 | margin-top: 0; |
349 | } | |
350 | ||
91b0633e | 351 | .kb-index a { |
aad4ef42 EK |
352 | display: block; |
353 | color: var(--text-color); | |
354 | width: 100%; | |
355 | height: 100%; | |
356 | } | |
91b0633e | 357 | .kb-index a h2 { |
aad4ef42 EK |
358 | color: var(--link-color); |
359 | } | |
91b0633e | 360 | .kb-index a:hover h2 { |
aad4ef42 | 361 | color: var(--link-hover-color); |
81cae952 EK |
362 | } |
363 | ||
2ed0f35d | 364 | /* footer */ |
daf4b56e | 365 | .footers { |
28507109 EK |
366 | /*min-height: 30vh;*/ |
367 | margin-top: -11rem; | |
368 | min-height: 11rem; | |
daf4b56e S |
369 | } |
370 | ||
2ed0f35d | 371 | .footer { |
f38f696b | 372 | background: var(--jumbotron-bg); |
545c8ea4 | 373 | color: var(--footer-text-color); |
502cdd50 | 374 | width: 100%; |
f38f696b | 375 | margin-top: 2vh; |
502cdd50 | 376 | box-shadow: 0 -3px 5px rgba(150,150,150,.36); |
377 | min-height: 9.5rem; | |
0f23d7fd | 378 | |
379 | padding: 3em 0; | |
502cdd50 | 380 | } |
381 | ||
382 | .footer-container { | |
f38f696b | 383 | display: flex; |
6c2065c4 | 384 | flex-wrap: wrap; |
0f23d7fd | 385 | justify-content: center; |
f38f696b | 386 | align-items: flex-start; |
502cdd50 | 387 | margin: 0 auto; |
2ed0f35d S |
388 | } |
389 | ||
390 | .footerchild { | |
502cdd50 | 391 | margin: 0 2em; |
f38f696b | 392 | margin-top: .5em; |
0f23d7fd | 393 | flex-grow: 1; |
394 | flex-shrink: 0; | |
28507109 EK |
395 | } |
396 | ||
397 | .footerchild:last-child { | |
398 | margin-bottom: 1em; | |
6c2065c4 EK |
399 | } |
400 | ||
51b09107 EV |
401 | .footer-push { |
402 | margin-left: auto; | |
403 | width: max-content; | |
2ed0f35d S |
404 | } |
405 | ||
502cdd50 | 406 | footer a { |
545c8ea4 | 407 | color: var(--footer-link-color); |
2ed0f35d S |
408 | } |
409 | ||
502cdd50 | 410 | footer a:hover { |
d1cee50f | 411 | color: var(--footer-hover-color); |
ef54eedd EK |
412 | } |
413 | ||
f8883dc0 | 414 | .footer h2 { |
28507109 | 415 | margin-bottom: .1em; |
f38f696b | 416 | display: inline-block; |
f8883dc0 S |
417 | } |
418 | ||
81cae952 EK |
419 | .footerchild ul, .footerchild ul ul { |
420 | padding-left: 0; | |
f38f696b EK |
421 | margin-left: 10px; |
422 | margin-right: 10px; | |
423 | list-style-type: none; | |
2ed0f35d S |
424 | } |
425 | ||
426 | .footerchild ul ul { | |
f38f696b | 427 | padding-left: 30px; |
2ed0f35d S |
428 | } |
429 | ||
d1cee50f | 430 | @media (--max-md) { |
a406ba13 | 431 | .footer-container { |
f38f696b EK |
432 | flex-direction: column; |
433 | } | |
db572d44 | 434 | |
a406ba13 EV |
435 | .footer-push { |
436 | margin-left: 0; | |
f38f696b | 437 | } |
db572d44 | 438 | |
f38f696b EK |
439 | .footerchild ul li:last-child { |
440 | margin-bottom: .5em; | |
441 | } | |
e9725e62 | 442 | |
f38f696b EK |
443 | .hdn { |
444 | display: none; | |
445 | } | |
2ed0f35d S |
446 | } |
447 | ||
502cdd50 | 448 | .footer h2, .footer h3 { |
f38f696b EK |
449 | margin-left: 10px; |
450 | margin-right: 10px; | |
2ed0f35d S |
451 | } |
452 | ||
81cae952 | 453 | footer.copyright { |
f38f696b | 454 | display: flex; |
545c8ea4 | 455 | flex-wrap: wrap; |
f38f696b | 456 | justify-content: space-between; |
545c8ea4 EK |
457 | background: var(--copyright-bg); |
458 | min-height: 1.5rem; | |
459 | color: var(--copyright-text-color); | |
81cae952 EK |
460 | padding-left: .5em; |
461 | padding-right: .5em; | |
462 | overflow: hidden; | |
db572d44 SB |
463 | } |
464 | ||
81cae952 EK |
465 | footer.copyright div { |
466 | display: flex; | |
467 | align-items: center; | |
468 | height: 1.5rem; | |
469 | line-height: 1.5rem; | |
470 | vertical-align: top; | |
db572d44 SB |
471 | } |
472 | ||
81cae952 EK |
473 | .copyright * { |
474 | margin: 0; | |
28507109 | 475 | height: 1.5rem; |
81cae952 | 476 | line-height: 1.5rem; |
df74dd1d SB |
477 | } |
478 | ||
502cdd50 | 479 | .copyright .fa { |
480 | height: 100%; | |
5b76ff14 SB |
481 | vertical-align: top; |
482 | font-size: 1.4em; | |
502cdd50 | 483 | } |
484 | ||
81cae952 EK |
485 | .copyright .footer-link { |
486 | height: 28px; | |
f38f696b | 487 | margin-right: .5em; |
81cae952 EK |
488 | } |
489 | ||
490 | .copyright img { | |
491 | height: 1.5rem; | |
492 | width: auto; | |
ebee5e25 | 493 | } |