-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
81 lines (74 loc) · 1.54 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
body {
position: fixed;
top: 50%;
left: 50%;
margin-top: calc((100vh / 2) * -1); /* Negative half of height. */
margin-left: calc((100vw / 2) * -1); /* Negative half of width. */
background: rgb(34, 34, 34);
height: 100vh;
width: 100vw;
color: white;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
text-align: center;
line-height: 0.5;
}
#lose {
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 100vw;
display: none;
align-items: center;
justify-content: center;
background: rgba(128, 128, 128, 0.85)
}
.active {
display: flex !important;
}
.score,
.highscore {
display: inline-flex;
flex-direction: row;
justify-content: space-between;
width: 50%;
}
/* settings */
#settings {
background: none;
border: none;
cursor: pointer;
position: absolute;
top: 1%;
right: 1%;
}
#settingsmenu {
z-index: 6969;
position: absolute;
display: none;
flex-direction: column;
align-content: center;
justify-content: center;
align-items: center;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: black;
opacity: 0.8;
line-height: normal;
}
#settingsmenu input,
#settingsmenu label,
#settingsmenu button {
opacity: 1;
padding: 5px;
margin: 5px;
}
#settingsmenu button {
background: white;
border: none;
border-radius: 10px;
padding: 10px;
cursor: pointer;
}