add license info
[anon-chrysantemum.git] / chryzantem.html
blobc9011c357676e9d9ead102976eac061e601c0775
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title></title>
5 <style>
6 div, body {
7 margin: 0;
8 padding: 0;
11 img {
12 user-select: none;
15 html {
16 width: 100vw;
17 height: 100vh;
18 overflow: hidden;
21 #picture {
22 --unit: calc(100vh / 90);
23 overflow: hidden;
24 height: calc(90 * var(--unit));
27 #picture h1 {
28 font-size: var(--unit);
31 #picture>*, .smile, .eyes, .center {
32 margin-left: auto;
33 margin-right: auto;
36 .flower {
37 position: relative;
38 top: calc(-75 * var(--unit));
39 width: calc(30 * var(--unit));
40 height: calc(30 * var(--unit));
43 .flower>* {
44 position: relative;
45 width: 0;
46 height: 0;
49 .center {
50 top: calc(15 * var(--unit));
52 animation-name: center-appear;
53 animation-duration: 0.4s;
54 animation-fill-mode: both;
57 .center::before {
58 content: "";
59 display: block;
60 width: calc(3 * var(--unit));
61 height: calc(3 * var(--unit));
62 background-color: orange;
63 border-radius: calc(1.5 * var(--unit));
64 position: relative;
65 top: calc(-1.5 * var(--unit));
66 left: calc(-1.5 * var(--unit));
69 @keyframes center-appear {
70 0% {
71 transform: scale(0);
74 100% {
75 transform: scale(1);
79 .petal {
80 top: calc(14.7 * var(--unit));
81 left: calc(15 * var(--unit));
84 .petal * {
85 width: calc(var(--subunit) * var(--unit));
86 animation-duration: 10s;
87 animation-timing-function: ease-out;
88 animation-fill-mode: both;
91 .petal>*{
92 position: relative;
93 top: calc(-3 * var(--subunit) * var(--unit));
94 left: calc(-0.5 * var(--subunit) * var(--unit));
96 transform-origin: 50% 100%;
97 animation-name: petal-rotate;
100 .petal>*>*{
101 position: relative;
103 animation-delay: inherit;
104 animation-name: petal-come-close;
107 @keyframes petal-rotate {
108 0% {
109 transform: rotate(0deg);
112 100% {
113 transform: rotate(var(--end-deg));
117 @keyframes petal-come-close {
118 0% {
119 bottom: calc(15 * var(--unit));
122 100% {
123 bottom: 0;
127 .smile {
128 top: calc(20 * var(--unit));
131 .eyes {
132 top: calc(5 * var(--unit));
135 .smile>*, .eyes>* {
136 position: relative;
137 width: calc(17 * var(--unit));
138 left: calc(-8.5 * var(--unit));
139 top: calc(-3 * var(--unit));
140 animation-fill-mode: both;
143 .smile>* {
144 animation-name: appear;
145 animation-duration: 0.3s;
148 @keyframes appear {
149 0% {
150 transform: scaleY(0);
153 100% {
154 transform: scaleY(1);
158 .eyes>* {
159 transform-origin: 50% calc(10.5 * var(--unit));
160 animation-name: eyes-blink;
161 animation-duration: 4s;
162 animation-iteration-count: infinite;
165 @keyframes eyes-blink {
166 0%, 100% {
167 transform: scaleY(0);
170 7.5%, 92.5% {
171 transform: scaleY(1);
175 .stem {
176 position: relative;
177 top: calc(15 * var(--unit));
178 background-color: #495;
179 border-left: solid calc(0.5 * var(--unit)) #252;
180 border-right: solid calc(0.5 * var(--unit)) #252;
181 width: var(--unit);
182 height: calc(75 * var(--unit));
184 transform-origin: 50% calc(0 * var(--unit));
185 animation-name: appear;
186 animation-duration: 0.6s;
187 animation-fill-mode: both;
190 .wesolych, .wszystkich {
191 position: relative;
192 width: 0;
193 height: 0;
194 top: calc(-55 * var(--unit));
196 animation-name: appear;
197 animation-duration: 0.4s;
198 animation-fill-mode: both;
201 .wszystkich {
202 top: calc(-35 * var(--unit));
205 .wesolych>*, .wszystkich>* {
206 position: relative;
207 width: calc(42 * var(--unit));
208 left: calc(-21 * var(--unit));
210 transform-origin: 50% 100%;
211 animation-name: bounce;
212 animation-direction: alternate;
213 animation-iteration-count: infinite;
214 animation-duration: 1.5s;
215 animation-fill-mode: both;
216 animation-timing-function: cubic-bezier(0.01, 0.29, 0, 0.96);
219 @keyframes bounce {
220 0% {
221 transform: scaleY(0.7);
224 100% {
225 transform: scaleY(1.2);
228 </style>
229 </head>
230 <body>
231 <div id="picture">
232 <div class="stem" style="animation-delay: 27.15s;"></div>
233 <div class="flower">
234 <div class="center" style="animation-delay: 14.8s;"></div>
235 <div class="petal">
236 <div style="--subunit: 4.9; --end-deg: -360deg; animation-delay: 17.0s;">
237 <img src="./petal.svg" alt="flower petal" draggable="false">
238 </div>
239 </div>
240 <div class="petal">
241 <div style="--subunit: 4.9; --end-deg: -384deg; animation-delay: 16.8s;">
242 <img src="./petal.svg" alt="flower petal" draggable="false">
243 </div>
244 </div>
245 <div class="petal">
246 <div style="--subunit: 4.9; --end-deg: -408deg; animation-delay: 16.6s;">
247 <img src="./petal.svg" alt="flower petal" draggable="false">
248 </div>
249 </div>
250 <div class="petal">
251 <div style="--subunit: 4.9; --end-deg: -432deg; animation-delay: 16.4s;">
252 <img src="./petal.svg" alt="flower petal" draggable="false">
253 </div>
254 </div>
255 <div class="petal">
256 <div style="--subunit: 4.9; --end-deg: -456deg; animation-delay: 16.2s;">
257 <img src="./petal.svg" alt="flower petal" draggable="false">
258 </div>
259 </div>
260 <div class="petal">
261 <div style="--subunit: 4.9; --end-deg: -480deg; animation-delay: 16.0s;">
262 <img src="./petal.svg" alt="flower petal" draggable="false">
263 </div>
264 </div>
265 <div class="petal">
266 <div style="--subunit: 4.9; --end-deg: -504deg; animation-delay: 15.8s;">
267 <img src="./petal.svg" alt="flower petal" draggable="false">
268 </div>
269 </div>
270 <div class="petal">
271 <div style="--subunit: 4.9; --end-deg: -528deg; animation-delay: 15.6s;">
272 <img src="./petal.svg" alt="flower petal" draggable="false">
273 </div>
274 </div>
275 <div class="petal">
276 <div style="--subunit: 4.9; --end-deg: -552deg; animation-delay: 15.4s;">
277 <img src="./petal.svg" alt="flower petal" draggable="false">
278 </div>
279 </div>
280 <div class="petal">
281 <div style="--subunit: 4.9; --end-deg: -576deg; animation-delay: 15.2s;">
282 <img src="./petal.svg" alt="flower petal" draggable="false">
283 </div>
284 </div>
285 <div class="petal">
286 <div style="--subunit: 4.9; --end-deg: -600deg; animation-delay: 15.0s;">
287 <img src="./petal.svg" alt="flower petal" draggable="false">
288 </div>
289 </div>
290 <div class="petal">
291 <div style="--subunit: 4.9; --end-deg: -624deg; animation-delay: 14.8s;">
292 <img src="./petal.svg" alt="flower petal" draggable="false">
293 </div>
294 </div>
295 <div class="petal">
296 <div style="--subunit: 4.9; --end-deg: -648deg; animation-delay: 14.6s;">
297 <img src="./petal.svg" alt="flower petal" draggable="false">
298 </div>
299 </div>
300 <div class="petal">
301 <div style="--subunit: 4.9; --end-deg: -672deg; animation-delay: 14.4s;">
302 <img src="./petal.svg" alt="flower petal" draggable="false">
303 </div>
304 </div>
305 <div class="petal">
306 <div style="--subunit: 4.9; --end-deg: -696deg; animation-delay: 14.2s;">
307 <img src="./petal.svg" alt="flower petal" draggable="false">
308 </div>
309 </div>
310 <div class="petal">
311 <div style="--subunit: 3.5; --end-deg: -732deg; animation-delay: 14.0s;">
312 <img src="./petal.svg" alt="flower petal" draggable="false">
313 </div>
314 </div>
315 <div class="petal">
316 <div style="--subunit: 3.5; --end-deg: -756deg; animation-delay: 13.8s;">
317 <img src="./petal.svg" alt="flower petal" draggable="false">
318 </div>
319 </div>
320 <div class="petal">
321 <div style="--subunit: 3.5; --end-deg: -780deg; animation-delay: 13.6s;">
322 <img src="./petal.svg" alt="flower petal" draggable="false">
323 </div>
324 </div>
325 <div class="petal">
326 <div style="--subunit: 3.5; --end-deg: -804deg; animation-delay: 13.4s;">
327 <img src="./petal.svg" alt="flower petal" draggable="false">
328 </div>
329 </div>
330 <div class="petal">
331 <div style="--subunit: 3.5; --end-deg: -828deg; animation-delay: 13.2s;">
332 <img src="./petal.svg" alt="flower petal" draggable="false">
333 </div>
334 </div>
335 <div class="petal">
336 <div style="--subunit: 3.5; --end-deg: -852deg; animation-delay: 13.0s;">
337 <img src="./petal.svg" alt="flower petal" draggable="false">
338 </div>
339 </div>
340 <div class="petal">
341 <div style="--subunit: 3.5; --end-deg: -876deg; animation-delay: 12.8s;">
342 <img src="./petal.svg" alt="flower petal" draggable="false">
343 </div>
344 </div>
345 <div class="petal">
346 <div style="--subunit: 3.5; --end-deg: -900deg; animation-delay: 12.6s;">
347 <img src="./petal.svg" alt="flower petal" draggable="false">
348 </div>
349 </div>
350 <div class="petal">
351 <div style="--subunit: 3.5; --end-deg: -924deg; animation-delay: 12.4s;">
352 <img src="./petal.svg" alt="flower petal" draggable="false">
353 </div>
354 </div>
355 <div class="petal">
356 <div style="--subunit: 3.5; --end-deg: -948deg; animation-delay: 12.2s;">
357 <img src="./petal.svg" alt="flower petal" draggable="false">
358 </div>
359 </div>
360 <div class="petal">
361 <div style="--subunit: 3.5; --end-deg: -972deg; animation-delay: 12.0s;">
362 <img src="./petal.svg" alt="flower petal" draggable="false">
363 </div>
364 </div>
365 <div class="petal">
366 <div style="--subunit: 3.5; --end-deg: -996deg; animation-delay: 11.8s;">
367 <img src="./petal.svg" alt="flower petal" draggable="false">
368 </div>
369 </div>
370 <div class="petal">
371 <div style="--subunit: 3.5; --end-deg: -1020deg; animation-delay: 11.6s;">
372 <img src="./petal.svg" alt="flower petal" draggable="false">
373 </div>
374 </div>
375 <div class="petal">
376 <div style="--subunit: 3.5; --end-deg: -1044deg; animation-delay: 11.4s;">
377 <img src="./petal.svg" alt="flower petal" draggable="false">
378 </div>
379 </div>
380 <div class="petal">
381 <div style="--subunit: 3.5; --end-deg: -1068deg; animation-delay: 11.2s;">
382 <img src="./petal.svg" alt="flower petal" draggable="false">
383 </div>
384 </div>
385 <div class="petal">
386 <div style="--subunit: 2.5; --end-deg: -1104deg; animation-delay: 11.0s;">
387 <img src="./petal.svg" alt="flower petal" draggable="false">
388 </div>
389 </div>
390 <div class="petal">
391 <div style="--subunit: 2.5; --end-deg: -1128deg; animation-delay: 10.8s;">
392 <img src="./petal.svg" alt="flower petal" draggable="false">
393 </div>
394 </div>
395 <div class="petal">
396 <div style="--subunit: 2.5; --end-deg: -1152deg; animation-delay: 10.6s;">
397 <img src="./petal.svg" alt="flower petal" draggable="false">
398 </div>
399 </div>
400 <div class="petal">
401 <div style="--subunit: 2.5; --end-deg: -1176deg; animation-delay: 10.4s;">
402 <img src="./petal.svg" alt="flower petal" draggable="false">
403 </div>
404 </div>
405 <div class="petal">
406 <div style="--subunit: 2.5; --end-deg: -1200deg; animation-delay: 10.2s;">
407 <img src="./petal.svg" alt="flower petal" draggable="false">
408 </div>
409 </div>
410 <div class="petal">
411 <div style="--subunit: 2.5; --end-deg: -1224deg; animation-delay: 10.0s;">
412 <img src="./petal.svg" alt="flower petal" draggable="false">
413 </div>
414 </div>
415 <div class="petal">
416 <div style="--subunit: 2.5; --end-deg: -1248deg; animation-delay: 9.8s;">
417 <img src="./petal.svg" alt="flower petal" draggable="false">
418 </div>
419 </div>
420 <div class="petal">
421 <div style="--subunit: 2.5; --end-deg: -1272deg; animation-delay: 9.6s;">
422 <img src="./petal.svg" alt="flower petal" draggable="false">
423 </div>
424 </div>
425 <div class="petal">
426 <div style="--subunit: 2.5; --end-deg: -1296deg; animation-delay: 9.4s;">
427 <img src="./petal.svg" alt="flower petal" draggable="false">
428 </div>
429 </div>
430 <div class="petal">
431 <div style="--subunit: 2.5; --end-deg: -1320deg; animation-delay: 9.2s;">
432 <img src="./petal.svg" alt="flower petal" draggable="false">
433 </div>
434 </div>
435 <div class="petal">
436 <div style="--subunit: 2.5; --end-deg: -1344deg; animation-delay: 9.0s;">
437 <img src="./petal.svg" alt="flower petal" draggable="false">
438 </div>
439 </div>
440 <div class="petal">
441 <div style="--subunit: 2.5; --end-deg: -1368deg; animation-delay: 8.8s;">
442 <img src="./petal.svg" alt="flower petal" draggable="false">
443 </div>
444 </div>
445 <div class="petal">
446 <div style="--subunit: 2.5; --end-deg: -1392deg; animation-delay: 8.6s;">
447 <img src="./petal.svg" alt="flower petal" draggable="false">
448 </div>
449 </div>
450 <div class="petal">
451 <div style="--subunit: 2.5; --end-deg: -1416deg; animation-delay: 8.4s;">
452 <img src="./petal.svg" alt="flower petal" draggable="false">
453 </div>
454 </div>
455 <div class="petal">
456 <div style="--subunit: 2.5; --end-deg: -1440deg; animation-delay: 8.2s;">
457 <img src="./petal.svg" alt="flower petal" draggable="false">
458 </div>
459 </div>
460 <div class="petal">
461 <div style="--subunit: 1.5; --end-deg: -1476deg; animation-delay: 8.0s;">
462 <img src="./petal.svg" alt="flower petal" draggable="false">
463 </div>
464 </div>
465 <div class="petal">
466 <div style="--subunit: 1.5; --end-deg: -1500deg; animation-delay: 7.8s;">
467 <img src="./petal.svg" alt="flower petal" draggable="false">
468 </div>
469 </div>
470 <div class="petal">
471 <div style="--subunit: 1.5; --end-deg: -1524deg; animation-delay: 7.6s;">
472 <img src="./petal.svg" alt="flower petal" draggable="false">
473 </div>
474 </div>
475 <div class="petal">
476 <div style="--subunit: 1.5; --end-deg: -1548deg; animation-delay: 7.4s;">
477 <img src="./petal.svg" alt="flower petal" draggable="false">
478 </div>
479 </div>
480 <div class="petal">
481 <div style="--subunit: 1.5; --end-deg: -1572deg; animation-delay: 7.2s;">
482 <img src="./petal.svg" alt="flower petal" draggable="false">
483 </div>
484 </div>
485 <div class="petal">
486 <div style="--subunit: 1.5; --end-deg: -1596deg; animation-delay: 7.0s;">
487 <img src="./petal.svg" alt="flower petal" draggable="false">
488 </div>
489 </div>
490 <div class="petal">
491 <div style="--subunit: 1.5; --end-deg: -1620deg; animation-delay: 6.8s;">
492 <img src="./petal.svg" alt="flower petal" draggable="false">
493 </div>
494 </div>
495 <div class="petal">
496 <div style="--subunit: 1.5; --end-deg: -1644deg; animation-delay: 6.6s;">
497 <img src="./petal.svg" alt="flower petal" draggable="false">
498 </div>
499 </div>
500 <div class="petal">
501 <div style="--subunit: 1.5; --end-deg: -1668deg; animation-delay: 6.4s;">
502 <img src="./petal.svg" alt="flower petal" draggable="false">
503 </div>
504 </div>
505 <div class="petal">
506 <div style="--subunit: 1.5; --end-deg: -1692deg; animation-delay: 6.2s;">
507 <img src="./petal.svg" alt="flower petal" draggable="false">
508 </div>
509 </div>
510 <div class="petal">
511 <div style="--subunit: 1.5; --end-deg: -1716deg; animation-delay: 6.0s;">
512 <img src="./petal.svg" alt="flower petal" draggable="false">
513 </div>
514 </div>
515 <div class="petal">
516 <div style="--subunit: 1.5; --end-deg: -1740deg; animation-delay: 5.8s;">
517 <img src="./petal.svg" alt="flower petal" draggable="false">
518 </div>
519 </div>
520 <div class="petal">
521 <div style="--subunit: 1.5; --end-deg: -1764deg; animation-delay: 5.6s;">
522 <img src="./petal.svg" alt="flower petal" draggable="false">
523 </div>
524 </div>
525 <div class="petal">
526 <div style="--subunit: 1.5; --end-deg: -1788deg; animation-delay: 5.4s;">
527 <img src="./petal.svg" alt="flower petal" draggable="false">
528 </div>
529 </div>
530 <div class="petal">
531 <div style="--subunit: 1.5; --end-deg: -1812deg; animation-delay: 5.2s;">
532 <img src="./petal.svg" alt="flower petal" draggable="false">
533 </div>
534 </div>
535 <div class="petal">
536 <div style="--subunit: 1; --end-deg: -1848deg; animation-delay: 5.0s;">
537 <img src="./petal.svg" alt="flower petal" draggable="false">
538 </div>
539 </div>
540 <div class="petal">
541 <div style="--subunit: 1; --end-deg: -1872deg; animation-delay: 4.8s;">
542 <img src="./petal.svg" alt="flower petal" draggable="false">
543 </div>
544 </div>
545 <div class="petal">
546 <div style="--subunit: 1; --end-deg: -1896deg; animation-delay: 4.6s;">
547 <img src="./petal.svg" alt="flower petal" draggable="false">
548 </div>
549 </div>
550 <div class="petal">
551 <div style="--subunit: 1; --end-deg: -1920deg; animation-delay: 4.4s;">
552 <img src="./petal.svg" alt="flower petal" draggable="false">
553 </div>
554 </div>
555 <div class="petal">
556 <div style="--subunit: 1; --end-deg: -1944deg; animation-delay: 4.2s;">
557 <img src="./petal.svg" alt="flower petal" draggable="false">
558 </div>
559 </div>
560 <div class="petal">
561 <div style="--subunit: 1; --end-deg: -1968deg; animation-delay: 4.0s;">
562 <img src="./petal.svg" alt="flower petal" draggable="false">
563 </div>
564 </div>
565 <div class="petal">
566 <div style="--subunit: 1; --end-deg: -1992deg; animation-delay: 3.8s;">
567 <img src="./petal.svg" alt="flower petal" draggable="false">
568 </div>
569 </div>
570 <div class="petal">
571 <div style="--subunit: 1; --end-deg: -2016deg; animation-delay: 3.6s;">
572 <img src="./petal.svg" alt="flower petal" draggable="false">
573 </div>
574 </div>
575 <div class="petal">
576 <div style="--subunit: 1; --end-deg: -2040deg; animation-delay: 3.4s;">
577 <img src="./petal.svg" alt="flower petal" draggable="false">
578 </div>
579 </div>
580 <div class="petal">
581 <div style="--subunit: 1; --end-deg: -2064deg; animation-delay: 3.2s;">
582 <img src="./petal.svg" alt="flower petal" draggable="false">
583 </div>
584 </div>
585 <div class="petal">
586 <div style="--subunit: 1; --end-deg: -2088deg; animation-delay: 3.0s;">
587 <img src="./petal.svg" alt="flower petal" draggable="false">
588 </div>
589 </div>
590 <div class="petal">
591 <div style="--subunit: 1; --end-deg: -2112deg; animation-delay: 2.8s;">
592 <img src="./petal.svg" alt="flower petal" draggable="false">
593 </div>
594 </div>
595 <div class="petal">
596 <div style="--subunit: 1; --end-deg: -2136deg; animation-delay: 2.6s;">
597 <img src="./petal.svg" alt="flower petal" draggable="false">
598 </div>
599 </div>
600 <div class="petal">
601 <div style="--subunit: 1; --end-deg: -2160deg; animation-delay: 2.4s;">
602 <img src="./petal.svg" alt="flower petal" draggable="false">
603 </div>
604 </div>
605 <div class="petal">
606 <div style="--subunit: 1; --end-deg: -2184deg; animation-delay: 2.2s;">
607 <img src="./petal.svg" alt="flower petal" draggable="false">
608 </div>
609 </div>
610 <div class="smile">
611 <img style="animation-delay: 26.65s;" src="./smile.svg" alt="flower smile" draggable="false">
612 </div>
613 <div class="eyes">
614 <img style="animation-delay: 26.65s;" src="./eyes.svg" alt="flower eyes" draggable="false">
615 </div>
616 </div>
617 <div class="wesolych" style="animation-delay: 28.25s;">
618 <img src="wesolych.svg" alt="&quot;Wesołych Świąt&quot; text" draggabe="false"></img>
619 </div>
620 <div class="wszystkich" style="animation-delay: 28.25s;">
621 <img src="wszystkich.svg" alt="&quot;Wszystkich Świętych&quot; text" draggable="false"></img>
622 </div>
623 </div>
624 </body>
625 </html>