Spaces:
Running
Running
Update styles.css
Browse files- styles.css +43 -48
styles.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
/* General styles */
|
| 2 |
body {
|
| 3 |
-
font-family: Arial, sans-serif;
|
| 4 |
-
background: #
|
| 5 |
color: #ffffff;
|
| 6 |
margin: 0;
|
| 7 |
padding: 0;
|
|
@@ -18,19 +18,17 @@ body {
|
|
| 18 |
height: 100%;
|
| 19 |
display: flex;
|
| 20 |
flex-direction: column;
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
border: none;
|
| 25 |
-
padding: 0;
|
| 26 |
-
animation: fadeIn 0.6s ease-in-out;
|
| 27 |
position: relative;
|
|
|
|
| 28 |
}
|
| 29 |
|
| 30 |
@keyframes fadeIn {
|
| 31 |
from {
|
| 32 |
opacity: 0;
|
| 33 |
-
transform: scale(0.
|
| 34 |
}
|
| 35 |
to {
|
| 36 |
opacity: 1;
|
|
@@ -49,19 +47,23 @@ header {
|
|
| 49 |
position: absolute;
|
| 50 |
top: 0;
|
| 51 |
z-index: 10;
|
|
|
|
| 52 |
}
|
| 53 |
|
| 54 |
header h1 {
|
| 55 |
-
font-size:
|
| 56 |
color: #e63946;
|
| 57 |
margin: 0;
|
| 58 |
}
|
| 59 |
|
| 60 |
header .balance-display {
|
|
|
|
|
|
|
|
|
|
| 61 |
font-size: 14px;
|
| 62 |
}
|
| 63 |
|
| 64 |
-
/*
|
| 65 |
#back-btn {
|
| 66 |
background: #e63946;
|
| 67 |
color: #ffffff;
|
|
@@ -80,18 +82,18 @@ header .balance-display {
|
|
| 80 |
|
| 81 |
/* Game screen styling */
|
| 82 |
.game-screen {
|
| 83 |
-
|
| 84 |
-
height: 100%;
|
| 85 |
display: flex;
|
| 86 |
-
align-items:
|
| 87 |
justify-content: center;
|
| 88 |
position: relative;
|
| 89 |
-
|
|
|
|
|
|
|
| 90 |
overflow: hidden;
|
| 91 |
-
background: #3a3a3a;
|
| 92 |
}
|
| 93 |
|
| 94 |
-
/* Sky image
|
| 95 |
.sky-image {
|
| 96 |
position: absolute;
|
| 97 |
top: 0;
|
|
@@ -100,17 +102,18 @@ header .balance-display {
|
|
| 100 |
height: 100%;
|
| 101 |
object-fit: cover;
|
| 102 |
z-index: 0;
|
|
|
|
| 103 |
}
|
| 104 |
|
| 105 |
/* Plane styling */
|
| 106 |
.plane {
|
| 107 |
position: absolute;
|
| 108 |
-
bottom:
|
| 109 |
-
left:
|
| 110 |
-
width:
|
| 111 |
height: auto;
|
| 112 |
-
transition: transform 0.
|
| 113 |
-
z-index:
|
| 114 |
}
|
| 115 |
|
| 116 |
.plane:hover {
|
|
@@ -121,14 +124,14 @@ header .balance-display {
|
|
| 121 |
.multiplier {
|
| 122 |
position: absolute;
|
| 123 |
top: 10%;
|
| 124 |
-
left:
|
| 125 |
background: rgba(0, 0, 0, 0.7);
|
| 126 |
color: #ffffff;
|
| 127 |
-
padding: 10px
|
| 128 |
border-radius: 10px;
|
| 129 |
-
font-size:
|
| 130 |
animation: pulse 1.5s infinite;
|
| 131 |
-
z-index:
|
| 132 |
}
|
| 133 |
|
| 134 |
@keyframes pulse {
|
|
@@ -140,20 +143,19 @@ header .balance-display {
|
|
| 140 |
}
|
| 141 |
}
|
| 142 |
|
| 143 |
-
/* Controls
|
| 144 |
.controls {
|
| 145 |
width: 100%;
|
|
|
|
| 146 |
display: flex;
|
| 147 |
-
|
| 148 |
-
|
| 149 |
background: #1a1a1a;
|
| 150 |
-
|
| 151 |
-
bottom: 0;
|
| 152 |
-
z-index: 10;
|
| 153 |
}
|
| 154 |
|
| 155 |
.controls input {
|
| 156 |
-
flex:
|
| 157 |
margin: 0 10px;
|
| 158 |
padding: 10px;
|
| 159 |
border: 2px solid #e63946;
|
|
@@ -199,21 +201,14 @@ header .balance-display {
|
|
| 199 |
transform: scale(1.05);
|
| 200 |
}
|
| 201 |
|
| 202 |
-
/*
|
| 203 |
-
|
| 204 |
position: absolute;
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
border-radius: 5px;
|
| 211 |
-
}
|
| 212 |
-
|
| 213 |
-
#back-btn {
|
| 214 |
-
position: absolute;
|
| 215 |
-
top: 10px;
|
| 216 |
-
left: 10px;
|
| 217 |
}
|
| 218 |
|
| 219 |
/* Responsive design */
|
|
@@ -223,7 +218,7 @@ header .balance-display {
|
|
| 223 |
}
|
| 224 |
|
| 225 |
.multiplier {
|
| 226 |
-
font-size:
|
| 227 |
padding: 8px 10px;
|
| 228 |
}
|
| 229 |
|
|
|
|
| 1 |
/* General styles */
|
| 2 |
body {
|
| 3 |
+
font-family: 'Arial', sans-serif;
|
| 4 |
+
background: #121212;
|
| 5 |
color: #ffffff;
|
| 6 |
margin: 0;
|
| 7 |
padding: 0;
|
|
|
|
| 18 |
height: 100%;
|
| 19 |
display: flex;
|
| 20 |
flex-direction: column;
|
| 21 |
+
background: #1f1f1f;
|
| 22 |
+
border-radius: 12px;
|
| 23 |
+
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
| 24 |
position: relative;
|
| 25 |
+
animation: fadeIn 0.6s ease-in-out;
|
| 26 |
}
|
| 27 |
|
| 28 |
@keyframes fadeIn {
|
| 29 |
from {
|
| 30 |
opacity: 0;
|
| 31 |
+
transform: scale(0.9);
|
| 32 |
}
|
| 33 |
to {
|
| 34 |
opacity: 1;
|
|
|
|
| 47 |
position: absolute;
|
| 48 |
top: 0;
|
| 49 |
z-index: 10;
|
| 50 |
+
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.7);
|
| 51 |
}
|
| 52 |
|
| 53 |
header h1 {
|
| 54 |
+
font-size: 20px;
|
| 55 |
color: #e63946;
|
| 56 |
margin: 0;
|
| 57 |
}
|
| 58 |
|
| 59 |
header .balance-display {
|
| 60 |
+
background: rgba(255, 255, 255, 0.1);
|
| 61 |
+
padding: 5px 12px;
|
| 62 |
+
border-radius: 8px;
|
| 63 |
font-size: 14px;
|
| 64 |
}
|
| 65 |
|
| 66 |
+
/* Back button */
|
| 67 |
#back-btn {
|
| 68 |
background: #e63946;
|
| 69 |
color: #ffffff;
|
|
|
|
| 82 |
|
| 83 |
/* Game screen styling */
|
| 84 |
.game-screen {
|
| 85 |
+
flex: 1;
|
|
|
|
| 86 |
display: flex;
|
| 87 |
+
align-items: center;
|
| 88 |
justify-content: center;
|
| 89 |
position: relative;
|
| 90 |
+
background: linear-gradient(180deg, #202124, #1f1f1f);
|
| 91 |
+
border-top: 2px solid #e63946;
|
| 92 |
+
border-bottom: 2px solid #e63946;
|
| 93 |
overflow: hidden;
|
|
|
|
| 94 |
}
|
| 95 |
|
| 96 |
+
/* Sky image */
|
| 97 |
.sky-image {
|
| 98 |
position: absolute;
|
| 99 |
top: 0;
|
|
|
|
| 102 |
height: 100%;
|
| 103 |
object-fit: cover;
|
| 104 |
z-index: 0;
|
| 105 |
+
filter: brightness(0.8);
|
| 106 |
}
|
| 107 |
|
| 108 |
/* Plane styling */
|
| 109 |
.plane {
|
| 110 |
position: absolute;
|
| 111 |
+
bottom: 25%;
|
| 112 |
+
left: 10%;
|
| 113 |
+
width: 70px;
|
| 114 |
height: auto;
|
| 115 |
+
transition: transform 0.3s ease, left 0.4s ease;
|
| 116 |
+
z-index: 2;
|
| 117 |
}
|
| 118 |
|
| 119 |
.plane:hover {
|
|
|
|
| 124 |
.multiplier {
|
| 125 |
position: absolute;
|
| 126 |
top: 10%;
|
| 127 |
+
left: 5%;
|
| 128 |
background: rgba(0, 0, 0, 0.7);
|
| 129 |
color: #ffffff;
|
| 130 |
+
padding: 10px 20px;
|
| 131 |
border-radius: 10px;
|
| 132 |
+
font-size: 18px;
|
| 133 |
animation: pulse 1.5s infinite;
|
| 134 |
+
z-index: 2;
|
| 135 |
}
|
| 136 |
|
| 137 |
@keyframes pulse {
|
|
|
|
| 143 |
}
|
| 144 |
}
|
| 145 |
|
| 146 |
+
/* Controls */
|
| 147 |
.controls {
|
| 148 |
width: 100%;
|
| 149 |
+
padding: 15px 20px;
|
| 150 |
display: flex;
|
| 151 |
+
align-items: center;
|
| 152 |
+
justify-content: space-between;
|
| 153 |
background: #1a1a1a;
|
| 154 |
+
box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.7);
|
|
|
|
|
|
|
| 155 |
}
|
| 156 |
|
| 157 |
.controls input {
|
| 158 |
+
flex: 2;
|
| 159 |
margin: 0 10px;
|
| 160 |
padding: 10px;
|
| 161 |
border: 2px solid #e63946;
|
|
|
|
| 201 |
transform: scale(1.05);
|
| 202 |
}
|
| 203 |
|
| 204 |
+
/* Footer info */
|
| 205 |
+
footer {
|
| 206 |
position: absolute;
|
| 207 |
+
bottom: 10px;
|
| 208 |
+
width: 100%;
|
| 209 |
+
text-align: center;
|
| 210 |
+
color: rgba(255, 255, 255, 0.5);
|
| 211 |
+
font-size: 12px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 212 |
}
|
| 213 |
|
| 214 |
/* Responsive design */
|
|
|
|
| 218 |
}
|
| 219 |
|
| 220 |
.multiplier {
|
| 221 |
+
font-size: 14px;
|
| 222 |
padding: 8px 10px;
|
| 223 |
}
|
| 224 |
|