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