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