| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 132 font-weight: normal; | 132 font-weight: normal; |
| 133 text-align: center; | 133 text-align: center; |
| 134 margin: 0; | 134 margin: 0; |
| 135 padding: 0; | 135 padding: 0; |
| 136 } | 136 } |
| 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: 960px; |
| 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 | 147 #general |
| 148 { | 148 { |
| 149 padding: 40px 0px; | 149 padding: 40px 0px; |
| 150 max-width: 960px; | |
| 151 display: table; | 150 display: table; |
| 152 } | 151 } |
| 153 | 152 |
| 154 #general > div | 153 #general > div |
| 155 { | 154 { |
| 156 display: table-cell; | 155 display: table-cell; |
| 157 width: 50%; | 156 width: 50%; |
| 158 vertical-align: top; | 157 vertical-align: top; |
| 159 padding: 0px 50px; | 158 padding: 0px 50px; |
| 159 border: dashed 0 #969085; | |
| 160 -webkit-border-start-width: 1px; | |
| 161 -moz-border-start-width: 1px; | |
| 162 border-inline-start-width: 1px; | |
| 160 } | 163 } |
| 161 | 164 |
| 162 #general > div:first-child | 165 #general > div:first-child |
| 163 { | 166 { |
| 164 border-right: dashed 1px #969085; | 167 border: none; |
| 165 } | |
| 166 | |
| 167 html[dir="rtl"] #general > div:first-child | |
| 168 { | |
| 169 border-right: none; | |
| 170 border-left: dashed 1px #969085; | |
| 171 } | 168 } |
| 172 | 169 |
| 173 #acceptable-ads-block h2 | 170 #acceptable-ads-block h2 |
| 174 { | 171 { |
| 175 margin-bottom: 34px; | 172 margin-bottom: 34px; |
| 173 } | |
| 174 | |
| 175 #abb-promotion-block:lang(fr) | |
| 176 { | |
| 177 display: none; | |
| 178 } | |
| 179 | |
| 180 #abb-promotion-block | |
| 181 { | |
| 182 text-align: center; | |
| 176 } | 183 } |
| 177 | 184 |
| 178 #abb-promotion-block h2 | 185 #abb-promotion-block h2 |
| 179 { | 186 { |
| 180 color: #7795b6; | 187 color: #7795b6; |
| 181 margin-bottom: 40px; | 188 margin-bottom: 40px; |
| 182 } | 189 } |
| 183 | 190 |
| 184 #abb-promotion-block a | 191 #abb-promotion-block a |
| 185 { | 192 { |
| 186 border: solid 1px #446a96; | 193 border: solid 1px #446a96; |
| 187 border-radius: 5px; | 194 border-radius: 5px; |
| 188 display: table; | 195 display: inline-block; |
| 189 padding: 6px 16px; | 196 padding: 6px 16px; |
| 190 background: -prefix-gradient(to top, #294e76, #6b92be); | 197 background: -webkit-linear-gradient(bottom, #294e76, #6b92be); |
| 191 background: linear-gradient(to top, #294e76, #6b92be); | 198 background: linear-gradient(to top, #294e76, #6b92be); |
|
saroyanm
2015/09/10 09:05:08
I'm not sure what is the best way to have inner bo
| |
| 192 text-decoration: none; | 199 text-decoration: none; |
| 193 width: 100%; | 200 text-align: start; |
| 194 -webkit-box-sizing: border-box; | |
| 195 -moz-box-sizing: border-box; | |
| 196 box-sizing: border-box; | |
| 197 } | 201 } |
| 198 | 202 |
| 199 #abb-promotion-block a > div | 203 #abb-promotion-block a > div |
| 200 { | 204 { |
| 201 display: table-cell; | 205 display: table-cell; |
| 202 vertical-align: middle; | 206 vertical-align: middle; |
| 203 padding: 6px; | 207 padding: 6px; |
| 204 } | 208 } |
| 205 | 209 |
| 206 #abb-promotion-block a > div:first-child | 210 #abb-promotion-block .title |
| 207 { | 211 { |
| 208 width: 1px; | 212 font-size: 21px; |
| 209 } | |
| 210 | |
| 211 #abb-promotion-block a div > div:first-child | |
| 212 { | |
| 213 font-size: 22px; | |
|
saroyanm
2015/09/10 09:05:08
Please note I did it according to the style guide,
| |
| 214 color: #ffffff; | 213 color: #ffffff; |
| 215 font-weight: bold; | 214 font-weight: bold; |
| 216 } | 215 } |
| 217 | 216 |
| 218 #abb-promotion-block a div > div:not(first-child) | 217 #abb-promotion-block .subtitle |
| 219 { | 218 { |
| 220 font-size: 12px; | 219 font-size: 12px; |
| 221 color: #9ab7d6; | 220 color: #9ab7d6; |
| 222 } | 221 } |
| 223 | 222 |
| 224 #abb-promotion-block a:hover | 223 #abb-promotion-block a:hover |
|
saroyanm
2015/09/10 09:05:08
In the style guide it wasn't obvious how the :hove
| |
| 225 { | 224 { |
| 226 -moz-box-shadow: 0px 0px 5px #5D5D5D; | |
| 227 -webkit-box-shadow: 0px 0px 5px #5D5D5D; | |
| 228 box-shadow: 0px 0px 5px #5D5D5D; | 225 box-shadow: 0px 0px 5px #5D5D5D; |
| 229 } | 226 } |
| 230 | 227 |
| 231 #abb-promotion-block a:active | 228 #abb-promotion-block a:active |
| 232 { | 229 { |
| 233 -moz-box-shadow: 0px 0px 5px 1px #5D5D5D; | |
| 234 -webkit-box-shadow: 0px 0px 5px 1px #5D5D5D; | |
| 235 box-shadow: 0px 0px 5px 1px #5D5D5D; | 230 box-shadow: 0px 0px 5px 1px #5D5D5D; |
| 236 } | 231 } |
| 237 | 232 |
| 238 @media (max-width: 960px) | 233 @media (max-width: 960px) |
| 239 { | 234 { |
| 240 #general | 235 #general |
| 241 { | 236 { |
| 242 padding: 40px 0px; | |
| 243 max-width: 960px; | |
| 244 display: block; | 237 display: block; |
| 245 } | 238 } |
| 246 | 239 |
| 247 #general > div | 240 #general > div |
| 248 { | 241 { |
| 249 display: block; | 242 display: block; |
| 250 width: auto; | 243 width: auto; |
| 251 vertical-align: top; | 244 padding: 10px 0px; |
| 252 padding: 0px 50px; | 245 margin: 0px 50px; |
| 253 } | 246 border-width: 1px 0 0; |
| 254 | |
| 255 #general > div:first-child | |
| 256 { | |
| 257 border: none; | |
| 258 } | 247 } |
| 259 } | 248 } |
| 260 | 249 |
| 261 section > p | 250 section > p |
| 262 { | 251 { |
| 263 margin: 15px 0 0 0; | 252 margin: 15px 0 0 0; |
| 264 } | 253 } |
| 265 | 254 |
| 266 #logo | 255 #logo |
| 267 { | 256 { |
| 268 margin: 0 auto; | 257 margin: 0 auto; |
| 269 height: 128px; | 258 height: 128px; |
| 270 width: 128px; | 259 width: 128px; |
| 271 display: block; | 260 display: block; |
| 272 } | 261 } |
| 273 | 262 |
| 274 #can-do-more | 263 #can-do-more |
| 275 { | 264 { |
| 276 max-width: 960px; | |
| 277 padding: 40px 0px 0px 0px; | 265 padding: 40px 0px 0px 0px; |
| 278 border-bottom: 4px solid #968D81; | 266 border-bottom: 4px solid #968D81; |
| 279 } | 267 } |
| 280 | 268 |
| 281 #can-do-more > h2 | 269 #can-do-more > h2 |
| 282 { | 270 { |
| 283 margin: 0 100px; | 271 margin: 0 100px; |
| 284 } | 272 } |
| 285 | 273 |
| 286 .feature-malware-image | 274 .feature-malware-image |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 706 background-image: url(donate.png); | 694 background-image: url(donate.png); |
| 707 background-repeat: repeat-x; | 695 background-repeat: repeat-x; |
| 708 } | 696 } |
| 709 | 697 |
| 710 footer | 698 footer |
| 711 { | 699 { |
| 712 margin: 0 auto 30px; | 700 margin: 0 auto 30px; |
| 713 max-width: 960px; | 701 max-width: 960px; |
| 714 text-align: center; | 702 text-align: center; |
| 715 } | 703 } |
| LEFT | RIGHT |