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