From 828588ccb0e7f203c53b1abad1d70f77d3185a81 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Mon, 1 Jul 2013 10:26:53 -0400 Subject: add nvl --- www/css/index.css | 16 ++++++++- www/index.html | 4 +++ www/js/api.js | 106 +++++++++++++++++++++++++++++++++++++----------------- www/js/html5ks.js | 5 ++- 4 files changed, 97 insertions(+), 34 deletions(-) (limited to 'www') diff --git a/www/css/index.css b/www/css/index.css index e5a5c19..85125be 100644 --- a/www/css/index.css +++ b/www/css/index.css @@ -35,6 +35,8 @@ body { #container { width: 800px; height: 600px; + left: 50%; + top: 50%; margin-top: -300px; margin-left: -400px; } @@ -141,7 +143,7 @@ input[type="checkbox"] + span:before { input[type="checkbox"]:checked + span:before { background: url("../dump/ui/bt-cf-checked.png") no-repeat left bottom; } -#ctc { +#ctc, #nvlctc { position: absolute; bottom: 20px; right: 10px; @@ -149,3 +151,15 @@ input[type="checkbox"]:checked + span:before { -moz-animation: blink 2s infinite; animation: blink 2s infinite; } +#nvl { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: url("../dump/ui/bg-nvl.png") no-repeat top left; +} +#nvlsay { + padding: 25px 35px; + color: white; +} diff --git a/www/index.html b/www/index.html index b01fea4..ff38ee2 100644 --- a/www/index.html +++ b/www/index.html @@ -51,6 +51,10 @@
+