 Issue 29565721:
  No Issue - Implemented first run page 
  Base URL: https://hg.adblockplus.org/adblockplusui/
    
  
    Issue 29565721:
  No Issue - Implemented first run page 
  Base URL: https://hg.adblockplus.org/adblockplusui/| Left: | ||
| Right: | 
| OLD | NEW | 
|---|---|
| 1 /* | 1 /* | 
| 
Thomas Greiner
2018/02/16 16:19:15
It is difficult to distinguish styles that are com
 | |
| 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-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 */ | 
| 
Thomas Greiner
2018/02/16 16:19:15
Detail: What happened to the whitespaces here?
 | |
| 17 | 17 | 
| 18 @font-face { | 18 @font-face | 
| 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: 400; | 
| 23 font-stretch: normal; | |
| 22 src: local ("Ø"), | 24 src: local ("Ø"), | 
| 23 /*local ("Ø") forces using no local font called CreteRound*/ | 25 url(fonts/SourceSansPro-Regular.woff) format("woff"); | 
| 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: bold; | 
| 30 src: url(fonts/CreteRound-Italic.otf); | 32 font-weight: 700; | 
| 33 font-stretch: normal; | |
| 31 src: local ("Ø"), | 34 src: local ("Ø"), | 
| 32 /*local ("Ø") forces using no local font called CreteRound*/ | 35 url(fonts/SourceSansPro-bold.woff) format("woff"); | 
| 33 url(fonts/CreteRound-Italic.otf) format("otf"); | 36 } | 
| 37 | |
| 38 html | |
| 39 { | |
| 40 font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; | |
| 34 } | 41 } | 
| 35 | 42 | 
| 36 body | 43 body | 
| 37 { | 44 { | 
| 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; | 45 margin: 0; | 
| 45 padding: 0; | 46 padding: 0; | 
| 46 } | 47 } | 
| 47 | 48 | 
| 48 a, a:link, a:visited | 49 .ta-centre | 
| 49 { | 50 { | 
| 50 color: #5a84b3; | 51 text-align: center; | 
| 52 } | |
| 53 | |
| 54 #content { | |
| 55 margin-bottom: 3em; | |
| 56 } | |
| 57 | |
| 58 @media (max-width: 992px) | |
| 59 { | |
| 60 #content .one-third | |
| 61 { | |
| 62 padding: 3em 2em; | |
| 63 border-bottom: 1px solid #d3d3d3; | |
| 64 } | |
| 65 #content .one-third:last-child { | |
| 66 border-bottom: none; | |
| 67 } | |
| 68 } | |
| 69 | |
| 70 /****************************************************************************** | |
| 71 * .content | |
| 72 *****************************************************************************/ | |
| 
Thomas Greiner
2018/02/16 16:19:17
Detail: Missing whitespace at beginning of line ca
 | |
