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