summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2015-10-30 01:53:20 (GMT)
committerMichele Bini <michele.bini@gmail.com>2015-10-30 01:53:20 (GMT)
commit2b9de5492df66fef246553802e3aed3038cf1959 (patch)
tree82835b2b12352851ad0f1a95760a75ef79d07b0b
parent12f831083a56505b2cb32fe8cd825bce172c13cd (diff)
various tweaks and layout fixes
-rw-r--r--game.html.coffee6
1 files changed, 3 insertions, 3 deletions
diff --git a/game.html.coffee b/game.html.coffee
index b72aa51..a37fd18 100644
--- a/game.html.coffee
+++ b/game.html.coffee
@@ -53,7 +53,7 @@ genPage = ->
@link rel:"shortcut icon", href:icon
@title title
@body style:"margin:0;border:0;padding:0;height:100%;width:100%;background:black;-webkit-font-smoothing:none", ->
- @div style:"visibility:hidden;position:absolute", ->
+ @div style:"display:none", ->
@img id:"pixyvaquita", src:pixyvaquita
@img id:"pixyvaquita_twist_l", src:frames.twist_l
@img id:"pixyvaquita_twist_r", src:frames.twist_r
@@ -64,9 +64,9 @@ genPage = ->
# @img id:"cuteluterror", src:frames.cuteluterror
@img id:"seafloor", src:frames.seafloor
@img id:"fontglyphs", src:frames.fontglyphs
- @div style:"display:table;width:100%;max-width:100%;height:100%;margin:0;border:0;padding:0", ->
+ @div style:"display:table;width:100%;max-width:100%;height:100%;margin:0;border:0;padding:0;font-size:0", ->
@div style:"display:table-cell;vertical-align:middle;width:100%;margin:0;border:0;padding:0;text-align:center", ->
- @div style:"position:relative;display:inline-block", width:"#{gameAreaSize[0]*2}", height:"#{gameAreaSize[1]*2}", ->
+ @div style:"position:relative", ->
@canvas width:"#{gameAreaSize[0]*2}", height:"#{gameAreaSize[1]*2}"
@header style:"position:absolute;top:0;left:0;font-size:14px;width:100%;color:black", ->
@span gameName