Spaces:
Running
Running
Update styles.css
Browse files- styles.css +52 -34
styles.css
CHANGED
|
@@ -9,20 +9,21 @@ body {
|
|
| 9 |
justify-content: center;
|
| 10 |
align-items: center;
|
| 11 |
height: 100vh;
|
|
|
|
| 12 |
}
|
| 13 |
|
| 14 |
/* Container styling */
|
| 15 |
.container {
|
| 16 |
-
width:
|
| 17 |
-
max-width:
|
| 18 |
display: flex;
|
| 19 |
flex-direction: column;
|
| 20 |
align-items: center;
|
| 21 |
background: #2c2c2c;
|
| 22 |
border: 2px solid #444;
|
| 23 |
-
border-radius:
|
| 24 |
-
padding:
|
| 25 |
-
box-shadow: 0
|
| 26 |
animation: fadeIn 0.6s ease-in-out;
|
| 27 |
}
|
| 28 |
|
|
@@ -43,12 +44,13 @@ header {
|
|
| 43 |
display: flex;
|
| 44 |
justify-content: space-between;
|
| 45 |
align-items: center;
|
| 46 |
-
margin-bottom:
|
| 47 |
}
|
| 48 |
|
| 49 |
header h1 {
|
| 50 |
-
font-size:
|
| 51 |
color: #e63946;
|
|
|
|
| 52 |
animation: bounce 1.5s infinite;
|
| 53 |
}
|
| 54 |
|
|
@@ -62,17 +64,18 @@ header h1 {
|
|
| 62 |
}
|
| 63 |
|
| 64 |
header .balance-display {
|
| 65 |
-
font-size:
|
| 66 |
}
|
| 67 |
|
|
|
|
| 68 |
#back-btn {
|
| 69 |
background: #e63946;
|
| 70 |
color: #ffffff;
|
| 71 |
-
padding:
|
| 72 |
border: none;
|
| 73 |
border-radius: 5px;
|
|
|
|
| 74 |
cursor: pointer;
|
| 75 |
-
font-size: 16px;
|
| 76 |
transition: background 0.3s ease, transform 0.2s ease;
|
| 77 |
}
|
| 78 |
|
|
@@ -89,11 +92,11 @@ header .balance-display {
|
|
| 89 |
border: 2px solid #e63946;
|
| 90 |
border-radius: 10px;
|
| 91 |
overflow: hidden;
|
| 92 |
-
margin-bottom:
|
| 93 |
display: flex;
|
| 94 |
align-items: flex-end;
|
| 95 |
justify-content: flex-start;
|
| 96 |
-
background: #
|
| 97 |
}
|
| 98 |
|
| 99 |
/* Sky image styling */
|
|
@@ -103,16 +106,16 @@ header .balance-display {
|
|
| 103 |
left: 0;
|
| 104 |
width: 100%;
|
| 105 |
height: 100%;
|
| 106 |
-
object-fit: cover;
|
| 107 |
-
z-index: 0;
|
| 108 |
}
|
| 109 |
|
| 110 |
/* Adjusted plane position */
|
| 111 |
.plane {
|
| 112 |
position: absolute;
|
| 113 |
-
bottom:
|
| 114 |
left: 10px;
|
| 115 |
-
width:
|
| 116 |
height: auto;
|
| 117 |
transition: transform 0.2s ease-in-out, left 0.4s ease-in-out;
|
| 118 |
}
|
|
@@ -121,15 +124,16 @@ header .balance-display {
|
|
| 121 |
transform: scale(1.1);
|
| 122 |
}
|
| 123 |
|
|
|
|
| 124 |
.multiplier {
|
| 125 |
position: absolute;
|
| 126 |
-
top:
|
| 127 |
-
left:
|
| 128 |
background: rgba(0, 0, 0, 0.7);
|
| 129 |
color: #ffffff;
|
| 130 |
-
padding:
|
| 131 |
-
border-radius:
|
| 132 |
-
font-size:
|
| 133 |
animation: pulse 1.5s infinite;
|
| 134 |
}
|
| 135 |
|
|
@@ -148,17 +152,17 @@ header .balance-display {
|
|
| 148 |
display: flex;
|
| 149 |
flex-direction: column;
|
| 150 |
align-items: center;
|
| 151 |
-
gap:
|
| 152 |
}
|
| 153 |
|
| 154 |
.controls input {
|
| 155 |
-
width:
|
| 156 |
padding: 10px;
|
| 157 |
border: 2px solid #e63946;
|
| 158 |
-
border-radius:
|
| 159 |
background: #202124;
|
| 160 |
color: #ffffff;
|
| 161 |
-
font-size:
|
| 162 |
transition: box-shadow 0.3s ease;
|
| 163 |
}
|
| 164 |
|
|
@@ -169,17 +173,17 @@ header .balance-display {
|
|
| 169 |
|
| 170 |
.buttons-group {
|
| 171 |
display: flex;
|
| 172 |
-
gap:
|
| 173 |
width: 100%;
|
| 174 |
justify-content: center;
|
| 175 |
}
|
| 176 |
|
| 177 |
.controls button {
|
| 178 |
flex: 1;
|
| 179 |
-
padding:
|
| 180 |
border: none;
|
| 181 |
-
border-radius:
|
| 182 |
-
font-size:
|
| 183 |
cursor: pointer;
|
| 184 |
transition: background 0.3s ease, transform 0.2s ease;
|
| 185 |
}
|
|
@@ -205,14 +209,28 @@ header .balance-display {
|
|
| 205 |
}
|
| 206 |
|
| 207 |
/* Responsive design */
|
| 208 |
-
@media (max-width:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 209 |
.container {
|
| 210 |
-
|
| 211 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 212 |
}
|
| 213 |
|
| 214 |
-
.controls input,
|
| 215 |
.controls button {
|
| 216 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 217 |
}
|
| 218 |
}
|
|
|
|
| 9 |
justify-content: center;
|
| 10 |
align-items: center;
|
| 11 |
height: 100vh;
|
| 12 |
+
overflow: hidden;
|
| 13 |
}
|
| 14 |
|
| 15 |
/* Container styling */
|
| 16 |
.container {
|
| 17 |
+
width: 95%;
|
| 18 |
+
max-width: 600px;
|
| 19 |
display: flex;
|
| 20 |
flex-direction: column;
|
| 21 |
align-items: center;
|
| 22 |
background: #2c2c2c;
|
| 23 |
border: 2px solid #444;
|
| 24 |
+
border-radius: 15px;
|
| 25 |
+
padding: 15px;
|
| 26 |
+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
|
| 27 |
animation: fadeIn 0.6s ease-in-out;
|
| 28 |
}
|
| 29 |
|
|
|
|
| 44 |
display: flex;
|
| 45 |
justify-content: space-between;
|
| 46 |
align-items: center;
|
| 47 |
+
margin-bottom: 15px;
|
| 48 |
}
|
| 49 |
|
| 50 |
header h1 {
|
| 51 |
+
font-size: 24px;
|
| 52 |
color: #e63946;
|
| 53 |
+
text-align: center;
|
| 54 |
animation: bounce 1.5s infinite;
|
| 55 |
}
|
| 56 |
|
|
|
|
| 64 |
}
|
| 65 |
|
| 66 |
header .balance-display {
|
| 67 |
+
font-size: 14px;
|
| 68 |
}
|
| 69 |
|
| 70 |
+
/* Button styling */
|
| 71 |
#back-btn {
|
| 72 |
background: #e63946;
|
| 73 |
color: #ffffff;
|
| 74 |
+
padding: 8px 15px;
|
| 75 |
border: none;
|
| 76 |
border-radius: 5px;
|
| 77 |
+
font-size: 14px;
|
| 78 |
cursor: pointer;
|
|
|
|
| 79 |
transition: background 0.3s ease, transform 0.2s ease;
|
| 80 |
}
|
| 81 |
|
|
|
|
| 92 |
border: 2px solid #e63946;
|
| 93 |
border-radius: 10px;
|
| 94 |
overflow: hidden;
|
| 95 |
+
margin-bottom: 15px;
|
| 96 |
display: flex;
|
| 97 |
align-items: flex-end;
|
| 98 |
justify-content: flex-start;
|
| 99 |
+
background: #3a3a3a;
|
| 100 |
}
|
| 101 |
|
| 102 |
/* Sky image styling */
|
|
|
|
| 106 |
left: 0;
|
| 107 |
width: 100%;
|
| 108 |
height: 100%;
|
| 109 |
+
object-fit: cover;
|
| 110 |
+
z-index: 0;
|
| 111 |
}
|
| 112 |
|
| 113 |
/* Adjusted plane position */
|
| 114 |
.plane {
|
| 115 |
position: absolute;
|
| 116 |
+
bottom: 20px;
|
| 117 |
left: 10px;
|
| 118 |
+
width: 50px;
|
| 119 |
height: auto;
|
| 120 |
transition: transform 0.2s ease-in-out, left 0.4s ease-in-out;
|
| 121 |
}
|
|
|
|
| 124 |
transform: scale(1.1);
|
| 125 |
}
|
| 126 |
|
| 127 |
+
/* Multiplier styling */
|
| 128 |
.multiplier {
|
| 129 |
position: absolute;
|
| 130 |
+
top: 5px;
|
| 131 |
+
left: 5px;
|
| 132 |
background: rgba(0, 0, 0, 0.7);
|
| 133 |
color: #ffffff;
|
| 134 |
+
padding: 8px 12px;
|
| 135 |
+
border-radius: 8px;
|
| 136 |
+
font-size: 14px;
|
| 137 |
animation: pulse 1.5s infinite;
|
| 138 |
}
|
| 139 |
|
|
|
|
| 152 |
display: flex;
|
| 153 |
flex-direction: column;
|
| 154 |
align-items: center;
|
| 155 |
+
gap: 12px;
|
| 156 |
}
|
| 157 |
|
| 158 |
.controls input {
|
| 159 |
+
width: 90%;
|
| 160 |
padding: 10px;
|
| 161 |
border: 2px solid #e63946;
|
| 162 |
+
border-radius: 8px;
|
| 163 |
background: #202124;
|
| 164 |
color: #ffffff;
|
| 165 |
+
font-size: 14px;
|
| 166 |
transition: box-shadow 0.3s ease;
|
| 167 |
}
|
| 168 |
|
|
|
|
| 173 |
|
| 174 |
.buttons-group {
|
| 175 |
display: flex;
|
| 176 |
+
gap: 8px;
|
| 177 |
width: 100%;
|
| 178 |
justify-content: center;
|
| 179 |
}
|
| 180 |
|
| 181 |
.controls button {
|
| 182 |
flex: 1;
|
| 183 |
+
padding: 8px;
|
| 184 |
border: none;
|
| 185 |
+
border-radius: 8px;
|
| 186 |
+
font-size: 14px;
|
| 187 |
cursor: pointer;
|
| 188 |
transition: background 0.3s ease, transform 0.2s ease;
|
| 189 |
}
|
|
|
|
| 209 |
}
|
| 210 |
|
| 211 |
/* Responsive design */
|
| 212 |
+
@media (max-width: 480px) {
|
| 213 |
+
header h1 {
|
| 214 |
+
font-size: 20px;
|
| 215 |
+
}
|
| 216 |
+
|
| 217 |
.container {
|
| 218 |
+
padding: 12px;
|
| 219 |
+
border-radius: 10px;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.controls input {
|
| 223 |
+
font-size: 12px;
|
| 224 |
+
padding: 8px;
|
| 225 |
}
|
| 226 |
|
|
|
|
| 227 |
.controls button {
|
| 228 |
+
font-size: 12px;
|
| 229 |
+
padding: 6px;
|
| 230 |
+
}
|
| 231 |
+
|
| 232 |
+
.multiplier {
|
| 233 |
+
font-size: 12px;
|
| 234 |
+
padding: 6px 10px;
|
| 235 |
}
|
| 236 |
}
|