-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
47 lines (41 loc) · 762 Bytes
/
style.css
File metadata and controls
47 lines (41 loc) · 762 Bytes
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
html, body {
background-color: #202020;
margin: 0;
padding: 0;
border-spacing: 0;
position: relative;
width: 100%;
height: 100%;
}
#gameCanvas {
position: absolute;
display: block;
margin: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;
box-sizing: border-box;
image-rendering: -moz-crisp-edges;
image-rendering: -webkit-crisp-edges;
image-rendering: pixelated;
image-rendering: crisp-edges;
}
#gameCanvas:hover {
cursor: none;
}
#gameCanvas:focus {
outline:0;
}
@media only screen and (min-width: 960px) and (min-height: 600px) {
#gameCanvas {
width: 960px;
height: 600px;
}
}
@media only screen and (min-width: 1440px) and (min-height: 900px) {
#gameCanvas {
width: 1440px;
height: 900px;
}
}