diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-23 21:11:50 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-23 21:11:50 -0700 |
commit | e2fe11469394c9827a0cdea9966188c833d93197 (patch) | |
tree | 9efcd1651e92bc7db4d63f0e0953343ed35b91ca /web/static/style.css | |
parent | 2cd3bddfa34929411737ebae1f2e99fcb0cb25e2 (diff) | |
download | dartboat-e2fe11469394c9827a0cdea9966188c833d93197.tar.gz dartboat-e2fe11469394c9827a0cdea9966188c833d93197.tar.xz |
web: implement prompt-aware keypad
Diffstat (limited to 'web/static/style.css')
-rw-r--r-- | web/static/style.css | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/web/static/style.css b/web/static/style.css index 8da0cbc..62cdcaa 100644 --- a/web/static/style.css +++ b/web/static/style.css @@ -22,11 +22,11 @@ div#main { display: grid; grid-template-columns: 1fr; grid-template-rows: min-content min-content 2fr 3fr; - grid-template-areas: "settings-bar" "rem-bar" "visits" "keypad"; + grid-template-areas: "settings-bar" "rem-bar" "visits" "controls"; } -div#keypad { - grid-area: keypad; +div#controls { + grid-area: controls; font-size: clamp(1.5vh, 2vw, 2vh); @@ -36,6 +36,18 @@ div#keypad { grid-auto-rows: 1fr; } +div#controls .keypad { + display: contents; +} + +div#controls #keypad-init .key { + grid-column: 1 / -1; + + padding-left: 0.4rem; + + justify-content: left; +} + div#oi { visibility: hidden; |