File size: 1,078 Bytes
f8f9ff3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | * {
margin: 0;
padding: 0;
box-sizing: border-box;
touch-action: manipulation;
}
body {
font-family: Arial, sans-serif;
background-color: #1a1a2e;
color: white;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 100%;
max-width: 500px;
text-align: center;
}
.header {
margin-bottom: 10px;
}
h1 {
color: #ff9a00;
text-shadow: 0 0 5px rgba(255, 154, 0, 0.5);
}
#status {
color: #4dccbd;
font-weight: bold;
}
canvas {
background-color: #16213e;
border-radius: 10px;
margin-bottom: 10px;
}
.controls {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 5px;
}
button {
background: linear-gradient(to right, #ff9a00, #ff3300);
border: none;
border-radius: 5px;
color: white;
padding: 10px;
font-size: 20px;
}
#up {
grid-column: 2;
grid-row: 1;
}
#left {
grid-column: 1;
grid-row: 2;
}
#right {
grid-column: 3;
grid-row: 2;
}
#down {
grid-column: 2;
grid-row: 2;
} |