| 73 | |
| 74 .content h1, | |
| 75 .content h2, | |
| 76 .content h3, | |
| 77 .content h4, | |
| 78 .content h5 | |
| 79 { | |
| 80 font-weight: bold; | |
| 
Thomas Greiner
2018/02/16 16:19:19
We consistently use number values for the font wei
 | |
| 81 margin: 32px 0px; | |
| 
Thomas Greiner
2018/02/16 16:19:19
Coding style: "Omit unit specification after “0” v
 | |
| 82 margin: 2rem 0rem; | |
| 83 } | |
| 84 | |
| 85 .content h1 { font-size: 1.8em; } | |
| 86 .content h2 { font-size: 1.4em; } | |
| 87 .content h3 { font-size: 1.3em; } | |
| 88 .content h4 { font-size: 1.2em; } | |
| 89 .content h5 { font-size: 1.1em; } | |
| 90 | |
| 91 @media(min-width: 768px) | |
| 92 { | |
| 93 .content h1 { font-size: 2.4em; } | |
| 94 .content h2 { font-size: 1.6em; } | |
| 95 } | |
| 96 | |
| 97 .content a, | |
| 98 .content a:visited | |
| 99 { | |
| 100 color: #C70D2C; | |
| 101 } | |
| 102 | |
| 103 /******************************************************************************* | |
| 104 * #navbar | |
| 105 ******************************************************************************/ | |
| 106 | |
| 107 #navbar | |
| 108 { | |
| 109 min-height: 4em; | |
| 110 background-color: #c70d2c; | |
| 111 } | |
| 112 | |
| 113 @media(max-width: 991px) | |
| 114 { | |
| 115 #navbar | |
| 116 { | |
| 117 overflow: auto; | |
| 118 } | |
| 119 } | |
| 120 | |
| 121 #navbar li | |
| 122 { | |
| 123 list-style-type: none; | |
| 124 } | |
| 125 | |
| 126 #navbar .container | |
| 127 { | |
| 128 padding-left: 0; | |
| 129 padding-right: 0; | |
| 130 } | |
| 131 | |
| 132 /* #navbar #navbar-logo | |
| 133 ******************************************************************************/ | |
| 134 | |
| 135 #navbar-logo | |
| 136 { | |
| 137 /* padding is visible in hover background-color change */ | |
| 138 padding: 0em 1em; | |
| 139 color: #fff; | |
| 140 } | |
| 141 | |
| 142 #navbar-logo:hover, | |
| 143 #navbar-logo:active, | |
| 144 #navbar-logo:focus | |
| 145 { | |
| 146 background-color: #AE0013; | |
| 147 text-decoration: none; | |
| 148 } | |
| 149 | |
| 150 #navbar-logo, | |
| 151 #navbar-logo > * | |
| 152 { | |
| 153 float: left; | |
| 154 } | |
| 155 | |
| 156 [dir="rtl"] #navbar-logo, | |
| 157 [dir="rtl"] #navbar-logo > * | |
| 158 { | |
| 159 float: right; | |
| 160 } | |
| 161 | |
| 162 #navbar-logo img | |
| 163 { | |
| 164 height: 4em; | |
| 165 padding: 0.5em 0em; | |
| 166 margin: 0em 1em 0em 0em; | |
| 167 } | |
| 168 | |
| 169 [dir="rtl"] #navbar-logo > img | |
| 170 { | |
| 171 margin: 0em 0em 0em 1em; | |
| 172 } | |
| 173 | |
| 174 #navbar-logo > span | |
| 175 { | |
| 176 /* full-height: 2.91 * 1.375 = ~4em */ | |
| 177 line-height: 2.91em; | |
| 178 font-size: 1.375em; | |
| 179 } | |
| 180 | |
| 181 /* #navbar #navbar-menu-toggle | |
| 182 ******************************************************************************/ | |
| 183 | |
| 184 #navbar-menu-toggle | |
| 185 { | |
| 186 float: right; | |
| 187 padding: 1em; | |
| 188 } | |
| 189 | |
| 190 [dir="rtl"] #navbar-menu-toggle | |
| 191 { | |
| 192 float: left; | |
| 193 } | |
| 194 | |
| 195 /* show on mobile */ | |
| 196 #navbar-menu-toggle, | |
| 197 #navbar-menu-toggle > img | |
| 198 { | |
| 199 display: block; | |
| 200 } | |
| 201 | |
| 202 /* hide on desktop */ | |
| 203 @media(min-width: 992px) | |
| 204 { | |
| 205 #navbar-menu-toggle | |
| 206 { | |
| 207 display: none; | |
| 208 } | |
| 209 } | |
| 210 | |
| 211 #navbar-menu-toggle > img | |
| 212 { | |
| 213 /* plus 2em padding = 4em */ | |
| 214 height: 2em; | |
| 215 } | |
| 216 | |
| 217 #navbar-menu-toggle:hover, | |
| 218 #navbar-menu-toggle:active, | |
| 219 #navbar-menu-toggle:focus | |
| 220 { | |
| 221 background-color: #AE0013; | |
| 222 } | |
| 223 | |
| 224 /* #navbar #navbar-menu | |
| 225 ******************************************************************************/ | |
| 226 | |
| 227 #navbar-menu a | |
| 228 { | |
| 229 display: block; | |
| 230 color: #fff; | |
| 231 text-decoration: none; | |
| 232 } | |
| 233 | |
| 234 /* #navbar #navbar-menu #navbar-locale-menu | |
| 235 ******************************************************************************/ | |
| 236 | |
| 237 /* caret */ | |
| 238 #navbar-locale-selected:after | |
| 239 { | |
| 240 display: inline-block; | |
| 241 width: 0; | |
| 242 height: 0; | |
| 243 margin: 0em 0em 0em 0.255em; | |
| 244 vertical-align: .255em; | |
| 
Thomas Greiner
2018/02/16 16:19:16
Coding style: "Don't omit the optional leading 0 f
 | |
| 245 content: ""; | |
| 246 border-top: .3em solid; | |
| 247 border-right: .3em solid transparent; | |
| 248 border-left: .3em solid transparent; | |
| 249 } | |
| 250 | |
| 251 [dir="rtl"] #navbar-locale-selected:after | |
| 252 { | |
| 253 margin: 0em 0.255em 0em 0em; | |
| 254 } | |
| 255 | |
| 256 #navbar-locale-menu | |
| 257 { | |
| 258 display: none; | |
| 259 } | |
| 260 | |
| 261 #navbar-locale-menu.visible | |
| 262 { | |
| 263 display: block; | |
| 264 } | |
| 265 | |
| 266 #navbar-locale-menu > li > a | |
| 267 { | |
| 268 padding: 0.75em 1em; | |
| 269 } | |
| 270 | |
| 271 #navbar-locale-menu > li > a:hover, | |
| 272 #navbar-locale-menu > li > a:active, | |
| 273 #navbar-locale-menu > li > a:focus | |
| 274 { | |
| 275 background-color: #434343; | |
| 276 } | |
| 277 | |
| 278 /* #navbar #navbar-menu (desktop) | |
| 279 ******************************************************************************/ | |
| 280 | |
| 281 @media(min-width: 992px) | |
| 282 { | |
| 283 #navbar-menu | |
| 284 { | |
| 285 float: right; | |
| 286 } | |
| 287 | |
| 288 [dir="rtl"] #navbar-menu | |
| 289 { | |
| 290 float: left; | |
| 291 } | |
| 292 | |
| 293 #navbar-menu > li, | |
| 294 #navbar-menu > li > a | |
| 295 { | |
| 296 display: inline-block; | |
| 297 } | |
| 298 | |
| 299 #navbar-menu > li > a | |
| 300 { | |
| 301 padding: 0em 1em; | |
| 302 line-height: 4em; | |
| 303 } | |
| 304 | |
| 305 #navbar-menu > li > a:hover, | |
| 306 #navbar-menu > li > a:active, | |
| 307 #navbar-menu > li > a:focus | |
| 308 { | |
| 309 background-color: #AE0013; | |
| 310 } | |
| 311 | |
| 312 /* #navbar #navbar-menu #navbar-locale-menu | |
| 
Thomas Greiner
2018/02/16 16:19:20
You don't include this section of the navbar so le
 | |
| 313 ****************************************************************************/ | |
| 314 | |
| 315 #navbar-locale-menubar | |
| 316 { | |
| 317 position: relative; | |
| 318 } | |
| 319 | |
| 320 #navbar-locale-menu | |
| 321 { | |
| 322 position: absolute; | |
| 323 min-width: 16em; | |
| 324 max-height: 20em; | |
| 325 max-height: 50vh; | |
| 326 top: 100%; | |
| 327 right: 0px; | |
| 328 overflow: auto; | |
| 329 z-index: 9001; | |
| 330 background-color: #292929; | |
| 331 } | |
| 332 | |
| 333 [dir="rtl"] #navbar-locale-menu | |
| 334 { | |
| 335 right: auto; | |
| 336 left: 0px; | |
| 337 } | |
| 338 } | |
| 339 | |
| 340 /* #navbar #navbar-menu (mobile) | |
| 341 ******************************************************************************/ | |
| 342 | |
| 343 @media(max-width: 991px) | |
| 344 { | |
| 345 #navbar-menu | |
| 346 { | |
| 347 display: none; | |
| 348 float: left; | |
| 
Thomas Greiner
2018/02/16 16:19:18
I don't see a rule for reversing this for right-to
 | |
| 349 clear: both; | |
| 350 width: 100%; | |
| 351 background-color: #292929; | |
| 352 } | |
| 353 | |
| 354 #navbar-menu.visible | |
| 355 { | |
| 356 display: block; | |
| 357 } | |
| 358 | |
| 359 #navbar-menu li a | |
| 360 { | |
| 361 padding: 0.75em 1em; | |
| 362 } | |
| 363 | |
| 364 #navbar-menu li a:hover, | |
| 365 #navbar-menu li a:active, | |
| 366 #navbar-menu li a:focus | |
| 367 { | |
| 368 background-color: #434343; | |
| 369 } | |
| 370 } | |
| 371 | |
| 372 /****************************************************************************** | |
| 373 * Main Page Content | |
| 374 *****************************************************************************/ | |
| 375 | |
| 376 #installation-status-header | |
| 377 { | |
| 378 text-align: center; | |
| 379 background: #f9f9f9; | |
| 
Thomas Greiner
2018/02/16 16:19:20
Detail: Do you actually want to override other bac
 | |
| 380 padding: 4em 0; | |
| 381 margin-bottom: 4em; | |
| 382 } | |
| 383 | |
| 384 #installation-status-header > h1 { | |
| 385 text-transform: uppercase; | |
| 386 } | |
| 387 | |
| 388 .section-header > h2 | |
| 389 { | |
| 390 margin: 1em 0 0; | |
| 391 } | |
| 392 | |
| 393 .button-primary | |
| 394 { | |
| 395 display: inline-block; | |
| 396 text-decoration: none; | |
| 397 text-transform: uppercase; | |
| 398 color: #fff !important; | |
| 
Thomas Greiner
2018/02/16 16:19:17
What's the reason for using `!important` here?
 | |
| 399 text-align: center; | |
| 400 width: 100%; | |
| 401 border-radius: 6px; | |
| 402 padding: 1em 0; | |
| 403 background: #C70D2C; | |
| 404 } | |
| 405 | |
| 406 .store-buttons | |
| 407 { | |
| 408 width: 100%; | |
| 409 display: flex; | |
| 410 align-items: center; | |
| 411 justify-content: center; | |
| 412 } | |
| 413 | |
| 414 .store-button | |
| 415 { | |
| 416 display: block; | |
| 417 width: 180px; | |
| 418 height: 58px; | |
| 419 border-radius: 6px; | |
| 420 background: #000; | |
| 421 } | |
| 422 | |
| 423 .store-button > img | |
| 424 { | |
| 425 height: 54px; | |
| 426 } | |
| 427 | |
| 428 .applestore-button | |
| 429 { | |
| 430 margin-right: 1em; | |
| 431 } | |
| 432 | |
| 433 [dir="rtl"] .appstore-button | |
| 434 { | |
| 435 margin-right: 0; | |
| 436 margin-left: 1em; | |
| 437 } | |
| 438 | |
| 439 @media (max-width: 1280px) | |
| 440 { | |
| 441 .store-buttons | |
| 442 { | |
| 443 flex-direction: column; | |
| 444 } | |
| 445 | |
| 446 .store-button | |
| 447 { | |
| 448 width: 100%; | |
| 449 } | |
| 450 .applestore-button | |
| 
Thomas Greiner
2018/02/16 16:19:16
Coding style: "Separate rules by new lines."
See
 | |
| 451 { | |
| 452 margin: 0 0 1em; | |
| 453 } | |
| 454 } | |
| 455 | |
| 456 #installation-status-header > h1 | |
| 457 { | |
| 458 font-size: 3em; | |
| 459 margin: 0; | |
| 460 } | |
| 461 | |
| 462 | |
| 463 /******************************************************************************* | |
| 464 * #footer | |
| 465 ******************************************************************************/ | |
| 466 | |
| 467 #footer | |
| 468 { | |
| 469 overflow: auto; | |
| 470 margin-top: 2em; | |
| 471 padding: 2em 0em; | |
| 472 color: #ececec; | |
| 473 background-color: #292929; | |
| 474 font-size: 0.9em; | |
| 475 } | |
| 476 | |
| 477 /* #footer body | |
| 478 ******************************************************************************/ | |
| 479 | |
| 480 #footer h5 | |
| 481 { | |
| 482 margin-top: 1em; | |
| 483 margin-bottom: 1.5em; | |
| 484 } | |
| 485 | |
| 486 #footer h5:after | |
| 
Thomas Greiner
2018/02/16 16:19:16
Detail: The standard way to write this is `#footer
 | |
| 487 { | |
| 488 content: ""; | |
| 489 display: block; | |
| 490 width: 1.25em; | |
| 491 height: 0.125em; | |
| 492 margin-top: 0.5em; | |
| 493 background-color: #ececec; | |
| 494 } | |
| 495 | |
| 496 #footer ul | |
| 497 { | |
| 498 padding: 0em; | |
| 499 list-style-type: none; | |
| 500 } | |
| 501 | |
| 502 #footer a | |
| 503 { | |
| 504 color: #ececec; | |
| 505 } | |
| 506 | |
| 507 #footer a:hover, | |
| 508 #footer a:active, | |
| 509 #footer a:focus | |
| 510 { | |
| 511 color: #fff; | |
| 51 text-decoration: underline; | 512 text-decoration: underline; | 
| 52 } | 513 } | 
| 53 | 514 | 
| 54 a:hover | 515 /* #footer #social-list | 
| 55 { | 516 ******************************************************************************/ | 
| 56 text-decoration: none; | 517 | 
| 57 } | 518 #social-list ul | 
| 58 | 519 { | 
| 59 button | 520 /* negative margin canceled out by li margin below */ | 
| 60 { | 521 margin: 0em -0.375em; | 
| 61 cursor: pointer; | 522 } | 
| 62 } | 523 | 
| 63 | 524 #social-list li | 
| 64 ul | 525 { | 
| 65 { | 526 float: left; | 
| 66 margin: 0; | 527 margin: 0em 0.375em; | 
| 67 padding: 0; | 528 } | 
| 68 } | 529 | 
| 69 | 530 [dir="rtl"] #social-list li | 
| 70 li | 531 { | 
| 71 { | 532 float: right; | 
| 72 margin: 0; | 533 } | 
| 73 padding: 0; | 534 | 
| 74 list-style-type: none; | 535 #social-list img | 
| 75 } | 536 { | 
| 76 | 537 height: 2em; | 
| 77 header | 538 } | 
| 78 { | 539 | 
| 79 background-image: url(background.png); | 540 @media(min-width: 1200px) | 
| 80 background-repeat: repeat-x; | 541 { | 
| 81 width: 100%; | 542 #social-list img | 
| 82 padding-top: 25px; | 543 { | 
| 83 } | 544 height: 3em; | 
| 84 | 545 } | 
| 85 header h1 | 546 } | 
| 86 { | 547 | 
| 87 font-size: 24px; | 548 /* #footer #footer-legal | 
| 88 font-weight: normal; | 549 ******************************************************************************/ | 
| 89 color: #57ab5b; | 550 | 
| 90 text-align: center; | 551 #footer-legal | 
| 91 margin: 21px auto; | 552 { | 
| 92 padding: 16px 0px; | 553 margin-top: 1em; | 
| 93 border: 1px #57ab5b; | 554 } | 
| 94 border-style: dashed none; | 555 | 
| 95 /* border parallel fix - 957px is the value | 556 @media(min-width: 1200px) | 
| 96 * closest to 960px(page width) which makes | 557 { | 
| 97 * the dashed border parallel | 558 #footer-legal | 
| 98 */ | 559 { | 
| 99 max-width: 957px; | 560 margin-top: 2em; | 
| 100 } | 561 } | 
| 101 | 562 } | 
| 102 h1, | 563 | 
| 103 h2, | 564 /* #footer #footer-legal #legal-list | 
| 104 h3 | 565 ******************************************************************************/ | 
| 105 { | 566 | 
| 106 font-family: CreteRound, Helvetica, Arial, sans-serif; | 567 #legal-list li | 
| 107 } | 568 { | 
| 108 | 569 float: left; | 
| 109 h2 | 570 } | 
| 110 { | 571 | 
| 111 font-size: 26px; | 572 [dir="rtl"] #legal-list li | 
| 112 font-weight: lighter; | 573 { | 
| 113 color: #968d81; | 574 float: right; | 
| 114 line-height: 28px; | 575 } | 
| 115 text-align: center; | 576 | 
| 116 margin: 0; | 577 #legal-list li:after | 
| 117 padding: 0; | 578 { | 
| 118 } | 579 margin: 0em 0.375em; | 
| 119 | 580 } | 
| 120 h3 | 581 | 
| 121 { | 582 /* IE9+ only */ | 
| 
Thomas Greiner
2018/02/16 16:19:19
This is not relevant for us since we don't support
 | |
| 122 font-size: 22px; | 583 #legal-list li::after | 
| 123 color: #7F776B; | 584 { | 
| 124 font-weight: normal; | 585 content: "|" | 
| 125 margin-top: 0px; | 586 } | 
| 126 margin-bottom: 10px; | 587 | 
| 127 padding: 0; | 588 #legal-list li:last-of-type::after | 
| 128 line-height: 24px; | 589 { | 
| 129 } | 590 content: none; | 
| 130 | 591 } | 
| 131 h4 | 592 | 
| 132 { | 593 /* float copyright and legal links left and right on ~desktop */ | 
| 133 font-size: 15px; | 594 @media(min-width: 1200px) | 
| 134 color: #7f776b; | 595 { | 
| 135 font-weight: normal; | 596 #copyright-notice | 
| 136 text-align: center; | 597 { | 
| 137 margin: 0; | 598 float: left; | 
| 138 padding: 0; | 599 } | 
| 139 } | 600 | 
| 140 | 601 [dir="rtl"] #copyright-notice | 
| 141 section | 602 { | 
| 142 { | 603 float: right; | 
| 143 margin: 0 auto; | 604 } | 
| 144 margin-bottom: 30px; | 605 | 
| 145 max-width: 960px; | 606 #legal-list | 
| 146 background-image: url(background.png); | 607 { | 
| 147 padding: 40px 100px; | 608 float: right; | 
| 148 box-sizing: border-box; | 609 } | 
| 149 } | 610 | 
| 150 | 611 [dir="rtl"] #legal-list | 
| 151 #general | 612 { | 
| 152 { | 613 float: left; | 
| 153 display: table; | 614 } | 
| 154 padding-left: 0px; | 615 } | 
| 155 padding-right: 0px; | 616 | 
| 156 } | 617 /* hide all footer links except #social-list on ~mobile */ | 
| 157 | 618 @media(max-width: 767px) | 
| 158 #general > .block | 619 { | 
| 159 { | 620 #footer .column | 
| 160 display: table-cell; | 621 { | 
| 161 width: 50%; | 622 display: none; | 
| 162 vertical-align: top; | 623 } | 
| 163 padding: 0px 50px; | 624 | 
| 164 border: dashed 0 #969085; | 625 /* overriding display:none above */ | 
| 165 -webkit-border-start-width: 1px; | 626 #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 { | 627 { | 
| 495 display: block; | 628 display: block; | 
| 496 } | 629 } | 
| 497 | 630 } | 
| 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 |