-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
56 lines (49 loc) · 1.25 KB
/
main.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
html, body{
height: 100%;
min-height: 100%;
margin: 0;
overflow: hidden;
}
#canvas{
width: 100%;
height: 100%;
}
canvas {
image-rendering: optimizeSpeed; /* STOP SMOOTHING, GIVE ME SPEED */
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
image-rendering: pixelated; /* Chrome */
image-rendering: optimize-contrast; /* CSS3 Proposed */
-ms-interpolation-mode: nearest-neighbor; /* IE8+ */
}
#fpsMeter{
position: absolute;
left: 0;
top: 0;
margin: 3px;
color: #f00;
font-family: monospace;
background: black;
}
#helper{
position: absolute;
left: calc(50% - 400px / 2);
width: 400px;
top: 0;
margin: 3px;
color: #f00;
background: black;
font-family: monospace;
text-align: center;
font-size: x-large;
}
#console{
position: absolute;
right: 0;
top: 0;
margin: 3px;
color: #f00;
background: black;
font-family: monospace;
}