diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2013-07-02 16:18:57 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2013-07-02 16:18:57 -0400 |
commit | 2f57ee9ab0fef36f3701317bde03b0dd15158244 (patch) | |
tree | d2da85eec5874787ddd529401074b4ebd50fa350 /www/css | |
parent | 59bbb0ebd81a256f59d53418a76d4105c51bb84f (diff) | |
download | html5ks-2f57ee9ab0fef36f3701317bde03b0dd15158244.tar.xz html5ks-2f57ee9ab0fef36f3701317bde03b0dd15158244.zip |
add centered command
Diffstat (limited to 'www/css')
-rw-r--r-- | www/css/index.css | 14 |
1 files changed, 12 insertions, 2 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; +} |