From da7e9cb61779882ad7033ed3f502bce3c676f00d Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Fri, 2 Aug 2013 15:00:53 -0400 Subject: fix misc UI bugs --- www/css/index.css | 12 +++++------- www/index.html | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/www/css/index.css b/www/css/index.css index 15bbcba..c1ae018 100644 --- a/www/css/index.css +++ b/www/css/index.css @@ -156,12 +156,9 @@ html.no-js #gotit { } .centered { position: absolute; - top: 0; - bottom: 0; - height: 0; - width: 100%; margin: auto; - text-align: center; + left: 50%; + top: 50%; } .choice { background: url("../dump/ui/bg-choice.png") no-repeat top center; @@ -170,6 +167,7 @@ html.no-js #gotit { } #context > div { z-index: 20; + text-align: center; } #context-menu { background: url("../dump/ui/bg-gm.png") no-repeat top center; @@ -188,9 +186,9 @@ html.no-js #gotit { #context-info { font: 19px/22px Playtime; position: absolute; - top: auto; - height: auto; bottom: 10px; + text-align: center; + width: 100%; } /* main menu */ diff --git a/www/index.html b/www/index.html index cdf3882..8c4a615 100644 --- a/www/index.html +++ b/www/index.html @@ -103,7 +103,7 @@
Quit
-
+
Play time:
Current scene:
Current music track:
-- cgit v1.2.3-70-g09d2