-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
354 lines (317 loc) · 5.85 KB
/
style.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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
:root {
background: #EEF6F7;
font: 400 20px system-ui;
color: #366163;
}
.logo h1 {
height: 0;
opacity: 0;
margin: 0;
overflow: hidden;
}
#contact_me_by_fax_only {
display: none !important;
}
h2 {
font-size: 24px;
font-weight: 400;
}
h3 {
font-size: 20px;
font-weight: 600;
line-height: 1.3;
}
p {
font-weight: 300;
line-height: 1.35;
}
.tagline {
color: #fff;
font-weight: 720;
margin: 0;
font-size: 32px;
}
body {
max-width: 50rem;
margin: 0 auto;
}
section + section, .map {
margin-top: 96px;
}
p, h2, h3 {
margin-left: 16px;
margin-right: 16px;
max-width: 850px;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
height: 96px;
padding: 16px;
}
.projects {
display: grid;
grid-template-rows: auto;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
grid-gap: 1rem;
}
.projects h2 {
grid-column-end: end;
}
.hero {
background: url("images/hero_1200w.png") center no-repeat;
height: 400px;
width: 100%;
padding: 16px;
}
.img-carousel {
max-width: 100%;
}
.img-carousel img {
filter: drop-shadow(0 0 10px #0002);
max-width: 100%;
margin: auto;
}
input, textarea {
font-size: 16px;
padding: 20px 0px;
border: none;
border-bottom: solid 2px rgba(0, 0, 0, 0.1);
background: #EEF6F7;
box-sizing: border-box;
transition: all 0.3s linear;
color: #000;
font-weight: 400;
-webkit-appearance: none;
}
input:focus, textarea:focus {
border-bottom: solid 2px #065959;
outline: 0;
box-shadow: 0 2px 6px -8px rgba(6, 89, 89, 0.45);
}
button {
-webkit-appearance: none;
width: auto !important;
height: auto !important;
min-width: 120px;
border-radius: 24px;
text-align: center;
padding: 16px 32px;
color: #fff !important;
margin-top: 5px;
background-color: #005f5f !important;
font-size: 14px !important;
font-weight: 500 !important;
border: none !important;
transition: all 0.3s ease;
outline: 0;
}
button:hover {
cursor: pointer;
box-shadow: 0 2px 6px -1px rgba(6, 89, 89, 0.65);
}
button:hover:active {
transform: scale(0.95);
}
.floating__label {
position: relative;
margin-bottom: 10px;
}
.floating__label label {
position: absolute;
top: calc(50% - 7px);
left: 0;
opacity: 0;
transition: all 0.3s ease;
}
.floating__label input:not(:placeholder-shown), .floating__label textarea:not(:placeholder-shown) {
padding: 28px 0px 12px 0px;
}
.floating__label input:not(:placeholder-shown) + label, .floating__label textarea:not(:placeholder-shown) + label {
transform: translateY(-14px);
opacity: 0.7;
}
.floating__label textarea + label {
top: 20px !important;
}
form label {
font-size: 12.5px;
opacity: 0.8;
font-weight: 400;
}
#login {
display: flex;
align-items: center;
}
#login .floating__label {
margin: 16px;
}
#login input {
width: 15vw;
max-width: 160px;
}
#contactForm {
padding: 40px 30px;
display: flex;
flex-direction: column;
align-items: flex-start;
padding-bottom: 20px;
width: 300px;
}
#contactForm h3 {
margin: 0 0 20px 0;
}
#contactForm h3:after {
content: "";
height: 32px;
width: 32px;
background-image: url('data:image/svg+xml,<svg fill="currentColor" width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><path d="M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM25.8,8,16,14.78,6.2,8ZM4,24V8.91l11.43,7.91a1,1,0,0,0,1.14,0L28,8.91V24Z"></path></svg>');
}
img {
width: 100%;
}
.map {
display: flex;
flex-direction: column;
}
.map iframe {
align-self: center;
max-width: 100%;
filter: drop-shadow(0 0 10px #0002);
}
.rh_subDiv {
background-color: #EEF6F7 !important;
box-shadow: none !important;
}
@keyframes factsList {
10% {
content: "octopus live in the sea";
}
20% {
content: "octopus have eight legs";
}
30% {
content: "stay safe";
}
40% {
content: "pi is a number between 3 and 4";
}
50% {
content: "you can monetise anything people create";
}
60% {
content: "octopus are flexible";
}
70% {
content: "nobody cares for the care staff";
}
80% {
content: "some people are made to feel incapable";
}
90% {
content: "the world is getting better";
}
}
footer {
font-size: 16px;
margin-top: 72px;
}
footer address p {
margin-top: 8px;
Margin-bottom: 8px;
}
@keyframes snap {
96% {
scroll-snap-align: center;
}
97% {
scroll-snap-align: none;
}
99% {
scroll-snap-align: none;
}
100% {
scroll-snap-align: center;
}
}
* {
box-sizing: border-box;
scrollbar-color: transparent transparent;
/* thumb and track color */
scrollbar-width: 0px;
}
*::-webkit-scrollbar {
width: 0;
}
*::-webkit-scrollbar-track {
background: transparent;
}
*::-webkit-scrollbar-thumb {
background: transparent;
border: none;
}
* {
-ms-overflow-style: none;
}
ol, li {
list-style: none;
margin: 0;
padding: 0;
}
.carousel {
position: relative;
padding-top: 75%;
}
.carousel__viewport {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
overflow-x: scroll;
overflow-y: hidden;
scroll-behavior: smooth;
scroll-snap-type: x mandatory;
}
.carousel__snapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
scroll-snap-align: center;
}
.carousel__slide {
position: relative;
flex: 0 0 100%;
width: 100%;
counter-increment: item;
display: flex;
align-items: center;
}
.carousel__navigation {
position: absolute;
right: 0;
bottom: 0;
left: 0;
text-align: center;
z-index: 100;
}
.carousel__navigation-list,
.carousel__navigation-item {
display: inline-block;
}
.carousel__navigation-button {
display: inline-block;
width: 1.5rem;
height: 1.5rem;
background-color: #333;
background-clip: content-box;
border: 0.25rem solid transparent;
border-radius: 50%;
font-size: 0;
transition: transform 0.1s;
}
/*# sourceMappingURL=style.css.map */