]>
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); |
0925cdba | 109 | line-height: 1.3; |
2ed0f35d S |
110 | } |
111 | ||
0e9ffab7 EK |
112 | .main h1, |
113 | .main h2, | |
114 | .main h3, | |
50d68b4a EK |
115 | .main li, |
116 | .main p + p, | |
117 | .main ul + p { | |
588c2afb | 118 | margin-top: .7em; |
0e9ffab7 EK |
119 | } |
120 | ||
50d68b4a EK |
121 | .main ul { |
122 | padding-left: 2em; | |
123 | list-style-type: disc; | |
124 | } | |
125 | ||
2ed0f35d | 126 | /* jumbotron */ |
2ed0f35d | 127 | .jumbotron { |
f38f696b EK |
128 | position: relative; |
129 | width: 100%; | |
130 | margin-top: -16px; | |
f38f696b | 131 | background: var(--jumbotron-bg); |
545c8ea4 | 132 | box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6); |
f38f696b | 133 | color: var(--jumbotron-text-color); |
545c8ea4 | 134 | padding: 2em 0; |
2ed0f35d S |
135 | } |
136 | ||
137 | .child { | |
f38f696b | 138 | text-align: center; |
ef54eedd | 139 | margin: .5em auto; |
f38f696b EK |
140 | font-size: 32px; |
141 | line-height: 48px; | |
ef54eedd | 142 | max-width: 75%; |
2ed0f35d S |
143 | } |
144 | ||
145 | .box-container { | |
f38f696b EK |
146 | display: flex; |
147 | flex-wrap: wrap; | |
148 | justify-content: space-around; | |
149 | align-items: stretch; | |
6c2065c4 EK |
150 | max-width: 800px; |
151 | margin: 0 auto; | |
2ed0f35d S |
152 | } |
153 | ||
154 | .box { | |
6c2065c4 | 155 | text-align: center; |
f38f696b | 156 | text-decoration: none; |
ef54eedd | 157 | color: var(--jumbotron-text-color); |
f38f696b EK |
158 | margin-bottom: 5px; |
159 | padding: 5px; | |
160 | flex-basis: 30%; | |
ef54eedd | 161 | background-color: var(--box-color); |
f38f696b | 162 | border-radius: var(--box-round); |
f38f696b EK |
163 | } |
164 | ||
165 | .box:hover,.box:active { | |
166 | background-color: var(--box-hover-color); | |
167 | } | |
168 | ||
169 | .box div{ | |
f38f696b | 170 | position: relative; |
d4b00db0 | 171 | top: initial; |
257112d0 | 172 | font-size: 20px; |
ef54eedd | 173 | font-weight: 600; |
d4b00db0 | 174 | line-height: 16px; |
175 | padding: 10px 0; | |
176 | display: block; | |
e9725e62 | 177 | } |
178 | ||
2ed0f35d | 179 | .fa-users { |
f38f696b | 180 | margin-top: 5px; |
2ed0f35d S |
181 | } |
182 | ||
f38f696b EK |
183 | .fa-comment,.fa-question { |
184 | margin-bottom: 5px; | |
2ed0f35d S |
185 | } |
186 | ||
187 | .title { | |
f38f696b | 188 | text-align: center; |
2ed0f35d S |
189 | } |
190 | ||
191 | /* articles feed */ | |
2ed0f35d | 192 | h1 { |
f38f696b | 193 | margin: 0; |
2ed0f35d S |
194 | } |
195 | ||
196 | div.art { | |
6c2065c4 | 197 | clear: right; |
68db9c3c | 198 | flex-grow: 1; |
2ed0f35d S |
199 | } |
200 | ||
fd277af5 | 201 | div.artlist { |
cb3e944d SB |
202 | display: flex; |
203 | flex-wrap: wrap; | |
68db9c3c | 204 | justify-content: flex-start; |
cb3e944d | 205 | align-items: stretch; |
00873aed | 206 | max-width: var(--max-width); |
588c2afb | 207 | margin: 0 auto; |
fd277af5 SB |
208 | margin-top: .5em; |
209 | } | |
210 | ||
6c2065c4 | 211 | div.art:not(:first-child) { |
545c8ea4 | 212 | border-top: 1px solid var(--border-color); |
2ed0f35d S |
213 | } |
214 | ||
de6f54ba | 215 | b.art { |
f38f696b EK |
216 | margin-bottom: 0; |
217 | font-size: 18px; | |
2ed0f35d S |
218 | } |
219 | ||
220 | p.art { | |
f38f696b | 221 | margin: 0; |
2ed0f35d S |
222 | } |
223 | ||
224 | p.art-ingress { | |
f38f696b EK |
225 | font-style: italic; |
226 | margin: 0; | |
2ed0f35d S |
227 | } |
228 | ||
dbdcf68c | 229 | .art-date { |
6c2065c4 | 230 | float: right; |
f38f696b | 231 | color: #ccc; |
6c2065c4 | 232 | margin: 0 .5em; |
0925cdba | 233 | line-height: 24px; |
2ed0f35d S |
234 | } |
235 | ||
de6f54ba | 236 | p.heading { |
f38f696b | 237 | white-space: nowrap; |
de6f54ba S |
238 | } |
239 | ||
2ed0f35d | 240 | p.art-link { |
f38f696b | 241 | margin-top: 0; |
2ed0f35d S |
242 | } |
243 | ||
244 | /* help */ | |
2ed0f35d | 245 | .hmain { |
f38f696b EK |
246 | display: flex; |
247 | flex-wrap: wrap; | |
248 | justify-content: space-around; | |
249 | align-items: stretch; | |
2ed0f35d S |
250 | } |
251 | ||
252 | a.hchild { | |
f38f696b EK |
253 | color: var(--text-color); |
254 | /*height: 40px;*/ | |
255 | width: 95%; | |
256 | text-align: center; | |
545c8ea4 EK |
257 | border-top: 1px solid var(--border-color); |
258 | border-left: 1px solid var(--border-color); | |
259 | border-right: 1px solid var(--border-color); | |
2ed0f35d S |
260 | } |
261 | ||
f38f696b EK |
262 | a.hchild:hover,a.hchild:active { |
263 | background-color: var(--box-hover-color); | |
2ed0f35d S |
264 | } |
265 | ||
266 | .hchild:first-child { | |
f38f696b EK |
267 | margin-top: 10px; |
268 | -webkit-border-top-left-radius: var(--box-round); | |
269 | -webkit-border-top-right-radius: var(--box-round); | |
270 | -moz-border-radius-topleft: var(--box-round); | |
271 | -moz-border-radius-topright: var(--box-round); | |
272 | border-top-left-radius: var(--box-round); | |
273 | border-top-right-radius: var(--box-round); | |
2ed0f35d S |
274 | } |
275 | ||
276 | .hchild:last-child { | |
f38f696b | 277 | margin-bottom: 10px; |
545c8ea4 | 278 | border-bottom: 1px solid var(--border-color); |
f38f696b EK |
279 | -webkit-border-bottom-right-radius: var(--box-round); |
280 | -webkit-border-bottom-left-radius: var(--box-round); | |
281 | -moz-border-radius-bottomright: var(--box-round); | |
282 | -moz-border-radius-bottomleft: var(--box-round); | |
283 | border-bottom-right-radius: var(--box-round); | |
284 | border-bottom-left-radius: var(--box-round); | |
2ed0f35d S |
285 | } |
286 | ||
287 | /* footer */ | |
daf4b56e | 288 | .footers { |
28507109 EK |
289 | /*min-height: 30vh;*/ |
290 | margin-top: -11rem; | |
291 | min-height: 11rem; | |
daf4b56e S |
292 | } |
293 | ||
2ed0f35d | 294 | .footer { |
f38f696b | 295 | background: var(--jumbotron-bg); |
545c8ea4 | 296 | color: var(--footer-text-color); |
f38f696b EK |
297 | margin-top: 2vh; |
298 | display: flex; | |
6c2065c4 | 299 | flex-wrap: wrap; |
f38f696b EK |
300 | justify-content: space-between; |
301 | align-items: flex-start; | |
302 | box-shadow: 0 -3px 5px rgba(150,150,150,.36); | |
28507109 | 303 | min-height: 9.5rem; |
2ed0f35d S |
304 | } |
305 | ||
306 | .footerchild { | |
f38f696b | 307 | margin-top: .5em; |
6c2065c4 | 308 | flex: 1 1 1px; |
28507109 EK |
309 | min-width: 12rem; |
310 | } | |
311 | ||
312 | .footerchild:last-child { | |
313 | margin-bottom: 1em; | |
6c2065c4 EK |
314 | } |
315 | ||
28507109 EK |
316 | @media all and (max-width: 60rem) { |
317 | .footer-push { | |
318 | margin-left: auto; | |
319 | width: max-content; | |
320 | } | |
2ed0f35d S |
321 | } |
322 | ||
323 | .footer a { | |
545c8ea4 | 324 | color: var(--footer-link-color); |
2ed0f35d S |
325 | } |
326 | ||
ef54eedd EK |
327 | .footer a:hover { |
328 | color: #fff; | |
329 | } | |
330 | ||
f8883dc0 | 331 | .footer h2 { |
28507109 | 332 | margin-bottom: .1em; |
f38f696b | 333 | display: inline-block; |
f8883dc0 S |
334 | } |
335 | ||
f38f696b EK |
336 | .footerchild ul,.footerchild ul ul { |
337 | margin-left: 10px; | |
338 | margin-right: 10px; | |
339 | list-style-type: none; | |
2ed0f35d S |
340 | } |
341 | ||
342 | .footerchild ul ul { | |
f38f696b | 343 | padding-left: 30px; |
2ed0f35d S |
344 | } |
345 | ||
6c2065c4 | 346 | @media all and (max-width: 600px) { |
f38f696b EK |
347 | .footer { |
348 | flex-direction: column; | |
349 | } | |
db572d44 | 350 | |
f38f696b EK |
351 | .footerchild { |
352 | width: 100%; | |
353 | } | |
db572d44 | 354 | |
6c2065c4 EK |
355 | .footer-push { |
356 | margin-left: 0; | |
357 | } | |
358 | ||
f38f696b EK |
359 | .footerchild ul li:last-child { |
360 | margin-bottom: .5em; | |
361 | } | |
e9725e62 | 362 | |
f38f696b EK |
363 | .hdn { |
364 | display: none; | |
365 | } | |
e9725e62 | 366 | |
f38f696b EK |
367 | .box { |
368 | text-align: center; | |
369 | } | |
e9725e62 | 370 | |
f38f696b EK |
371 | .child { |
372 | font-size: 20px; | |
373 | line-height: 30px; | |
374 | padding: 10px 0 5px; | |
375 | } | |
e9725e62 | 376 | |
f38f696b EK |
377 | .fa-4x { |
378 | padding: 0; | |
379 | margin: 0; | |
d4b00db0 | 380 | width: 60px; |
381 | text-align: center; | |
382 | font-size: 28px; | |
f38f696b EK |
383 | } |
384 | ||
6c2065c4 EK |
385 | .box-container { |
386 | flex-direction: column; | |
387 | margin: 0 .5em; | |
388 | } | |
389 | ||
f38f696b | 390 | .box div { |
d4b00db0 | 391 | font-size: 22px; |
392 | line-height: 22px; | |
393 | padding-left: 8px; | |
394 | font-weight: 700; | |
f38f696b | 395 | position: relative; |
d4b00db0 | 396 | display: inline; |
397 | text-align: center; | |
398 | ||
f38f696b | 399 | } |
d4b00db0 | 400 | |
401 | .box { | |
402 | text-align: left; | |
403 | border-radius: calc(var(--box-round) / 2); | |
404 | margin: 5px 0; | |
405 | } | |
2ed0f35d S |
406 | } |
407 | ||
f38f696b EK |
408 | .footer h2,.footer h3 { |
409 | margin-left: 10px; | |
410 | margin-right: 10px; | |
2ed0f35d S |
411 | } |
412 | ||
db572d44 | 413 | .copyright { |
f38f696b | 414 | display: flex; |
545c8ea4 | 415 | flex-wrap: wrap; |
f38f696b EK |
416 | justify-content: space-between; |
417 | align-items: center; | |
545c8ea4 EK |
418 | background: var(--copyright-bg); |
419 | min-height: 1.5rem; | |
420 | color: var(--copyright-text-color); | |
db572d44 SB |
421 | } |
422 | ||
423 | a.copyright { | |
545c8ea4 | 424 | background: var(--copyright-bg); |
f38f696b EK |
425 | margin-bottom: 0; |
426 | margin-top: 0; | |
427 | margin-left: .5em; | |
428 | margin-right: .5em; | |
429 | width: auto; | |
430 | height: auto; | |
db572d44 SB |
431 | } |
432 | ||
433 | .copyright a img { | |
28507109 | 434 | height: 1.5rem; |
f38f696b | 435 | width: auto; |
df74dd1d SB |
436 | } |
437 | ||
db572d44 | 438 | .copyright p { |
f38f696b EK |
439 | margin-bottom: 0; |
440 | margin-top: 0; | |
441 | margin-left: .5em; | |
442 | margin-right: .5em; | |
443 | text-align: right; | |
ebee5e25 | 444 | } |