-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
45 lines (42 loc) · 1 KB
/
styles.css
File metadata and controls
45 lines (42 loc) · 1 KB
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
body {
background: #222;
color: #fff;
font-family: Arial, sans-serif;
text-align: center;
margin: 0;
padding: 0;
}
h1 {
margin-top: 20px;
margin-bottom: 10px;
font-size: 2rem;
}
#gameCanvas {
background: #111;
display: block;
margin: 0 auto;
border: 3px solid #fff;
border-radius: 8px;
box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
#pauseBtn, #playBtn {
font-size: 1.1rem;
padding: 10px 28px;
margin: 0 8px;
border: none;
border-radius: 24px;
background: linear-gradient(90deg, #ff512f 0%, #dd2476 100%);
color: #fff;
box-shadow: 0 4px 16px rgba(221,36,118,0.18);
cursor: pointer;
transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
#pauseBtn:disabled, #playBtn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
#pauseBtn:hover:not(:disabled), #playBtn:hover:not(:disabled) {
background: linear-gradient(90deg, #36d1c4 0%, #5b86e5 100%);
transform: translateY(-2px) scale(1.05);
box-shadow: 0 8px 24px rgba(54,209,196,0.18);
}