-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
458 lines (430 loc) · 15.8 KB
/
index.html
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
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Closed for renovations</title>
<link rel="stylesheet" href="normalize.css">
<style>
div {
position: absolute;
}
#door {
position: relative;
width: 100vmin;
height: 100vmin;
margin: auto;
}
#frame {
top: 0;
left: 0;
bottom: 0;
right: 0;
border: solid black;
border-width: 0 1vmin;
}
#glass {
opacity: 0.8;
background-color: #96f0ff;
width: 90%;
height: 50%;
margin: 5%;
overflow: hidden;
box-shadow: inset 0 0 10vmin;
}
#glass-divider {
position: relative;
background: white;
height: 100%;
width: 5%;
margin: auto;
}
#sign {
background-color: white;
width: 50%;
height: 30%;
top: 50%;
left: 0;
right: 0;
margin: auto;
text-align: center;
-webkit-animation: sway 2s ease-in-out 0s infinite alternate;
animation: sway 2s ease-in-out 0s infinite alternate;
-webkit-transform-origin: 50% -50%;
-ms-transform-origin: 50% -50%;
transform-origin: 50% -50%;
-webkit-box-shadow: 1vmin 0 5vmin -1.5vmin;
-moz-box-shadow: 1vmin 0 5vmin -1.5vmin;
box-shadow: 1vmin 0 5vmin -1.5vmin;
}
@-webkit-keyframes sway {
from {-webkit-transform: rotate(0.01turn);transform: rotate(0.01turn);}
to {-webkit-transform: rotate(-0.01turn);transform: rotate(-0.01turn);}
}
@keyframes sway {
from {-webkit-transform: rotate(0.01turn);transform: rotate(0.01turn);}
to {-webkit-transform: rotate(-0.01turn);transform: rotate(-0.01turn);}
}
#sign h1 {
margin-top: 20%;
font-size: 5vmin;
}
#left-string {
background-color: black;
width: 58.5%;
height: 5%;
border-radius: 1vmin;
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
-webkit-transform: rotate(-30deg);
-ms-transform: rotate(-30deg);
transform: rotate(-30deg);
}
#right-string {
background-color: black;
width: 58.5%;
height: 5%;
right: 0;
border-radius: 1vmin;
-webkit-transform-origin: 100% 0;
-ms-transform-origin: 100% 0;
transform-origin: 100% 0;
-webkit-transform: rotate(30deg);
-ms-transform: rotate(30deg);
transform: rotate(30deg);
}
#fjatt-L1 {
bottom: 0;
-webkit-animation: leftToRight 3s ease-in-out infinite alternate;
animation: leftToRight 3s ease-in-out infinite alternate;
}
#fjatt-L2 {
-webkit-animation: bounce 0.3s infinite alternate;
animation: bounce 0.3s infinite alternate;
}
#fjatt-L2 img {
height: 50vmin;
}
@-webkit-keyframes leftToRight {
from{left: 130%;}
to {left: 50%;}
}
@keyframes leftToRight {
from{left: 130%;}
to {left: 50%;}
}
@-webkit-keyframes bounce {
from {-webkit-transform: translateY(50%);transform: translateY(50%); -webkit-transition-timing-function: ease-in; transition-timing-function: ease-in;}
to {-webkit-transform: translateY(-90%);transform: translateY(-90%); -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out;}
}
@keyframes bounce {
from {-webkit-transform: translateY(50%);transform: translateY(50%); -webkit-transition-timing-function: ease-in; transition-timing-function: ease-in;}
to {-webkit-transform: translateY(-90%);transform: translateY(-90%); -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out;}
}
#tre {
top: 10%;
left: 15%;
width: 10%;
}
#treshade {
top: 25%;
left: 40%;
height: 50%;
border: 1vmin solid rgba(255, 222, 0, 0.2);
border-radius: 100%;
box-shadow: 0 0 8vmin 5vmin rgba(255, 222, 0, 0.2);
opacity: 0;
-webkit-animation: flash 10s infinite 10s;
animation: flash 10s infinite 10s;
}
#tre:hover #treshade {
-webkit-animation: 0;
animation: 0;
}
@-webkit-keyframes flash {
from {opacity: 0}
95% {opacity: 0}
96% {opacity: 1}
97% {opacity: 0}
98% {opacity: 1}
99% {opacity: 0}
}
@keyframes flash {
from {opacity: 0}
95% {opacity: 0}
96% {opacity: 1}
97% {opacity: 0}
98% {opacity: 1}
99% {opacity: 0}
}
#tre img {
width: 100%;
-webkit-transform-origin: 50% 100%;
-ms-transform-origin: 50% 100%;
transform-origin: 50% 100%;
}
#tre:hover img {
-webkit-animation: shake 0.05s infinite 0.5s alternate;
animation: shake 0.05s infinite 0.5s alternate;
}
@-webkit-keyframes shake {
from{-webkit-transform: rotate(-1deg);transform: rotate(-1deg);}
to {-webkit-transform: rotate(1deg);transform: rotate(1deg);}
}
@keyframes shake {
from{-webkit-transform: rotate(-1deg);transform: rotate(-1deg);}
to {-webkit-transform: rotate(1deg);transform: rotate(1deg);}
}
#trehulebule {
border: 1vmin solid black;
border-radius: 100%;
top: 60%;
left: 45%;
-webkit-transition: left 0.5s;
transition: left 0.5s;
}
#tre:hover #trehulebule {
left: 0;
-webkit-animation: vibrate 0.05s infinite 0.5s alternate;
animation: vibrate 0.05s infinite 0.5s alternate;
}
@-webkit-keyframes vibrate {
from{-webkit-transform: translateY(0);transform: translateY(0);}
to {-webkit-transform: translateY(-20%);transform: translateY(-20%);}
}
@keyframes vibrate {
from{-webkit-transform: translateY(0);transform: translateY(0);}
to {-webkit-transform: translateY(-20%);transform: translateY(-20%);}
}
.åli {
display: block;
position: absolute;
top: 60%;
left: -5%;
font-size: 2vmin;
font-family: monospace;
visibility: hidden;
}
#tre:hover .åli {
-webkit-animation-name: åli;
animation-name: åli;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}
@-webkit-keyframes åli {
0% { visibility: visible; }
25% { visibility: hidden; }
}
@keyframes åli {
0% { visibility: visible; }
25% { visibility: hidden; }
}
#åli1 {
-webkit-animation-delay: 1.25s;
animation-delay: 1.25s;
-webkit-transform: rotate(20deg) translateX(-100%);
-ms-transform: rotate(20deg) translateX(-100%);
transform: rotate(20deg) translateX(-100%);
}
#åli2 {
-webkit-animation-delay: .75s;
animation-delay: .75s;
-webkit-transform: rotate(80deg) translateX(-100%) rotate(-90deg);
-ms-transform: rotate(80deg) translateX(-100%) rotate(-90deg);
transform: rotate(80deg) translateX(-100%) rotate(-90deg);
}
#åli3 {
-webkit-animation-delay: .5s;
animation-delay: .5s;
-webkit-transform: rotate(-20deg) translateX(-100%);
-ms-transform: rotate(-20deg) translateX(-100%);
transform: rotate(-20deg) translateX(-100%);
}
#åli4 {
-webkit-animation-delay: 1s;
animation-delay: 1s;
-webkit-transform: rotate(-80deg) translateX(-100%) rotate(100deg);
-ms-transform: rotate(-80deg) translateX(-100%) rotate(100deg);
transform: rotate(-80deg) translateX(-100%) rotate(100deg);
}
#jonhest {
display: block;
position: absolute;
bottom: 0;
left: 0;
height: 60%;
-webkit-transform: translateX(-100%) translateY(100%);
-ms-transform: translateX(-100%) translateY(100%);
transform: translateX(-100%) translateY(100%);
-webkit-animation: jonhest-surprise 25s infinite;
animation: jonhest-surprise 25s infinite;
}
@-webkit-keyframes jonhest-surprise {
0% {-webkit-transform: translateX(-100%) translateY(100%);transform: translateX(-100%) translateY(100%);}
90% {-webkit-transform: translateX(-100%) translateY(100%);transform: translateX(-100%) translateY(100%);}
93% {-webkit-transform: translateX(-20%) translateY(10%);transform: translateX(-20%) translateY(10%);}
96% {-webkit-transform: translateX(-20%) translateY(10%);transform: translateX(-20%) translateY(10%);}
100% {-webkit-transform: translateX(-100%) translateY(100%);transform: translateX(-100%) translateY(100%);}
}
@keyframes jonhest-surprise {
0% {-webkit-transform: translateX(-100%) translateY(100%);transform: translateX(-100%) translateY(100%);}
90% {-webkit-transform: translateX(-100%) translateY(100%);transform: translateX(-100%) translateY(100%);}
93% {-webkit-transform: translateX(-20%) translateY(10%);transform: translateX(-20%) translateY(10%);}
96% {-webkit-transform: translateX(-20%) translateY(10%);transform: translateX(-20%) translateY(10%);}
100% {-webkit-transform: translateX(-100%) translateY(100%);transform: translateX(-100%) translateY(100%);}
}
#digidan-L1 {
right: 20%;
width: 20%;
-webkit-animation: snurrX 2s infinite 1s ease-in-out alternate;
animation: snurrX 2s infinite 1s ease-in-out alternate;
}
#digidan-L2 {
right: 0;
width: 100%;
-webkit-animation: snurrY 2s infinite ease-in-out alternate;
animation: snurrY 2s infinite ease-in-out alternate;
}
#digidan {
width: 100%;
}
@-webkit-keyframes snurrX {
from {-webkit-transform: translateX(0%);transform: translateX(0%);}
to {-webkit-transform: translateX(-100%);transform: translateX(-100%);}
}
@keyframes snurrX {
from {-webkit-transform: translateX(0%);transform: translateX(0%);}
to {-webkit-transform: translateX(-100%);transform: translateX(-100%);}
}
@-webkit-keyframes snurrY {
from {-webkit-transform: translateY(0%) scale(0.8);transform: translateY(0%) scale(0.8);}
to {-webkit-transform: translateY(60%) scale(1);transform: translateY(60%) scale(1);}
}
@keyframes snurrY {
from {-webkit-transform: translateY(0%) scale(0.8);transform: translateY(0%) scale(0.8);}
to {-webkit-transform: translateY(60%) scale(1);transform: translateY(60%) scale(1);}
}
#slapskaustrolle {
position: absolute;
height: 100%;
right: -250%;
bottom: 0;
-webkit-transition: right .3s;
transition: right .3s;
}
#slapskaustrigger {
width: 20%;
height: 100%;
right: 0;
z-index: 10;
}
#slapskaustrigger:hover #slapskaustrolle {
right: -25%;
}
.spy {
width: 140%;
position: absolute;
top: 45%;
right: -250%;
-webkit-transition: right .3s;
transition: right .3s;
-webkit-transform-origin: 100% 200%;
-ms-transform-origin: 100% 200%;
transform-origin: 100% 200%;
-webkit-transform: rotate(0.09turn);
-ms-transform: rotate(0.09turn);
transform: rotate(0.09turn);
}
#slapskaustrigger:hover .spy {
right: 100%;
-webkit-animation: spy .8s infinite linear;
animation: spy .8s infinite linear;
}
@-webkit-keyframes spy {
to {-webkit-transform: rotate(-0.15turn);transform: rotate(-0.15turn);}
}
@keyframes spy {
to {-webkit-transform: rotate(-0.15turn);transform: rotate(-0.15turn);}
}
#slapskaustrigger:hover #spy1 {
-webkit-animation-delay: 0.5s;
animation-delay: 0.5s;
}
#slapskaustrigger:hover #spy2 {
-webkit-animation-delay: 0.7s;
animation-delay: 0.7s;
}
#slapskaustrigger:hover #spy3 {
-webkit-animation-delay: 0.9s;
animation-delay: 0.9s;
}
#slapskaustrigger:hover #spy4 {
-webkit-animation-delay: 1.1s;
animation-delay: 1.1s;
}
#spyfyll {
width: 500%;
height: 0;
right: 0;
bottom: 0;
background-color: black;
-webkit-transition: height 60s;
transition: height 60s;
}
#slapskaustrigger:hover #spyfyll {
height: 100%;
}
#slapsflash {
width: 50%;
height: 100%;
right: 0;
background-color: rgba(255, 222, 0, 0.2);
box-shadow: 0 0 8vmin 5vmin rgba(255, 222, 0, 0.2);
opacity: 0;
-webkit-animation: flash 10s infinite 5s;
animation: flash 10s infinite 5s;
}
#slapskaustrigger:hover #slapsflash {
-webkit-animation: 0;
animation: 0;
}
</style>
</head>
<body>
<div id="door">
<div id="frame">
<div id="glass">
<div id="tre">
<img src="tre.png">
<div id="trehulebule"></div>
<span id="åli1" class="åli">ÅLI</span>
<span id="åli2" class="åli">ÅLI</span>
<span id="åli3" class="åli">ÅLI</span>
<span id="åli4" class="åli">ÅLI</span>
<div id="treshade"></div>
</div>
<div id="digidan-L1"><div id="digidan-L2"><img id="digidan" src="digidan.png"></div></div>
<div id="fjatt-L1"><div id="fjatt-L2"><img src="fjatt.png"></div></div>
<div id="slapskaustrigger">
<img id="slapskaustrolle" src="slapskaustrolle.png">
<img class="spy" id="spy1" src="spy1.png">
<img class="spy" id="spy2" src="spy2.png">
<img class="spy" id="spy3" src="spy3.png">
<img class="spy" id="spy4" src="spy4.png">
<div id="slapsflash"></div>
<div id="spyfyll"></div>
</div>
<img id="jonhest" src="jonhest.png">
</div>
</div>
<div id="glass-divider"></div>
<div id="sign">
<div id="left-string"></div>
<div id="right-string"></div>
<h1>CLOSED FOR RENOVATIONS</h1>
</div>
</div>
</body>
</html>