Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: static/css/index.css

Issue 5636796054503424: Issue 1170 - [adblockplus.org Anwiki to CMS migration] Migrate content (Closed)
Patch Set: Brought in changes to website made over last few months. Created Jan. 19, 2015, 12:18 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #content h1, #content h2 1 #content h1, #content h2
2 { 2 {
3 font-size: 16px; 3 font-size: 16px;
4 } 4 }
5 5
6 #content .sprite 6 #content .sprite
7 { 7 {
8 background-image: url(../img/sprite-index.png); 8 background-image: url(../img/sprite-index.png);
9 } 9 }
10 10
11 #main, #video 11 #main, #video
12 { 12 {
13 display: inline-block; 13 display: inline-block;
14 } 14 }
15 15
16 #video 16 #video, #maxthon-teaser
17 { 17 {
18 background: white; 18 background: white;
19 padding: 10px; 19 padding: 10px;
20 border: 1px solid #c9c9c9; 20 border: 1px solid #c9c9c9;
21 box-shadow: 1px 1px 0 0 #dbdbdb; 21 box-shadow: 1px 1px 0 0 #dbdbdb;
22 } 22 }
23 23
24 #maxthon-teaser,
25 #content.maxthon #video
26 {
27 display: none;
28 }
29
30 #content.maxthon #maxthon-teaser
31 {
32 display: inline-block;
33 padding: 0px;
34 }
35
24 #summary h1, #summary h2 36 #summary h1, #summary h2
25 { 37 {
26 font-weight: normal; 38 font-weight: normal;
27 margin: 0; 39 margin: 0;
28 } 40 }
29 41
30 #summary h1 42 #summary h1
31 { 43 {
32 font-size: 60px; 44 font-size: 60px;
33 line-height: 50px; 45 line-height: 50px;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 width: 12px; 84 width: 12px;
73 height: 11px; 85 height: 11px;
74 margin-top: 4px; 86 margin-top: 4px;
75 margin-left: -17px; 87 margin-left: -17px;
76 margin-right: 0px; 88 margin-right: 0px;
77 background-image: url(../img/sprite-main.png); 89 background-image: url(../img/sprite-main.png);
78 background-repeat: no-repeat; 90 background-repeat: no-repeat;
79 background-position: -166px 0px; 91 background-position: -166px 0px;
80 } 92 }
81 93
94 .license-note
95 {
96 display: none;
97 font-weight: normal;
98 }
99
100 html[lang="fr"] .license-note.lang-fr
101 {
102 display: inline;
103 }
104
82 html[dir="rtl"] #summary li .sprite 105 html[dir="rtl"] #summary li .sprite
83 { 106 {
84 margin-right: -17px; 107 margin-right: -17px;
85 margin-left: 0px; 108 margin-left: 0px;
86 } 109 }
87 110
88 /* This cannot be just .install-button because a:link will have a higher 111 /* This cannot be just .install-button because a:link will have a higher
89 specificity otherwise (overrides text color) */ 112 specificity otherwise (overrides text color) */
90 #install-container .install-button 113 #install .install-button
91 { 114 {
92 display: none; 115 display: none;
93 position: relative; 116 position: relative;
94 width: 305px; 117 width: 305px;
95 height: 50px; 118 height: 50px;
96 color: #fff; 119 color: #fff;
97 font-size: 20px; 120 font-size: 20px;
98 text-decoration: none; 121 text-decoration: none;
99 text-align: center; 122 text-align: center;
100 line-height: 50px; 123 line-height: 50px;
(...skipping 30 matching lines...) Expand all
131 background: linear-gradient(bottom, #cacaca, #a2a2a2); 154 background: linear-gradient(bottom, #cacaca, #a2a2a2);
132 box-shadow: 0px 0px 7px #6f6f6f; 155 box-shadow: 0px 0px 7px #6f6f6f;
133 -webkit-transition: none; 156 -webkit-transition: none;
134 -moz-transition: none; 157 -moz-transition: none;
135 -ms-transition: none; 158 -ms-transition: none;
136 -o-transition: none; 159 -o-transition: none;
137 transition: none; 160 transition: none;
138 bottom: 4px; 161 bottom: 4px;
139 } 162 }
140 163
141 #install-container.android .install-button, 164 #content.android .install-button,
142 #install-container.firefox.ua-firefox .install-button, 165 #content.firefox.ua-firefox .install-button,
143 #install-container.chrome.ua-chrome .install-button, 166 #content.chrome.ua-chrome .install-button,
144 #install-container.opera.ua-opera .install-button, 167 #content.opera.ua-opera .install-button,
145 #install-container.internet-explorer.ua-internet-explorer .install-button, 168 #content.internet-explorer.ua-internet-explorer .install-button,
169 #content.safari.ua-safari .install-button,
170 #content.yandex-browser.ua-yandex-browser .install-button,
146 /* IE6 fixes */ 171 /* IE6 fixes */
147 #install-container.firefox_ua-firefox .install-button, 172 #content.firefox_ua-firefox .install-button,
148 #install-container.chrome_ua-chrome .install-button, 173 #content.chrome_ua-chrome .install-button,
149 #install-container.opera_ua-opera .install-button, 174 #content.opera_ua-opera .install-button,
150 #install-container.internet-explorer_ua-internet-explorer .install-button 175 #content.internet-explorer_ua-internet-explorer .install-button,
176 #content.safari_ua-safari .install-button,
177 #content.yandex-browser_ua-yandex-browser .install-button
151 { 178 {
152 background: #62c52b; 179 background: #62c52b;
153 background: -webkit-linear-gradient(top, #62c52b, #4f9d22); 180 background: -webkit-linear-gradient(top, #62c52b, #4f9d22);
154 background: -moz-linear-gradient(top, #62c52b, #4f9d22); 181 background: -moz-linear-gradient(top, #62c52b, #4f9d22);
155 background: -ms-linear-gradient(top, #62c52b, #4f9d22); 182 background: -ms-linear-gradient(top, #62c52b, #4f9d22);
156 background: -o-linear-gradient(top, #62c52b, #4f9d22); 183 background: -o-linear-gradient(top, #62c52b, #4f9d22);
157 background: linear-gradient(top, #62c52b, #4f9d22); 184 background: linear-gradient(top, #62c52b, #4f9d22);
158 box-shadow: 0 1px 0 0 #486c15, 0 2px 0 0 #517422; 185 box-shadow: 0 1px 0 0 #486c15, 0 2px 0 0 #517422;
159 text-shadow: 2px 2px 2px #327d14; 186 text-shadow: 2px 2px 2px #327d14;
160 } 187 }
161 188
162 #install-container.android .install-button:hover, 189 #content.android .install-button:hover,
163 #install-container.firefox.ua-firefox .install-button:hover, 190 #content.firefox.ua-firefox .install-button:hover,
164 #install-container.chrome.ua-chrome .install-button:hover, 191 #content.chrome.ua-chrome .install-button:hover,
165 #install-container.opera.ua-opera .install-button:hover, 192 #content.opera.ua-opera .install-button:hover,
166 #install-container.internet-explorer.ua-internet-explorer .install-button:hover, 193 #content.internet-explorer.ua-internet-explorer .install-button:hover,
194 #content.safari.ua-safari .install-button:hover,
195 #content.yandex-browser.ua-yandex-browser .install-button:hover,
167 /* IE6 fixes */ 196 /* IE6 fixes */
168 #install-container.firefox_ua-firefox .install-button:hover, 197 #content.firefox_ua-firefox .install-button:hover,
169 #install-container.chrome_ua-chrome .install-button:hover, 198 #content.chrome_ua-chrome .install-button:hover,
170 #install-container.opera_ua-opera .install-button:hover, 199 #content.opera_ua-opera .install-button:hover,
171 #install-container.internet-explorer_ua-internet-explorer .install-button:hover 200 #content.internet-explorer_ua-internet-explorer .install-button:hover,
201 #content.safari_ua-safari .install-button:hover,
202 #content.yandex-browser_ua-yandex-browser .install-button:hover
172 { 203 {
173 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15; 204 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15;
174 } 205 }
175 206
176 #install-container.android .install-button:active, 207 #content.android .install-button:active,
177 #install-container.firefox.ua-firefox .install-button:active, 208 #content.firefox.ua-firefox .install-button:active,
178 #install-container.chrome.ua-chrome .install-button:active, 209 #content.chrome.ua-chrome .install-button:active,
179 #install-container.opera.ua-opera .install-button:active, 210 #content.opera.ua-opera .install-button:active,
180 #install-container.internet-explorer.ua-internet-explorer .install-button:active , 211 #content.internet-explorer.ua-internet-explorer .install-button:active,
212 #content.safari.ua-safari .install-button:active,
213 #content.yandex-browser.ua-yandex-browser .install-button:active,
181 /* IE6 fixes */ 214 /* IE6 fixes */
182 #install-container.firefox_ua-firefox .install-button:active, 215 #content.firefox_ua-firefox .install-button:active,
183 #install-container.chrome_ua-chrome .install-button:active, 216 #content.chrome_ua-chrome .install-button:active,
184 #install-container.opera_ua-opera .install-button:active 217 #content.opera_ua-opera .install-button:active,
185 #install-container.internet-explorer_ua-internet-explorer .install-button:active 218 #content.internet-explorer_ua-internet-explorer .install-button:active,
219 #content.safari_ua-safari .install-button:active,
220 #content.yandex-browser_ua-yandex-browser .install-button:active
186 { 221 {
187 background: #4f9d22; 222 background: #4f9d22;
188 background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22); 223 background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22);
189 background: -moz-linear-gradient(bottom, #62c52b, #4f9d22); 224 background: -moz-linear-gradient(bottom, #62c52b, #4f9d22);
190 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22); 225 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22);
191 background: -o-linear-gradient(bottom, #62c52b, #4f9d22); 226 background: -o-linear-gradient(bottom, #62c52b, #4f9d22);
192 background: linear-gradient(bottom, #62c52b, #4f9d22); 227 background: linear-gradient(bottom, #62c52b, #4f9d22);
193 box-shadow: 0px 0px 7px #486c15; 228 box-shadow: 0px 0px 7px #486c15;
194 } 229 }
195 230
196 #install-container.firefox #install-firefox, 231 #content.firefox #install-firefox, #content.chrome #install-chrome,
197 #install-container.chrome #install-chrome, 232 #content.opera #install-opera, #content.android #install-android,
198 #install-container.opera #install-opera, 233 #content.internet-explorer #install-internet-explorer,
199 #install-container.android #install-android, 234 #content.safari #install-safari,
200 #install-container.internet-explorer #install-internet-explorer 235 #content.yandex-browser #install-yandex-browser
201 { 236 {
202 display: inline-block; 237 display: inline-block;
203 } 238 }
204 239
240 #summary #maxthon-news,
241 #content.maxthon #install,
242 #content.maxthon #features
243 {
244 display: none;
245 }
246
247 #content.maxthon #maxthon-news
248 {
249 display: inline-block;
250 padding-left: 0px;
251 }
252
253 #maxthon-news strong
254 {
255 display: block;
256 color: #2d79c0;
257 }
258
259 #maxthon-news a
260 {
261 color: #2d79c0;
262 }
263
264 #maxthon-news li.emphasized
265 {
266 font-weight: normal;
267 font-size: 18px;
268 }
269
205 #install ul 270 #install ul
206 { 271 {
207 list-style: none; 272 list-style: none;
208 display: inline-block; 273 display: inline-block;
209 margin: 0 0 0 5px; 274 margin: 0 0 0 5px;
210 padding: 0; 275 padding: 0;
211 vertical-align: bottom; 276 vertical-align: bottom;
212 } 277 }
213 278
214 html[dir="rtl"] #install ul 279 html[dir="rtl"] #install ul
(...skipping 17 matching lines...) Expand all
232 #platform-firefox 297 #platform-firefox
233 { 298 {
234 background-position: -108px -89px; 299 background-position: -108px -89px;
235 } 300 }
236 301
237 #information-android 302 #information-android
238 { 303 {
239 display: none; 304 display: none;
240 } 305 }
241 306
242 #install-container.android #information-android 307 #content.android #information-android
243 { 308 {
244 display: block; 309 display: block;
245 } 310 }
246 311
247 #install-container.firefox #platform-firefox 312 #content.firefox #platform-firefox
248 { 313 {
249 background-position: -108px -68px; 314 background-position: -108px -68px;
250 } 315 }
251 316
252 #platform-chrome 317 #platform-chrome
253 { 318 {
254 background-position: -88px -89px; 319 background-position: -88px -89px;
255 } 320 }
256 321
257 #install-container.chrome #platform-chrome 322 #content.chrome #platform-chrome
258 { 323 {
259 background-position: -88px -68px; 324 background-position: -88px -68px;
260 } 325 }
261 326
262 #platform-android 327 #platform-android
263 { 328 {
264 background-position: -68px -89px; 329 background-position: -68px -89px;
265 } 330 }
266 331
267 #install-container.android #platform-android 332 #content.android #platform-android
268 { 333 {
269 background-position: -68px -68px; 334 background-position: -68px -68px;
270 } 335 }
271 336
272 #platform-opera 337 #platform-opera
273 { 338 {
274 background-position: -68px -131px; 339 background-position: -68px -131px;
275 } 340 }
276 341
277 #install-container.opera #platform-opera 342 #content.opera #platform-opera
278 { 343 {
279 background-position: -68px -110px; 344 background-position: -68px -110px;
280 } 345 }
281 346
282 #platform-internet-explorer 347 #platform-internet-explorer
283 { 348 {
284 background-position: -108px -131px; 349 background-position: -108px -131px;
285 } 350 }
286 351
287 #install-container.internet-explorer #platform-internet-explorer 352 #content.internet-explorer #platform-internet-explorer
288 { 353 {
289 background-position: -108px -110px; 354 background-position: -108px -110px;
290 } 355 }
291 356
292 .warning-platform 357 #platform-safari
358 {
359 background-position: -88px -131px;
360 }
361
362 #content.safari #platform-safari
363 {
364 background-position: -88px -110px;
365 }
366
367 #platform-yandex-browser
368 {
369 background-position: -128px -89px;
370 }
371
372 #content.yandex-browser #platform-yandex-browser
373 {
374 background-position: -128px -68px;
375 }
376
377 .warning-platform,
378 .disclaimer
293 { 379 {
294 display: none; 380 display: none;
295 color: #D00; 381 color: #D00;
296 text-align: center; 382 text-align: center;
297 border: 1px solid #D00; 383 border: 1px solid #D00;
298 padding: 5px; 384 padding: 5px;
299 border-radius: 5px; 385 border-radius: 5px;
300 } 386 }
301 387
302 #install-container.ua-firefox .warning-platform.firefox, 388 .disclaimer
303 #install-container.ua-chrome .warning-platform.chrome, 389 {
304 #install-container.ua-android .warning-platform.android, 390 font-size: 14px;
305 #install-container.ua-opera .warning-platform.opera, 391 color: #000;
306 #install-container.ua-internet-explorer .warning-platform.internet-explorer 392 text-align: left;
Sebastian Noack 2015/02/13 17:51:49 I suppose the text should be aligned to the read s
kzar 2015/02/20 14:55:18 CSS and other static files like images are importe
393 }
394
395 #content.ua-firefox .warning-platform.firefox,
396 #content.ua-chrome .warning-platform.chrome,
397 #content.ua-android .warning-platform.android,
398 #content.ua-opera .warning-platform.opera,
399 #content.ua-internet-explorer .warning-platform.internet-explorer,
400 #content.ua-safari .warning-platform.safari,
401 #content.ua-yandex-browser .warning-platform.yandex-browser
307 { 402 {
308 display: block; 403 display: block;
309 } 404 }
310 405
311 #install-container.firefox.ua-firefox .warning-platform.firefox, 406 #content.firefox.ua-firefox .warning-platform.firefox,
312 #install-container.chrome.ua-chrome .warning-platform.chrome, 407 #content.chrome.ua-chrome .warning-platform.chrome,
313 #install-container.android.ua-android .warning-platform.android, 408 #content.android.ua-android .warning-platform.android,
314 #install-container.opera.ua-opera .warning-platform.opera, 409 #content.opera.ua-opera .warning-platform.opera,
315 #install-container.internet-explorer.ua-internet-explorer .warning-platform.inte rnet-explorer, 410 #content.internet-explorer.ua-internet-explorer .warning-platform.internet-explo rer,
411 #content.safari.ua-safari .warning-platform.safari,
412 #content.yandex-browser.ua-yandex-browser .warning-platform.yandex-browser,
316 /* IE6 fixes */ 413 /* IE6 fixes */
317 #install-container.firefox_ua-firefox .warning-platform.firefox, 414 #content.firefox_ua-firefox .warning-platform.firefox,
318 #install-container.chrome_ua-chrome .warning-platform.chrome, 415 #content.chrome_ua-chrome .warning-platform.chrome,
319 #install-container.opera_ua-opera .warning-platform.opera, 416 #content.opera_ua-opera .warning-platform.opera,
320 #install-container.internet-explorer_ua-internet-explorer .warning-platform.inte rnet-explorer 417 #content.internet-explorer_ua-internet-explorer .warning-platform.internet-explo rer,
418 #content.safari_ua-safari .warning-platform.safari,
419 #content.yandex-browser_ua-yandex-browser .warning-platform.yandex-browser
321 { 420 {
322 display: none; 421 display: none;
323 } 422 }
324 423
424 html[lang="fr"] .disclaimer.lang-fr
425 {
426 display: block;
427 }
428
325 #key-facts section 429 #key-facts section
326 { 430 {
327 display: inline-block; 431 display: inline-block;
328 } 432 }
329 433
330 #key-facts section h1 434 #key-facts section h1
331 { 435 {
332 margin-top: 0px; 436 margin-top: 0px;
333 } 437 }
334 438
(...skipping 18 matching lines...) Expand all
353 #facts-open-source 457 #facts-open-source
354 { 458 {
355 background-position: -68px 0px; 459 background-position: -68px 0px;
356 } 460 }
357 461
358 #facts-downloads 462 #facts-downloads
359 { 463 {
360 background-position: 0px 0px; 464 background-position: 0px 0px;
361 } 465 }
362 466
363 #facts-acceptable-ads 467 #facts-privacy
364 { 468 {
365 background-position: 0px -68px; 469 background-position: 0px -68px;
366 } 470 }
367 471
368 #key-facts section p 472 #key-facts section p
369 { 473 {
370 margin-bottom: 0px; 474 margin-bottom: 0px;
371 font-size: 14px; 475 font-size: 14px;
372 } 476 }
373 477
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 #more-container.hidden #less, 549 #more-container.hidden #less,
446 #more-container.hidden #more-tabs 550 #more-container.hidden #more-tabs
447 { 551 {
448 display: none; 552 display: none;
449 } 553 }
450 554
451 #more-container.firefox #tab-firefox, 555 #more-container.firefox #tab-firefox,
452 #more-container.chrome #tab-chrome, 556 #more-container.chrome #tab-chrome,
453 #more-container.opera #tab-opera, 557 #more-container.opera #tab-opera,
454 #more-container.android #tab-android, 558 #more-container.android #tab-android,
455 #more-container.internet-explorer #tab-internet-explorer 559 #more-container.internet-explorer #tab-internet-explorer,
560 #more-container.safari #tab-safari,
561 #more-container.yandex-browser #tab-yandex-browser
456 { 562 {
457 display: inline-block; 563 display: inline-block;
458 } 564 }
459 565
460 #more-container.firefox #more-firefox, 566 #more-container.firefox #more-firefox,
461 #more-container.chrome #more-chrome, 567 #more-container.chrome #more-chrome,
462 #more-container.opera #more-opera, 568 #more-container.opera #more-opera,
463 #more-container.android #more-android, 569 #more-container.android #more-android,
464 #more-container.internet-explorer #more-internet-explorer 570 #more-container.internet-explorer #more-internet-explorer,
571 #more-container.safari #more-safari,
572 #more-container.yandex-browser #more-yandex-browser
465 { 573 {
466 background-color: #dbd4c7; 574 background-color: #dbd4c7;
467 } 575 }
OLDNEW

Powered by Google App Engine
This is Rietveld