Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- ui/styles.py +18 -3
ui/styles.py
CHANGED
|
@@ -221,12 +221,27 @@ APP_CSS = """
|
|
| 221 |
}
|
| 222 |
.home-moon {
|
| 223 |
position: absolute;
|
| 224 |
-
top: 0;
|
| 225 |
-
right: 0;
|
| 226 |
font-size: clamp(1.5rem, 4vw, 2.5rem);
|
| 227 |
-
|
|
|
|
| 228 |
filter: drop-shadow(0 0 12px rgba(255, 251, 198, 0.75));
|
| 229 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 230 |
.home-forest-postcard p {
|
| 231 |
max-width: 42rem;
|
| 232 |
margin: 0.9rem auto 0;
|
|
|
|
| 221 |
}
|
| 222 |
.home-moon {
|
| 223 |
position: absolute;
|
| 224 |
+
top: 0.1rem;
|
| 225 |
+
right: 0.1rem;
|
| 226 |
font-size: clamp(1.5rem, 4vw, 2.5rem);
|
| 227 |
+
/* Changed duration to 6 seconds and updated name for clarity */
|
| 228 |
+
animation: moon-glow 6s ease-in-out infinite;
|
| 229 |
filter: drop-shadow(0 0 12px rgba(255, 251, 198, 0.75));
|
| 230 |
}
|
| 231 |
+
|
| 232 |
+
@keyframes moon-glow {
|
| 233 |
+
0%, 100% {
|
| 234 |
+
transform: scale(1);
|
| 235 |
+
filter: drop-shadow(0 0 10px rgba(255, 251, 198, 0.6));
|
| 236 |
+
opacity: 0.85;
|
| 237 |
+
}
|
| 238 |
+
50% {
|
| 239 |
+
transform: scale(1.03); /* Subtle, gentle breathing growth */
|
| 240 |
+
filter: drop-shadow(0 0 20px rgba(255, 251, 198, 0.95)); /* Soft glow expansion */
|
| 241 |
+
opacity: 1;
|
| 242 |
+
}
|
| 243 |
+
}
|
| 244 |
+
|
| 245 |
.home-forest-postcard p {
|
| 246 |
max-width: 42rem;
|
| 247 |
margin: 0.9rem auto 0;
|