Skip to content

Commit 4928178

Browse files
authored
Update style.css
1 parent 3444f88 commit 4928178

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

‎style.css‎

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,23 @@ header h1 {
231231
animation: shake 0.3s ease;
232232
}
233233

234+
/* Flappy Rutu Styles */
235+
#flappy-canvas {
236+
border: 2px solid #ab47bc;
237+
border-radius: 8px;
238+
margin: 20px auto;
239+
max-width: 100%;
240+
width: 300px;
241+
height: 400px;
242+
background: linear-gradient(135deg, #e1bee7, #ce93d8);
243+
}
244+
245+
#flappy-message {
246+
color: #6a1b9a;
247+
font-size: 1.2em;
248+
margin: 10px 0;
249+
}
250+
234251
@keyframes fade-in {
235252
from { opacity: 0; }
236253
to { opacity: 1; }
@@ -266,6 +283,12 @@ header h1 {
266283
100% { transform: translateX(0); }
267284
}
268285

286+
@keyframes sparkle {
287+
0% { transform: scale(1); opacity: 1; }
288+
50% { transform: scale(1.5); opacity: 0.5; }
289+
100% { transform: scale(1); opacity: 1; }
290+
}
291+
269292
.fade-in {
270293
animation: fade-in 1s ease-out;
271294
}
@@ -282,7 +305,7 @@ footer {
282305
}
283306

284307
@media (max-width: 480px) {
285-
#board, #memory-board {
308+
#board, #memory-board, #flappy-canvas {
286309
width: 100%;
287310
}
288311
.cell {
@@ -294,4 +317,7 @@ footer {
294317
.photo-frame {
295318
width: 90%;
296319
}
320+
#flappy-canvas {
321+
height: 300px;
322+
}
297323
}

0 commit comments

Comments
 (0)