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

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

Issue 29558641: Issue 5740 - Implemented new abp.org footer styles (Closed) Base URL: https://bitbucket.org/adblockplus/adblockplus.org
Patch Set: Created Sept. 28, 2017, 4:32 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « static/css/index-desktop.css ('k') | static/css/main-desktop.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 * 1 *
2 { 2 {
3 font-family: Arial, sans; 3 font-family: Arial, sans;
4 font-size: 16px; 4 font-size: 16px;
5 } 5 }
6 6
7 body 7 body
8 { 8 {
9 margin: 0; 9 margin: 0;
10 line-height: 1.5; 10 line-height: 1.5;
(...skipping 28 matching lines...) Expand all
39 } 39 }
40 40
41 .sprite 41 .sprite
42 { 42 {
43 display: inline-block; 43 display: inline-block;
44 font-size: 0px; /* fix for IE6 height bug */ 44 font-size: 0px; /* fix for IE6 height bug */
45 background-image: url(../img/sprite-main.png); 45 background-image: url(../img/sprite-main.png);
46 background-repeat: no-repeat; 46 background-repeat: no-repeat;
47 } 47 }
48 48
49 nav ul
50 {
51 list-style: none;
52 margin: 0;
53 padding: 0;
54 }
55
56 nav a:link, nav a:visited
57 {
58 color: #7d7d7d;
59 text-decoration: none;
60 }
61
62 nav a:hover
63 {
64 text-decoration: underline;
65 }
66
67 header 49 header
68 { 50 {
69 display: block; 51 display: block;
70 position: relative; 52 position: relative;
71 background: white; 53 background: white;
72 border: 1px solid #d9d9d9; 54 border: 1px solid #d9d9d9;
73 border-top: none; 55 border-top: none;
74 box-shadow: 1px 1px 0 0 #d9d9d9; 56 box-shadow: 1px 1px 0 0 #d9d9d9;
75 z-index: 1; 57 z-index: 1;
76 } 58 }
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 .toc ul ul 283 .toc ul ul
302 { 284 {
303 padding-left: 40px; 285 padding-left: 40px;
304 } 286 }
305 287
306 .toc li 288 .toc li
307 { 289 {
308 margin: 4px 0; 290 margin: 4px 0;
309 } 291 }
310 292
311 #footer-main 293 #social-list ul
312 {
313 display: block;
314 background: white;
315 box-shadow: 0 -1px 0 0 #b5b4b0, 0 -2px 0 0 #e4e1dc;
316 padding: 0;
317 line-height: 1;
318 }
319
320 #footer-main nav h1, #footer-main nav li
321 {
322 color: #444444;
323 border-bottom: 1px solid #dedede;
324 }
325
326 #footer-main h1
327 {
328 font-size: 16px;
329 margin-top: 0;
330 margin-bottom: 15px;
331 }
332
333 #footer-main nav li
334 {
335 margin-bottom: 5px;
336 }
337
338 #social-list
339 { 294 {
340 list-style: none; 295 list-style: none;
341 padding: 0; 296 padding: 0;
342 margin: 0; 297 margin: 0;
343 } 298 }
344 299
345 .social-entry 300 .social-entry
346 { 301 {
347 display: inline-block; 302 display: inline-block;
348 margin: 0px 5px; 303 margin: 0px 5px;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 369
415 [dir="ltr"] .alert 370 [dir="ltr"] .alert
416 { 371 {
417 border-left: 5px solid #d14841; 372 border-left: 5px solid #d14841;
418 } 373 }
419 374
420 [dir="rtl"] .alert 375 [dir="rtl"] .alert
421 { 376 {
422 border-right: 5px solid #d14841; 377 border-right: 5px solid #d14841;
423 } 378 }
379
380 .container
381 {
382 width: auto;
383 max-width: 100%;
384 margin: 0px auto;
385 padding: 0px 1em;
386 }
387
388 @media (min-width: 1200px)
389 {
390 .container
391 {
392 width: 1170px;
393 }
394 }
395
396 .row,
397 .column
398 {
399 box-sizing: border-box;
400 }
401
402 .row
403 {
404 margin: 0px -1em;
405 }
406
407 .row:after
408 {
409 display: block;
410 clear: both;
411 content: "";
412 }
413
414 .column
415 {
416 position: relative;
417 width: 100%;
418 min-height: 1px;
419 padding: 0px 1em;
420 }
421
422 .column
423 {
424 float: left;
425 }
426
427 [dir="rtl"] .column
428 {
429 float: right;
430 }
431
432 @media (min-width: 768px)
433 {
434 .one-fourth
435 {
436 width: 50%;
437 }
438
439 #site-footer .column
440 {
441 min-height: 230px;
442 }
443 }
444
445 @media (min-width: 1024px)
446 {
447 .one-fourth
448 {
449 width: 25%;
450 }
451 }
452
453 @media(max-width: 767px)
454 {
455 #site-footer .column
456 {
457 display: none;
458 }
459
460 #site-footer #social-list
461 {
462 display: block;
463 }
464
465 #site-footer #social-list ul
466 {
467 margin: 0em 1em;
468 }
469 }
470
471 #site-footer
472 {
473 margin-top: 2em;
474 padding: 2em 0em;
475 color: #ececec;
476 background-color: #292929;
477 overflow: auto;
478 }
479
480 #site-footer h5
481 {
482 color: #ececec;
483 font-size: 22px;
484 margin: 16px 0px 40px 0px;
485 }
486
487 #site-footer h5::after
488 {
489 content: "";
490 display: block;
491 width: 30px;
492 height: 3px;
493 margin: 16px 0px 0px 0px;
494 border: none;
495 background-color: #ececec;
496 }
497
498 #site-footer p
499 {
500 font-size: 18px;
501 }
502
503 #site-footer li
504 {
505 list-style-type: none;
506 }
507
508 #site-footer ul
509 {
510 padding: 0px;
511 }
512
513 #site-footer a
514 {
515 font-size: 18px;
516 color: #ececec;
517 text-decoration: none;
518 }
519
520 #site-footer a:hover,
521 #site-footer a:active,
522 #site-footer a:focus
523 {
524 color: #fff;
525 text-decoration: underline;
526 }
527
528 #footer-legal
529 {
530 margin-top: 3em;
531 }
532
533 #site-footer #copyright-notice,
534 #site-footer #copyright-notice a,
535 #legal-list a
536 {
537 font-size: 14px;
538 }
539
540 @media(min-width: 768px)
541 {
542 #site-footer #copyright-notice,
543 #site-footer #copyright-notice a,
544 #legal-list a
545 {
546 font-size: 16px;
547 }
548 }
549
550 #social-list li,
551 #legal-list li
552 {
553 display: block;
554 float: left;
555 }
556
557 #social-list li
558 {
559 margin-right: 10px;
560 }
561
562 [dir="rtl"] #social-list li
563 {
564 margin-left: 10px;
565 }
566
567 #social-list img
568 {
569 height: 40px;
570 }
571
572 #legal-list li::after
573 {
574 margin: 0px 5px;
575 content: "|"
576 }
577
578 #legal-list li:last-of-type::after
579 {
580 content: none;
581 }
582
583 @media(min-width: 1024px)
584 {
585 #copyright-notice
586 {
587 float: left;
588 }
589
590 [dir="rtl"] #copyright-notice
591 {
592 float: right;
593 }
594
595 #legal-list
596 {
597 float: right;
598 }
599
600 [dir="rtl"] #legal-list
601 {
602 float: left;
603 }
604 }
OLDNEW
« no previous file with comments | « static/css/index-desktop.css ('k') | static/css/main-desktop.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld