summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2014-07-19 20:39:39 +0200
committerJustin Worthe <justin.worthe@gmail.com>2014-07-19 20:39:39 +0200
commitfd8280fa577fab0d4deadb09bf183a364c0ec05f (patch)
tree8bd0584d079e31d06fa086229090f509402e8706
parent2495fc20e8ee5c1714d176dffd2725b6a78a4114 (diff)
Added scaling to have game match screen height
-rw-r--r--css/styles.css12
1 files changed, 8 insertions, 4 deletions
diff --git a/css/styles.css b/css/styles.css
index e5b870b..97f76a6 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -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
+}