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 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 | |
148 { | |
149 padding: 40px 0px; | |
150 display: table; | |
151 } | |
152 | |
153 #general > div | |
154 { | |
155 display: table-cell; | |
156 width: 50%; | |
157 vertical-align: top; | |
158 padding: 0px 50px; | |
159 } | |
160 | |
161 #general > div:not(:first-child) | |
162 { | |
163 border-left: dashed 1px #969085; | |
164 } | |
165 | |
166 html[dir="rtl"] #general > div:not(:first-child) | |
167 { | |
168 border-left: none; | |
169 border-right: dashed 1px #969085; | |
170 } | |
171 | |
172 #acceptable-ads-block h2 | |
173 { | |
174 margin-bottom: 34px; | |
175 } | |
176 | |
177 #abb-promotion-block:lang(fr) | |
178 { | |
179 display: none; | |
180 } | |
181 | |
182 #abb-promotion-block | |
183 { | |
184 text-align: center; | |
Thomas Greiner
2015/09/16 10:09:20
You still need to align the text inside the button
saroyanm
2015/09/16 11:08:42
Done.
| |
185 } | |
186 | |
187 #abb-promotion-block h2 | |
188 { | |
189 color: #7795b6; | |
190 margin-bottom: 40px; | |
191 } | |
192 | |
193 #abb-promotion-block a | |
194 { | |
195 border: solid 1px #446a96; | |
196 border-radius: 5px; | |
197 display: inline-block; | |
198 padding: 6px 16px; | |
199 background: -webkit-linear-gradient(bottom, #6b92be, #294e76); | |
200 background: linear-gradient(to bottom, #6b92be, #294e76); | |
Thomas Greiner
2015/09/16 10:09:20
This line should've stayed unchanged based on what
saroyanm
2015/09/16 11:08:42
Done.
| |
201 text-decoration: none; | |
202 } | |
203 | |
204 #abb-promotion-block a > div | |
205 { | |
206 display: inline-block; | |
207 vertical-align: middle; | |
208 padding: 6px; | |
209 } | |
210 | |
211 #abb-promotion-block .title | |
212 { | |
213 font-size: 21px; | |
214 color: #ffffff; | |
215 font-weight: bold; | |
216 } | |
217 | |
218 #abb-promotion-block .subtitle | |
219 { | |
220 font-size: 12px; | |
221 color: #9ab7d6; | |
222 } | |
223 | |
224 #abb-promotion-block a:hover | |
225 { | |
226 box-shadow: 0px 0px 5px #5D5D5D; | |
227 } | |
228 | |
229 #abb-promotion-block a:active | |
230 { | |
231 box-shadow: 0px 0px 5px 1px #5D5D5D; | |
232 } | |
233 | |
234 @media (max-width: 960px) | |
235 { | |
236 #general | |
237 { | |
238 display: block; | |
239 } | |
240 | |
241 #general > div:not(:first-child), | |
242 html[dir="rtl"] #general > div:not(:first-child) | |
Sebastian Noack
2015/09/16 07:38:24
The second selector is redundant.
saroyanm
2015/09/16 09:43:59
The problem is that the:
html[dir="rtl"] #general
| |
243 { | |
244 border: none; | |
245 } | |
246 | |
247 #general > div:not(:first-child) | |
Sebastian Noack
2015/09/16 07:38:24
This can be merged with the rules above.
saroyanm
2015/09/16 09:43:59
The rule above is used to remove the border from b
| |
248 { | |
249 border-top: dashed 1px #969085; | |
250 } | |
251 | |
252 #general > div | |
253 { | |
254 display: block; | |
255 width: auto; | |
256 padding: 10px 0px; | |
257 margin: 0px 50px; | |
258 } | |
259 } | |
260 | |
147 section > p | 261 section > p |
148 { | 262 { |
149 margin: 15px 0 0 0; | 263 margin: 15px 0 0 0; |
150 } | 264 } |
151 | 265 |
152 #logo | 266 #logo |
153 { | 267 { |
154 margin: 0 auto; | 268 margin: 0 auto; |
155 height: 128px; | 269 height: 128px; |
156 width: 128px; | 270 width: 128px; |
157 display: block; | 271 display: block; |
158 } | 272 } |
159 | 273 |
160 #can-do-more | 274 #can-do-more |
161 { | 275 { |
162 max-width: 960px; | |
163 padding: 40px 0px 0px 0px; | 276 padding: 40px 0px 0px 0px; |
164 border-bottom: 4px solid #968D81; | 277 border-bottom: 4px solid #968D81; |
165 } | 278 } |
166 | 279 |
167 #can-do-more > h2 | 280 #can-do-more > h2 |
168 { | 281 { |
169 margin: 0 100px; | 282 margin: 0 100px; |
170 } | 283 } |
171 | 284 |
172 .feature-malware-image | 285 .feature-malware-image |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
592 background-image: url(donate.png); | 705 background-image: url(donate.png); |
593 background-repeat: repeat-x; | 706 background-repeat: repeat-x; |
594 } | 707 } |
595 | 708 |
596 footer | 709 footer |
597 { | 710 { |
598 margin: 0 auto 30px; | 711 margin: 0 auto 30px; |
599 max-width: 960px; | 712 max-width: 960px; |
600 text-align: center; | 713 text-align: center; |
601 } | 714 } |
OLD | NEW |