From e297ac65f8f0cde103880c73d0c92ad3cb50f161 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Tue, 3 May 2022 13:21:24 -0700 Subject: web: more use of generic JS functions --- web/static/style.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'web/static/style.css') diff --git a/web/static/style.css b/web/static/style.css index a7ad76a..43c5b8b 100644 --- a/web/static/style.css +++ b/web/static/style.css @@ -41,6 +41,10 @@ div#controls { } div#controls .keypad { + display: none; +} + +div#controls .keypad.visible { display: contents; } @@ -125,11 +129,15 @@ div#p1-info.active, div#p2-info.active { background-color: #304010; } -div#p1-info-inner, div #p2-info-inner { +div#p1-info-inner, div#p2-info-inner { display: contents; visibility: hidden; } +div#p1-info-inner.visible, div#p2-info-inner.visible { + visibility: visible; +} + div#p1-rem, div#p2-rem { font-size: 3em; font-weight: bold; -- cgit v1.2.3-70-g09d2