-
Notifications
You must be signed in to change notification settings - Fork 0
/
_thtrm-section.scss
179 lines (152 loc) · 2.79 KB
/
_thtrm-section.scss
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
.thtrm-section {
padding: 4em 1.5em;
text-align: center;
background-color: #fff;
&--gray {
background: #eee;
}
&--is-promo {
background: #466473;
padding: 3em 2em;
}
&--banner {
background: rgba(56, 76, 84, 1);
padding: 12em 1.5em 10em;
}
&--is-light {
background: #f2f2f2;
}
&--slim {
max-width: 900px;
margin-left: auto;
margin-right: auto;
text-align: left;
}
&--tall-distance-top {
padding-top: 1.5em;
}
&--tall-distance-bottom {
padding-bottom: 1.5em;
}
&.thtrm-section--symbol {
padding-top: 10em;
position: relative;
text-align: center;
@include tablet {
padding-top: 10em;
}
@include desktop {
padding-top: 10em;
}
.thtrm-section-image {
left: 50%;
margin-left: -50px;
position: absolute;
top: 2em;
}
}
@include tablet {
padding: 4em 4em 5em;
&.thtrm-section--banner {
padding: 12em 4em 14em;
}
}
@include desktop {
padding: 6em 4em;
.thtrm-home & {
&.thtrm-section--is-promo {
padding: 4em;
}
}
}
}
.thtrm-section-constrained {
max-width: 900px;
margin: 2em auto 0;
}
.thtrm-section-image {
width: 100px;
display: block;
margin: 0 auto;
margin-bottom: 0.5em;
}
.thtrm-section-headline {
font-size: 28px;
text-transform: uppercase;
margin: 0;
color: rgba(56, 76, 84, 1);
.thtrm-section--is-promo & {
color: #fff;
font-size: 24px;
}
.thtrm-section--banner & {
color: #fff;
}
@include tablet {
font-size: 32px;
.thtrm-section--banner & {
font-size: 42px;
}
}
}
.thtrm-section-headline-spoiler {
color: #62a7be;
font-size: 12px;
text-transform: uppercase;
font-weight: 500;
display: block;
margin-top: 0.5em;
line-height: 16px;
@include tablet {
font-size: 14px;
}
}
.thtrm-section-text {
margin: 0 auto;
margin-top: 1em;
color: rgba(56, 76, 84, 1);
text-align: center;
font-size: 18px;
line-height: 28px;
position: relative;
&--without-margin {
margin-top: 0;
}
a {
text-decoration: none;
font-weight: 600;
color: inherit;
border-bottom: 1px solid rgba(56, 76, 84, 1);
}
.thtrm-section--is-promo & {
color: #fff;
margin-top: 0.5em;
font-size: 18px;
line-height: 24px;
}
.thtrm-section--banner & {
color: #fff;
}
@include tablet {
max-width: 800px;
font-size: 20px;
}
}
.thtrm-layout-divider-cta {
color: #466473;
border: 2px solid rgba(56, 76, 84, 1);
text-decoration: none;
display: inline-block;
padding: 0.5em 1em;
font-weight: 600;
text-transform: uppercase;
margin-top: 1em;
.thtrm-section--is-promo & {
color: #fff;
border-color: #fff;
}
&:hover {
color: #466473;
background-color: #fff;
}
}