Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -37,6 +37,7 @@ body, html {
|
|
| 37 |
height: 20px;
|
| 38 |
background-color: #0f0;
|
| 39 |
transform: translateX(-50%);
|
|
|
|
| 40 |
}
|
| 41 |
|
| 42 |
.orb {
|
|
@@ -47,10 +48,30 @@ body, html {
|
|
| 47 |
background-color: #f00;
|
| 48 |
}
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
#score-board {
|
| 51 |
position: absolute;
|
| 52 |
top: 10px;
|
| 53 |
left: 10px;
|
| 54 |
color: #fff;
|
| 55 |
font-size: 24px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
}
|
|
|
|
| 37 |
height: 20px;
|
| 38 |
background-color: #0f0;
|
| 39 |
transform: translateX(-50%);
|
| 40 |
+
border-radius: 10px;
|
| 41 |
}
|
| 42 |
|
| 43 |
.orb {
|
|
|
|
| 48 |
background-color: #f00;
|
| 49 |
}
|
| 50 |
|
| 51 |
+
.bonus {
|
| 52 |
+
position: absolute;
|
| 53 |
+
width: 30px;
|
| 54 |
+
height: 30px;
|
| 55 |
+
border-radius: 50%;
|
| 56 |
+
background-color: #ff0;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
#score-board {
|
| 60 |
position: absolute;
|
| 61 |
top: 10px;
|
| 62 |
left: 10px;
|
| 63 |
color: #fff;
|
| 64 |
font-size: 24px;
|
| 65 |
+
font-family: 'Arial', sans-serif;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
#game-over {
|
| 69 |
+
position: absolute;
|
| 70 |
+
top: 50%;
|
| 71 |
+
left: 50%;
|
| 72 |
+
transform: translate(-50%, -50%);
|
| 73 |
+
color: #fff;
|
| 74 |
+
font-size: 48px;
|
| 75 |
+
font-family: 'Arial', sans-serif;
|
| 76 |
+
display: none;
|
| 77 |
}
|