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