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 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'www/css') 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; +} -- cgit v1.2.3-70-g09d2