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

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

Issue 29536654: Issue 5102 - Replaced semantically incorrect <hr> elements with :after styles (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Created Sept. 5, 2017, 2:40 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
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 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 samp { 746 samp {
747 padding: 4px; } 747 padding: 4px; }
748 748
749 pre > code { 749 pre > code {
750 padding: 0; } 750 padding: 0; }
751 751
752 pre { 752 pre {
753 overflow: scroll; 753 overflow: scroll;
754 margin: 0; } 754 margin: 0; }
755 755
756 hr { 756 hr,
757 .hr,
758 .outer h1:after {
759 display: block;
757 width: 24px; 760 width: 24px;
758 height: 3px; 761 height: 3px;
759 margin: 16px 0; 762 margin: 16px 0;
760 border: none; 763 border: none;
761 background-color: #161616; } 764 background-color: #161616; }
762 765
763 h1 + hr, 766 h2 + hr, .center blockquote + hr,
764 h2 + hr, .center blockquote + hr { 767 h1:after {
768 content: "";
765 position: absolute; 769 position: absolute;
766 margin: -32px 0 32px 0; } 770 margin: -32px 0 32px 0; }
767 @media (max-width: 544px) { 771 @media (max-width: 544px) {
768 h1 + hr, 772 h2 + hr, .center blockquote + hr,
769 h2 + hr, .center blockquote + hr { 773 h1:after {
770 margin-top: -21px; } } 774 margin-top: -21px; } }
771 775
772 .center hr { 776 .outer h1:after {
777 margin-top: 32px; }
778
779 .center hr,
780 .center .hr {
773 margin: 16px auto; } 781 margin: 16px auto; }
774 782
775 table { 783 table {
776 border-collapse: collapse !important; } 784 border-collapse: collapse !important; }
777 785
778 table td, 786 table td,
779 table th { 787 table th {
780 background-color: #FFFFFF; } 788 background-color: #FFFFFF; }
781 789
782 table { 790 table {
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after
1734 height: 0; 1742 height: 0;
1735 content: " "; 1743 content: " ";
1736 border-top: 2px solid #FFFFFF; } 1744 border-top: 2px solid #FFFFFF; }
1737 #footer a { 1745 #footer a {
1738 color: #FFFFFF; } 1746 color: #FFFFFF; }
1739 #footer a:hover { 1747 #footer a:hover {
1740 text-decoration: underline; 1748 text-decoration: underline;
1741 color: #8CC63E !important; } 1749 color: #8CC63E !important; }
1742 #footer p { 1750 #footer p {
1743 color: #E1E1E1; } 1751 color: #E1E1E1; }
OLDNEW

Powered by Google App Engine
This is Rietveld