-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
64 lines (54 loc) · 961 Bytes
/
styles.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
height: 100%;
background-color: var(--mono-dark);
color: var(--mono-light);
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
canvas {
image-rendering: pixelated;
image-rendering: -moz-crisp-edges;
image-rendering: crisp-edges;
}
h1 {
position: absolute;
top: 15px;
left: 15px;
opacity: 0.8;
}
h3#score {
position: absolute;
top: 15px;
right: 15px;
opacity: 0.8;
}
h3#hi {
position: absolute;
top: calc(15px + 1em);
right: 15px;
opacity: 0.8;
}
#victory {
font-size: 4vmin;
}
.hidden {
display: none;
}
#victory em {
font-size: .5em;
}