Added scaling to have game match screen height
authorJustin Worthe <justin.worthe@gmail.com>
Sat, 19 Jul 2014 18:39:39 +0000 (20:39 +0200)
committerJustin Worthe <justin.worthe@gmail.com>
Sat, 19 Jul 2014 18:39:39 +0000 (20:39 +0200)
css/styles.css

index e5b870b..97f76a6 100644 (file)
@@ -2,9 +2,13 @@ body {
   background-color: #333;
 }
 
-#interactive-pacbot {
-  width: 1100px;
+html, body, #interactive-pacbot, #interactive-pacbot>canvas {
+  height: 100%;
+  margin: 0px;
+  padding: 0px;
+}
+
+#interactive-pacbot>canvas {
   margin-left: auto;
   margin-right: auto;
-  cursor: pointer;
-}
\ No newline at end of file
+}