-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
79 lines (65 loc) · 1.01 KB
/
style.css
File metadata and controls
79 lines (65 loc) · 1.01 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
73
74
75
76
77
78
79
body {
background: black;
display: flex;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
.grid {
width: 600px;
height: 600px;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
.grid div {
width: calc(100% / 28);
height: calc(100% / 28);
display: flex;
justify-content: center;
align-items: center;
}
.grid div.food:after {
content: '';
width: 25%;
height: 25%;
background-color: white;
border-radius: 50%;
z-index: -1;
}
.grid div.big-food:after {
content: '';
width: 50%;
height: 50%;
background-color: white;
border-radius: 50%;
z-index: -1;
}
.grid div.wall {
background-color: darkBlue;
}
.pacman {
background-color: yellow;
border-radius: 50%;
}
.orange {
background-color: orange;
}
.red {
background-color: red;
}
.cyan {
background-color: cyan;
}
.pink {
background-color: pink;
}
.prey {
background-color: dodgerBlue;
}
.deceased {
background-color: white;
}