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, |
103 h2, | |
104 h3 | |
103 { | 105 { |
104 font-family: CreteRound, Helvetica, Arial, sans-serif; | 106 font-family: CreteRound, Helvetica, Arial, sans-serif; |
105 } | 107 } |
106 | 108 |
107 h2 | 109 h2 |
108 { | 110 { |
109 font-size: 26px; | 111 font-size: 26px; |
110 font-weight: lighter; | 112 font-weight: lighter; |
111 color: #968d81; | 113 color: #968d81; |
112 line-height: 28px; | 114 line-height: 28px; |
113 text-align: center; | 115 text-align: center; |
114 margin: 0; | 116 margin: 0; |
115 padding: 0; | 117 padding: 0; |
116 } | 118 } |
117 | 119 |
118 h3 | 120 h3 |
119 { | 121 { |
120 font-size: 22px; | 122 font-size: 22px; |
121 color: #7F776B; | 123 color: #7F776B; |
122 font-weight: normal; | 124 font-weight: normal; |
123 margin: 0 0 10px 0; | 125 margin-top: 0px; |
126 margin-bottom: 10px; | |
124 padding: 0; | 127 padding: 0; |
125 line-height: 24px; | 128 line-height: 24px; |
126 } | 129 } |
127 | 130 |
128 h4 | 131 h4 |
129 { | 132 { |
130 font-size: 15px; | 133 font-size: 15px; |
131 color: #7f776b; | 134 color: #7f776b; |
132 font-weight: normal; | 135 font-weight: normal; |
133 text-align: center; | 136 text-align: center; |
134 margin: 0; | 137 margin: 0; |
135 padding: 0; | 138 padding: 0; |
136 } | 139 } |
137 | 140 |
138 section | 141 section |
139 { | 142 { |
140 margin: 0 auto; | 143 margin: 0 auto; |
141 margin-bottom: 30px; | 144 margin-bottom: 30px; |
142 max-width: 960px; | 145 max-width: 760px; |
saroyanm
2015/10/07 17:26:40
You don't need to specify different max-width for
Thomas Greiner
2015/10/08 14:59:54
Done.
I'd suggest to tackle any other style oddit
| |
143 background-image: url(background.png); | 146 background-image: url(background.png); |
144 padding: 40px 100px; | 147 padding: 40px 100px; |
145 } | 148 } |
146 | 149 |
147 #general | 150 #general |
148 { | 151 { |
149 padding: 40px 0px; | |
150 display: table; | 152 display: table; |
153 padding-left: 0px; | |
154 padding-right: 0px; | |
155 max-width: 960px; | |
151 } | 156 } |
152 | 157 |
153 #general > div | 158 #general > div |
154 { | 159 { |
155 display: table-cell; | 160 display: table-cell; |
156 width: 50%; | 161 width: 50%; |
157 vertical-align: top; | 162 vertical-align: top; |
158 padding: 0px 50px; | 163 padding: 0px 50px; |
159 border: dashed 0 #969085; | 164 border: dashed 0 #969085; |
160 -webkit-border-start-width: 1px; | 165 -webkit-border-start-width: 1px; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
223 #abb-promotion-block a:hover | 228 #abb-promotion-block a:hover |
224 { | 229 { |
225 box-shadow: 0px 0px 5px #5D5D5D; | 230 box-shadow: 0px 0px 5px #5D5D5D; |
226 } | 231 } |
227 | 232 |
228 #abb-promotion-block a:active | 233 #abb-promotion-block a:active |
229 { | 234 { |
230 box-shadow: 0px 0px 5px 1px #5D5D5D; | 235 box-shadow: 0px 0px 5px 1px #5D5D5D; |
231 } | 236 } |
232 | 237 |
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 | 238 section > p |
251 { | 239 { |
252 margin: 15px 0 0 0; | 240 margin-top: 15px; |
253 } | 241 } |
254 | 242 |
255 #logo | 243 #logo |
256 { | 244 { |
257 margin: 0 auto; | 245 margin: 0 auto; |
258 height: 128px; | 246 height: 128px; |
259 width: 128px; | 247 width: 128px; |
260 display: block; | 248 display: block; |
261 } | 249 } |
262 | 250 |
263 #can-do-more | 251 #can-do-more |
264 { | 252 { |
265 padding: 40px 0px 0px 0px; | |
266 border-bottom: 4px solid #968D81; | 253 border-bottom: 4px solid #968D81; |
267 } | 254 } |
268 | 255 |
269 #can-do-more > h2 | |
270 { | |
271 margin: 0 100px; | |
272 } | |
273 | |
274 .feature-malware-image | 256 .feature-malware-image |
275 { | 257 { |
276 background-image: url(features/malware.png); | 258 background-image: url(features/malware.png); |
277 background-repeat: no-repeat; | 259 background-repeat: no-repeat; |
278 } | 260 } |
279 | 261 |
280 .feature-social-image | 262 .feature-social-image |
281 { | 263 { |
282 background-image: url(features/social.png); | 264 background-image: url(features/social.png); |
283 background-repeat: no-repeat; | 265 background-repeat: no-repeat; |
284 } | 266 } |
285 | 267 |
286 .feature-tracking-image | 268 .feature-tracking-image |
287 { | 269 { |
288 background-image: url(features/tracking.png); | 270 background-image: url(features/tracking.png); |
289 background-repeat: no-repeat; | 271 background-repeat: no-repeat; |
290 } | 272 } |
291 | 273 |
292 #can-do-more-content | 274 #can-do-more-content |
293 { | 275 { |
294 margin: 30px 100px 20px 100px; | 276 margin-top: 30px; |
295 } | 277 } |
296 | 278 |
297 #can-do-more #features | 279 #can-do-more #features |
298 { | 280 { |
299 border-spacing: 10px; | 281 border-spacing: 10px; |
300 margin: 0px; | |
301 padding: 0px; | |
302 } | 282 } |
303 | 283 |
304 #can-do-more .feature:not([hidden]) | 284 #can-do-more .feature |
305 { | 285 { |
306 display: block; | |
307 list-style-type: none; | 286 list-style-type: none; |
308 padding: 30px 0; | 287 padding-top: 30px; |
309 padding-bottom: 20px; | 288 padding-bottom: 20px; |
310 border-top: 1px dashed #c0bebb; | 289 border-top: 1px dashed #c0bebb; |
311 } | 290 } |
312 | 291 |
313 #can-do-more .feature-image, #can-do-more .feature-description | 292 #can-do-more .feature-image, #can-do-more .feature-description |
314 { | 293 { |
315 display: inline-block; | 294 display: inline-block; |
316 *display: inline; /* IE6 inline-block fix */ | |
317 *zoom: 1; | |
318 vertical-align: top; | 295 vertical-align: top; |
319 } | 296 } |
320 | 297 |
321 #can-do-more .feature-description | 298 #can-do-more .feature-description |
322 { | 299 { |
323 margin: 0px 0px 0 20px; | 300 -webkit-margin-start: 20px; |
301 -moz-margin-start: 20px; | |
324 width: 625px; | 302 width: 625px; |
325 max-width: 85%; | 303 max-width: 85%; |
326 } | 304 } |
327 | 305 |
328 #can-do-more .feature-description-textblock | 306 #can-do-more .feature-description-textblock |
329 { | 307 { |
330 width: 480px; | 308 width: 480px; |
331 max-width: 100%; | 309 max-width: 100%; |
332 margin: 0 40px 0 0; | 310 -webkit-margin-end: 40px; |
311 -moz-margin-end: 40px; | |
333 display: inline-block; | 312 display: inline-block; |
334 } | 313 } |
335 | 314 |
336 #can-do-more .feature-description-textblock > span | 315 #can-do-more .feature-description-textblock > span |
337 { | 316 { |
338 margin: 15px 0 0 0; | 317 margin-top: 15px; |
339 } | 318 } |
340 | 319 |
341 #can-do-more .feature-image | 320 #can-do-more .feature-image |
342 { | 321 { |
343 width: 59px; | 322 width: 59px; |
344 height: 59px; | 323 height: 59px; |
345 margin: 8px 0 10px 20px; | 324 margin: 10px 0px; |
325 -webkit-margin-start: 20px; | |
326 -moz-margin-start: 20px; | |
346 } | 327 } |
347 | 328 |
348 #share | 329 #share |
349 { | 330 { |
350 background-image: url(background-share.png); | 331 background-image: url(background-share.png); |
351 padding: 50px 100px 40px 100px; | |
352 max-width: 760px; | 332 max-width: 760px; |
353 text-align: center; | 333 text-align: center; |
354 font-family: CreteRound, Helvetica, Arial, sans-serif; | 334 font-family: CreteRound, Helvetica, Arial, sans-serif; |
355 } | 335 } |
356 | 336 |
357 #share h2 | 337 #share h2 |
358 { | 338 { |
359 color: #fff; | 339 margin-bottom: 30px; |
360 margin: 0 0 30px 0; | |
361 } | 340 } |
362 | 341 |
342 #share h2, | |
363 #share h2 > a | 343 #share h2 > a |
364 { | 344 { |
365 color: #fff; | 345 color: #fff; |
366 } | 346 } |
367 | 347 |
368 #share h2 > a:hover | 348 #share h2 > a:hover |
369 { | 349 { |
370 color: #2e5075; | 350 color: #2e5075; |
371 } | 351 } |
372 | 352 |
373 #share span | 353 #share span |
374 { | 354 { |
375 color: #bed1e6; | 355 color: #bed1e6; |
376 text-align: center; | 356 text-align: center; |
377 line-height: 34px; | 357 line-height: 34px; |
378 font-size: 22px; | 358 font-size: 22px; |
379 display: block; | 359 display: block; |
380 } | 360 } |
381 | 361 |
382 #donate:hover, .share-buttons a:hover | 362 #donate:hover, .share-buttons a:hover |
383 { | 363 { |
384 box-shadow: 0px 0px 0px 2px #8ca7c4; | 364 box-shadow: 0px 0px 0px 2px #8ca7c4; |
385 border-radius: 30px; | 365 border-radius: 30px; |
386 } | 366 } |
387 | 367 |
388 #donate-block span, #share-block span | 368 #donate-block span, #share-block span |
389 { | 369 { |
390 margin: 10px 20px 0px 20px; | 370 margin: 10px 20px; |
391 } | 371 } |
392 | 372 |
393 #donate-block, #share-block | 373 #donate-block, #share-block |
394 { | 374 { |
395 min-width: 250px; | 375 min-width: 250px; |
396 display: inline-block; | 376 display: inline-block; |
397 vertical-align: top; | 377 vertical-align: top; |
398 padding: 5px 0 5px 0; | 378 padding: 5px 0 5px 0; |
399 border: 1px dashed #37506d; | 379 border: 1px dashed #37506d; |
400 border-style: none dashed; | 380 border-style: none dashed; |
401 } | 381 } |
402 | 382 |
403 #donate-block | 383 #donate-block |
404 { | 384 { |
405 width: 50%; | 385 width: 50%; |
406 } | 386 } |
407 | 387 |
408 #share-block | 388 #share-block |
409 { | 389 { |
410 width: 49%; | 390 width: 49%; |
411 | 391 |
412 -webkit-border-start-style: none; | 392 -webkit-border-start-style: none; |
413 -moz-border-start-style: none; | 393 -moz-border-start-style: none; |
414 } | 394 } |
415 | 395 |
416 .share-buttons | 396 .share-buttons |
417 { | 397 { |
418 margin: 6px 0 0 0; | 398 margin-top: 6px; |
419 cursor: pointer; | 399 cursor: pointer; |
420 vertical-align: top; | 400 vertical-align: top; |
421 /* because inline block creates | 401 /* because inline block creates |
422 * space if not captured with | 402 * space if not captured with |
423 * font-size and line-height 0px | 403 * font-size and line-height 0px |
424 */ | 404 */ |
425 font-size: 0px; | 405 font-size: 0px; |
426 line-height: 0px; | 406 line-height: 0px; |
427 } | 407 } |
428 | 408 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
550 display: table-caption; | 530 display: table-caption; |
551 } | 531 } |
552 | 532 |
553 .toggle | 533 .toggle |
554 { | 534 { |
555 cursor: pointer; | 535 cursor: pointer; |
556 position: relative; | 536 position: relative; |
557 display: inline-block; | 537 display: inline-block; |
558 vertical-align: top; | 538 vertical-align: top; |
559 height: 22px; | 539 height: 22px; |
560 margin: 32px 0px 7px 0px; | 540 margin-top: 32px; |
541 margin-bottom: 7px; | |
561 border-radius: 9999px; | 542 border-radius: 9999px; |
562 border: 1px solid #999; | 543 border: 1px solid #999; |
563 overflow: hidden; | 544 overflow: hidden; |
564 -moz-user-select: none; | 545 -moz-user-select: none; |
565 -webkit-user-select: none; | 546 -webkit-user-select: none; |
566 user-select: none; | 547 user-select: none; |
567 } | 548 } |
568 | 549 |
569 .toggle:hover | 550 .toggle:hover |
570 { | 551 { |
(...skipping 11 matching lines...) Expand all Loading... | |
582 height: 100%; | 563 height: 100%; |
583 font-size: 11px; | 564 font-size: 11px; |
584 font-weight: 500; | 565 font-weight: 500; |
585 text-align: center; | 566 text-align: center; |
586 line-height: 23px; | 567 line-height: 23px; |
587 border-radius: 9999px; | 568 border-radius: 9999px; |
588 } | 569 } |
589 | 570 |
590 .toggle-on | 571 .toggle-on |
591 { | 572 { |
592 padding: 0px 30px 0px 10px; | 573 padding-left: 10px; |
593 color: rgba(255,255,255, 0.8); | 574 padding-right: 30px; |
575 color: rgba(255,255,255,0.8); | |
594 text-shadow: 1px 1px rgba(0,0,0,0.2); | 576 text-shadow: 1px 1px rgba(0,0,0,0.2); |
595 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); | 577 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); |
596 background: rgb(69,163,31); | 578 background: rgb(69,163,31); |
597 } | 579 } |
598 | 580 |
599 .toggle-off | 581 .toggle-off |
600 { | 582 { |
601 padding: 0px 10px 0px 30px; | 583 padding-left: 30px; |
584 padding-right: 10px; | |
602 color: rgba(0,0,0,0.6); | 585 color: rgba(0,0,0,0.6); |
603 text-shadow: 1px 1px rgba(255,255,255,0.2); | 586 text-shadow: 1px 1px rgba(255,255,255,0.2); |
604 background: #cfcfcf; | 587 background: #cfcfcf; |
605 background: -moz-linear-gradient(top, #cfcfcf 0%, #f5f5f5 100%); | 588 background: -moz-linear-gradient(top, #cfcfcf 0%, #f5f5f5 100%); |
606 background: -webkit-linear-gradient(top, #cfcfcf 0%,#f5f5f5 100%); | 589 background: -webkit-linear-gradient(top, #cfcfcf 0%,#f5f5f5 100%); |
607 background: linear-gradient(to bottom, #cfcfcf 0%,#f5f5f5 100%); | 590 background: linear-gradient(to bottom, #cfcfcf 0%,#f5f5f5 100%); |
608 } | 591 } |
609 | 592 |
610 .toggle-blob | 593 .toggle-blob |
611 { | 594 { |
(...skipping 18 matching lines...) Expand all Loading... | |
630 .off .toggle-blob | 613 .off .toggle-blob |
631 { | 614 { |
632 left: 0px; | 615 left: 0px; |
633 right: auto; | 616 right: auto; |
634 } | 617 } |
635 | 618 |
636 #donate | 619 #donate |
637 { | 620 { |
638 height: 21px; | 621 height: 21px; |
639 display: inline-block; | 622 display: inline-block; |
640 margin: 15px 0px 2px 0px; | 623 margin-top: 15px; |
624 margin-bottom: 2px; | |
641 font-size: 16px; | 625 font-size: 16px; |
642 color: #003366; | 626 color: #003366; |
643 cursor: pointer; | 627 cursor: pointer; |
644 font-weight: bold; | 628 font-weight: bold; |
645 padding: 5px 18px; | 629 padding: 5px 18px; |
646 text-decoration: none; | 630 text-decoration: none; |
647 border-radius: 20px; | 631 border-radius: 20px; |
648 border: 1px solid #FF9933; | 632 border: 1px solid #FF9933; |
649 overflow: hidden; | 633 overflow: hidden; |
650 font-family: arial, sans-serif; | 634 font-family: arial, sans-serif; |
651 background-image: url(donate.png); | 635 background-image: url(donate.png); |
652 background-repeat: repeat-x; | 636 background-repeat: repeat-x; |
653 } | 637 } |
654 | 638 |
655 footer | 639 footer |
656 { | 640 { |
657 margin: 0 auto 30px; | 641 margin: 0 auto 30px; |
658 max-width: 960px; | 642 max-width: 960px; |
659 text-align: center; | 643 text-align: center; |
660 } | 644 } |
645 | |
646 @media (max-width: 970px) | |
647 { | |
648 header | |
649 { | |
650 background-size: 100px 57px; | |
651 } | |
652 | |
653 #logo | |
654 { | |
655 width: 64px; | |
656 height: 64px; | |
657 } | |
658 | |
659 section | |
660 { | |
661 padding: 40px 20px; | |
662 } | |
663 | |
664 #general, | |
665 #general > div | |
666 { | |
667 display: block; | |
668 } | |
669 | |
670 #general > div | |
671 { | |
672 width: auto; | |
673 padding: 10px 0px; | |
674 border-width: 1px 0px 0px; | |
675 } | |
676 | |
677 #general > div, | |
678 #can-do-more > h2, | |
679 #can-do-more-content | |
680 { | |
681 margin-left: 20px; | |
682 margin-right: 20px; | |
683 } | |
684 | |
685 #can-do-more, | |
686 #can-do-more .feature h3 | |
687 { | |
688 text-align: center; | |
689 } | |
690 | |
691 #can-do-more .feature-description-textblock | |
692 { | |
693 text-align: start; | |
694 } | |
695 | |
696 .toggle | |
697 { | |
698 margin-top: 14px; | |
699 } | |
700 } | |
OLD | NEW |