-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
103 lines (96 loc) · 3.21 KB
/
Copy pathindex.html
File metadata and controls
103 lines (96 loc) · 3.21 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sleigh Ride</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Mountains+of+Christmas:wght@400;700&family=Nunito:wght@400;700&display=swap');
body {
font-family: 'Nunito', sans-serif;
background-color: #0f172a;
color: white;
overflow: hidden;
}
.font-christmas {
font-family: 'Mountains of Christmas', cursive;
}
/* Tailwind animations */
@keyframes pulse-slow {
0%, 100% { opacity: 1; }
50% { opacity: 0.8; }
}
.animate-pulse-slow {
animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin-slow {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.animate-spin-slow {
animation: spin-slow 3s linear infinite;
}
@keyframes bounce-slow {
0%, 100% { transform: translateY(-5%); }
50% { transform: translateY(0); }
}
.animate-bounce-slow {
animation: bounce-slow 3s infinite ease-in-out;
}
/* Logo Lights Animation */
@keyframes christmas-lights {
0% { filter: hue-rotate(0deg) drop-shadow(0 5px 15px rgba(0,0,0,0.5)); }
25% { filter: hue-rotate(90deg) drop-shadow(0 5px 15px rgba(0,0,0,0.5)); }
50% { filter: hue-rotate(180deg) drop-shadow(0 5px 15px rgba(0,0,0,0.5)); }
75% { filter: hue-rotate(270deg) drop-shadow(0 5px 15px rgba(0,0,0,0.5)); }
100% { filter: hue-rotate(360deg) drop-shadow(0 5px 15px rgba(0,0,0,0.5)); }
}
.animate-christmas-lights {
animation: christmas-lights 4s linear infinite;
}
@keyframes shimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
/* Powerup Popup Animation */
@keyframes powerup-pop {
0% { opacity: 0; transform: scale(0.5) translateY(50px); }
20% { opacity: 1; transform: scale(1.5) translateY(0); }
40% { transform: scale(1.2) translateY(-10px); }
80% { opacity: 1; transform: scale(1.2) translateY(-30px); }
100% { opacity: 0; transform: scale(0.8) translateY(-60px); }
}
.animate-powerup-pop {
animation: powerup-pop 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
/* UI Entrance Animations */
@keyframes slide-up {
from { transform: translateY(100%); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
.animate-slide-up {
animation: slide-up 0.5s ease-out forwards;
}
@keyframes slide-in-right {
from { transform: translateX(100%); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
.animate-slide-in-right {
animation: slide-in-right 0.5s ease-out forwards;
}
@keyframes fade-in-up {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
animation: fade-in-up 0.5s ease-out forwards;
}
</style>
<link rel="stylesheet" href="./index.css">
</head>
<body>
<div id="root"></div>
<script type="module" src="./index.tsx"></script>
</body>
</html>