-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
66 lines (56 loc) · 1.07 KB
/
style.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
body {
margin: 0;
color: white;
background-color: black;
}
.game {
# height: 100vh;
margin: auto;
}
.border {
border: 2px solid green;
}
.stats {
margin: auto;
width: 200px;
}
.stats .header {
font-size: 25px;
}
.stage {
height: calc(30px * 22);
width: calc(30px * 12);
position: relative;
margin: auto;
}
.game-over {
display: none;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 3;
color: white;
font-size: 200px;
background-color: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
}
.cell {
height: 30px;
width: 30px;
position: absolute;
# border: 0.5px solid green;
}
.border-cell {
box-shadow: inset 3px 3px rgba(0, 0, 0, .2), inset -3px 0 rgba(0, 0, 0, .5), inset 0 -3px rgba(0, 0, 0, .7);
background-color: grey;
}
.square {
box-shadow: inset 3px 3px rgba(0, 0, 0, .2), inset -3px 0 rgba(0, 0, 0, .5), inset 0 -3px rgba(0, 0, 0, .7);
height: 30px;
width: 30px;
position: absolute;
z-index: 2;
}