summaryrefslogtreecommitdiff
path: root/web/static/style.css
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-03 13:21:24 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-03 13:22:43 -0700
commite297ac65f8f0cde103880c73d0c92ad3cb50f161 (patch)
treed08677e97ae1a863f1c8eed49dc36560d544d7ca /web/static/style.css
parent9a0f3d15dfaac41657bb549c7e246d2ac81fdf4c (diff)
downloaddartboat-e297ac65f8f0cde103880c73d0c92ad3cb50f161.tar.gz
dartboat-e297ac65f8f0cde103880c73d0c92ad3cb50f161.tar.xz
web: more use of generic JS functions
Diffstat (limited to 'web/static/style.css')
-rw-r--r--web/static/style.css10
1 files changed, 9 insertions, 1 deletions
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;