-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
173 lines (158 loc) · 4.59 KB
/
main.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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
* {
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin: 0;
background: linear-gradient(to top left, rgb(7, 7, 7), rgb(15, 15, 16));
}
header, h1, h2, section {
color: rgb(237, 203, 13);
margin: 0;
padding: 5px;
justify-content: center;
}
h3 {
margin-top: 0px;
}
section#scores {
display: flex;
flex-direction: row;
padding: 5px;
text-align: center;
}
.grid {
display: flex;
flex-direction: row;
border: 3px solid #228DFF;
width: 600px;
height: 600px;
flex-wrap: wrap;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
-webkit-animation: neon2 1.3s ease-in-out infinite alternate;
-moz-animation: neon2 1.3s ease-in-out infinite alternate;
animation: neon2 1.3s ease-in-out infinite alternate;
}
.grid div {
width: 5%;
height: 5%;
border: 1px solid rgba(134, 127, 127, 0.036);
font-size: 5px;
}
.builder {
width: 100%;
display: flex;
justify-content: space-evenly;
}
.fruitylife {
padding: 0px;
width: 60%;
display:flex;
justify-content: space-between;
flex-direction: row;
}
.lifewrap{
display: flex;
}
.fruitwrap{
display: flex;
}
.builder div {
border: 1px solid rgb(193, 193, 193);
padding: 10px;
}
.blank {
background: linear-gradient(to top left, rgb(7, 7, 7), rgb(15, 15, 16));
color: #f0f8ff00;
padding: 10px;
}
.wall{
background-color: rgb(3, 3, 43);
color: rgba(255, 255, 255, 0);
border: 1px solid #228DFF;
background: linear-gradient(to top right, rgb(3, 1, 37), rgb(28, 7, 103));
}
.teleport {
background-color: #FF1177;
background: linear-gradient(to top left, rgb(10, 6, 89), rgb(11, 81, 203));
color: rgba(255, 255, 255, 0);
}
.ghostDoor {
border-top: 5px solid brown!important;
background: linear-gradient(to top left, rgb(7, 7, 7), rgb(15, 15, 16));
}
.food {
background-image: url('https://supersuperdev-pub.598753f3935548c6a1ca8f065e534ac1.s3.pub1.infomaniak.cloud/projects/pacman-js/images/food.png');
background-size: contain;
}
.pill {
background-image: url('https://supersuperdev-pub.598753f3935548c6a1ca8f065e534ac1.s3.pub1.infomaniak.cloud/projects/pacman-js/images/pill.png');
background-size: contain;
}
.fruit {
background-image: url('https://supersuperdev-pub.598753f3935548c6a1ca8f065e534ac1.s3.pub1.infomaniak.cloud/projects/pacman-js/images/cherry.png');
background-size: contain;
}
.ghostroom {
background: linear-gradient(to top left, rgb(24, 24, 24), rgb(15, 15, 16));
color: #f0f8ff00;
padding: 10px;
}
.hide {
display: none;
}
.selected {
border: 5px solid pink;
}
.levelarray{
max-width: 80%;
overflow-wrap: break-word;
}
.player {
background-color: transparent;
background-image: url('https://supersuperdev-pub.598753f3935548c6a1ca8f065e534ac1.s3.pub1.infomaniak.cloud/projects/pacman-js/images/player.png') !important;
background-size: cover;
background-repeat: no-repeat;
}
.blinky {
background-image: url('https://supersuperdev-pub.598753f3935548c6a1ca8f065e534ac1.s3.pub1.infomaniak.cloud/projects/pacman-js/images/blinky.png');
background-size: cover;
}
.pinky {
background-image: url('https://supersuperdev-pub.598753f3935548c6a1ca8f065e534ac1.s3.pub1.infomaniak.cloud/projects/pacman-js/images/pinky.png');
background-size: cover;
}
.funky {
background-image: url('https://supersuperdev-pub.598753f3935548c6a1ca8f065e534ac1.s3.pub1.infomaniak.cloud/projects/pacman-js/images/funky.png');
background-size: cover;
}
.kinky {
background-image: url('https://supersuperdev-pub.598753f3935548c6a1ca8f065e534ac1.s3.pub1.infomaniak.cloud/projects/pacman-js/images/kinky.png');
background-size: cover;
}
.casper {
background-image: url('https://supersuperdev-pub.598753f3935548c6a1ca8f065e534ac1.s3.pub1.infomaniak.cloud/projects/pacman-js/images/casper.png');
background-size: cover;
}
/*glow for webkit*/
@keyframes neon1 {
from {
box-shadow: 0 0 10px rgb(240, 185, 7), 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #FF1177, 0 0 70px #FF1177, 0 0 80px #FF1177, 0 0 100px #FF1177, 0 0 150px #FF1177;
}
to {
box-shadow: 0 0 5px rgb(228, 164, 0), 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #FF1177, 0 0 35px #FF1177, 0 0 40px #FF1177, 0 0 50px #FF1177, 0 0 75px #FF1177;
}
}
@-webkit-keyframes neon2 {
from {
box-shadow: 0 0 15px rgb(233, 150, 7), 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #228DFF, 0 0 70px #228DFF, 0 0 80px #228DFF, 0 0 100px #228DFF, 0 0 150px #228dff79;
}
to {
box-shadow: 0 0 5px rgba(167, 9, 9, 0.582), 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #228DFF, 0 0 35px #228DFF, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 75px #228DFF;
}
}