| 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 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 137 | 137 |
| 138 section | 138 section |
| 139 { | 139 { |
| 140 margin: 0 auto; | 140 margin: 0 auto; |
| 141 margin-bottom: 30px; | 141 margin-bottom: 30px; |
| 142 max-width: 760px; | 142 max-width: 760px; |
| 143 background-image: url(background.png); | 143 background-image: url(background.png); |
| 144 padding: 40px 100px; | 144 padding: 40px 100px; |
| 145 } | 145 } |
| 146 | 146 |
| 147 #general | |
| 148 { | |
| 149 padding: 40px 0px; | |
| 150 max-width: 960px; | |
| 151 display: table; | |
| 152 } | |
| 153 | |
| 154 #general > div | |
| 155 { | |
| 156 display: table-cell; | |
| 157 width: 50%; | |
| 158 vertical-align: top; | |
| 159 padding: 0px 50px; | |
| 160 } | |
| 161 | |
| 162 #general > div:not(:first-child) | |
| 163 { | |
| 164 border-left: dashed 1px #969085; | |
| 165 } | |
| 166 | |
| 167 html[dir="rtl"] #general > div:not(:first-child) | |
| 168 { | |
| 169 border-left: none; | |
| 170 border-right: dashed 1px #969085; | |
| 171 } | |
| 172 | |
| 173 #acceptable-ads-block h2 | |
| 174 { | |
| 175 margin-bottom: 34px; | |
| 176 } | |
| 177 | |
| 178 #abb-promotion-block:lang(fr) | |
| 179 { | |
| 180 display: none; | |
| 181 } | |
| 182 | |
| 183 #abb-promotion-block h2 | |
| 184 { | |
| 185 color: #7795b6; | |
| 186 margin-bottom: 40px; | |
| 187 } | |
| 188 | |
| 189 #abb-promotion-block a | |
| 190 { | |
| 191 border: solid 1px #446a96; | |
| 192 border-radius: 5px; | |
| 193 display: table; | |
| 194 padding: 6px 16px; | |
| 195 background: -webkit-gradient(to top, #294e76, #6b92be); | |
|
Thomas Greiner
2015/09/15 11:19:32
Two more issues:
1) According to MDN Safari 5.1 r
saroyanm
2015/09/15 12:43:31
Done.
Thomas Greiner
2015/09/15 14:15:50
Nope, while the `to X` syntax defines to which poi
saroyanm
2015/09/15 15:03:35
Good to know, thanks.
Made it somehow consistent
| |
| 196 background: linear-gradient(to top, #294e76, #6b92be); | |
| 197 text-decoration: none; | |
| 198 width: 100%; | |
| 199 -webkit-box-sizing: border-box; | |
| 200 -moz-box-sizing: border-box; | |
| 201 box-sizing: border-box; | |
| 202 } | |
| 203 | |
| 204 #abb-promotion-block a > div | |
| 205 { | |
| 206 display: table-cell; | |
| 207 vertical-align: middle; | |
| 208 padding: 6px; | |
| 209 } | |
| 210 | |
| 211 #abb-promotion-block a > div:first-child | |
| 212 { | |
| 213 width: 1px; | |
| 214 } | |
| 215 | |
| 216 #abb-promotion-block .title | |
| 217 { | |
| 218 font-size: 22px; | |
|
Thomas Greiner
2015/09/15 11:19:31
This font size causes the text to be split up into
saroyanm
2015/09/15 12:43:31
Done.
| |
| 219 color: #ffffff; | |
| 220 font-weight: bold; | |
| 221 } | |
| 222 | |
| 223 #abb-promotion-block .subtitle | |
| 224 { | |
| 225 font-size: 12px; | |
| 226 color: #9ab7d6; | |
| 227 } | |
| 228 | |
| 229 #abb-promotion-block a:hover | |
| 230 { | |
| 231 -moz-box-shadow: 0px 0px 5px #5D5D5D; | |
| 232 -webkit-box-shadow: 0px 0px 5px #5D5D5D; | |
| 233 box-shadow: 0px 0px 5px #5D5D5D; | |
| 234 } | |
| 235 | |
| 236 #abb-promotion-block a:active | |
| 237 { | |
| 238 -moz-box-shadow: 0px 0px 5px 1px #5D5D5D; | |
| 239 -webkit-box-shadow: 0px 0px 5px 1px #5D5D5D; | |
| 240 box-shadow: 0px 0px 5px 1px #5D5D5D; | |
| 241 } | |
| 242 | |
| 243 @media (max-width: 960px) | |
| 244 { | |
| 245 #general | |
| 246 { | |
| 247 display: block; | |
| 248 } | |
| 249 | |
| 250 #general > div:not(:first-child), | |
| 251 html[dir="rtl"] #general > div:not(:first-child) | |
| 252 { | |
| 253 border: none; | |
| 254 } | |
| 255 | |
| 256 #general > div | |
| 257 { | |
| 258 display: block; | |
| 259 width: auto; | |
| 260 } | |
| 261 } | |
| 262 | |
| 147 section > p | 263 section > p |
| 148 { | 264 { |
| 149 margin: 15px 0 0 0; | 265 margin: 15px 0 0 0; |
| 150 } | 266 } |
| 151 | 267 |
| 152 #logo | 268 #logo |
| 153 { | 269 { |
| 154 margin: 0 auto; | 270 margin: 0 auto; |
| 155 height: 128px; | 271 height: 128px; |
| 156 width: 128px; | 272 width: 128px; |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 592 background-image: url(donate.png); | 708 background-image: url(donate.png); |
| 593 background-repeat: repeat-x; | 709 background-repeat: repeat-x; |
| 594 } | 710 } |
| 595 | 711 |
| 596 footer | 712 footer |
| 597 { | 713 { |
| 598 margin: 0 auto 30px; | 714 margin: 0 auto 30px; |
| 599 max-width: 960px; | 715 max-width: 960px; |
| 600 text-align: center; | 716 text-align: center; |
| 601 } | 717 } |
| OLD | NEW |