-
Notifications
You must be signed in to change notification settings - Fork 14
/
styles.scss
234 lines (231 loc) · 4.53 KB
/
styles.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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
* {
box-sizing: border-box;
}
.visually-hidden {
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
html, body {
margin: 0;
padding: 0;
}
body {
font-size: 24px;
font-family: var(--global-font-family);
margin: 0;
min-width: 320px;
}
h2 {
font-size: 2rem;
font-weight: normal;
}
h3 {
font-size: 1.5rem;
}
h4, h5, h6 {
font-weight: normal;
}
a, a:link {
color: var(--color-link);
}
a:hover {
color: var(--color-link-hover);
}
button {
-webkit-appearance: none;
}
/* Page Content and Layouts */
#main {
min-height: 600px;
position: relative;
}
.layout {
margin: 0em auto;
padding: 4em 0.5em;
width: var(--width-inset);
}
@media screen and (max-width: 780px) {
.layout {
width: 100%;
}
}
.wide-layout {
margin: 4em auto;
max-width: var(--width-wide);
padding: 0 0.5em;
}
.two-parts-50-50 {
align-items: center;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4em;
}
.two-parts-50-50 img {
text-align: right;
}
.two-parts-60-40 {
align-items: center;
display: grid;
grid-template-columns: 6fr 4fr;
gap: 4em;
}
.three-parts {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 1em;
text-align: center;
}
@media screen and (max-width: 540px) {
.three-parts {
grid-template-columns: none;
grid-template-rows: 1fr 1fr 1fr;
}
}
.three-parts .item {
padding: 1em;
img {
display: inline-block;
margin-top: 1em;
}
}
.item.green {
background-color: #EEFDF2;
color: #00541E;
}
.item.yellow {
background-color: #FFF6EA;
color: #712813;
}
.item.blue {
background-color: #EEF8FF;
color: #0F4163;
}
.item svg {
margin: 1em 0;
}
.item .header {
font-size: 1rem;
font-weight: bold;
margin: 2em 0 1em;
}
.item p {
font-size: 1rem;
line-height: 1.5;
}
/* Forms */
.form-field {
position: relative;
}
.form-field .label,
.form-field label {
font-weight: 500;
font-size: 1rem;
}
.form-field span[class^="icon"] {
background-color: #333;
display: block;
height: 1em;
width: 1em;
}
.form-field .custom-input span[class^="icon"] {
height: 2em;
margin: 1rem 0 0 0.5em;
position: absolute;
}
.form-field span.icon-lookingglass {
background: url(/images/icons/icon-lookingglass.svg) no-repeat;
}
.form-field span.icon-lookingglass-white {
background: url(/images/icons/icon-lookingglass-white.svg) no-repeat;
}
.form-field button.btn-submit span.icon-lookingglass-white {
background-size: contain;
}
.form-field span.icon-calendar {
background: url(/images/icons/icon-calendar.svg) no-repeat;
}
.form-field input,
.form-field textarea {
box-sizing: border-box;
background-color: var(--bgcolor-input);
border-color: var(--color-border-input);
border-radius: 5px;
border-style: solid;
border-width: 1px;
font-family: inherit;
line-height: 2;
width: 100%;
-webkit-appearance: none;
}
.form-field input {
height: 3rem;
padding-left: 3em;
}
.form-field textarea {
height: 10em;
margin-bottom: 1em;
padding: 0.5em 1em;
}
.form-submit [class^='btn-'] {
background-color: var(--color-accent-dark);
border-radius: 5px;
color: var(--color-primary-light);
display: inline-block;
font-weight: bold;
height: 3rem;
line-height: 1;
padding: 0.75rem;
text-align: center;
vertical-align: middle;
min-width: 3em;
}
.form-submit [class^='btn-']:hover {
cursor: pointer;
}
.form-submit .btn-send {
align-items: center;
display: grid;
grid-template-columns: 3fr 1fr;
font-size: 1rem;
width: 6em;
}
.form-submit .btn-lookingglass svg {
display: inline-block;
}
.form-submit .btn-lookingglass svg path {
fill: var(--color-primary-light);
}
.form-submit .icon-arrow {
background: transparent url(/images/icons/icon-right-arrow.svg) no-repeat;
background-size: contain;
display: inline-block;
height: 0.75em;
transition: all 0.25s ease-in-out;
width: 1em;
}
.form-submit .btn-send:hover .icon-arrow {
transform: translateX(4px);
}
/* Footer */
#footer {
background-color: var(--bgcolor-footer);
min-height: 100px;
padding: 0 0.5em 2em 0.5em;
}
#footer .layout {
padding-top: 2em;
}
#footer-logo {
align-items: center;
background-color: var(--color-accent-dark);
border-radius: 50%;
display: flex;
height: 40px;
justify-content: center;
width: 40px;
}