summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/css/index.css12
-rw-r--r--www/index.html2
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 @@
<div id="main-menu" class="button">Main menu</div>
<div class="quit button disabled">Quit</div>
</div>
- <div id="context-info" class="centered">
+ <div id="context-info">
<div>Play time: <span id="play-time"></span></div>
<div>Current scene: <span id="current-scene"></span></div>
<div>Current music track: <span id="current-music-track"></span></div>