Spaces:
Running
Running
Update css/style.css
Browse files- css/style.css +27 -20
css/style.css
CHANGED
|
@@ -1,28 +1,35 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
|
|
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
margin-top: 0;
|
| 9 |
-
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
.
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
:root {
|
| 2 |
+
--bg: #f0f0f0;
|
| 3 |
+
--panel: #ffffff;
|
| 4 |
+
--border: #000000;
|
| 5 |
+
--shadow-hard: 5px 5px 0px 0px #000000;
|
| 6 |
+
--primary: #bef264; /* Lime */
|
| 7 |
+
--danger: #f87171; /* Red */
|
| 8 |
+
--replay: #fb923c; /* Orange */
|
| 9 |
}
|
| 10 |
+
body { font-family: 'Space Mono', monospace; background-color: var(--bg); height: 100vh; overflow: hidden; color: #000; }
|
| 11 |
|
| 12 |
+
/* Utilities */
|
| 13 |
+
.neo-box { background: var(--panel); border: 3px solid var(--border); box-shadow: var(--shadow-hard); }
|
|
|
|
|
|
|
| 14 |
|
| 15 |
+
.neo-btn {
|
| 16 |
+
background: #fff; border: 2px solid #000; box-shadow: 3px 3px 0px 0px #000;
|
| 17 |
+
font-weight: bold; cursor: pointer; transition: transform 0.1s;
|
|
|
|
|
|
|
| 18 |
}
|
| 19 |
+
.neo-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0px 0px #000; }
|
| 20 |
+
.neo-btn:active { transform: translate(0px, 0px); box-shadow: 0px 0px 0px 0px #000; }
|
| 21 |
|
| 22 |
+
.bubble {
|
| 23 |
+
position: absolute; border-radius: 50%; border: 2px solid black; pointer-events: none;
|
| 24 |
+
display: flex; align-items: center; justify-content: center; z-index: 10;
|
| 25 |
+
font-weight: bold; animation: popFloat 4s forwards ease-out; text-align: center; line-height: 1;
|
|
|
|
|
|
|
| 26 |
}
|
| 27 |
|
| 28 |
+
@keyframes popFloat {
|
| 29 |
+
0% { transform: scale(0) translateY(0); opacity: 0; }
|
| 30 |
+
20% { transform: scale(1) translateY(-20px); opacity: 1; }
|
| 31 |
+
100% { transform: scale(1) translateY(-100px); opacity: 0; }
|
| 32 |
}
|
| 33 |
+
|
| 34 |
+
.blink { animation: blinker 1.5s linear infinite; }
|
| 35 |
+
@keyframes blinker { 50% { opacity: 0; } }
|