Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -9,15 +9,13 @@ body {
|
|
| 9 |
background: linear-gradient(to bottom, #0f0f0f, #131313);
|
| 10 |
font-family: 'Arial', sans-serif;
|
| 11 |
color: white;
|
| 12 |
-
overflow
|
| 13 |
-
overflow-y: hidden; /* Optional: Hide vertical scroll */
|
| 14 |
}
|
| 15 |
|
| 16 |
.game-container {
|
| 17 |
position: relative;
|
| 18 |
-
width: 100vw;
|
| 19 |
-
height: 100vh;
|
| 20 |
-
min-width: 500px; /* Minimum width to ensure proper game visibility */
|
| 21 |
display: flex;
|
| 22 |
justify-content: center;
|
| 23 |
align-items: center;
|
|
@@ -64,11 +62,11 @@ body {
|
|
| 64 |
top: 20px;
|
| 65 |
width: 100%;
|
| 66 |
text-align: center;
|
| 67 |
-
font-size: 24px;
|
| 68 |
}
|
| 69 |
|
| 70 |
.life {
|
| 71 |
margin-right: 10px;
|
| 72 |
color: red; /* Red hearts */
|
| 73 |
-
font-size: 24px;
|
| 74 |
}
|
|
|
|
| 9 |
background: linear-gradient(to bottom, #0f0f0f, #131313);
|
| 10 |
font-family: 'Arial', sans-serif;
|
| 11 |
color: white;
|
| 12 |
+
overflow: auto;
|
|
|
|
| 13 |
}
|
| 14 |
|
| 15 |
.game-container {
|
| 16 |
position: relative;
|
| 17 |
+
width: 100vw;
|
| 18 |
+
height: 100vh;
|
|
|
|
| 19 |
display: flex;
|
| 20 |
justify-content: center;
|
| 21 |
align-items: center;
|
|
|
|
| 62 |
top: 20px;
|
| 63 |
width: 100%;
|
| 64 |
text-align: center;
|
| 65 |
+
font-size: 24px; /* Sama dengan ukuran skor dan level */
|
| 66 |
}
|
| 67 |
|
| 68 |
.life {
|
| 69 |
margin-right: 10px;
|
| 70 |
color: red; /* Red hearts */
|
| 71 |
+
font-size: 24px; /* Sama dengan ukuran skor dan level */
|
| 72 |
}
|