From 2f57ee9ab0fef36f3701317bde03b0dd15158244 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Tue, 2 Jul 2013 16:18:57 -0400 Subject: add centered command --- www/css/index.css | 14 ++++++++++++-- www/index.html | 5 +++-- www/js/api.js | 14 ++++++++++++-- 3 files changed, 27 insertions(+), 6 deletions(-) diff --git a/www/css/index.css b/www/css/index.css index 19651da..4a1dbf5 100644 --- a/www/css/index.css +++ b/www/css/index.css @@ -55,8 +55,10 @@ body { left: 12px; font-weight: bold; } -#say { +.say { color: white; +} +#say { width: 750px; height: 90px; position: absolute; @@ -164,9 +166,17 @@ input[type="checkbox"]:checked + span:before { } #nvlsay { padding: 15px 35px; - color: white; } .nvl-block { display: block; margin: 10px 8px; } +#centered { + width: 100%; + text-align: center; + position: absolute; + top: 0; + bottom: 0; + height: 0; + margin: auto; +} diff --git a/www/index.html b/www/index.html index 729d26a..abf4855 100644 --- a/www/index.html +++ b/www/index.html @@ -48,14 +48,15 @@
+