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