-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (99 loc) · 1.84 KB
/
Copy pathstyle.css
File metadata and controls
120 lines (99 loc) · 1.84 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
background-color: #212121;
}
.container{
max-width: 800px;
margin: auto;
padding: 0 15px;
}
.grid {
display: flex;
flex-wrap: wrap;
width: 560px;
height: 560px;
margin: auto;
margin-top: 32px;
background-color: rgb(24, 24, 24);
}
.grid div {
width: 20px;
height: 20px;
}
.pac-dot {
background-color: #ffb897;
border: 7px solid rgb(24, 24, 24);
box-sizing: border-box;
}
.wall {
background-color: #2121de;
}
.power-pellet {
background-color: #ffb897;
border: 2px solid rgb(24, 24, 24);
border-radius: 100%;
}
.pac-man {
background: url('images/pacman.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.ghost {
border: none;
}
.to-right {
transform: rotate(0);
}
.to-left {
transform: rotate(180deg);
}
.to-down {
transform: rotate(90deg);
}
.to-up {
transform: rotate(-90deg);
}
.blinky {
background: url('images/red-ghost.png');
background-size: contain;
}
.inky {
background: url('images/yellow-ghost.png');
background-size: contain;
}
.clyde {
background: url('images/blue-ghost.png');
background-size: contain;
}
.button-group{
display: flex;
justify-content: center;
margin: 12px 0;
}
.button-group button {
margin: 0 12px;
padding: 12px 32px;
background-color: rgb(220,220, 220);
color: black;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
box-shadow: 1px 1px 5px 0 rgba(0,0,0, 0.5) inset, 3px 3px 8px 0 rgba(255, 255, 255, 0.5);
}
.button-group button:hover {
box-shadow: 2px 2px 15px 0 rgba(255, 255, 255, 0.5)
}
.score-box{
display: flex;
justify-content: center;
color: white;
}
.score-box p{
margin: 4px;
}