Update style.css
Browse files
style.css
CHANGED
@@ -44,27 +44,29 @@ body {
|
|
44 |
#score {
|
45 |
position: absolute;
|
46 |
top: 20px;
|
|
|
47 |
font-size: 24px;
|
48 |
text-shadow: 0 0 10px rgba(0, 255, 171, 0.8);
|
49 |
}
|
50 |
|
51 |
#level {
|
52 |
position: absolute;
|
53 |
-
top:
|
54 |
-
|
|
|
55 |
text-shadow: 0 0 10px rgba(0, 255, 171, 0.8);
|
56 |
}
|
57 |
|
58 |
#lives {
|
59 |
position: absolute;
|
60 |
top: 20px;
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
}
|
65 |
|
66 |
.life {
|
67 |
-
font-size: 30px;
|
68 |
margin-right: 10px;
|
69 |
color: red; /* Red hearts */
|
|
|
70 |
}
|
|
|
44 |
#score {
|
45 |
position: absolute;
|
46 |
top: 20px;
|
47 |
+
left: 20px;
|
48 |
font-size: 24px;
|
49 |
text-shadow: 0 0 10px rgba(0, 255, 171, 0.8);
|
50 |
}
|
51 |
|
52 |
#level {
|
53 |
position: absolute;
|
54 |
+
top: 20px;
|
55 |
+
right: 20px;
|
56 |
+
font-size: 24px;
|
57 |
text-shadow: 0 0 10px rgba(0, 255, 171, 0.8);
|
58 |
}
|
59 |
|
60 |
#lives {
|
61 |
position: absolute;
|
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 |
}
|