]>
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 | ||
50d68b4a EK |
131 | .main ul { |
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 EK |
173 | margin-bottom: 5px; |
174 | padding: 5px; | |
175 | flex-basis: 30%; | |
ef54eedd | 176 | background-color: var(--box-color); |
f38f696b | 177 | border-radius: var(--box-round); |
f38f696b EK |
178 | } |
179 | ||
180 | .box:hover,.box:active { | |
181 | background-color: var(--box-hover-color); | |
182 | } | |
183 | ||
184 | .box div{ | |
f38f696b | 185 | position: relative; |
d4b00db0 | 186 | top: initial; |
257112d0 | 187 | font-size: 20px; |
ef54eedd | 188 | font-weight: 600; |
d4b00db0 | 189 | line-height: 16px; |
190 | padding: 10px 0; | |
191 | display: block; | |
e9725e62 | 192 | } |
193 | ||
2ed0f35d | 194 | .fa-users { |
f38f696b | 195 | margin-top: 5px; |
2ed0f35d S |
196 | } |
197 | ||
f38f696b EK |
198 | .fa-comment,.fa-question { |
199 | margin-bottom: 5px; | |
2ed0f35d S |
200 | } |
201 | ||
202 | .title { | |
f38f696b | 203 | text-align: center; |
2ed0f35d S |
204 | } |
205 | ||
b9f1cb69 | 206 | /* articles */ |
2ed0f35d | 207 | h1 { |
f38f696b | 208 | margin: 0; |
2ed0f35d S |
209 | } |
210 | ||
b9f1cb69 | 211 | .art-info { |
512215ac EK |
212 | display: flex; |
213 | flex-wrap: wrap; | |
214 | flex-direction: row; | |
215 | justify-content: space-between; | |
216 | align-items: center; | |
b9f1cb69 | 217 | line-height: 1.6; |
2ed0f35d S |
218 | } |
219 | ||
b9f1cb69 EK |
220 | .art-body { |
221 | margin-bottom: 1em; | |
222 | } | |
223 | ||
224 | .artlist { | |
00873aed | 225 | max-width: var(--max-width); |
588c2afb | 226 | margin: 0 auto; |
fd277af5 SB |
227 | margin-top: .5em; |
228 | } | |
229 | ||
b9f1cb69 | 230 | .artlist .art-info:not(:first-child) { |
545c8ea4 | 231 | border-top: 1px solid var(--border-color); |
2ed0f35d S |
232 | } |
233 | ||
dbdcf68c | 234 | .art-date { |
512215ac | 235 | display: block; |
f38f696b | 236 | color: #ccc; |
512215ac EK |
237 | font-feature-settings: "tnum"; |
238 | font-variant-numeric: tabular-nums; | |
239 | min-width: max-content; | |
2ed0f35d S |
240 | } |
241 | ||
b9f1cb69 EK |
242 | .art-nav { |
243 | display: flex; | |
244 | flex-direction: row; | |
245 | justify-content: space-between; | |
246 | width: 100%; | |
2ed0f35d S |
247 | } |
248 | ||
4ec635fa EK |
249 | @media all and (max-width: 600px) { |
250 | .main.artlist { | |
251 | padding-left: 0; | |
252 | padding-right: 0; | |
253 | } | |
254 | ||
512215ac | 255 | .artlist .art-info { |
4ec635fa EK |
256 | padding: 0 .75em; |
257 | } | |
258 | } | |
259 | ||
2ed0f35d | 260 | /* help */ |
2ed0f35d | 261 | .hmain { |
f38f696b EK |
262 | display: flex; |
263 | flex-wrap: wrap; | |
264 | justify-content: space-around; | |
265 | align-items: stretch; | |
2ed0f35d S |
266 | } |
267 | ||
268 | a.hchild { | |
f38f696b EK |
269 | color: var(--text-color); |
270 | /*height: 40px;*/ | |
271 | width: 95%; | |
272 | text-align: center; | |
545c8ea4 EK |
273 | border-top: 1px solid var(--border-color); |
274 | border-left: 1px solid var(--border-color); | |
275 | border-right: 1px solid var(--border-color); | |
2ed0f35d S |
276 | } |
277 | ||
f38f696b EK |
278 | a.hchild:hover,a.hchild:active { |
279 | background-color: var(--box-hover-color); | |
2ed0f35d S |
280 | } |
281 | ||
282 | .hchild:first-child { | |
f38f696b EK |
283 | margin-top: 10px; |
284 | -webkit-border-top-left-radius: var(--box-round); | |
285 | -webkit-border-top-right-radius: var(--box-round); | |
286 | -moz-border-radius-topleft: var(--box-round); | |
287 | -moz-border-radius-topright: var(--box-round); | |
288 | border-top-left-radius: var(--box-round); | |
289 | border-top-right-radius: var(--box-round); | |
2ed0f35d S |
290 | } |
291 | ||
292 | .hchild:last-child { | |
f38f696b | 293 | margin-bottom: 10px; |
545c8ea4 | 294 | border-bottom: 1px solid var(--border-color); |
f38f696b EK |
295 | -webkit-border-bottom-right-radius: var(--box-round); |
296 | -webkit-border-bottom-left-radius: var(--box-round); | |
297 | -moz-border-radius-bottomright: var(--box-round); | |
298 | -moz-border-radius-bottomleft: var(--box-round); | |
299 | border-bottom-right-radius: var(--box-round); | |
300 | border-bottom-left-radius: var(--box-round); | |
2ed0f35d S |
301 | } |
302 | ||
303 | /* footer */ | |
daf4b56e | 304 | .footers { |
28507109 EK |
305 | /*min-height: 30vh;*/ |
306 | margin-top: -11rem; | |
307 | min-height: 11rem; | |
daf4b56e S |
308 | } |
309 | ||
2ed0f35d | 310 | .footer { |
f38f696b | 311 | background: var(--jumbotron-bg); |
545c8ea4 | 312 | color: var(--footer-text-color); |
f38f696b EK |
313 | margin-top: 2vh; |
314 | display: flex; | |
6c2065c4 | 315 | flex-wrap: wrap; |
f38f696b EK |
316 | justify-content: space-between; |
317 | align-items: flex-start; | |
318 | box-shadow: 0 -3px 5px rgba(150,150,150,.36); | |
28507109 | 319 | min-height: 9.5rem; |
2ed0f35d S |
320 | } |
321 | ||
322 | .footerchild { | |
f38f696b | 323 | margin-top: .5em; |
6c2065c4 | 324 | flex: 1 1 1px; |
28507109 EK |
325 | min-width: 12rem; |
326 | } | |
327 | ||
328 | .footerchild:last-child { | |
329 | margin-bottom: 1em; | |
6c2065c4 EK |
330 | } |
331 | ||
28507109 EK |
332 | @media all and (max-width: 60rem) { |
333 | .footer-push { | |
334 | margin-left: auto; | |
335 | width: max-content; | |
336 | } | |
2ed0f35d S |
337 | } |
338 | ||
339 | .footer a { | |
545c8ea4 | 340 | color: var(--footer-link-color); |
2ed0f35d S |
341 | } |
342 | ||
ef54eedd EK |
343 | .footer a:hover { |
344 | color: #fff; | |
345 | } | |
346 | ||
f8883dc0 | 347 | .footer h2 { |
28507109 | 348 | margin-bottom: .1em; |
f38f696b | 349 | display: inline-block; |
f8883dc0 S |
350 | } |
351 | ||
f38f696b EK |
352 | .footerchild ul,.footerchild ul ul { |
353 | margin-left: 10px; | |
354 | margin-right: 10px; | |
355 | list-style-type: none; | |
2ed0f35d S |
356 | } |
357 | ||
358 | .footerchild ul ul { | |
f38f696b | 359 | padding-left: 30px; |
2ed0f35d S |
360 | } |
361 | ||
6c2065c4 | 362 | @media all and (max-width: 600px) { |
f38f696b EK |
363 | .footer { |
364 | flex-direction: column; | |
365 | } | |
db572d44 | 366 | |
f38f696b EK |
367 | .footerchild { |
368 | width: 100%; | |
369 | } | |
db572d44 | 370 | |
6c2065c4 EK |
371 | .footer-push { |
372 | margin-left: 0; | |
373 | } | |
374 | ||
f38f696b EK |
375 | .footerchild ul li:last-child { |
376 | margin-bottom: .5em; | |
377 | } | |
e9725e62 | 378 | |
f38f696b EK |
379 | .hdn { |
380 | display: none; | |
381 | } | |
e9725e62 | 382 | |
f38f696b EK |
383 | .box { |
384 | text-align: center; | |
385 | } | |
e9725e62 | 386 | |
f38f696b EK |
387 | .child { |
388 | font-size: 20px; | |
389 | line-height: 30px; | |
390 | padding: 10px 0 5px; | |
391 | } | |
e9725e62 | 392 | |
f38f696b EK |
393 | .fa-4x { |
394 | padding: 0; | |
395 | margin: 0; | |
d4b00db0 | 396 | width: 60px; |
397 | text-align: center; | |
398 | font-size: 28px; | |
f38f696b EK |
399 | } |
400 | ||
6c2065c4 EK |
401 | .box-container { |
402 | flex-direction: column; | |
403 | margin: 0 .5em; | |
404 | } | |
405 | ||
f38f696b | 406 | .box div { |
d4b00db0 | 407 | font-size: 22px; |
408 | line-height: 22px; | |
409 | padding-left: 8px; | |
410 | font-weight: 700; | |
f38f696b | 411 | position: relative; |
d4b00db0 | 412 | display: inline; |
413 | text-align: center; | |
414 | ||
f38f696b | 415 | } |
d4b00db0 | 416 | |
417 | .box { | |
418 | text-align: left; | |
419 | border-radius: calc(var(--box-round) / 2); | |
420 | margin: 5px 0; | |
421 | } | |
2ed0f35d S |
422 | } |
423 | ||
f38f696b EK |
424 | .footer h2,.footer h3 { |
425 | margin-left: 10px; | |
426 | margin-right: 10px; | |
2ed0f35d S |
427 | } |
428 | ||
db572d44 | 429 | .copyright { |
f38f696b | 430 | display: flex; |
545c8ea4 | 431 | flex-wrap: wrap; |
f38f696b EK |
432 | justify-content: space-between; |
433 | align-items: center; | |
545c8ea4 EK |
434 | background: var(--copyright-bg); |
435 | min-height: 1.5rem; | |
436 | color: var(--copyright-text-color); | |
db572d44 SB |
437 | } |
438 | ||
439 | a.copyright { | |
545c8ea4 | 440 | background: var(--copyright-bg); |
f38f696b EK |
441 | margin-bottom: 0; |
442 | margin-top: 0; | |
443 | margin-left: .5em; | |
444 | margin-right: .5em; | |
445 | width: auto; | |
446 | height: auto; | |
db572d44 SB |
447 | } |
448 | ||
449 | .copyright a img { | |
28507109 | 450 | height: 1.5rem; |
f38f696b | 451 | width: auto; |
df74dd1d SB |
452 | } |
453 | ||
db572d44 | 454 | .copyright p { |
f38f696b EK |
455 | margin-bottom: 0; |
456 | margin-top: 0; | |
457 | margin-left: .5em; | |
458 | margin-right: .5em; | |
459 | text-align: right; | |
ebee5e25 | 460 | } |