| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <http://adblockplus.org/>, | 2 * This file is part of Adblock Plus <http://adblockplus.org/>, |
| 3 * Copyright (C) 2006-2013 Eyeo GmbH | 3 * Copyright (C) 2006-2013 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 .clearfix | |
|
Thomas Greiner
2013/07/15 17:37:01
Shouldn't be necessary anymore if you can get rid
| |
| 18 { | |
| 19 clear: both; | |
| 20 } | |
| 21 | |
| 22 * | |
|
Thomas Greiner
2013/07/15 17:37:01
Why do you need to apply that to every single elem
| |
| 23 { | |
| 24 margin: 0; | |
| 25 padding: 0; | |
| 26 } | |
| 17 | 27 |
| 18 body | 28 body |
| 19 { | 29 { |
| 20 font-family: Arial, Helvetica, sans-serif; | 30 font-family: Segoe UI, Arial, Helvetica, sans-serif; |
| 21 font-size: 14px; | 31 font-size: 14px; |
| 22 line-height: 140%; | 32 line-height: 140%; |
| 23 color: #000000; | 33 color: #7f776b; |
| 24 background-color: #f8f6f2; | 34 background-color: #f8f6f2; |
| 35 background-image: url(background-main.png); | |
| 36 } | |
| 37 | |
| 38 a, a:link, a:visited | |
| 39 { | |
| 40 color: #5a84b3; | |
| 41 text-decoration: underline; | |
| 42 font-style: italic; | |
| 43 } | |
| 44 | |
| 45 button, .arrow | |
|
Thomas Greiner
2013/07/15 17:37:01
.arrow doesn't exist anymore.
| |
| 46 { | |
| 47 cursor: pointer; | |
| 48 } | |
| 49 | |
| 50 li | |
| 51 { | |
| 52 list-style-type: none; | |
| 53 | |
| 54 } | |
| 55 | |
| 56 header | |
| 57 { | |
| 58 height: 200px; | |
| 25 background-image: url(background.png); | 59 background-image: url(background.png); |
| 60 background-repeat: repeat-x; | |
| 61 width: 100%; | |
| 62 padding: 40px 0 0 0; | |
| 63 } | |
| 64 | |
| 65 header h1 | |
| 66 { | |
| 67 font-size: 24px; | |
| 68 font-weight: normal; | |
| 26 margin: 0 auto; | 69 margin: 0 auto; |
| 27 padding: 0; | 70 display: block; |
| 28 max-width: 900px; | 71 color: #464746; |
| 29 } | 72 text-align: center; |
| 30 | 73 margin: 30px 0 0 0; |
| 31 a:link, a:visited | 74 |
| 32 { | 75 } |
| 33 color: #7d7d7d; | 76 |
| 34 } | 77 strong |
| 35 | 78 { |
| 36 button, .arrow | 79 font-weight: 600; |
| 37 { | 80 } |
| 38 cursor: pointer; | 81 |
| 39 } | 82 h2 { |
| 40 | 83 font-size: 30px; |
| 41 header, p | 84 font-weight: lighter; |
| 42 { | 85 color: #968d81; |
| 43 margin: 15px 0 5px; | 86 line-height: 30px; |
| 44 } | 87 |
| 45 | 88 } |
| 46 #content | 89 |
| 47 { | 90 h3 { |
| 48 padding: 0 90px; | 91 font-size: 24px; |
| 49 } | 92 color: #4d4d4d; |
| 50 | |
| 51 header | |
| 52 { | |
| 53 padding-left: 148px; | |
| 54 background-image: url(abp-icon-big.png); | |
| 55 background-position: 0% 50%; | |
| 56 background-repeat: no-repeat; | |
| 57 min-height: 128px; | |
| 58 vertical-align: middle; | |
| 59 line-height: 1; | |
| 60 | |
| 61 display: -webkit-box; | |
| 62 -webkit-box-orient: vertical; | |
| 63 -webkit-box-pack: center; | |
| 64 | |
| 65 display: -moz-box; | |
| 66 -moz-box-orient: vertical; | |
| 67 -moz-box-pack: center; | |
| 68 | |
| 69 display: -o-box; | |
| 70 -o-box-orient: vertical; | |
| 71 -o-box-pack: center; | |
| 72 | |
| 73 display: -ms-box; | |
| 74 -ms-box-orient: vertical; | |
| 75 -ms-box-pack: center; | |
| 76 | |
| 77 display: box; | |
| 78 box-orient: vertical; | |
| 79 box-pack: center; | |
| 80 } | |
| 81 | |
| 82 header h1 | |
| 83 { | |
| 84 font-size: 40px; | |
| 85 font-weight: normal; | 93 font-weight: normal; |
| 86 margin: 0; | 94 margin: 0 0 10px 0; |
| 87 } | 95 line-height: 30px; |
| 88 | 96 } |
| 89 #dataCorruptionWarning | 97 |
| 90 { | 98 h4 { |
| 91 font-size: 200%; | 99 font-size: 16px; |
| 92 line-height: 140%; | 100 color: #7f776b; |
| 93 margin: 20px; | 101 font-weight: normal; |
| 94 padding: 20px; | 102 text-align: center; |
| 95 border: 3px solid red; | 103 } |
| 96 border-radius: 10px; | 104 |
| 105 section | |
| 106 { | |
| 107 margin: 0 auto; | |
| 108 margin-bottom: 30px; | |
| 109 max-width: 760px; | |
| 110 background-image: url(background.png); | |
| 111 padding: 40px 100px; | |
| 112 } | |
| 113 | |
| 114 section > p | |
| 115 { | |
| 116 margin: 15px 0 0 0; | |
| 117 } | |
| 118 | |
| 119 | |
| 120 #logo | |
| 121 { | |
| 122 margin: 0 auto; | |
| 123 height: 100px; | |
| 124 width: 99px; | |
| 125 display: block; | |
| 126 } | |
| 127 | |
| 128 #can-do-more | |
| 129 { | |
| 130 max-width: 960px !important; | |
| 131 padding: 40px 0px 0px 0px !important; | |
| 132 } | |
| 133 | |
| 134 #can-do-more > h2 | |
| 135 { | |
| 136 margin: 0 100px; | |
| 137 } | |
| 138 | |
| 139 | |
| 140 #can-do-more > ul | |
| 141 { | |
| 142 max-width: 760px; | |
| 143 height: 140px; | |
| 144 margin: 40px 100px 0 100px; | |
| 145 } | |
| 146 | |
| 147 #can-do-more > ul > li | |
| 148 { | |
| 149 width: 250px; | |
| 150 height: 115px; | |
| 151 float: left; | |
| 152 border-right: 1px dashed #c7c6c2; | |
| 153 padding: 20px 0 0 0; | |
| 154 } | |
| 155 | |
| 156 #can-do-more > ul > h3 | |
| 157 { | |
| 158 margin: 20px 0 0 0; | |
| 159 } | |
| 160 | |
| 161 #can-do-more > ul > li > img | |
| 162 { | |
| 163 width: 59px; | |
| 164 height: 59px; | |
| 165 display: block; | |
| 166 margin: 0 auto; | |
| 167 } | |
| 168 | |
| 169 #can-do-more > ul > li > h4 | |
| 170 { | |
| 171 margin: 10px 0 0 0; | |
| 172 } | |
| 173 | |
| 174 #can-do-more #feature-first | |
| 175 { | |
| 176 border-left: 1px dashed #c7c6c2; | |
| 177 } | |
| 178 | |
| 179 #can-do-more-expanded | |
| 180 { | |
| 181 margin: 40px 100px 0 100px; | |
| 182 display: none; | |
| 97 } | 183 } |
| 98 | 184 |
| 99 #features | 185 #features |
| 100 { | 186 { |
| 101 display: block; | 187 display: block; |
| 102 border-spacing: 10px; | 188 border-spacing: 10px; |
| 103 margin: 0px; | 189 margin: 0px; |
| 104 padding: 0px; | 190 padding: 0px; |
| 105 padding-bottom: 120px; | |
| 106 white-space: nowrap; | |
| 107 } | |
| 108 | |
| 109 #features-title | |
| 110 { | |
| 111 font-size: 22px; | |
| 112 color: #cc0000; | |
| 113 margin: 30px 0px 20px; | |
| 114 } | |
| 115 | |
| 116 #features-title::after | |
| 117 { | |
| 118 content: ":"; | |
| 119 } | 191 } |
| 120 | 192 |
| 121 .feature:not([hidden]) | 193 .feature:not([hidden]) |
| 122 { | 194 { |
| 123 display: block; | 195 display: block; |
| 124 position: relative; | |
| 125 list-style-type: none; | 196 list-style-type: none; |
| 197 padding: 30px 0; | |
| 126 padding-bottom: 20px; | 198 padding-bottom: 20px; |
| 199 border-top: 1px dashed #c0bebb; | |
| 127 } | 200 } |
| 128 | 201 |
| 129 .feature-image, .feature-description | 202 .feature-image, .feature-description |
| 130 { | 203 { |
| 131 display: inline-block; | 204 display: inline-block; |
| 132 *display: inline; /* IE6 inline-block fix */ | 205 *display: inline; /* IE6 inline-block fix */ |
| 133 *zoom: 1; | 206 *zoom: 1; |
| 134 vertical-align: top; | 207 vertical-align: top; |
| 135 } | 208 } |
| 136 | 209 |
| 137 .feature-description | 210 .feature-description |
| 138 { | 211 { |
| 139 width: 550px; | 212 margin: 0px 0px 0 20px; |
| 140 margin: 0px 10px; | 213 max-width: 624px; |
| 141 } | 214 } |
| 142 | 215 |
| 143 .feature-title | 216 .feature-description-textblock |
| 144 { | 217 { |
| 145 color: black; | 218 max-width: 478px; |
| 146 font-weight: bold; | 219 margin: 0 40px 0 0; |
| 147 font-size: 120%; | 220 float: left; |
|
Thomas Greiner
2013/07/15 17:37:01
Please avoid floats if possible.
| |
| 148 } | 221 } |
| 149 | 222 |
| 150 .feature-title::after | 223 .feature-description-textblock > span |
| 151 { | 224 { |
| 152 content: ":"; | 225 margin: 15px 0 0 0; |
| 153 } | |
| 154 | |
| 155 .feature-text | |
| 156 { | |
| 157 margin: 7px 0px; | |
| 158 white-space: normal; | |
| 159 } | 226 } |
| 160 | 227 |
| 161 .feature-image | 228 .feature-image |
| 162 { | 229 { |
| 163 width: 57px; | 230 width: 59px; |
| 164 height: 57px; | 231 height: 59px; |
| 165 } | 232 margin: 8px 0 10px 20px; |
| 166 | |
| 167 #feature-malware .feature-image | |
| 168 { | |
| 169 background-image: url(features/malware.png); | |
| 170 } | |
| 171 | |
| 172 #feature-social .feature-image | |
| 173 { | |
| 174 background-image: url(features/social.png); | |
| 175 } | |
| 176 | |
| 177 #feature-tracking .feature-image | |
| 178 { | |
| 179 background-image: url(features/tracking.png); | |
| 180 } | 233 } |
| 181 | 234 |
| 182 .feature button | 235 .feature button |
| 183 { | 236 { |
| 184 cursor: pointer; | 237 cursor: pointer; |
| 185 position: relative; | 238 position: relative; |
| 186 top: 0px; | 239 top: 0px; |
| 187 padding: 5px 10px; | 240 padding: 5px 10px; |
| 188 *padding: 2px 3px; | 241 *padding: 2px 3px; |
| 189 font-weight: none; | 242 font-weight: none; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 259 background: -ms-linear-gradient(bottom, #c5622b, #9d4f22); | 312 background: -ms-linear-gradient(bottom, #c5622b, #9d4f22); |
| 260 background: linear-gradient(bottom, #c5622b, #9d4f22); | 313 background: linear-gradient(bottom, #c5622b, #9d4f22); |
| 261 -webkit-transition: none; | 314 -webkit-transition: none; |
| 262 -moz-transition: none; | 315 -moz-transition: none; |
| 263 -o-transition: none; | 316 -o-transition: none; |
| 264 -ms-transition: none; | 317 -ms-transition: none; |
| 265 transition: none; | 318 transition: none; |
| 266 *zoom: 1; | 319 *zoom: 1; |
| 267 } | 320 } |
| 268 | 321 |
| 269 #shade | 322 #activate-features |
| 270 { | 323 { |
| 271 -webkit-transition: opacity 0.2s ease; | 324 width: 100%; |
| 272 -moz-transition: opacity 0.2s ease; | 325 height: 36px; |
|
Thomas Greiner
2013/07/15 17:37:01
You should be able to avoid using fixed numbers fo
| |
| 273 -o-transition: opacity 0.2s ease; | 326 background-image: url("background-candomore.png"); |
| 274 -ms-transition: opacity 0.2s ease; | 327 margin: 30px 0 0 0; |
| 275 transition: opacity 0.2s ease; | 328 padding: 14px 0 0 0; |
| 276 opacity: 0.0; | 329 cursor: pointer; |
| 277 position: fixed; | 330 color: #fff; |
| 278 margin-left: 10px; | 331 font-size: 24px; |
| 279 bottom: 70px; | 332 font-style: italic; |
| 280 z-index: 100; | 333 text-decoration: underline; |
| 281 } | |
| 282 | |
| 283 .arrow | |
| 284 { | |
| 285 width: 0; | |
| 286 height: 0; | |
| 287 border: 30px solid transparent; | |
| 288 border-top-color: #000; | |
| 289 } | |
| 290 | |
| 291 footer | |
| 292 { | |
| 293 position: fixed; | |
| 294 bottom: 0; | |
| 295 left: 0; | |
| 296 right: 0; | |
| 297 padding: 70px 0 0; | |
| 298 text-align: center; | 334 text-align: center; |
| 299 background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 2 55, 1) 50px); | 335 } |
| 300 background: -moz-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px); | 336 |
| 301 background: -o-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1 ) 50px); | 337 #share |
| 302 background: -ms-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px); | 338 { |
| 303 background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 5 0px); | 339 background-image: url(background-share.png); |
| 304 } | 340 padding: 50px 140px 40px 140px !important; |
| 305 | 341 max-width: 680px; |
| 306 footer h1 | 342 } |
| 307 { | 343 |
| 308 margin: 0; | 344 #share > #donate-block |
|
Thomas Greiner
2013/07/15 17:37:01
#donate-block should be unique even without |#shar
| |
| 309 font-size: 18px; | 345 { |
| 310 color: #666; | 346 margin: 0 0 0 0; |
| 311 position: fixed; | 347 float: left; |
| 312 bottom: 70px; | 348 } |
| 313 left: 0; | 349 |
| 314 right: 0; | 350 #share > #share-block |
|
Thomas Greiner
2013/07/15 17:37:01
#share-block should be unique even without |#share
| |
| 315 -webkit-transition: opacity .3s ease; | 351 { |
| 316 -moz-transition: opacity .3s ease; | 352 margin: 0 0 0 0; |
|
Thomas Greiner
2013/07/15 17:37:01
|margin: 0;| does the same.
| |
| 317 -o-transition: opacity .3s ease; | 353 float: left; |
| 318 -ms-transition: opacity .3s ease; | 354 max-width: 480px; |
| 319 transition: opacity .3s ease; | 355 } |
| 320 opacity: 1; | 356 |
| 321 } | 357 #share h2 |
| 358 { | |
| 359 color: #fff; | |
| 360 margin: 10px 8px 10px 0; | |
| 361 text-align: left; | |
| 362 display: block; | |
| 363 float: left; | |
| 364 vertical-align: middle; | |
| 365 line-height: 38px; | |
| 366 } | |
| 367 | |
| 368 #share-buttons > a > img | |
| 369 { | |
| 370 width: 56px; | |
| 371 height: 56px; | |
| 372 } | |
| 373 | |
| 374 #share-buttons > a | |
| 375 { | |
| 376 margin: 0 4px 0 0; | |
| 377 text-decoration: none; | |
| 378 } | |
| 379 | |
| 380 #share-buttons | |
| 381 { | |
| 382 width: auto; | |
| 383 margin: 3px 0 0 0; | |
| 384 min-height: 59px; | |
| 385 float: left; | |
|
Thomas Greiner
2013/07/15 17:37:01
Please try to avoid floats.
| |
| 386 cursor: pointer; | |
| 387 } | |
| 388 | |
| 389 #dataCorruptionWarning | |
| 390 { | |
| 391 font-size: 200%; | |
| 392 line-height: 140%; | |
| 393 margin: 20px; | |
| 394 padding: 20px; | |
| 395 border: 3px solid red; | |
| 396 border-radius: 10px; | |
| 397 } | |
| 398 | |
| 399 /*social */ | |
|
Thomas Greiner
2013/07/15 17:37:01
Code Style:
/* social */
May even be unnecessary.
| |
| 322 | 400 |
| 323 #social ul | 401 #social ul |
| 324 { | 402 { |
| 325 list-style: none; | 403 list-style: none; |
| 326 display: inline-block; | 404 display: inline-block; |
| 327 padding: 0; | 405 padding: 0; |
| 328 margin: 0; | 406 margin: 0; |
| 329 } | 407 } |
| 330 | 408 |
| 331 #social:hover h1 | 409 #social:hover h1 |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 356 bottom: 0px; | 434 bottom: 0px; |
| 357 } | 435 } |
| 358 | 436 |
| 359 .share-button | 437 .share-button |
| 360 { | 438 { |
| 361 display: inline-block; | 439 display: inline-block; |
| 362 width: 82px; | 440 width: 82px; |
| 363 height: 82px; | 441 height: 82px; |
| 364 } | 442 } |
| 365 | 443 |
| 366 #share-facebook | |
| 367 { | |
| 368 background-image: url(social/facebook.png); | |
| 369 } | |
| 370 | |
| 371 #share-twitter | |
| 372 { | |
| 373 background-image: url(social/twitter.png); | |
| 374 } | |
| 375 | |
| 376 #share-gplus | |
| 377 { | |
| 378 background-image: url(social/gplus.png); | |
| 379 } | |
| 380 | |
| 381 #glass-pane, #share-popup | 444 #glass-pane, #share-popup |
| 382 { | 445 { |
| 383 visibility: hidden; | 446 visibility: hidden; |
| 384 opacity: 0; | 447 opacity: 0; |
| 385 -webkit-transition-property: opacity, visibility; | 448 -webkit-transition-property: opacity, visibility; |
| 386 -moz-transition-property: opacity, visibility; | 449 -moz-transition-property: opacity, visibility; |
| 387 -o-transition-property: opacity, visibility; | 450 -o-transition-property: opacity, visibility; |
| 388 -ms-transition-property: opacity, visibility; | 451 -ms-transition-property: opacity, visibility; |
| 389 transition-property: opacity, visibility; | 452 transition-property: opacity, visibility; |
| 390 } | 453 } |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 427 | 490 |
| 428 #share-popup.visible | 491 #share-popup.visible |
| 429 { | 492 { |
| 430 -webkit-transition-duration: 0.15s; | 493 -webkit-transition-duration: 0.15s; |
| 431 -moz-transition-duration: 0.15s; | 494 -moz-transition-duration: 0.15s; |
| 432 -o-transition-duration: 0.15s; | 495 -o-transition-duration: 0.15s; |
| 433 -ms-transition-duration: 0.15s; | 496 -ms-transition-duration: 0.15s; |
| 434 transition-duration: 0.15s; | 497 transition-duration: 0.15s; |
| 435 } | 498 } |
| 436 | 499 |
| 500 | |
| 437 .toggle | 501 .toggle |
| 438 { | 502 { |
| 439 cursor: pointer; | 503 cursor: pointer; |
| 440 position: absolute; | 504 position: relative; |
| 441 display: inline-block; | 505 display: inline-block; |
| 442 top: 50%; | 506 top: 50%; |
| 443 height: 22px; | 507 height: 22px; |
| 444 margin: -21px 0px 7px 0px; | 508 margin: 40px 0px 7px 0px; |
| 445 border-radius: 9999px; | 509 border-radius: 9999px; |
| 446 box-shadow: 0 0 0 1px #999; | 510 /*box-shadow: 0 0 0 1px #999;*/ |
|
Thomas Greiner
2013/07/15 17:37:01
Remove this comment.
| |
| 511 border: 1px solid #999; | |
| 447 overflow: hidden; | 512 overflow: hidden; |
| 448 -moz-user-select: none; | 513 -moz-user-select: none; |
| 449 -webkit-user-select: none; | 514 -webkit-user-select: none; |
| 450 user-select: none; | 515 user-select: none; |
| 516 float: left; | |
|
Thomas Greiner
2013/07/15 17:37:01
Please avoid using floats if possible.
| |
| 451 } | 517 } |
| 452 | 518 |
| 453 .toggle:active | 519 .toggle:active |
| 454 { | 520 { |
| 455 cursor: wait; | 521 cursor: wait; |
| 456 } | 522 } |
| 457 | 523 |
| 458 .toggle-on, .toggle-off | 524 .toggle-on, .toggle-off |
| 459 { | 525 { |
| 460 min-width: 42px; | 526 min-width: 42px; |
| 461 height: 100%; | 527 height: 100%; |
| 462 font-size: 11px; | 528 font-size: 11px; |
| 463 font-weight: 500; | 529 font-weight: 500; |
| 464 text-align: center; | 530 text-align: center; |
| 465 line-height: 25px; | 531 line-height: 23px; |
| 466 } | 532 } |
| 467 | 533 |
| 468 .toggle-on | 534 .toggle-on |
| 469 { | 535 { |
| 470 padding: 0px 30px 0px 10px; | 536 padding: 0px 30px 0px 10px; |
| 471 color: rgba(255,255,255, 0.8); | 537 color: rgba(255,255,255, 0.8); |
| 472 text-shadow: 1px 1px rgba(0,0,0,0.2); | 538 text-shadow: 1px 1px rgba(0,0,0,0.2); |
| 473 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); | 539 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); |
| 474 background: rgb(69,163,31); | 540 background: rgb(69,163,31); |
| 475 } | 541 } |
| 476 | 542 |
| 477 .toggle-off | 543 .toggle-off |
| 478 { | 544 { |
| 479 padding: 0px 10px 0px 30px; | 545 padding: 0px 10px 0px 30px; |
| 480 color: rgba(0,0,0,0.6); | 546 color: rgba(0,0,0,0.6); |
| 481 text-shadow: 1px 1px rgba(255,255,255,0.2); | 547 text-shadow: 1px 1px rgba(255,255,255,0.2); |
| 482 background: #cfcfcf; | 548 background: #cfcfcf; |
| 483 background: -moz-linear-gradient(top, #cfcfcf 0%, #f5f5f5 100%); | 549 background: -moz-linear-gradient(top, #cfcfcf 0%, #f5f5f5 100%); |
| 484 background: -webkit-linear-gradient(top, #cfcfcf 0%,#f5f5f5 100%); | 550 background: -webkit-linear-gradient(top, #cfcfcf 0%,#f5f5f5 100%); |
| 485 background: linear-gradient(to bottom, #cfcfcf 0%,#f5f5f5 100%); | 551 background: linear-gradient(to bottom, #cfcfcf 0%,#f5f5f5 100%); |
| 486 } | 552 } |
| 487 | 553 |
| 554 | |
| 488 .toggle-blob | 555 .toggle-blob |
| 489 { | 556 { |
| 490 position: absolute; | 557 position: absolute; |
| 491 top: 0px; | 558 top: 0px; |
| 492 right: 0px; | 559 right: 0px; |
| 493 height: 100%; | 560 height: 100%; |
| 494 width: 22px; | 561 width: 22px; |
| 495 border-radius: 50px; | 562 border-radius: 50px; |
| 496 box-shadow: 1px 1px 2px #888; | 563 box-shadow: 1px 1px 2px #888; |
| 497 background: #cfcfcf; | 564 background: #cfcfcf; |
| 498 background: -moz-linear-gradient(bottom, #cfcfcf 0%, #f5f5f5 100%); | 565 background: -moz-linear-gradient(bottom, #cfcfcf 0%, #f5f5f5 100%); |
| 499 background: -webkit-linear-gradient(bottom, #cfcfcf 0%,#f5f5f5 100%); | 566 background: -webkit-linear-gradient(bottom, #cfcfcf 0%,#f5f5f5 100%); |
| 500 background: linear-gradient(to top, #cfcfcf 0%,#f5f5f5 100%); | 567 background: linear-gradient(to top, #cfcfcf 0%,#f5f5f5 100%); |
| 501 } | 568 } |
| 502 | 569 |
| 503 .off .toggle-on | 570 .off .toggle-on |
| 504 { | 571 { |
| 505 margin-top: -22px; | 572 margin-top: -22px; |
| 506 } | 573 } |
| 507 | 574 |
| 508 .off .toggle-blob | 575 .off .toggle-blob |
| 509 { | 576 { |
| 510 left: 0px; | 577 left: 0px; |
| 511 right: auto; | 578 right: auto; |
| 512 } | 579 } |
| 513 | 580 |
| 581 #donate | |
| 582 { | |
| 583 height: 24px; | |
| 584 display: block; | |
| 585 float: left; | |
|
Thomas Greiner
2013/07/15 17:37:01
Please avoid floats if possible.
| |
| 586 margin: 15px 12px 10px 4px; | |
| 587 font-size: 16px; | |
| 588 line-height: 24px; | |
| 589 color: #003366 !important; | |
| 590 cursor: pointer; | |
| 591 font-weight: bold; | |
| 592 padding: 3px 16px; | |
| 593 text-decoration: none; | |
| 594 border-radius: 20px; | |
| 595 border: 1px solid #FF9933; | |
| 596 overflow: hidden; | |
| 597 font-family: arial, sans-serif; | |
| 598 background-image: url(donate.png); | |
| 599 background-repeat: repeat-x; | |
| 600 } | |
| 601 | |
| 602 | |
| 514 /* Adjust font size on smaller screens */ | 603 /* Adjust font size on smaller screens */ |
|
Thomas Greiner
2013/07/15 17:37:01
Why do you keep this portion? You're not using it
| |
| 515 @media (max-height: 800px) | 604 @media (max-height: 800px) |
| 516 { | 605 { |
| 517 body | 606 body |
| 518 { | 607 { |
| 519 font-size: 19px; | 608 /*font-size: 19px;*/ |
| 520 } | 609 } |
| 521 } | 610 } |
| 522 | 611 |
| 523 @media (max-height: 750px) | 612 @media (max-height: 750px) |
| 524 { | 613 { |
| 525 body | 614 body |
| 526 { | 615 { |
| 527 font-size: 17px; | 616 /*font-size: 17px;*/ |
| 528 } | 617 } |
| 529 } | 618 } |
| 530 | 619 |
| 531 @media (max-height: 700px) | 620 @media screen and (max-width: 700px) |
| 532 { | 621 { |
| 533 body | 622 body |
| 534 { | 623 { |
| 535 font-size: 16px; | 624 |
| 536 } | 625 } |
| 537 } | 626 } |
| OLD | NEW |