This repository was archived by the owner on Oct 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy path_campaign.scss
More file actions
102 lines (83 loc) · 1.56 KB
/
_campaign.scss
File metadata and controls
102 lines (83 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
.campaign--wrapper {
@import "campaign/layout";
@import "campaign/header";
@import "campaign/footer";
@import "campaign/nav";
@import "campaign/know";
@import "campaign/plan";
@import "campaign/do";
@import "campaign/prove";
}
.node-type-campaign {
@include wrapper--nav-floating;
}
.campaign--wrapper {
overflow: hidden;
background: #fff;
// Gives the floating nav a parent container to anchor to
.content-wrapper {
position: relative;
}
// Full-width header that comes
// immediately before each section.step
.banner {
margin: 0;
span {
@include section-padding;
@include media($tablet) {
padding: 0;
@include shift(3 of 16);
}
}
}
// Campaign "step" wrapper that contains all campaign sections
.step {
overflow: hidden;
margin: 1rem 0;
h3,
h4,
p,
div {
@include section-padding;
@include media($tablet) {
padding: 0;
}
}
div h3,
div h4,
div p,
div div {
padding: 0 !important;
}
h3 {
color: $purple;
font-size: $font-large;
}
h4 {
color: $purple;
font-size: $font-medium;
}
li {
list-style-type: disc;
margin: 0 0 0 1.5rem;
padding: 0 0 0 0.25rem;
@include media($tablet) {
margin: 0 0 0 1rem;
}
}
}
.legal {
text-align: left;
// Overrides to deal with markdown formatting
p,
sup {
display: inline;
}
div {
line-height: 1;
&:last-child {
margin: 0;
}
}
}
}