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

Delta Between Two Patch Sets: static/scss/layout/_footer.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: Created May 16, 2017, 4:26 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
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details. 12 // GNU General Public License for more details.
13 // 13 //
14 // You should have received a copy of the GNU General Public License 14 // You should have received a copy of the GNU General Public License
15 // along with acceptableads.org. If not, see <http://www.gnu.org/licenses/>. 15 // along with acceptableads.org. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #footer 17 #footer
18 { 18 {
19 padding-top: $lg; 19 padding-top: $lg;
20 padding-bottom: $xl; 20 padding-bottom: $xl;
21 font-size: 70%; 21 font-size: 70%;
22 background-color: $secondary-bg; 22 background-color: $secondary-bg;
23 color: $secondary-fg; 23 color: $secondary-fg;
24 24
25 @media screen and (max-width: $tablet-breakpoint) 25 @media (max-width: $tablet-breakpoint)
26 { 26 {
27 padding-top: $md; 27 padding-top: $md;
28 padding-bottom: $lg; 28 padding-bottom: $lg;
29 }
30
31 @media (max-width: $mobile-breakpoint)
32 {
33 padding-top: $sm;
34 padding-bottom: $sm;
29 } 35 }
30 36
31 %headings 37 %headings
32 { 38 {
33 position: relative; 39 position: relative;
34 margin-bottom: $md; 40 margin-bottom: $md;
35 padding-top: $xs; 41 padding-top: $xs;
36 @extend h5; 42 @extend h5;
43
44 @media (max-width: $mobile-breakpoint)
45 {
46 margin-bottom: $sm;
47 }
37 } 48 }
38 49
39 %headings::before 50 %headings::before
40 { 51 {
41 display: block; 52 display: block;
42 position: absolute; 53 position: absolute;
43 top: 0; 54 top: 0;
44 left: 0; 55 left: 0;
45 width: $sm; 56 width: $sm;
46 height: 0; 57 height: 0;
(...skipping 15 matching lines...) Expand all
62 { 73 {
63 text-decoration: underline; 74 text-decoration: underline;
64 color: $accent !important; 75 color: $accent !important;
65 } 76 }
66 77
67 p 78 p
68 { 79 {
69 color: $info; 80 color: $info;
70 } 81 }
71 } 82 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld