-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
64 lines (57 loc) · 1.15 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
body {
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
text-align: center;
}
*, *::before, *::after {
box-sizing: inherit;
}
#container {
position: relative;
width: 600px;
height: 400px;
max-width: 95vw;
border: solid 1px black;
}
#you-loose {
visibility: hidden;
display: flex;
flex-direction: column;
justify-content: center;
position: absolute;
z-index: 10;
height: 100%;
width: 100%;
background-color: rgba(155, 0, 0, 0.3);
color: white;
font-size: 3rem;
font-weight: 900;
}
.play-again {
height: 50px;
width: 100px;
border-radius: 10%;
font-weight: 500;
font-size: 1rem;
}
#canvas {
position: absolute;
height: calc(100% - 50px);
width: calc(100% - 50px);
}
.bomb {
position: absolute;
border-radius: 50%;
height: 50px;
width: 50px;
font-size: 20px;
font-weight: 900;
}
.exploded {
background-color: black;
color: white;
}