]>
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{ | |
159 | font-size: 28px; | |
160 | line-height: 28px; | |
161 | padding-left: 8px; | |
162 | font-weight: 700; | |
163 | position: relative; | |
164 | display: inline; | |
165 | top: -10px; | |
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; |
16a0ef30 | 191 | min-height: 2em; |
68db9c3c | 192 | flex-grow: 1; |
2ed0f35d S |
193 | } |
194 | ||
fd277af5 | 195 | div.artlist { |
cb3e944d SB |
196 | display: flex; |
197 | flex-wrap: wrap; | |
68db9c3c | 198 | justify-content: flex-start; |
cb3e944d | 199 | align-items: stretch; |
fd277af5 SB |
200 | margin-top: .5em; |
201 | } | |
202 | ||
6c996256 | 203 | @media all and (min-width: 800px) { |
c9fbd836 SB |
204 | div.artlist { |
205 | max-width: 50%; | |
206 | margin-right: auto; | |
207 | margin-left: auto; | |
208 | } | |
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; |
2ed0f35d S |
233 | } |
234 | ||
de6f54ba | 235 | p.heading { |
f38f696b | 236 | white-space: nowrap; |
de6f54ba S |
237 | } |
238 | ||
2ed0f35d | 239 | p.art-link { |
f38f696b | 240 | margin-top: 0; |
2ed0f35d S |
241 | } |
242 | ||
d1b78e0e | 243 | /* Article */ |
f38f696b EK |
244 | .art-full h1, |
245 | .art-full h2, | |
246 | .art-full h3, | |
247 | .art-full h4 {} | |
d1b78e0e | 248 | |
2ed0f35d | 249 | /* help */ |
2ed0f35d | 250 | .hmain { |
f38f696b EK |
251 | display: flex; |
252 | flex-wrap: wrap; | |
253 | justify-content: space-around; | |
254 | align-items: stretch; | |
2ed0f35d S |
255 | } |
256 | ||
257 | a.hchild { | |
f38f696b EK |
258 | color: var(--text-color); |
259 | /*height: 40px;*/ | |
260 | width: 95%; | |
261 | text-align: center; | |
545c8ea4 EK |
262 | border-top: 1px solid var(--border-color); |
263 | border-left: 1px solid var(--border-color); | |
264 | border-right: 1px solid var(--border-color); | |
2ed0f35d S |
265 | } |
266 | ||
f38f696b EK |
267 | a.hchild:hover,a.hchild:active { |
268 | background-color: var(--box-hover-color); | |
2ed0f35d S |
269 | } |
270 | ||
271 | .hchild:first-child { | |
f38f696b EK |
272 | margin-top: 10px; |
273 | -webkit-border-top-left-radius: var(--box-round); | |
274 | -webkit-border-top-right-radius: var(--box-round); | |
275 | -moz-border-radius-topleft: var(--box-round); | |
276 | -moz-border-radius-topright: var(--box-round); | |
277 | border-top-left-radius: var(--box-round); | |
278 | border-top-right-radius: var(--box-round); | |
2ed0f35d S |
279 | } |
280 | ||
281 | .hchild:last-child { | |
f38f696b | 282 | margin-bottom: 10px; |
545c8ea4 | 283 | border-bottom: 1px solid var(--border-color); |
f38f696b EK |
284 | -webkit-border-bottom-right-radius: var(--box-round); |
285 | -webkit-border-bottom-left-radius: var(--box-round); | |
286 | -moz-border-radius-bottomright: var(--box-round); | |
287 | -moz-border-radius-bottomleft: var(--box-round); | |
288 | border-bottom-right-radius: var(--box-round); | |
289 | border-bottom-left-radius: var(--box-round); | |
2ed0f35d S |
290 | } |
291 | ||
292 | /* footer */ | |
daf4b56e | 293 | .footers { |
28507109 EK |
294 | /*min-height: 30vh;*/ |
295 | margin-top: -11rem; | |
296 | min-height: 11rem; | |
daf4b56e S |
297 | } |
298 | ||
2ed0f35d | 299 | .footer { |
f38f696b | 300 | background: var(--jumbotron-bg); |
545c8ea4 | 301 | color: var(--footer-text-color); |
f38f696b EK |
302 | margin-top: 2vh; |
303 | display: flex; | |
6c2065c4 | 304 | flex-wrap: wrap; |
f38f696b EK |
305 | justify-content: space-between; |
306 | align-items: flex-start; | |
307 | box-shadow: 0 -3px 5px rgba(150,150,150,.36); | |
28507109 | 308 | min-height: 9.5rem; |
2ed0f35d S |
309 | } |
310 | ||
311 | .footerchild { | |
f38f696b | 312 | margin-top: .5em; |
6c2065c4 | 313 | flex: 1 1 1px; |
28507109 EK |
314 | min-width: 12rem; |
315 | } | |
316 | ||
317 | .footerchild:last-child { | |
318 | margin-bottom: 1em; | |
6c2065c4 EK |
319 | } |
320 | ||
28507109 EK |
321 | @media all and (max-width: 60rem) { |
322 | .footer-push { | |
323 | margin-left: auto; | |
324 | width: max-content; | |
325 | } | |
2ed0f35d S |
326 | } |
327 | ||
328 | .footer a { | |
545c8ea4 | 329 | color: var(--footer-link-color); |
2ed0f35d S |
330 | } |
331 | ||
f8883dc0 | 332 | .footer h2 { |
28507109 | 333 | margin-bottom: .1em; |
f38f696b | 334 | display: inline-block; |
f8883dc0 S |
335 | } |
336 | ||
f38f696b EK |
337 | .footerchild ul,.footerchild ul ul { |
338 | margin-left: 10px; | |
339 | margin-right: 10px; | |
340 | list-style-type: none; | |
2ed0f35d S |
341 | } |
342 | ||
343 | .footerchild ul ul { | |
f38f696b | 344 | padding-left: 30px; |
2ed0f35d S |
345 | } |
346 | ||
6c2065c4 | 347 | @media all and (max-width: 600px) { |
f38f696b EK |
348 | .footer { |
349 | flex-direction: column; | |
350 | } | |
db572d44 | 351 | |
f38f696b EK |
352 | .footerchild { |
353 | width: 100%; | |
354 | } | |
db572d44 | 355 | |
6c2065c4 EK |
356 | .footer-push { |
357 | margin-left: 0; | |
358 | } | |
359 | ||
f38f696b EK |
360 | .footerchild ul li:last-child { |
361 | margin-bottom: .5em; | |
362 | } | |
e9725e62 | 363 | |
f38f696b EK |
364 | .hdn { |
365 | display: none; | |
366 | } | |
e9725e62 | 367 | |
f38f696b EK |
368 | .box { |
369 | text-align: center; | |
370 | } | |
e9725e62 | 371 | |
f38f696b EK |
372 | .child { |
373 | font-size: 20px; | |
374 | line-height: 30px; | |
375 | padding: 10px 0 5px; | |
376 | } | |
e9725e62 | 377 | |
f38f696b EK |
378 | .fa-4x { |
379 | padding: 0; | |
380 | margin: 0; | |
381 | } | |
382 | ||
6c2065c4 EK |
383 | .box-container { |
384 | flex-direction: column; | |
385 | margin: 0 .5em; | |
386 | } | |
387 | ||
f38f696b EK |
388 | .box div { |
389 | position: relative; | |
390 | top: initial; | |
391 | font-size: 16px; | |
392 | font-weight: normal; | |
393 | line-height: 16px; | |
394 | padding: 10px 0; | |
395 | display: block; | |
396 | } | |
2ed0f35d S |
397 | } |
398 | ||
f38f696b EK |
399 | .footer h2,.footer h3 { |
400 | margin-left: 10px; | |
401 | margin-right: 10px; | |
2ed0f35d S |
402 | } |
403 | ||
db572d44 | 404 | .copyright { |
f38f696b | 405 | display: flex; |
545c8ea4 | 406 | flex-wrap: wrap; |
f38f696b EK |
407 | justify-content: space-between; |
408 | align-items: center; | |
545c8ea4 EK |
409 | background: var(--copyright-bg); |
410 | min-height: 1.5rem; | |
411 | color: var(--copyright-text-color); | |
db572d44 SB |
412 | } |
413 | ||
414 | a.copyright { | |
545c8ea4 | 415 | background: var(--copyright-bg); |
f38f696b EK |
416 | margin-bottom: 0; |
417 | margin-top: 0; | |
418 | margin-left: .5em; | |
419 | margin-right: .5em; | |
420 | width: auto; | |
421 | height: auto; | |
db572d44 SB |
422 | } |
423 | ||
424 | .copyright a img { | |
28507109 | 425 | height: 1.5rem; |
f38f696b | 426 | width: auto; |
df74dd1d SB |
427 | } |
428 | ||
db572d44 | 429 | .copyright p { |
f38f696b EK |
430 | margin-bottom: 0; |
431 | margin-top: 0; | |
432 | margin-left: .5em; | |
433 | margin-right: .5em; | |
434 | text-align: right; | |
ebee5e25 | 435 | } |