/
Style.css
56 lines (49 loc) · 859 Bytes
/
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
body, html {
margin: 0;
padding: 0;
background-color: whitesmoke;
}
body {
font-family: sans-serif;
text-transform: uppercase;
font-weight: bold;
}
* {
box-sizing: border-box;
}
.canvas {
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
.score-container {
position: fixed;
width: fit-content;
user-select: none;
color: #fff;
z-index: 20;
}
.score-container span.score {
font-size: 1.2rem;
}
.dialog {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgb(228, 228, 228);
padding: 20px;
border: 2px solid black;
text-align: center;
z-index: 50;
border-radius: 8px;
}
.dialog button {
background: black;
color: white;
border-radius: 8px;
padding: 4px 16px;
cursor: pointer;
}