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