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

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

Issue 29374562: Issue 4514 - Improved font readability on acceptableads.com (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Created Feb. 4, 2017, 4:59 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 | « pages/users.md ('k') | static/scss/_variables.scss » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 .m-a-na { 1 .m-a-na {
2 margin: 0 0 !important; } 2 margin: 0 0 !important; }
3 3
4 .m-t-na { 4 .m-t-na {
5 margin-top: 0 !important; } 5 margin-top: 0 !important; }
6 6
7 .m-b-na { 7 .m-b-na {
8 margin-bottom: 0 !important; } 8 margin-bottom: 0 !important; }
9 9
10 .m-x-na { 10 .m-x-na {
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 min-width: 0; 407 min-width: 0;
408 margin: 0; 408 margin: 0;
409 padding: 0; 409 padding: 0;
410 border: 0; } 410 border: 0; }
411 411
412 legend { 412 legend {
413 display: block; 413 display: block;
414 width: 100%; 414 width: 100%;
415 margin-bottom: 16px; 415 margin-bottom: 16px;
416 padding: 0; 416 padding: 0;
417 font-size: 18px; 417 font-size: 20px;
418 line-height: inherit; } 418 line-height: inherit; }
419 419
420 a, img { 420 a, img {
421 border: none; 421 border: none;
422 outline: none; } 422 outline: none; }
423 423
424 h2 + .row, .center blockquote + .row, 424 h2 + .row, .center blockquote + .row,
425 h1 + .row, 425 h1 + .row,
426 h2 + hr + .row, .center blockquote + hr + .row, 426 h2 + hr + .row, .center blockquote + hr + .row,
427 h1 + hr + .row { 427 h1 + hr + .row {
428 margin-top: -16px; } 428 margin-top: -16px; }
429 429
430 .section { 430 .section {
431 margin: 96px 0; } 431 margin: 96px 0; }
432 432
433 .section .section { 433 .section .section {
434 margin: 64px 0; } 434 margin: 64px 0; }
435 435
436 h1, h2, .center blockquote, h3, .group.items .item::before, h4, h5, h6 .h1, .h2, .h3, .h4, .h5, .h6 { 436 h1, h2, .center blockquote, h3, .group.items .item::before, h4, h5, h6 .h1, .h2, .h3, .h4, .h5, .h6 {
437 text-transform: uppercase; 437 text-transform: uppercase;
438 font-weight: 700; 438 font-weight: 700; }
439 line-height: 120%; }
440 439
441 h1, 440 h1,
442 .h1 { 441 .h1 {
443 margin: 96px 0 64px 0; 442 margin: 96px 0 64px 0;
444 text-transform: none; 443 text-transform: none;
445 font-size: 42px; 444 font-size: 46px;
446 font-weight: 300; } 445 font-weight: 300; }
447 446
448 h2, .center blockquote, 447 h2, .center blockquote,
449 .h2 { 448 .h2 {
450 margin: 64px 0 32px 0; 449 margin: 64px 0 32px 0;
451 font-size: 28px; 450 font-size: 30px;
452 font-weight: 700; } 451 font-weight: 700; }
453 452
454 h3, .card h1, .card h2, .card .center blockquote, .center .card blockquote, .car d h3, .card h4, .card h5, .card h6 .h1, h6 .card .h1, .card .h2, .card .h3, .car d .h4, .card .h5, .card .h6, .group.items .item::before, 453 h3, .card h1, .card h2, .card .center blockquote, .center .card blockquote, .car d h3, .card h4, .card h5, .card h6 .h1, h6 .card .h1, .card .h2, .card .h3, .car d .h4, .card .h5, .card .h6, .group.items .item::before,
455 .h3, 454 .h3,
456 .group.items .item h1, 455 .group.items .item h1,
457 .group.items .item h2, 456 .group.items .item h2,
458 .group.items .item .center blockquote, 457 .group.items .item .center blockquote,
459 .center .group.items .item blockquote, 458 .center .group.items .item blockquote,
460 .group.items .item h3, 459 .group.items .item h3,
461 .group.items .item .item::before, 460 .group.items .item .item::before,
462 .group.items .item h4, 461 .group.items .item h4,
463 .group.items .item h5, 462 .group.items .item h5,
464 .group.items .item h6 .h1, 463 .group.items .item h6 .h1,
465 h6 .group.items .item .h1, 464 h6 .group.items .item .h1,
466 .group.items .item .h2, 465 .group.items .item .h2,
467 .group.items .item .h3, 466 .group.items .item .h3,
468 .group.items .item .h4, 467 .group.items .item .h4,
469 .group.items .item .h5, 468 .group.items .item .h5,
470 .group.items .item .h6 { 469 .group.items .item .h6 {
471 margin: 64px 0 32px 0; 470 margin: 64px 0 32px 0;
472 font-size: 22px; 471 font-size: 24px;
473 font-weight: 700; } 472 font-weight: 700; }
474 473
475 h4, 474 h4,
476 .h4 { 475 .h4 {
477 margin: 32px 0 16px 0; 476 margin: 32px 0 16px 0;
478 font-size: 20px; 477 font-size: 22px;
479 font-weight: 700; } 478 font-weight: 700; }
480 479
481 h5, .card.list h1, .card.list h2, .card.list .center blockquote, .center .card.l ist blockquote, .card.list h3, .card.list .group.items .item::before, .group.ite ms .card.list .item::before, .card.list h4, .card.list h5, .card.list h6 .h1, h6 .card.list .h1, .card.list .h2, .card.list .h3, .card.list .h4, .card.list .h5, .card.list .h6, #footer h1, #footer h2, #footer .center blockquote, .center #fo oter blockquote, #footer h3, #footer .group.items .item::before, .group.items #f ooter .item::before, #footer h4, #footer h5, #footer h6 .h1, h6 #footer .h1, #fo oter .h2, #footer .h3, #footer .h4, #footer .h5, #footer .h6, 480 h5, .card.list h1, .card.list h2, .card.list .center blockquote, .center .card.l ist blockquote, .card.list h3, .card.list .group.items .item::before, .group.ite ms .card.list .item::before, .card.list h4, .card.list h5, .card.list h6 .h1, h6 .card.list .h1, .card.list .h2, .card.list .h3, .card.list .h4, .card.list .h5, .card.list .h6, #footer h1, #footer h2, #footer .center blockquote, .center #fo oter blockquote, #footer h3, #footer .group.items .item::before, .group.items #f ooter .item::before, #footer h4, #footer h5, #footer h6 .h1, h6 #footer .h1, #fo oter .h2, #footer .h3, #footer .h4, #footer .h5, #footer .h6,
482 .h5 { 481 .h5 {
483 margin: 16px 0; 482 margin: 16px 0;
484 font-size: 18px; } 483 font-size: 20px; }
485 484
486 h6, 485 h6,
487 .h6 { 486 .h6 {
488 margin: 16px 0; 487 margin: 16px 0;
489 font-size: 18px; 488 font-size: 20px;
490 font-weight: 400; } 489 font-weight: 400; }
491 490
492 html, 491 html,
493 body { 492 body {
494 color: #161616; 493 color: #161616;
495 font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetic a Neue", sans-serif; 494 font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetic a Neue", sans-serif;
496 font-size: 18px; 495 font-size: 20px;
497 font-weight: 300; 496 font-weight: 300;
498 line-height: 120%; } 497 line-height: 1.5; }
499 498
500 small, 499 small,
501 .small { 500 .small {
502 margin-bottom: 8px; 501 margin-bottom: 8px;
503 font-size: 70%; 502 font-size: 70%;
504 line-height: 80%; } 503 line-height: 80%; }
505 504
506 blockquote, 505 blockquote,
507 p, 506 p,
508 ul, 507 ul,
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 dl { 596 dl {
598 margin: 32px 0; } 597 margin: 32px 0; }
599 598
600 dt { 599 dt {
601 margin: 16px 0; } 600 margin: 16px 0; }
602 601
603 dd { 602 dd {
604 margin: 16px 0 32px 0; } 603 margin: 16px 0 32px 0; }
605 604
606 dt { 605 dt {
607 font-size: 20px; 606 font-size: 22px;
608 text-transform: uppercase; 607 text-transform: uppercase;
609 font-weight: 700; } 608 font-weight: 700; }
610 609
611 blockquote { 610 blockquote {
612 margin: 0; 611 margin: 0;
613 padding: 0 32px; 612 padding: 0 32px;
614 text-transform: uppercase; 613 text-transform: uppercase;
615 font-size: 18px; 614 font-size: 20px;
616 font-weight: 400; 615 font-weight: 400;
617 font-style: italic; } 616 font-style: italic; }
618 617
619 html[dir="ltr"] blockquote { 618 html[dir="ltr"] blockquote {
620 border-left: 4px solid #E1E1E1; } 619 border-left: 4px solid #E1E1E1; }
621 620
622 html[dir="rtl"] blockquote { 621 html[dir="rtl"] blockquote {
623 border-right: 4px solid #E1E1E1; } 622 border-right: 4px solid #E1E1E1; }
624 623
625 html .center blockquote { 624 html .center blockquote {
626 border: none; } 625 border: none; }
627 626
628 .center blockquote { 627 .center blockquote {
629 margin: 0; 628 margin: 0;
630 padding: 96px 0; 629 padding: 96px 0;
631 font-style: normal; } 630 font-style: normal; }
632 631
633 .center blockquote p:last-child { 632 .center blockquote p:last-child {
634 margin-top: -8px; } 633 margin-top: -8px; }
635 634
636 cite { 635 cite {
637 font-size: 14px; 636 font-size: 16px;
638 font-style: normal; } 637 font-style: normal; }
639 638
640 cite::before { 639 cite::before {
641 content: "-- "; } 640 content: "-- "; }
642 641
643 .center cite::before { 642 .center cite::before {
644 content: none; } 643 content: none; }
645 644
646 code, 645 code,
647 kbd, 646 kbd,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 box-sizing: border-box; 712 box-sizing: border-box;
714 min-width: 150px; 713 min-width: 150px;
715 padding: 0 16px; 714 padding: 0 16px;
716 cursor: pointer; 715 cursor: pointer;
717 text-align: center; 716 text-align: center;
718 white-space: nowrap; 717 white-space: nowrap;
719 text-decoration: none; 718 text-decoration: none;
720 text-transform: uppercase; 719 text-transform: uppercase;
721 border: 1px solid; 720 border: 1px solid;
722 border-radius: 0px !important; 721 border-radius: 0px !important;
723 font-size: 12px; 722 font-size: 14px;
724 font-weight: 700; 723 font-weight: 700;
725 line-height: 32px; 724 line-height: 32px;
726 height: 34px; } 725 height: 34px; }
727 726
728 @media (max-width: 544px) { 727 @media (max-width: 544px) {
729 button, input[type="button"], input[type="reset"], input[type="submit"], .btn- outline-primary, .btn-outline-accent, .btn-primary, .btn-accent { 728 button, input[type="button"], input[type="reset"], input[type="submit"], .btn- outline-primary, .btn-outline-accent, .btn-primary, .btn-accent {
730 display: block; 729 display: block;
731 float: none; 730 float: none;
732 margin: 16px 0; 731 margin: 16px 0;
733 width: 100%; } } 732 width: 100%; } }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 box-sizing: border-box; 792 box-sizing: border-box;
794 width: 100%; 793 width: 100%;
795 height: 32px; 794 height: 32px;
796 margin: 8px 0 16px 0; 795 margin: 8px 0 16px 0;
797 padding: 4px 8px; 796 padding: 4px 8px;
798 color: #161616; 797 color: #161616;
799 border: 1px solid #E1E1E1; 798 border: 1px solid #E1E1E1;
800 border-radius: 5px; 799 border-radius: 5px;
801 background-color: #FFFFFF; 800 background-color: #FFFFFF;
802 box-shadow: none; 801 box-shadow: none;
803 font-size: 16px; 802 font-size: 18px;
804 line-height: 20px; } 803 line-height: 20px; }
805 804
806 select { 805 select {
807 vertical-align: middle; 806 vertical-align: middle;
808 background-color: #FFFFFF; } 807 background-color: #FFFFFF; }
809 808
810 textarea { 809 textarea {
811 height: auto; 810 height: auto;
812 min-height: 96px; } 811 min-height: 96px; }
813 812
814 label { 813 label {
815 display: block; 814 display: block;
816 font-size: 14px; 815 font-size: 16px;
817 font-weight: 700; 816 font-weight: 700;
818 line-height: 20px; } 817 line-height: 20px; }
819 818
820 label em { 819 label em {
821 font-weight: 400; 820 font-weight: 400;
822 font-style: normal; } 821 font-style: normal; }
823 822
824 /* Floating box grid (with push/pull support) 823 /* Floating box grid (with push/pull support)
825 * NOTE: 1/4 is 1/2 on tablet 824 * NOTE: 1/4 is 1/2 on tablet
826 * NOTE: all are 1/1 on mobile 825 * NOTE: all are 1/1 on mobile
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 width: 100%; 966 width: 100%;
968 margin-bottom: -8px; } 967 margin-bottom: -8px; }
969 968
970 .card li::before { 969 .card li::before {
971 width: 32px; 970 width: 32px;
972 text-align: left; } 971 text-align: left; }
973 972
974 .card h6 { 973 .card h6 {
975 margin: 0; 974 margin: 0;
976 padding: 0; 975 padding: 0;
977 font-size: 14px; 976 font-size: 16px;
978 font-weight: 300; } 977 font-weight: 300; }
979 978
980 .bg-secondary .card { 979 .bg-secondary .card {
981 border-color: #292929; } 980 border-color: #292929; }
982 981
983 .bg-accent .card { 982 .bg-accent .card {
984 border-color: #8CC63E; } 983 border-color: #8CC63E; }
985 984
986 .card.list { 985 .card.list {
987 padding: 0; } 986 padding: 0; }
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
1237 @media (min-width: 1200px) { 1236 @media (min-width: 1200px) {
1238 html[dir="ltr"] .outer { 1237 html[dir="ltr"] .outer {
1239 margin-left: 208px; } 1238 margin-left: 208px; }
1240 html[dir="rtl"] .outer { 1239 html[dir="rtl"] .outer {
1241 margin-right: 208px; } } 1240 margin-right: 208px; } }
1242 1241
1243 #sidebar { 1242 #sidebar {
1244 text-transform: uppercase; 1243 text-transform: uppercase;
1245 color: #FFFFFF; 1244 color: #FFFFFF;
1246 background-color: #161616; 1245 background-color: #161616;
1247 font-size: 16px; 1246 font-size: 18px;
1248 font-weight: 400; 1247 font-weight: 400;
1249 line-height: 100%; } 1248 line-height: 100%; }
1250 #sidebar ul, 1249 #sidebar ul,
1251 #sidebar li { 1250 #sidebar li {
1252 margin: 0; 1251 margin: 0;
1253 padding: 0; 1252 padding: 0;
1254 text-align: inherit; } 1253 text-align: inherit; }
1255 #sidebar a, 1254 #sidebar a,
1256 #sidebar a:hover, 1255 #sidebar a:hover,
1257 #sidebar a:active { 1256 #sidebar a:active {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 html[dir="rtl"] #sidebar-close, 1352 html[dir="rtl"] #sidebar-close,
1354 html[dir="rtl"] #sidebar-logo, 1353 html[dir="rtl"] #sidebar-logo,
1355 html[dir="rtl"] #sidebar-title { 1354 html[dir="rtl"] #sidebar-title {
1356 float: right; } } 1355 float: right; } }
1357 1356
1358 #primary-navigation li { 1357 #primary-navigation li {
1359 position: relative; } 1358 position: relative; }
1360 1359
1361 #primary-navigation ul ul li { 1360 #primary-navigation ul ul li {
1362 color: #8CC63E; 1361 color: #8CC63E;
1363 font-size: 14px; } 1362 font-size: 16px; }
1364 1363
1365 #primary-navigation .active > a { 1364 #primary-navigation .active > a {
1366 font-weight: 700; } 1365 font-weight: 700; }
1367 1366
1368 #primary-navigation a:hover, #primary-navigation a:active { 1367 #primary-navigation a:hover, #primary-navigation a:active {
1369 color: #8CC63E; } 1368 color: #8CC63E; }
1370 1369
1371 #primary-navigation ul ul a:hover, #primary-navigation ul ul a:active { 1370 #primary-navigation ul ul a:hover, #primary-navigation ul ul a:active {
1372 color: #6f9432; } 1371 color: #6f9432; }
1373 1372
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1494 1493
1495 #breadcrumbs { 1494 #breadcrumbs {
1496 position: absolute; 1495 position: absolute;
1497 z-index: 1; 1496 z-index: 1;
1498 top: 64px; 1497 top: 64px;
1499 left: 0; 1498 left: 0;
1500 width: 100%; 1499 width: 100%;
1501 text-transform: uppercase; 1500 text-transform: uppercase;
1502 color: #FFFFFF; 1501 color: #FFFFFF;
1503 background-color: #292929; 1502 background-color: #292929;
1504 font-size: 12px; 1503 font-size: 14px;
1505 font-weight: 400; } 1504 font-weight: 400; }
1506 #breadcrumbs a, 1505 #breadcrumbs a,
1507 #breadcrumbs a:hover, 1506 #breadcrumbs a:hover,
1508 #breadcrumbs a:active { 1507 #breadcrumbs a:active {
1509 text-decoration: none; 1508 text-decoration: none;
1510 color: inherit; } 1509 color: inherit; }
1511 #breadcrumbs ol { 1510 #breadcrumbs ol {
1512 padding: 0 32px; } 1511 padding: 0 32px; }
1513 #breadcrumbs ol, 1512 #breadcrumbs ol,
1514 #breadcrumbs li, 1513 #breadcrumbs li,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1564 height: 0; 1563 height: 0;
1565 content: " "; 1564 content: " ";
1566 border-top: 2px solid #FFFFFF; } 1565 border-top: 2px solid #FFFFFF; }
1567 #footer a { 1566 #footer a {
1568 color: #FFFFFF; } 1567 color: #FFFFFF; }
1569 #footer a:hover { 1568 #footer a:hover {
1570 text-decoration: underline; 1569 text-decoration: underline;
1571 color: #8CC63E !important; } 1570 color: #8CC63E !important; }
1572 #footer p { 1571 #footer p {
1573 color: #E1E1E1; } 1572 color: #E1E1E1; }
OLDNEW
« no previous file with comments | « pages/users.md ('k') | static/scss/_variables.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld