From 611d88cb963241af301e38d0be5431303366a7ac Mon Sep 17 00:00:00 2001 From: Kevin Dungs Date: Sat, 2 Aug 2014 22:09:13 +0200 Subject: [PATCH] Improve UI. --- css/style.css | 17 +++++++++++++---- index.html | 25 ++++++++++++++++++------- js/detector.js | 1 - js/ui.js | 9 +++++++++ 4 files changed, 40 insertions(+), 12 deletions(-) create mode 100644 js/ui.js diff --git a/css/style.css b/css/style.css index 6fa7d89..19de3a2 100644 --- a/css/style.css +++ b/css/style.css @@ -1,12 +1,22 @@ -body { - padding: 80px 0; +h1 br { + display: none; +} + +#InfoBox { + color: #666; + position: fixed; + right: 40px; + bottom: 0; + padding: 5px; + max-width: 200px; } #detector { cursor: pointer; margin: 0 auto; position: relative; - width: 400px; height: 400px; + width: 400px; + height: 400px; } #detector canvas { @@ -41,6 +51,5 @@ body { } .scrollable { - height: 50%; overflow: auto; } diff --git a/index.html b/index.html index 2f999a9..c21a835 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ -