-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnake_game.css
62 lines (56 loc) · 1.14 KB
/
snake_game.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
@import url("https://fonts.googleapis.com/css?family=Exo+2&display=swap");
body {
background-color: #0099ff;
}
#score {
background-color: #4a752c;
text-align: center;
color: #ffffff;
margin-bottom: 10px;
height: 30px;
padding-top: 10px;
padding-bottom: 10px;
text-decoration: bold;
border-radius: 20px;
font-size: 25px;
font-family: "Exo 2", sans-serif;
}
#garden {
margin-top: 5px;
background-color: #aad751;
background-image: linear-gradient(45deg,
#a1d149 25%,
transparent 25%,
transparent 75%,
#a1d149 75%),
linear-gradient(45deg,
#a1d149 25%,
transparent 25%,
transparent 75%,
#a1d149 75%);
background-size: 64px 64px;
background-position: 0 0, 32px 32px;
border-radius: 7px;
border: 5px solid #568a34;
margin-left: 29%;
margin-right: 350px;
}
#food {
display: none;
}
#restartBtn {
background-color: #fef200;
color: #000000;
outline: none;
border: #000000 2px solid;
width: 50px;
height: 50px;
padding: 10px;
display: none;
border-radius: 50px;
margin-left: 20px;
}
#restartBtn:hover {
cursor: pointer;
background-color: #fed800;
}