-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
39 lines (37 loc) · 930 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
html, body {
padding:0;
margin:0;
height:100%;
background:#000;
overflow:hidden;
}
.player{
width:8%;
height:20%;
position:absolute;
top:80%;
left:10%;
background:#336699;
}
#main{
margin:0 auto;
width:640px;
height:360px;
position:relative;
top:50%;
transform:translateY(-50%);
max-height:100%;
}
canvas {
image-rendering: optimizeSpeed; /* Older versions of FF */
image-rendering: -moz-crisp-edges; /* FF 6.0+ */
image-rendering: -webkit-optimize-contrast; /* Safari */
image-rendering: -o-crisp-edges; /* OS X & Windows Opera (12.02+) */
image-rendering: pixelated; /* Awesome future-browsers */
-ms-interpolation-mode: nearest-neighbor; /* IE */
position: absolute;
top: 0px;
left: 0px;
width: 100% !important;
height: 100% !important;
}