diamond-in commited on
Commit
d91838f
·
verified ·
1 Parent(s): 335c140

Update css/style.css

Browse files
Files changed (1) hide show
  1. css/style.css +27 -20
css/style.css CHANGED
@@ -1,28 +1,35 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
4
  }
 
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
- }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
 
 
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
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; } }