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/>, |
3 * Copyright (C) 2006-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 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 { |
19 font-family: 'CreteRound'; | 19 font-family: "CreteRound"; |
20 font-style: normal; | 20 font-style: normal; |
21 src: url(fonts/CreteRound-Regular.otf); | 21 src: url(fonts/CreteRound-Regular.otf); |
22 src: local ('Ø'), | 22 src: local ("Ø"), |
23 /*local ('Ø') forces using no local font called CreteRound*/ | 23 /*local ("Ø") forces using no local font called CreteRound*/ |
24 url(fonts/CreteRound-Regular.otf) format('otf'); | 24 url(fonts/CreteRound-Regular.otf) format("otf"); |
25 } | 25 } |
26 | 26 |
27 @font-face { | 27 @font-face { |
28 font-family: 'CreteRound'; | 28 font-family: "CreteRound"; |
29 font-style: italic; | 29 font-style: italic; |
30 src: url(fonts/CreteRound-Italic.otf); | 30 src: url(fonts/CreteRound-Italic.otf); |
31 src: local ('Ø'), | 31 src: local ("Ø"), |
32 /*local ('Ø') forces using no local font called CreteRound*/ | 32 /*local ("Ø") forces using no local font called CreteRound*/ |
33 url(fonts/CreteRound-Italic.otf) format('otf'); | 33 url(fonts/CreteRound-Italic.otf) format("otf"); |
34 } | 34 } |
35 | 35 |
36 body | 36 body |
37 { | 37 { |
38 font-family: Helvetica, Arial, sans-serif; | 38 font-family: Helvetica, Arial, sans-serif; |
39 font-size: 15px; | 39 font-size: 15px; |
40 line-height: 140%; | 40 line-height: 140%; |
41 color: #7f776b; | 41 color: #7f776b; |
42 background-color: #f8f6f2; | 42 background-color: #f8f6f2; |
43 background-image: url(background-main.png); | 43 background-image: url(background-main.png); |
(...skipping 28 matching lines...) Expand all Loading... | |
72 margin: 0; | 72 margin: 0; |
73 padding: 0; | 73 padding: 0; |
74 list-style-type: none; | 74 list-style-type: none; |
75 } | 75 } |
76 | 76 |
77 header | 77 header |
78 { | 78 { |
79 background-image: url(background.png); | 79 background-image: url(background.png); |
80 background-repeat: repeat-x; | 80 background-repeat: repeat-x; |
81 width: 100%; | 81 width: 100%; |
82 padding: 25px 0 0 0; | 82 padding-top: 25px; |
83 } | 83 } |
84 | 84 |
85 header h1 | 85 header h1 |
86 { | 86 { |
87 font-size: 24px; | 87 font-size: 24px; |
88 font-weight: normal; | 88 font-weight: normal; |
89 color: #57ab5b; | 89 color: #57ab5b; |
90 text-align: center; | 90 text-align: center; |
91 margin: 21px auto; | 91 margin: 21px auto; |
92 padding: 16px 0 14px 0; | 92 padding: 16px 0px; |
93 border: 1px #57ab5b; | 93 border: 1px #57ab5b; |
94 border-style: dashed none; | 94 border-style: dashed none; |
95 /* border parallel fix - 957px is the value | 95 /* border parallel fix - 957px is the value |
96 * closest to 960px(page width) which makes | 96 * closest to 960px(page width) which makes |
97 * the dashed border parallel | 97 * the dashed border parallel |
98 */ | 98 */ |
99 max-width: 957px; | 99 max-width: 957px; |
100 } | 100 } |
101 | 101 |
102 h1,h2,h3 | 102 h1, h2, h3 |
103 { | 103 { |
104 font-family: CreteRound, Helvetica, Arial, sans-serif; | 104 font-family: CreteRound, Helvetica, Arial, sans-serif; |
105 } | 105 } |
106 | 106 |
107 h2 | 107 h2 |
108 { | 108 { |
109 font-size: 26px; | 109 font-size: 26px; |
110 font-weight: lighter; | 110 font-weight: lighter; |
111 color: #968d81; | 111 color: #968d81; |
112 line-height: 28px; | 112 line-height: 28px; |
113 text-align: center; | 113 text-align: center; |
114 margin: 0; | 114 margin: 0; |
115 padding: 0; | 115 padding: 0; |
116 } | 116 } |
117 | 117 |
118 h3 | 118 h3 |
119 { | 119 { |
120 font-size: 22px; | 120 font-size: 22px; |
121 color: #7F776B; | 121 color: #7F776B; |
122 font-weight: normal; | 122 font-weight: normal; |
123 margin: 0 0 10px 0; | 123 margin-top: 0px; |
124 margin-bottom: 10px; | |
124 padding: 0; | 125 padding: 0; |
125 line-height: 24px; | 126 line-height: 24px; |
126 } | 127 } |
127 | 128 |
128 h4 | 129 h4 |
129 { | 130 { |
130 font-size: 15px; | 131 font-size: 15px; |
131 color: #7f776b; | 132 color: #7f776b; |
132 font-weight: normal; | 133 font-weight: normal; |
133 text-align: center; | 134 text-align: center; |
134 margin: 0; | 135 margin: 0; |
135 padding: 0; | 136 padding: 0; |
136 } | 137 } |
137 | 138 |
138 section | 139 section |
139 { | 140 { |
140 margin: 0 auto; | 141 margin: 0 auto; |
141 margin-bottom: 30px; | 142 margin-bottom: 30px; |
142 max-width: 960px; | 143 max-width: 960px; |
143 background-image: url(background.png); | 144 background-image: url(background.png); |
144 padding: 40px 100px; | 145 padding: 40px 100px; |
145 } | 146 } |
146 | 147 |
147 #general | 148 #general |
148 { | 149 { |
149 padding: 40px 0px; | |
150 display: table; | 150 display: table; |
151 padding-left: 0px; | |
152 padding-right: 0px; | |
151 } | 153 } |
152 | 154 |
153 #general > div | 155 #general > div |
154 { | 156 { |
155 display: table-cell; | 157 display: table-cell; |
156 width: 50%; | 158 width: 50%; |
157 vertical-align: top; | 159 vertical-align: top; |
158 padding: 0px 50px; | 160 padding: 0px 50px; |
159 border: dashed 0 #969085; | 161 border: dashed 0 #969085; |
160 -webkit-border-start-width: 1px; | 162 -webkit-border-start-width: 1px; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
223 #abb-promotion-block a:hover | 225 #abb-promotion-block a:hover |
224 { | 226 { |
225 box-shadow: 0px 0px 5px #5D5D5D; | 227 box-shadow: 0px 0px 5px #5D5D5D; |
226 } | 228 } |
227 | 229 |
228 #abb-promotion-block a:active | 230 #abb-promotion-block a:active |
229 { | 231 { |
230 box-shadow: 0px 0px 5px 1px #5D5D5D; | 232 box-shadow: 0px 0px 5px 1px #5D5D5D; |
231 } | 233 } |
232 | 234 |
233 @media (max-width: 960px) | |
234 { | |
235 #general | |
236 { | |
237 display: block; | |
238 } | |
239 | |
240 #general > div | |
241 { | |
242 display: block; | |
243 width: auto; | |
244 padding: 10px 0px; | |
245 margin: 0px 50px; | |
246 border-width: 1px 0 0; | |
247 } | |
248 } | |
249 | |
250 section > p | 235 section > p |
251 { | 236 { |
252 margin: 15px 0 0 0; | 237 margin-top: 15px; |
253 } | 238 } |
254 | 239 |
255 #logo | 240 #logo |
256 { | 241 { |
257 margin: 0 auto; | 242 margin: 0 auto; |
258 height: 128px; | 243 height: 128px; |
259 width: 128px; | 244 width: 128px; |
260 display: block; | 245 display: block; |
261 } | 246 } |
262 | 247 |
(...skipping 21 matching lines...) Expand all Loading... | |
284 } | 269 } |
285 | 270 |
286 .feature-tracking-image | 271 .feature-tracking-image |
287 { | 272 { |
288 background-image: url(features/tracking.png); | 273 background-image: url(features/tracking.png); |
289 background-repeat: no-repeat; | 274 background-repeat: no-repeat; |
290 } | 275 } |
291 | 276 |
292 #can-do-more-content | 277 #can-do-more-content |
293 { | 278 { |
294 margin: 30px 100px 20px 100px; | 279 margin: 30px 100px; |
295 } | 280 } |
296 | 281 |
297 #can-do-more #features | 282 #can-do-more #features |
298 { | 283 { |
299 border-spacing: 10px; | 284 border-spacing: 10px; |
300 margin: 0px; | 285 margin: 0px; |
301 padding: 0px; | 286 padding: 0px; |
302 } | 287 } |
303 | 288 |
304 #can-do-more .feature:not([hidden]) | 289 #can-do-more .feature |
305 { | 290 { |
306 display: block; | |
307 list-style-type: none; | 291 list-style-type: none; |
308 padding: 30px 0; | 292 padding-top: 30px; |
309 padding-bottom: 20px; | 293 padding-bottom: 20px; |
310 border-top: 1px dashed #c0bebb; | 294 border-top: 1px dashed #c0bebb; |
311 } | 295 } |
312 | 296 |
313 #can-do-more .feature-image, #can-do-more .feature-description | 297 #can-do-more .feature-image, #can-do-more .feature-description |
314 { | 298 { |
315 display: inline-block; | 299 display: inline-block; |
316 *display: inline; /* IE6 inline-block fix */ | 300 *display: inline; /* IE6 inline-block fix */ |
317 *zoom: 1; | 301 *zoom: 1; |
318 vertical-align: top; | 302 vertical-align: top; |
319 } | 303 } |
320 | 304 |
321 #can-do-more .feature-description | 305 #can-do-more .feature-description |
322 { | 306 { |
323 margin: 0px 0px 0 20px; | 307 -webkit-margin-start: 20px; |
308 -moz-margin-start: 20px; | |
309 margin-start: 20px; | |
Sebastian Noack
2015/10/05 12:23:56
It seems there isn't an unprefixed margin-start, b
saroyanm
2015/10/05 12:51:10
Both are part of experimental API. Once we impleme
Thomas Greiner
2015/10/05 13:43:17
I did a bit of research on that since the situatio
| |
324 width: 625px; | 310 width: 625px; |
325 max-width: 85%; | 311 max-width: 85%; |
326 } | 312 } |
327 | 313 |
328 #can-do-more .feature-description-textblock | 314 #can-do-more .feature-description-textblock |
329 { | 315 { |
330 width: 480px; | 316 width: 480px; |
331 max-width: 100%; | 317 max-width: 100%; |
332 margin: 0 40px 0 0; | 318 -webkit-margin-end: 40px; |
319 -moz-margin-end: 40px; | |
320 margin-end: 40px; | |
333 display: inline-block; | 321 display: inline-block; |
334 } | 322 } |
335 | 323 |
336 #can-do-more .feature-description-textblock > span | 324 #can-do-more .feature-description-textblock > span |
337 { | 325 { |
338 margin: 15px 0 0 0; | 326 margin-top: 15px; |
339 } | 327 } |
340 | 328 |
341 #can-do-more .feature-image | 329 #can-do-more .feature-image |
342 { | 330 { |
343 width: 59px; | 331 width: 59px; |
344 height: 59px; | 332 height: 59px; |
345 margin: 8px 0 10px 20px; | 333 margin: 10px 0px; |
334 -webkit-margin-start: 20px; | |
335 -moz-margin-start: 20px; | |
336 margin-start: 20px; | |
346 } | 337 } |
347 | 338 |
348 #share | 339 #share |
349 { | 340 { |
350 background-image: url(background-share.png); | 341 background-image: url(background-share.png); |
351 padding: 50px 100px 40px 100px; | |
352 max-width: 760px; | 342 max-width: 760px; |
353 text-align: center; | 343 text-align: center; |
354 font-family: CreteRound, Helvetica, Arial, sans-serif; | 344 font-family: CreteRound, Helvetica, Arial, sans-serif; |
355 } | 345 } |
356 | 346 |
357 #share h2 | 347 #share h2 |
358 { | 348 { |
359 color: #fff; | 349 margin-bottom: 30px; |
360 margin: 0 0 30px 0; | |
361 } | 350 } |
362 | 351 |
352 #share h2, | |
363 #share h2 > a | 353 #share h2 > a |
364 { | 354 { |
365 color: #fff; | 355 color: #fff; |
366 } | 356 } |
367 | 357 |
368 #share h2 > a:hover | 358 #share h2 > a:hover |
369 { | 359 { |
370 color: #2e5075; | 360 color: #2e5075; |
371 } | 361 } |
372 | 362 |
373 #share span | 363 #share span |
374 { | 364 { |
375 color: #bed1e6; | 365 color: #bed1e6; |
376 text-align: center; | 366 text-align: center; |
377 line-height: 34px; | 367 line-height: 34px; |
378 font-size: 22px; | 368 font-size: 22px; |
379 display: block; | 369 display: block; |
380 } | 370 } |
381 | 371 |
382 #donate:hover, .share-buttons a:hover | 372 #donate:hover, .share-buttons a:hover |
383 { | 373 { |
384 box-shadow: 0px 0px 0px 2px #8ca7c4; | 374 box-shadow: 0px 0px 0px 2px #8ca7c4; |
385 border-radius: 30px; | 375 border-radius: 30px; |
386 } | 376 } |
387 | 377 |
388 #donate-block span, #share-block span | 378 #donate-block span, #share-block span |
389 { | 379 { |
390 margin: 10px 20px 0px 20px; | 380 margin: 10px 20px; |
391 } | 381 } |
392 | 382 |
393 #donate-block, #share-block | 383 #donate-block, #share-block |
394 { | 384 { |
395 min-width: 250px; | 385 min-width: 250px; |
396 display: inline-block; | 386 display: inline-block; |
397 vertical-align: top; | 387 vertical-align: top; |
398 padding: 5px 0 5px 0; | 388 padding: 5px 0 5px 0; |
399 border: 1px dashed #37506d; | 389 border: 1px dashed #37506d; |
400 border-style: none dashed; | 390 border-style: none dashed; |
401 } | 391 } |
402 | 392 |
403 #donate-block | 393 #donate-block |
404 { | 394 { |
405 width: 50%; | 395 width: 50%; |
406 } | 396 } |
407 | 397 |
408 #share-block | 398 #share-block |
409 { | 399 { |
410 width: 49%; | 400 width: 49%; |
411 | 401 |
412 -webkit-border-start-style: none; | 402 -webkit-border-start-style: none; |
413 -moz-border-start-style: none; | 403 -moz-border-start-style: none; |
414 } | 404 } |
415 | 405 |
416 .share-buttons | 406 .share-buttons |
417 { | 407 { |
418 margin: 6px 0 0 0; | 408 margin-top: 6px; |
419 cursor: pointer; | 409 cursor: pointer; |
420 vertical-align: top; | 410 vertical-align: top; |
421 /* because inline block creates | 411 /* because inline block creates |
422 * space if not captured with | 412 * space if not captured with |
423 * font-size and line-height 0px | 413 * font-size and line-height 0px |
424 */ | 414 */ |
425 font-size: 0px; | 415 font-size: 0px; |
426 line-height: 0px; | 416 line-height: 0px; |
427 } | 417 } |
428 | 418 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
550 display: table-caption; | 540 display: table-caption; |
551 } | 541 } |
552 | 542 |
553 .toggle | 543 .toggle |
554 { | 544 { |
555 cursor: pointer; | 545 cursor: pointer; |
556 position: relative; | 546 position: relative; |
557 display: inline-block; | 547 display: inline-block; |
558 vertical-align: top; | 548 vertical-align: top; |
559 height: 22px; | 549 height: 22px; |
560 margin: 32px 0px 7px 0px; | 550 margin-top: 32px; |
551 margin-bottom: 7px; | |
561 border-radius: 9999px; | 552 border-radius: 9999px; |
562 border: 1px solid #999; | 553 border: 1px solid #999; |
563 overflow: hidden; | 554 overflow: hidden; |
564 -moz-user-select: none; | 555 -moz-user-select: none; |
565 -webkit-user-select: none; | 556 -webkit-user-select: none; |
566 user-select: none; | 557 user-select: none; |
567 } | 558 } |
568 | 559 |
569 .toggle:hover | 560 .toggle:hover |
570 { | 561 { |
(...skipping 11 matching lines...) Expand all Loading... | |
582 height: 100%; | 573 height: 100%; |
583 font-size: 11px; | 574 font-size: 11px; |
584 font-weight: 500; | 575 font-weight: 500; |
585 text-align: center; | 576 text-align: center; |
586 line-height: 23px; | 577 line-height: 23px; |
587 border-radius: 9999px; | 578 border-radius: 9999px; |
588 } | 579 } |
589 | 580 |
590 .toggle-on | 581 .toggle-on |
591 { | 582 { |
592 padding: 0px 30px 0px 10px; | 583 padding-left: 10px; |
593 color: rgba(255,255,255, 0.8); | 584 padding-right: 30px; |
585 color: rgba(255,255,255,0.8); | |
594 text-shadow: 1px 1px rgba(0,0,0,0.2); | 586 text-shadow: 1px 1px rgba(0,0,0,0.2); |
595 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); | 587 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); |
596 background: rgb(69,163,31); | 588 background: rgb(69,163,31); |
597 } | 589 } |
598 | 590 |
599 .toggle-off | 591 .toggle-off |
600 { | 592 { |
601 padding: 0px 10px 0px 30px; | 593 padding-left: 30px; |
594 padding-right: 10px; | |
602 color: rgba(0,0,0,0.6); | 595 color: rgba(0,0,0,0.6); |
603 text-shadow: 1px 1px rgba(255,255,255,0.2); | 596 text-shadow: 1px 1px rgba(255,255,255,0.2); |
604 background: #cfcfcf; | 597 background: #cfcfcf; |
605 background: -moz-linear-gradient(top, #cfcfcf 0%, #f5f5f5 100%); | 598 background: -moz-linear-gradient(top, #cfcfcf 0%, #f5f5f5 100%); |
606 background: -webkit-linear-gradient(top, #cfcfcf 0%,#f5f5f5 100%); | 599 background: -webkit-linear-gradient(top, #cfcfcf 0%,#f5f5f5 100%); |
607 background: linear-gradient(to bottom, #cfcfcf 0%,#f5f5f5 100%); | 600 background: linear-gradient(to bottom, #cfcfcf 0%,#f5f5f5 100%); |
608 } | 601 } |
609 | 602 |
610 .toggle-blob | 603 .toggle-blob |
611 { | 604 { |
(...skipping 18 matching lines...) Expand all Loading... | |
630 .off .toggle-blob | 623 .off .toggle-blob |
631 { | 624 { |
632 left: 0px; | 625 left: 0px; |
633 right: auto; | 626 right: auto; |
634 } | 627 } |
635 | 628 |
636 #donate | 629 #donate |
637 { | 630 { |
638 height: 21px; | 631 height: 21px; |
639 display: inline-block; | 632 display: inline-block; |
640 margin: 15px 0px 2px 0px; | 633 margin-top: 15px; |
634 margin-bottom: 2px; | |
641 font-size: 16px; | 635 font-size: 16px; |
642 color: #003366; | 636 color: #003366; |
643 cursor: pointer; | 637 cursor: pointer; |
644 font-weight: bold; | 638 font-weight: bold; |
645 padding: 5px 18px; | 639 padding: 5px 18px; |
646 text-decoration: none; | 640 text-decoration: none; |
647 border-radius: 20px; | 641 border-radius: 20px; |
648 border: 1px solid #FF9933; | 642 border: 1px solid #FF9933; |
649 overflow: hidden; | 643 overflow: hidden; |
650 font-family: arial, sans-serif; | 644 font-family: arial, sans-serif; |
651 background-image: url(donate.png); | 645 background-image: url(donate.png); |
652 background-repeat: repeat-x; | 646 background-repeat: repeat-x; |
653 } | 647 } |
654 | 648 |
655 footer | 649 footer |
656 { | 650 { |
657 margin: 0 auto 30px; | 651 margin: 0 auto 30px; |
658 max-width: 960px; | 652 max-width: 960px; |
659 text-align: center; | 653 text-align: center; |
660 } | 654 } |
655 | |
656 @media (max-width: 970px) | |
657 { | |
658 header | |
659 { | |
660 background-size: 100px 57px; | |
661 } | |
662 | |
663 #logo | |
664 { | |
665 width: 64px; | |
666 height: 64px; | |
667 } | |
668 | |
669 section | |
670 { | |
671 padding: 40px 20px; | |
672 } | |
673 | |
674 #general, | |
675 #general > div | |
676 { | |
677 display: block; | |
678 } | |
679 | |
680 #general > div | |
681 { | |
682 width: auto; | |
683 padding: 10px 0px; | |
684 border-width: 1px 0px 0px; | |
685 } | |
686 | |
687 #general > div, | |
688 #can-do-more > h2, | |
689 #can-do-more-content | |
690 { | |
691 margin-left: 20px; | |
692 margin-right: 20px; | |
693 } | |
694 | |
695 #can-do-more | |
696 { | |
697 text-align: center; | |
698 } | |
699 | |
700 #can-do-more .feature-description-textblock | |
701 { | |
702 text-align: start; | |
703 } | |
704 | |
705 #can-do-more .feature h3 | |
706 { | |
707 text-align: center; | |
708 } | |
709 | |
710 .toggle | |
711 { | |
712 margin-top: 14px; | |
713 } | |
714 } | |
OLD | NEW |