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

Delta Between Two Patch Sets: static/scss/layout/_body.scss

Issue 29519587: Issue 5534 - Create Contact Section for help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Left Patch Set: Created Aug. 18, 2017, 12:30 p.m.
Right Patch Set: Addressed final NITs Created Oct. 10, 2017, 6:33 p.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
« no previous file with change/comment | « static/scss/content/_typography.scss ('k') | static/scss/main.scss » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 // This file is part of help.eyeo.com. 1 // This file is part of help.eyeo.com.
2 // Copyright (C) 2017 Eyeo GmbH 2 // Copyright (C) 2017 Eyeo GmbH
3 // 3 //
4 // help.eyeo.com is free software: you can redistribute it and/or modify 4 // help.eyeo.com 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 // help.eyeo.com is distributed in the hope that it will be useful, 9 // help.eyeo.com 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 help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. 15 // along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>.
16 16
17 .outer 17 .outer
18 { 18 {
19 margin-top: $site-header-height; 19 background-image: url(/img/png/help-bg.png);
20 background-image: url("/img/png/help-bg.png");
21 background-repeat: no-repeat; 20 background-repeat: no-repeat;
22 } 21 }
23 22
24 .main 23 #main
25 { 24 {
26 padding-top: $lg; 25 padding-top: $lg;
27 padding-bottom: $xl; 26 padding-bottom: $xl;
28 27
29 @media (min-width: $mobile-breakpoint) 28 @media (min-width: $phablet-breakpoint)
30 { 29 {
31 padding-top: $xl; 30 padding-top: $xl;
32 } 31 }
33 } 32 }
34 33
35 .wrapper 34 .tablet-width
juliandoucette 2017/08/30 11:33:06 NIT: Wouldn't it would be simpler to just add marg
ire 2017/09/25 08:47:35 I modified this slightly to make use of the `conta
36 {
37 width: $content-width;
38 max-width: $content-max-width;
39 margin-right: auto;
40 margin-left: auto;
41 }
42
43 .wrapper-sm
44 { 35 {
45 width: $tablet-width; 36 width: $tablet-width;
46 max-width: $content-max-width;
47 margin-right: auto;
48 margin-left: auto;
49 } 37 }
50 38
51 .section 39 .section
52 { 40 {
53 margin-bottom: $lg; 41 margin-bottom: $lg;
54 42
55 @media (min-width: $mobile-breakpoint) 43 @media (min-width: $phablet-breakpoint)
56 { 44 {
57 margin-bottom: $xl; 45 margin-bottom: $xl;
58 } 46 }
59 } 47 }
60 48
61 .section-accent 49 .section-accent
ire 2017/08/18 12:34:30 These styles are pretty much exclusive to the cont
juliandoucette 2017/08/30 11:33:06 No strong opinion. I think it makes sense to have
ire 2017/09/25 08:47:35 I'll leave it the way it is for now then.
62 { 50 {
63 padding-top: $xl; 51 padding-top: $xl;
64 padding-bottom: $xl; 52 padding-bottom: $xl;
65 background-image: url("/img/png/accent-bg.png"); 53 background-image: url("/img/png/accent-bg.png");
54 background-size: 100%;
66 background-repeat: no-repeat; 55 background-repeat: no-repeat;
67 background-position: center 0; 56 background-position: center 0;
68 } 57 }
69
70 .section-accent a
juliandoucette 2017/08/30 11:33:06 NIT: I think that these links are link buttons at
ire 2017/09/25 08:47:35 I changed this to a horizontal list, and styled th
71 {
72 display: inline-block;
73 margin-right: $md;
74 font-weight: $bold-weight;
75 text-transform: uppercase;
76 }
77
78 [dir="rtl"]
79 {
80 .section-accent a
81 {
82 margin-right: 0;
83 margin-left: $md;
84 }
85 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld