From c38f19dac0b063d85ab69eb507d0e249e0441830 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Sun, 13 Aug 2017 02:46:51 -0400 Subject: [PATCH] Connection limit and distance, warning --- css/style.css | 10 ++++- index.html | 16 +++++++- js/proximity.js | 98 +++++++++++++++++++++++++++++++++++-------------- 3 files changed, 94 insertions(+), 30 deletions(-) diff --git a/css/style.css b/css/style.css index 4ecfdd4..08e909b 100644 --- a/css/style.css +++ b/css/style.css @@ -61,7 +61,7 @@ div.panel { padding: 5px; } -#help h2 { +.panel h2 { text-align: center; } @@ -81,4 +81,12 @@ div.panel { top: 0; right: 0; padding: 3px 6px; + font-family: monospace; } + +#controls p.warning { + color: darksalmon; + margin-top: 5px; + margin-bottom: 5px; +} + diff --git a/index.html b/index.html index 1c2b311..4de9a1f 100644 --- a/index.html +++ b/index.html @@ -108,8 +108,22 @@