Browse code

use fullscreen for ned et les maki

devnewton authored on 10/10/2016 16:24:25
Showing 2 changed files
1 1
deleted file mode 100644
... ...
@@ -1,30 +0,0 @@
1
-<!DOCTYPE html>
2
-<html>
3
-    <head>
4
-        <title>Ned et les maki</title>
5
-        <style>
6
-            #playn-root {
7
-                margin: 0;
8
-                padding: 0;
9
-                display:block;
10
-                position:absolute;
11
-                top:0;
12
-                left:0;
13
-                width:100%;
14
-                height:100%;
15
-            }
16
-            html,body {
17
-                margin: 0;
18
-                padding: 0;
19
-                background-color: black;
20
-            }
21
-            canvas {
22
-                display: block;
23
-            }
24
-        </style>
25
-    </head>
26
-    <body bgcolor="black">
27
-        <script src="playn/playn.nocache.js"></script>
28
-        <div id="playn-root"></div>
29
-    </body>
30
-</html>
... ...
@@ -4,22 +4,27 @@
4 4
         <title>Ned et les maki</title>
5 5
         <style>
6 6
             #playn-root {
7
-                width: 640px ;
8
-                height: 480px ;
9
-                margin-left: auto ;
10
-                margin-right: auto ;
7
+                margin: 0;
8
+                padding: 0;
9
+                display:block;
10
+                position:absolute;
11
+                top:0;
12
+                left:0;
13
+                width:100%;
14
+                height:100%;
11 15
             }
12
-            #footer {
13
-                color: white;
14
-            }
15
-            body {
16
+            html,body {
17
+                margin: 0;
18
+                padding: 0;
16 19
                 background-color: black;
17 20
             }
21
+            canvas {
22
+                display: block;
23
+            }
18 24
         </style>
19 25
     </head>
20 26
     <body bgcolor="black">
21 27
         <script src="playn/playn.nocache.js"></script>
22 28
         <div id="playn-root"></div>
23
-        <p id="footer">This game is an experimental HTML5 port of <a href="//devnewton.bci.im/games/nedetlesmaki">Ned et les maki</a>.</p>
24 29
     </body>
25 30
 </html>