-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
233 lines (212 loc) · 3.43 KB
/
styles.css
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
body {
font-family: Verdana, sans-serif;
min-height: 100vh;
padding: 2rem;
}
h3 {
margin: 0;
}
article {
padding: 18px 0;
}
.gauge-container {
width: 300px;
}
.gauge-values {
display: flex;
justify-content: space-between;
font-family: Verdana, sans-serif;
}
.gauge {
border: 2px solid #333333;
border-radius: 6px;
height: 50px;
overflow: hidden;
position: relative;
max-width: 300px;
}
.gauge:before,
.gauge:after {
content: '';
left: 0;
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
}
.gauge:before {
background-image: linear-gradient(
to left,
transparent 0%,
transparent 5%,
#333 5%,
#333 5.5%,
transparent 5.5%,
transparent 10%,
#333 10%,
#333 10.5%,
transparent 10.5%,
transparent 15%,
#333 15%,
#333 15.5%,
transparent 15.5%,
transparent 20%,
#333 20%,
#333 20.5%,
transparent 20.5%,
transparent 25%,
#333 25%,
#333 25.5%,
transparent 25.5%,
transparent 30%,
#333 30%,
#333 30.5%,
transparent 30.5%,
transparent 35%,
#333 35%,
#333 35.5%,
transparent 35.5%,
transparent 40%,
#333 40%,
#333 40.5%,
transparent 40.5%,
transparent 45%,
#333 45%,
#333 45.5%,
transparent 45.5%,
transparent 50%,
#333 50%,
#333 50.5%,
transparent 50.5%,
transparent 55%,
#333 55%,
#333 55.5%,
transparent 55.5%,
transparent 60%,
#333 60%,
#333 60.5%,
transparent 60.5%,
transparent 65%,
#333 65%,
#333 65.5%,
transparent 65.5%,
transparent 70%,
#333 70%,
#333 70.5%,
transparent 70.5%,
transparent 75%,
#333 75%,
#333 75.5%,
transparent 75.5%,
transparent 80%,
#333 80%,
#333 80.5%,
transparent 80.5%,
transparent 85%,
#333 85%,
#333 85.5%,
transparent 85.5%,
transparent 90%,
#333 90%,
#333 90.5%,
transparent 90.5%,
transparent 95%,
#333 95%,
#333 95.5%,
transparent 95.5%,
transparent 100%,
#333 100%,
#333 100.5%,
transparent 100.5%
);
}
.gauge:after {
background-image: linear-gradient(
to left,
transparent 0%,
transparent 25%,
#333 25%,
#333 25.5%,
transparent 25.5%,
transparent 50%,
#333 50%,
#333 50.5%,
transparent 50.5%,
transparent 75%,
#333 75%,
#333 75.5%,
transparent 75.5%,
transparent 100%,
#333 100%,
#333 100.5%,
transparent 100.5%
);
height: 30px;
}
.gauge .fill {
background-color: #ffce47;
height: 50px;
}
.calc {
width: 73%;
}
*,
*:before,
*:after {
box-sizing: border-box;
}
*,
*:focus,
*:active,
*:focus:active,
*:before,
*:before:focus,
*:before:active,
*:before:focus:active,
*:after,
*:after:focus,
*:after:active,
*:after:focus:active {
outline: none;
}
.wall-of-gratitude-image {
width: 200px;
height: 200px;
border-radius: 50%;
}
.wall-of-gratitude {
display: flex;
justify-content: left;
flex-wrap: wrap;
}
.wall-of-gratitude-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 12px;
width: 320px;
}
.wall-of-gratitude-card p {
text-align: center;
line-height: 1.6;
}
.faq-card:not(:first-of-type) {
padding-top: 18px;
}
.question {
font-weight: bold;
}
td:first-of-type {
padding-right: 24px;
}
.dom-picture {
width: 300px;
}
.results {
width: 350px;
}
@media screen and (min-width: 400px) {
.results {
width: 1000px;
}
}