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

Unified Diff: 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
Patch Set: Fix alignment of hr under headings Created July 6, 2017, 10:25 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: static/scss/content/_reset.scss
===================================================================
--- a/static/scss/content/_reset.scss
+++ b/static/scss/content/_reset.scss
@@ -81,25 +81,36 @@
// Remove image borders in IE<10
a, img
{
border:none;
outline:none;
}
+// 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.
h2 + .row,
h1 + .row,
h2 + hr + .row,
h1 + hr + .row
{
margin-top: -$sm;
}
.section
{
- margin: $xl 0;
+ margin-bottom: $xl;
+
+ @media (max-width: $tablet-breakpoint)
+ {
+ margin-bottom: $md;
+ }
}
.section .section
{
- margin: $lg 0;
+ margin-bottom: $lg;
+
+ @media (max-width: $tablet-breakpoint)
+ {
+ margin-bottom: $md;
+ }
}

Powered by Google App Engine
This is Rietveld