-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
72 lines (65 loc) · 1.29 KB
/
styles.css
File metadata and controls
72 lines (65 loc) · 1.29 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
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
.board {
height: 512px;
width: 512px;
background-color: rgb(63, 204, 63);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-style: solid;
border-width: 5px;
border-color: rgb(0, 65, 0);
}
.apple {
width: 32px;
height: 32px;
background-color: red;
position: relative;
border-radius: 16px;
}
.serpentPiece {
background-color: #00aeff;
width: 30px;
height: 30px;
position: absolute;
border-style: solid;
border-width: 2px;
border-color: #00aeFF;
}
.endGame {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 32px;
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 999;
}
.score {
font-size: 24px;
top: 50%;
}
.playButton {
height: 64px;
padding-left: 32px;
padding-right: 32px;
font-size: 32px;
color: white;
border: none;
background-color: rgb(0, 65, 0);
border-radius: 32px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
cursor: pointer;
transition: background-color 200ms;
z-index: 999;
}
.playButton:hover {
background-color: rgb(0, 94, 0);
}
.playButton:active {
background-color: rgb(0, 134, 0);
}