Left: | ||
Right: |
OLD | NEW |
---|---|
1 /* | 1 /* |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
juliandoucette
2017/10/21 16:18:46
Please keep the spaces before "*" in these comment
martin
2017/10/26 10:33:17
At first I wasn't sure what you meant exactly, but
| |
3 * Copyright (C) 2006-present eyeo GmbH | 3 * Copyright (C) 2006-present eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
16 */ | 16 */ |
17 | 17 |
18 @font-face { | 18 @font-face |
juliandoucette
2017/10/21 16:18:43
This doesn't seem to be used anywhere?
martin
2017/10/26 10:33:17
Done.
| |
19 font-family: "CreteRound"; | 19 { |
20 font-family: "Source Sans Pro"; | |
20 font-style: normal; | 21 font-style: normal; |
21 src: url(fonts/CreteRound-Regular.otf); | 22 font-weight: 300; |
23 font-stretch: normal; | |
22 src: local ("Ø"), | 24 src: local ("Ø"), |
23 /*local ("Ø") forces using no local font called CreteRound*/ | 25 url(fonts/SourceSansPro-Light.woff) format("otf"); |
24 url(fonts/CreteRound-Regular.otf) format("otf"); | 26 } |
25 } | 27 |
26 | 28 @font-face |
27 @font-face { | 29 { |
28 font-family: "CreteRound"; | 30 font-family: "Source Sans Pro"; |
29 font-style: italic; | 31 font-style: normal; |
30 src: url(fonts/CreteRound-Italic.otf); | 32 font-weight: 400; |
33 font-stretch: normal; | |
31 src: local ("Ø"), | 34 src: local ("Ø"), |
32 /*local ("Ø") forces using no local font called CreteRound*/ | 35 url(fonts/SourceSansPro-Regular.woff) format("woff"); |
33 url(fonts/CreteRound-Italic.otf) format("otf"); | 36 } |
37 | |
38 @font-face | |
39 { | |
40 font-family: "Source Sans Pro"; | |
41 font-style: normal; | |
juliandoucette
2017/10/21 16:18:43
NIT: You could name this "bold"
martin
2017/10/26 10:33:17
Done.
| |
42 font-weight: 700; | |
43 font-stretch: normal; | |
44 src: local ("Ø"), | |
45 url(fonts/SourceSansPro-bold.woff) format("woff"); | |
46 } | |
47 | |
48 | |
49 html | |
50 { | |
51 font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; | |
34 } | 52 } |
35 | 53 |
36 body | 54 body |
37 { | 55 { |
38 font-family: Helvetica, Arial, sans-serif; | |
39 font-size: 15px; | |
40 line-height: 140%; | |
41 color: #7f776b; | |
42 background-color: #f8f6f2; | |
43 background-image: url(background-main.png); | |
44 margin: 0; | 56 margin: 0; |
45 padding: 0; | 57 padding: 0; |
46 } | 58 } |
47 | 59 |
48 a, a:link, a:visited | 60 .container |
49 { | 61 { |
50 color: #5a84b3; | 62 width: 80%; |
juliandoucette
2017/10/21 16:18:43
new abp.org uses website-defaults .container width
martin
2017/10/26 10:33:19
Honestly I chose to override the default for the s
| |
63 max-width: 100%; | |
64 margin: 0 auto 8em; | |
juliandoucette
2017/10/21 16:18:44
NIT: `.container` is a very general class. It's me
martin
2017/10/26 10:33:18
Done.
| |
65 padding: 0px 1em; | |
66 } | |
67 | |
68 .ta-centre | |
69 { | |
70 text-align: center; | |
71 } | |
72 | |
73 @media (max-width: 992px) | |
74 { | |
75 #content-columns-container > .one-third | |
juliandoucette
2017/10/21 16:18:44
NIT: `#content-columns-container` is quite long. W
martin
2017/10/26 10:33:18
Done.
| |
76 { | |
77 padding: 3em 0; | |
78 border-bottom: 1px solid #d3d3d3; | |
79 } | |
80 } | |
81 | |
82 /****************************************************************************** | |
83 * .content | |
84 *****************************************************************************/ | |
85 | |
86 .content h1, | |
87 .content h2, | |
88 .content h3, | |
89 .content h4, | |
90 .content h5 | |
91 { | |
92 font-weight: bold; | |
93 margin: 32px 0px; | |
94 margin: 2rem 0rem; | |
95 } | |
96 | |
97 .content h1 { font-size: 1.8em; } | |
98 .content h2 { font-size: 1.4em; } | |
99 .content h3 { font-size: 1.3em; } | |
100 .content h4 { font-size: 1.2em; } | |
101 .content h5 { font-size: 1.1em; } | |
102 | |
103 @media(min-width: 768px) | |
104 { | |
105 .content h1 { font-size: 2.4em; } | |
106 .content h2 { font-size: 1.6em; } | |
107 } | |
108 | |
109 .content a, | |
110 .content a:visited | |
111 { | |
112 color: #C70D2C; | |
113 } | |
114 | |
115 | |
116 /******************************************************************************* | |
117 * #navbar | |
118 ******************************************************************************/ | |
119 | |
120 #navbar | |
121 { | |
122 height: 4em; | |
123 background-color: #c70d2c; | |
124 } | |
125 | |
126 #navbar li | |
127 { | |
128 list-style-type: none; | |
129 } | |
130 | |
131 /* padding provided by navbar contents */ | |
132 .navbar-container | |
133 { | |
134 width: 80%; | |
135 margin: 0 auto; | |
136 } | |
137 | |
138 /* full-width under .container max-width */ | |
139 @media(max-width: 1199px) | |
140 { | |
141 .navbar-container | |
142 { | |
143 width: 100%; | |
144 } | |
145 } | |
146 | |
147 /* #navbar #navbar-logo | |
148 ******************************************************************************/ | |
149 | |
150 #navbar-logo | |
151 { | |
152 /* padding is visible in hover background-color change */ | |
153 padding: 0em 1em; | |
154 color: #fff; | |
155 } | |
156 | |
157 #navbar-logo:hover, | |
158 #navbar-logo:active, | |
159 #navbar-logo:focus | |
160 { | |
161 background-color: #AE0013; | |
162 text-decoration: none; | |
163 } | |
164 | |
165 #navbar-logo, | |
166 #navbar-logo > * | |
167 { | |
168 float: left; | |
169 } | |
170 | |
171 [dir="rtl"] #navbar-logo, | |
172 [dir="rtl"] #navbar-logo > * | |
173 { | |
174 float: right; | |
175 } | |
176 | |
177 #navbar-logo img | |
178 { | |
179 height: 4em; | |
180 padding: 0.5em 0em; | |
181 margin: 0em 1em 0em 0em; | |
182 } | |
183 | |
184 [dir="rtl"] #navbar-logo > img | |
185 { | |
186 margin: 0em 0em 0em 1em; | |
187 } | |
188 | |
189 #navbar-logo > span | |
190 { | |
191 /* full-height: 2.91 * 1.375 = ~4em */ | |
192 line-height: 2.91em; | |
193 font-size: 1.375em; | |
194 } | |
195 | |
196 /* #navbar #navbar-menu-toggle | |
197 ******************************************************************************/ | |
198 | |
199 #navbar-menu-toggle | |
200 { | |
201 float: right; | |
202 padding: 1em; | |
203 } | |
204 | |
205 [dir="rtl"] #navbar-menu-toggle | |
206 { | |
207 float: left; | |
208 } | |
209 | |
210 /* show on mobile */ | |
211 #navbar-menu-toggle, | |
212 #navbar-menu-toggle > img | |
213 { | |
214 display: block; | |
215 } | |
216 | |
217 /* hide on desktop */ | |
218 @media(min-width: 992px) | |
219 { | |
220 #navbar-menu-toggle | |
221 { | |
222 display: none; | |
223 } | |
224 } | |
225 | |
226 #navbar-menu-toggle > img | |
227 { | |
228 /* plus 2em padding = 4em */ | |
229 height: 2em; | |
230 } | |
231 | |
232 #navbar-menu-toggle:hover, | |
233 #navbar-menu-toggle:active, | |
234 #navbar-menu-toggle:focus | |
235 { | |
236 background-color: #AE0013; | |
237 } | |
238 | |
239 /* #navbar #navbar-menu | |
240 ******************************************************************************/ | |
241 | |
242 #navbar-menu a | |
243 { | |
244 display: block; | |
245 color: #fff; | |
246 text-decoration: none; | |
247 } | |
248 | |
249 /* #navbar #navbar-menu #navbar-locale-menu | |
250 ******************************************************************************/ | |
251 | |
252 /* caret */ | |
253 #navbar-locale-selected:after | |
254 { | |
255 display: inline-block; | |
256 width: 0; | |
257 height: 0; | |
258 margin: 0em 0em 0em 0.255em; | |
259 vertical-align: .255em; | |
260 content: ""; | |
261 border-top: .3em solid; | |
262 border-right: .3em solid transparent; | |
263 border-left: .3em solid transparent; | |
264 } | |
265 | |
266 [dir="rtl"] #navbar-locale-selected:after | |
267 { | |
268 margin: 0em 0.255em 0em 0em; | |
269 } | |
270 | |
271 #navbar-locale-menu | |
272 { | |
273 display: none; | |
274 } | |
275 | |
276 #navbar-locale-menu.visible | |
277 { | |
278 display: block; | |
279 } | |
280 | |
281 #navbar-locale-menu > li > a | |
282 { | |
283 padding: 0.75em 1em; | |
284 } | |
285 | |
286 #navbar-locale-menu > li > a:hover, | |
287 #navbar-locale-menu > li > a:active, | |
288 #navbar-locale-menu > li > a:focus | |
289 { | |
290 background-color: #434343; | |
291 } | |
292 | |
293 /* #navbar #navbar-menu (desktop) | |
294 ******************************************************************************/ | |
295 | |
296 @media(min-width: 992px) | |
297 { | |
298 #navbar-menu | |
299 { | |
300 float: right; | |
301 } | |
302 | |
303 [dir="rtl"] #navbar-menu | |
304 { | |
305 float: left; | |
306 } | |
307 | |
308 #navbar-menu > li, | |
309 #navbar-menu > li > a | |
310 { | |
311 display: inline-block; | |
312 } | |
313 | |
314 #navbar-menu > li > a | |
315 { | |
316 padding: 0em 1em; | |
317 line-height: 4em; | |
318 } | |
319 | |
320 #navbar-menu > li > a:hover, | |
321 #navbar-menu > li > a:active, | |
322 #navbar-menu > li > a:focus | |
323 { | |
324 background-color: #AE0013; | |
325 } | |
326 | |
327 /* #navbar #navbar-menu #navbar-locale-menu | |
328 ****************************************************************************/ | |
329 | |
330 #navbar-locale-menubar | |
331 { | |
332 position: relative; | |
333 } | |
334 | |
335 #navbar-locale-menu | |
336 { | |
337 position: absolute; | |
338 min-width: 16em; | |
339 max-height: 20em; | |
340 max-height: 50vh; | |
341 top: 100%; | |
342 right: 0px; | |
343 overflow: auto; | |
344 z-index: 9001; | |
345 background-color: #292929; | |
346 } | |
347 | |
348 [dir="rtl"] #navbar-locale-menu | |
349 { | |
350 right: auto; | |
351 left: 0px; | |
352 } | |
353 } | |
354 | |
355 /* #navbar #navbar-menu (mobile) | |
356 ******************************************************************************/ | |
357 | |
358 @media(max-width: 991px) | |
359 { | |
360 #navbar-menu | |
361 { | |
362 display: none; | |
363 float: left; | |
364 clear: both; | |
365 width: 100%; | |
366 background-color: #292929; | |
367 } | |
368 | |
369 #navbar-menu.visible | |
370 { | |
371 display: block; | |
372 } | |
373 | |
374 #navbar-menu li a | |
375 { | |
376 padding: 0.75em 1em; | |
377 } | |
378 | |
379 #navbar-menu li a:hover, | |
380 #navbar-menu li a:active, | |
381 #navbar-menu li a:focus | |
382 { | |
383 background-color: #434343; | |
384 } | |
385 } | |
386 | |
387 /****************************************************************************** | |
388 * Main Page Content | |
389 *****************************************************************************/ | |
390 | |
391 #installation-status-header | |
392 { | |
393 text-align: center; | |
394 background: #f9f9f9; | |
395 padding: 4em 0; | |
396 margin-bottom: 4em; | |
397 } | |
398 | |
399 .section-header > h2 | |
400 { | |
401 margin: 1em 0 0; | |
402 } | |
403 | |
404 .button-primary | |
405 { | |
406 display: inline-block; | |
407 text-decoration: none; | |
408 text-transform: uppercase; | |
409 color: #fff !important; | |
410 text-align: center; | |
411 width: 100%; | |
412 border-radius: 6px; | |
413 padding: 1em 0; | |
414 background: #C70D2C; | |
415 } | |
416 | |
417 .store-buttons | |
418 { | |
419 width: 100%; | |
420 display: flex; | |
421 align-items: center; | |
422 justify-content: center; | |
423 } | |
424 | |
425 .store-button | |
426 { | |
427 display: block; | |
428 width: 180px; | |
429 height: 58px; | |
430 border-radius: 6px; | |
431 background: #000; | |
432 } | |
433 | |
434 .store-button > img | |
435 { | |
436 height: 54px; | |
437 } | |
438 | |
439 .applestore-button | |
440 { | |
441 margin-right: 1em; | |
442 } | |
443 | |
444 [dir="rtl"] .appstore-button | |
445 { | |
446 margin-right: 0; | |
447 margin-left: 1em; | |
448 } | |
449 | |
450 @media (max-width: 1280px) | |
451 { | |
452 .store-buttons | |
453 { | |
454 flex-direction: column; | |
455 } | |
456 | |
457 .store-button | |
458 { | |
459 width: 100%; | |
460 } | |
461 .applestore-button | |
462 { | |
463 margin: 0 0 1em; | |
464 } | |
465 } | |
466 | |
467 #installation-status-header > h1 | |
468 { | |
469 font-size: 3em; | |
470 margin: 0; | |
471 } | |
472 | |
473 /******************************************************************************* | |
474 * #footer | |
475 ******************************************************************************/ | |
476 | |
477 #footer | |
478 { | |
479 overflow: auto; | |
480 margin-top: 2em; | |
481 padding: 2em 0em; | |
482 color: #ececec; | |
483 background-color: #292929; | |
484 font-size: 0.9em; | |
485 } | |
486 | |
487 /* #footer body | |
488 ******************************************************************************/ | |
489 | |
490 #footer h5 | |
491 { | |
492 margin-top: 1em; | |
493 margin-bottom: 1.5em; | |
494 } | |
495 | |
496 #footer h5:after | |
497 { | |
498 content: ""; | |
499 display: block; | |
500 width: 1.25em; | |
501 height: 0.125em; | |
502 margin-top: 0.5em; | |
503 background-color: #ececec; | |
504 } | |
505 | |
506 #footer ul | |
507 { | |
508 padding: 0em; | |
509 list-style-type: none; | |
510 } | |
511 | |
512 #footer a | |
513 { | |
514 color: #ececec; | |
515 } | |
516 | |
517 #footer a:hover, | |
518 #footer a:active, | |
519 #footer a:focus | |
520 { | |
521 color: #fff; | |
51 text-decoration: underline; | 522 text-decoration: underline; |
52 } | 523 } |
53 | 524 |
54 a:hover | 525 /* #footer #social-list |
55 { | 526 ******************************************************************************/ |
56 text-decoration: none; | 527 |
57 } | 528 #social-list ul |
58 | 529 { |
59 button | 530 /* negative margin canceled out by li margin below */ |
60 { | 531 margin: 0em -0.375em; |
61 cursor: pointer; | 532 } |
62 } | 533 |
63 | 534 #social-list li |
64 ul | 535 { |
65 { | 536 float: left; |
66 margin: 0; | 537 margin: 0em 0.375em; |
67 padding: 0; | 538 } |
68 } | 539 |
69 | 540 [dir="rtl"] #social-list li |
70 li | 541 { |
71 { | 542 float: right; |
72 margin: 0; | 543 } |
73 padding: 0; | 544 |
74 list-style-type: none; | 545 #social-list img |
75 } | 546 { |
76 | 547 height: 2em; |
77 header | 548 } |
78 { | 549 |
79 background-image: url(background.png); | 550 @media(min-width: 1200px) |
80 background-repeat: repeat-x; | 551 { |
81 width: 100%; | 552 #social-list img |
82 padding-top: 25px; | 553 { |
83 } | 554 height: 3em; |
84 | 555 } |
85 header h1 | 556 } |
86 { | 557 |
87 font-size: 24px; | 558 /* #footer #footer-legal |
88 font-weight: normal; | 559 ******************************************************************************/ |
89 color: #57ab5b; | 560 |
90 text-align: center; | 561 #footer-legal |
91 margin: 21px auto; | 562 { |
92 padding: 16px 0px; | 563 margin-top: 1em; |
93 border: 1px #57ab5b; | 564 } |
94 border-style: dashed none; | 565 |
95 /* border parallel fix - 957px is the value | 566 @media(min-width: 1200px) |
96 * closest to 960px(page width) which makes | 567 { |
97 * the dashed border parallel | 568 #footer-legal |
98 */ | 569 { |
99 max-width: 957px; | 570 margin-top: 2em; |
100 } | 571 } |
101 | 572 } |
102 h1, | 573 |
103 h2, | 574 /* #footer #footer-legal #legal-list |
104 h3 | 575 ******************************************************************************/ |
105 { | 576 |
106 font-family: CreteRound, Helvetica, Arial, sans-serif; | 577 #legal-list li |
107 } | 578 { |
108 | 579 float: left; |
109 h2 | 580 } |
110 { | 581 |
111 font-size: 26px; | 582 [dir="rtl"] #legal-list li |
112 font-weight: lighter; | 583 { |
113 color: #968d81; | 584 float: right; |
114 line-height: 28px; | 585 } |
115 text-align: center; | 586 |
116 margin: 0; | 587 #legal-list li:after |
117 padding: 0; | 588 { |
118 } | 589 margin: 0em 0.375em; |
119 | 590 } |
120 h3 | 591 |
121 { | 592 /* IE9+ only */ |
122 font-size: 22px; | 593 #legal-list li::after |
123 color: #7F776B; | 594 { |
124 font-weight: normal; | 595 content: "|" |
125 margin-top: 0px; | 596 } |
126 margin-bottom: 10px; | 597 |
127 padding: 0; | 598 #legal-list li:last-of-type::after |
128 line-height: 24px; | 599 { |
129 } | 600 content: none; |
130 | 601 } |
131 h4 | 602 |
132 { | 603 /* float copyright and legal links left and right on ~desktop */ |
133 font-size: 15px; | 604 @media(min-width: 1200px) |
134 color: #7f776b; | 605 { |
135 font-weight: normal; | 606 #copyright-notice |
136 text-align: center; | 607 { |
137 margin: 0; | 608 float: left; |
138 padding: 0; | 609 } |
139 } | 610 |
140 | 611 [dir="rtl"] #copyright-notice |
141 section | 612 { |
142 { | 613 float: right; |
143 margin: 0 auto; | 614 } |
144 margin-bottom: 30px; | 615 |
145 max-width: 960px; | 616 #legal-list |
146 background-image: url(background.png); | 617 { |
147 padding: 40px 100px; | 618 float: right; |
148 box-sizing: border-box; | 619 } |
149 } | 620 |
150 | 621 [dir="rtl"] #legal-list |
151 #general | 622 { |
152 { | 623 float: left; |
153 display: table; | 624 } |
154 padding-left: 0px; | 625 } |
155 padding-right: 0px; | 626 |
156 } | 627 /* hide all footer links except #social-list on ~mobile */ |
157 | 628 @media(max-width: 767px) |
158 #general > .block | 629 { |
159 { | 630 #footer .column |
160 display: table-cell; | 631 { |
161 width: 50%; | 632 display: none; |
162 vertical-align: top; | 633 } |
163 padding: 0px 50px; | 634 |
164 border: dashed 0 #969085; | 635 /* overriding display:none above */ |
165 -webkit-border-start-width: 1px; | 636 #footer #social-list |
166 -moz-border-start-width: 1px; | |
167 border-inline-start-width: 1px; | |
168 } | |
169 | |
170 #general > .block:first-child | |
171 { | |
172 border: none; | |
173 } | |
174 | |
175 #acceptable-ads-block h2 | |
176 { | |
177 margin-bottom: 34px; | |
178 } | |
179 | |
180 #abb-promotion-block:lang(fr) | |
181 { | |
182 display: none; | |
183 } | |
184 | |
185 #abb-promotion-block | |
186 { | |
187 text-align: center; | |
188 } | |
189 | |
190 #abb-promotion-block h2 | |
191 { | |
192 color: #7795b6; | |
193 margin-bottom: 40px; | |
194 } | |
195 | |
196 #abb-promotion-block a | |
197 { | |
198 border: solid 1px #446a96; | |
199 border-radius: 5px; | |
200 display: inline-block; | |
201 padding: 6px 16px; | |
202 background: -webkit-linear-gradient(bottom, #294e76, #6b92be); | |
203 background: linear-gradient(to top, #294e76, #6b92be); | |
204 text-decoration: none; | |
205 text-align: start; | |
206 } | |
207 | |
208 #abb-promotion-block a > div | |
209 { | |
210 display: table-cell; | |
211 vertical-align: middle; | |
212 padding: 6px; | |
213 } | |
214 | |
215 #abb-promotion-block .title | |
216 { | |
217 font-size: 21px; | |
218 color: #ffffff; | |
219 font-weight: bold; | |
220 } | |
221 | |
222 #abb-promotion-block .subtitle | |
223 { | |
224 font-size: 12px; | |
225 color: #9ab7d6; | |
226 } | |
227 | |
228 #abb-promotion-block a:hover | |
229 { | |
230 box-shadow: 0px 0px 5px #5D5D5D; | |
231 } | |
232 | |
233 #abb-promotion-block a:active | |
234 { | |
235 box-shadow: 0px 0px 5px 1px #5D5D5D; | |
236 } | |
237 | |
238 section > p | |
239 { | |
240 margin-top: 15px; | |
241 } | |
242 | |
243 #logo | |
244 { | |
245 margin: 0 auto; | |
246 height: 128px; | |
247 width: 128px; | |
248 display: block; | |
249 } | |
250 | |
251 #share | |
252 { | |
253 background-image: url(background-share.png); | |
254 text-align: center; | |
255 font-family: CreteRound, Helvetica, Arial, sans-serif; | |
256 } | |
257 | |
258 #share h2 | |
259 { | |
260 margin-bottom: 30px; | |
261 } | |
262 | |
263 #share h2, | |
264 #share h2 > a | |
265 { | |
266 color: #fff; | |
267 } | |
268 | |
269 #share h2 > a:hover | |
270 { | |
271 color: #2e5075; | |
272 } | |
273 | |
274 #share span | |
275 { | |
276 color: #bed1e6; | |
277 text-align: center; | |
278 line-height: 34px; | |
279 font-size: 22px; | |
280 display: block; | |
281 } | |
282 | |
283 #donate:hover, .share-buttons a:hover | |
284 { | |
285 box-shadow: 0px 0px 0px 2px #8ca7c4; | |
286 border-radius: 30px; | |
287 } | |
288 | |
289 #share > .block | |
290 { | |
291 display: inline-block; | |
292 vertical-align: top; | |
293 width: 49%; | |
294 padding: 5px 0px; | |
295 border: 1px dashed #37506d; | |
296 border-style: none dashed; | |
297 } | |
298 | |
299 #share > .block:last-child | |
300 { | |
301 -webkit-border-start-style: none; | |
302 -moz-border-start-style: none; | |
303 } | |
304 | |
305 #share > .block > span | |
306 { | |
307 margin: 10px 20px; | |
308 } | |
309 | |
310 .share-buttons | |
311 { | |
312 margin-top: 6px; | |
313 vertical-align: top; | |
314 /* because inline block creates | |
315 * space if not captured with | |
316 * font-size and line-height 0px | |
317 */ | |
318 font-size: 0px; | |
319 line-height: 0px; | |
320 } | |
321 | |
322 .share-buttons > a | |
323 { | |
324 width: 50px; | |
325 height: 50px; | |
326 margin: 0 8px; | |
327 text-decoration: none; | |
328 display: inline-block; | |
329 } | |
330 | |
331 #share-general, | |
332 #share-chinese:lang(zh) | |
333 { | |
334 display: block; | |
335 } | |
336 | |
337 #share-general:lang(zh), | |
338 #share-chinese | |
339 { | |
340 display: none; | |
341 } | |
342 | |
343 #share-chinese > a | |
344 { | |
345 border-bottom: 2px solid transparent; | |
346 } | |
347 | |
348 #share-chinese > a:hover | |
349 { | |
350 box-shadow: none; | |
351 border-radius: 0; | |
352 border-bottom: 2px solid #8CA7C4; | |
353 } | |
354 | |
355 #share-facebook | |
356 { | |
357 background-image: url(social/facebook.png); | |
358 background-repeat: no-repeat; | |
359 } | |
360 | |
361 #share-twitter | |
362 { | |
363 background-image: url(social/twitter.png); | |
364 background-repeat: no-repeat; | |
365 } | |
366 | |
367 #share-gplus | |
368 { | |
369 background-image: url(social/googleplus.png); | |
370 background-repeat: no-repeat; | |
371 } | |
372 | |
373 #share-renren | |
374 { | |
375 background-image: url(social/renren.png); | |
376 background-repeat: no-repeat; | |
377 } | |
378 | |
379 #share-weibo | |
380 { | |
381 background-image: url(social/weibo.png); | |
382 background-repeat: no-repeat; | |
383 } | |
384 | |
385 .warning | |
386 { | |
387 font-size: 160%; | |
388 border: 3px dashed red; | |
389 text-align: center; | |
390 line-height: 1.3em; | |
391 } | |
392 | |
393 #social ul | |
394 { | |
395 list-style: none; | |
396 display: inline-block; | |
397 padding: 0; | |
398 margin: 0; | |
399 } | |
400 | |
401 #social:hover h1 | |
402 { | |
403 opacity: 0; | |
404 } | |
405 | |
406 #social ul:hover li { | |
407 opacity: 0.3; | |
408 } | |
409 | |
410 #social ul li | |
411 { | |
412 display: inline-block; | |
413 margin: 0px 5px; | |
414 -webkit-transition: opacity .5s ease, bottom .3s ease; | |
415 transition: opacity .5s ease, bottom .3s ease; | |
416 position: relative; | |
417 bottom: -30px; | |
418 } | |
419 | |
420 #social ul li:hover | |
421 { | |
422 opacity: 1.0; | |
423 bottom: 0px; | |
424 } | |
425 | |
426 .share-button | |
427 { | |
428 display: inline-block; | |
429 width: 82px; | |
430 height: 82px; | |
431 } | |
432 | |
433 /* Change order of the blocks for French */ | |
434 #content:lang(fr) | |
435 { | |
436 display: table; | |
437 margin: auto; | |
438 caption-side: bottom; | |
439 } | |
440 | |
441 #share:lang(fr) | |
442 { | |
443 display: table-caption; | |
444 } | |
445 | |
446 #donate | |
447 { | |
448 height: 21px; | |
449 display: inline-block; | |
450 margin-top: 15px; | |
451 margin-bottom: 2px; | |
452 font-size: 16px; | |
453 color: #003366; | |
454 cursor: pointer; | |
455 font-weight: bold; | |
456 padding: 5px 18px; | |
457 text-decoration: none; | |
458 border-radius: 20px; | |
459 border: 1px solid #FF9933; | |
460 overflow: hidden; | |
461 font-family: arial, sans-serif; | |
462 background-image: url(donate.png); | |
463 background-repeat: repeat-x; | |
464 } | |
465 | |
466 footer | |
467 { | |
468 margin: 0 auto 30px; | |
469 max-width: 960px; | |
470 text-align: center; | |
471 } | |
472 | |
473 @media (max-width: 970px) | |
474 { | |
475 header | |
476 { | |
477 background-size: 100px 57px; | |
478 } | |
479 | |
480 #logo | |
481 { | |
482 width: 64px; | |
483 height: 64px; | |
484 } | |
485 | |
486 section | |
487 { | |
488 padding: 40px 20px; | |
489 } | |
490 | |
491 #general, | |
492 #general > .block, | |
493 #share > .block | |
494 { | 637 { |
495 display: block; | 638 display: block; |
496 } | 639 } |
497 | 640 } |
498 #general > .block | |
499 { | |
500 width: auto; | |
501 margin-left: 20px; | |
502 margin-right: 20px; | |
503 padding: 10px 0px; | |
504 border-width: 1px 0px 0px; | |
505 } | |
506 | |
507 #share > .block | |
508 { | |
509 width: auto; | |
510 padding: 20px 0px; | |
511 border-style: dashed none none; | |
512 } | |
513 | |
514 #donate, | |
515 .share-buttons | |
516 { | |
517 margin-top: 10px; | |
518 } | |
519 } | |
OLD | NEW |