File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/* Styling needed for a fullscreen canvas and no scrollbars. */
2- body , html {
3- width : 100% ;
4- height : 100% ;
5- margin : 0 ;
6- padding : 0 ;
7- overflow : hidden;
8- }
92
10- # starfield {
11- width : 100% ;
12- height : 100% ;
13- z-index : -1 ;
14- position : absolute;
15- left : 0px ;
16- top : 0px ;
17- }
18- # gamecontainer {
19- width : 800px ;
20- margin-left : auto;
21- margin-right : auto;
22- }
23- # gamecanvas {
24- width : 800px ;
25- height : 600px ;
26- }
27- # info {
28- width : 800px ;
29- margin-left : auto;
30- margin-right : auto;
31- }
3+ body , html {
4+ width : 100% ;
5+ height : 100% ;
6+ margin : 0 ;
7+ padding : 0 ;
8+ overflow : hidden;
9+ }
10+
11+ # starfield {
12+ width : 100% ;
13+ height : 100% ;
14+ z-index : -1 ;
15+ position : absolute;
16+ left : 0px ;
17+ top : 0px ;
18+ }
19+
20+ # gamecontainer {
21+ width : 800px ;
22+ margin-left : auto;
23+ margin-right : auto;
24+ }
25+
26+ # gamecanvas {
27+ width : 800px ;
28+ height : 600px ;
29+ }
30+
31+ # info {
32+ width : 800px ;
33+ margin-left : auto;
34+ margin-right : auto;
35+ }
You can’t perform that action at this time.
0 commit comments