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

Delta Between Two Patch Sets: static/scss/content/_reset.scss

Issue 29438582: Issue 5135 - Reduce font size and padding on smaller screens on acceptableads.com (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Left Patch Set: Remove @media screen, Resize h2, Keep icon size Created May 31, 2017, 9:53 a.m.
Right Patch Set: Fix alignment of hr under headings Created July 6, 2017, 10:25 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 // This file is part of acceptableads.org. 1 // This file is part of acceptableads.org.
2 // Copyright (C) 2016 Eyeo GmbH 2 // Copyright (C) 2016 Eyeo GmbH
3 // 3 //
4 // acceptableads.org is free software: you can redistribute it and/or modify 4 // acceptableads.org is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by 5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or 6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version. 7 // (at your option) any later version.
8 // 8 //
9 // acceptableads.org is distributed in the hope that it will be useful, 9 // acceptableads.org 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 line-height: inherit; 79 line-height: inherit;
80 } 80 }
81 81
82 // Remove image borders in IE<10 82 // Remove image borders in IE<10
83 a, img 83 a, img
84 { 84 {
85 border:none; 85 border:none;
86 outline:none; 86 outline:none;
87 } 87 }
88 88
89 // Simulate collapsable top-margin on first paragraph after page heading
ire 2017/07/06 10:31:38 I added this comment here until we decide to revis
juliandoucette 2017/07/06 13:15:48 Acknowledged.
90 h2 + .row,
91 h1 + .row,
92 h2 + hr + .row,
93 h1 + hr + .row
94 {
95 margin-top: -$sm;
96 }
89 97
90 .section 98 .section
91 { 99 {
92 margin: $xl 0; 100 margin-bottom: $xl;
93 101
94 @media (max-width: $tablet-breakpoint) 102 @media (max-width: $tablet-breakpoint)
95 { 103 {
96 margin: $md 0; 104 margin-bottom: $md;
97 } 105 }
98 } 106 }
99 107
100 .section .section 108 .section .section
101 { 109 {
102 margin: $lg 0; 110 margin-bottom: $lg;
111
112 @media (max-width: $tablet-breakpoint)
113 {
114 margin-bottom: $md;
115 }
103 } 116 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld