-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
52 lines (44 loc) · 857 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
:root {
--margin-amount: 3rem;
--inactive-colour: red;
--active-colour: green;
--idle-colour: orange;
}
* {
box-sizing: border-box;
/* stop double click highlighting */
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
html {
font-family: Arial;
background-color: var(--idle-colour);
cursor: pointer;
}
.container {
margin: var(--margin-amount);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: calc(100vh - calc(var(--margin-amount) * 2));
}
.container p {
margin-top: 1rem;
margin-bottom: 1rem;
text-align: center;
}
.status {
font-weight: bold;
font-size: 2em;
}
@media screen and (max-width: 200px),
screen and (max-height: 200px) {
.container p {
display: none;
}
}