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