Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -288,23 +288,46 @@ html_template = '''
|
|
288 |
100% { opacity: 0; }
|
289 |
}
|
290 |
.balloon {
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
298 |
}
|
299 |
-
#
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
304 |
@keyframes floatUp {
|
305 |
-
|
306 |
-
|
307 |
}
|
|
|
308 |
#music-toggle, #next-track {
|
309 |
position: fixed;
|
310 |
padding: 8px 12px;
|
|
|
288 |
100% { opacity: 0; }
|
289 |
}
|
290 |
.balloon {
|
291 |
+
position: fixed;
|
292 |
+
width: 60px;
|
293 |
+
height: 80px;
|
294 |
+
background-size: contain;
|
295 |
+
background-repeat: no-repeat;
|
296 |
+
z-index: 9999;
|
297 |
+
animation: floatUp 12s linear infinite;
|
298 |
+
}
|
299 |
+
|
300 |
+
#balloon1 {
|
301 |
+
background-image: url("https://huggingface.co/spaces/Ronaldo1111/Sophia/resolve/main/balloon1.png");
|
302 |
+
left: 10%;
|
303 |
+
animation-delay: 0s;
|
304 |
}
|
305 |
+
#balloon2 {
|
306 |
+
background-image: url("https://huggingface.co/spaces/Ronaldo1111/Sophia/resolve/main/balloon2.png");
|
307 |
+
left: 30%;
|
308 |
+
animation-delay: 2s;
|
309 |
+
}
|
310 |
+
#balloon3 {
|
311 |
+
background-image: url("https://huggingface.co/spaces/Ronaldo1111/Sophia/resolve/main/balloon3.png");
|
312 |
+
left: 50%;
|
313 |
+
animation-delay: 4s;
|
314 |
+
}
|
315 |
+
#balloon4 {
|
316 |
+
background-image: url("https://huggingface.co/spaces/Ronaldo1111/Sophia/resolve/main/balloon4.png");
|
317 |
+
left: 70%;
|
318 |
+
animation-delay: 6s;
|
319 |
+
}
|
320 |
+
#balloon5 {
|
321 |
+
background-image: url("https://huggingface.co/spaces/Ronaldo1111/Sophia/resolve/main/balloon5.png");
|
322 |
+
left: 90%;
|
323 |
+
animation-delay: 8s;
|
324 |
+
}
|
325 |
+
|
326 |
@keyframes floatUp {
|
327 |
+
0% { transform: translateY(0); }
|
328 |
+
100% { transform: translateY(-120vh); }
|
329 |
}
|
330 |
+
|
331 |
#music-toggle, #next-track {
|
332 |
position: fixed;
|
333 |
padding: 8px 12px;
|