From fd8280fa577fab0d4deadb09bf183a364c0ec05f Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sat, 19 Jul 2014 20:39:39 +0200 Subject: Added scaling to have game match screen height --- css/styles.css | 12 ++++++++---- 1 file 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 +} -- cgit v1.2.3