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