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:first-child | |
163 { | |
164 border-right: dashed 1px #969085; | |
165 } | |
166 | |
167 html[dir="rtl"] #general > div:first-child | |
168 { | |
169 border-right: none; | |
170 border-left: dashed 1px #969085; | |
171 } | |
172 | |
173 #acceptable-ads-block h2 | |
174 { | |
175 margin-bottom: 34px; | |
176 } | |
177 | |
178 #abb-promotion-block h2 | |
179 { | |
180 color: #7795b6; | |
181 margin-bottom: 40px; | |
182 } | |
183 | |
184 #abb-promotion-block a | |
185 { | |
186 border: solid 1px #446a96; | |
187 border-radius: 5px; | |
188 display: table; | |
189 padding: 6px 16px; | |
190 background: -prefix-gradient(to top, #294e76, #6b92be); | |
191 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; | |
193 width: 100%; | |
194 -webkit-box-sizing: border-box; | |
195 -moz-box-sizing: border-box; | |
196 box-sizing: border-box; | |
197 } | |
198 | |
199 #abb-promotion-block a > div | |
200 { | |
201 display: table-cell; | |
202 vertical-align: middle; | |
203 padding: 6px; | |
204 } | |
205 | |
206 #abb-promotion-block a > div:first-child | |
207 { | |
208 width: 1px; | |
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; | |
215 font-weight: bold; | |
216 } | |
217 | |
218 #abb-promotion-block a div > div:not(first-child) | |
219 { | |
220 font-size: 12px; | |
221 color: #9ab7d6; | |
222 } | |
223 | |
224 #abb-promotion-block a:hover | |
saroyanm
2015/09/10 09:05:08
In the style guide it wasn't obvious how the :hove
| |
225 { | |
226 -moz-box-shadow: 0px 0px 5px #5D5D5D; | |
227 -webkit-box-shadow: 0px 0px 5px #5D5D5D; | |
228 box-shadow: 0px 0px 5px #5D5D5D; | |
229 } | |
230 | |
231 #abb-promotion-block a:active | |
232 { | |
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; | |
236 } | |
237 | |
238 @media (max-width: 960px) | |
239 { | |
240 #general | |
241 { | |
242 padding: 40px 0px; | |
243 max-width: 960px; | |
244 display: block; | |
245 } | |
246 | |
247 #general > div | |
248 { | |
249 display: block; | |
250 width: auto; | |
251 vertical-align: top; | |
252 padding: 0px 50px; | |
253 } | |
254 | |
255 #general > div:first-child | |
256 { | |
257 border: none; | |
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; |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
592 background-image: url(donate.png); | 706 background-image: url(donate.png); |
593 background-repeat: repeat-x; | 707 background-repeat: repeat-x; |
594 } | 708 } |
595 | 709 |
596 footer | 710 footer |
597 { | 711 { |
598 margin: 0 auto 30px; | 712 margin: 0 auto 30px; |
599 max-width: 960px; | 713 max-width: 960px; |
600 text-align: center; | 714 text-align: center; |
601 } | 715 } |
OLD | NEW |