-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
82 lines (73 loc) · 1.5 KB
/
style.css
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
78
79
80
81
82
body {
background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
min-height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
}
.container {
text-align: center;
max-width: 250px;
}
canvas {
border: 2px solid #fff;
background-color: #000;
display: block;
margin: 0 auto;
box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.game-info {
color: white;
font-size: 1.2em;
margin-bottom: 20px;
display: flex;
justify-content: space-around;
background: rgba(52, 73, 94, 0.6);
padding: 10px;
border-radius: 8px;
backdrop-filter: blur(5px);
}
.controls {
margin-top: 20px;
display: flex;
justify-content: center;
gap: 15px;
}
.control-button {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}
.button-desc {
color: white;
font-size: 0.9em;
text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
button {
background: linear-gradient(to bottom, #3498db, #2980b9);
border: none;
color: white;
padding: 12px 24px;
margin: 0;
border-radius: 8px;
cursor: pointer;
font-size: 1.2em;
transition: transform 0.2s, box-shadow 0.2s;
}
button:hover {
background: linear-gradient(to bottom, #3498db, #2475a8);
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.score, .level {
background-color: rgba(52, 73, 94, 0.8);
padding: 12px 24px;
border-radius: 8px;
display: inline-block;
margin: 0 10px;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}