summaryrefslogtreecommitdiff
path: root/web/css/keyboard.css
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-10-09 16:20:41 +0300
committerDevaev Maxim <[email protected]>2018-10-09 16:20:41 +0300
commita449b39c52392d0d8b043934a15792f21d54e06d (patch)
treec8ff6a67baea441b61ea14f0363ba4b22c0cd116 /web/css/keyboard.css
parent2c241fab4409eac3b40762d2c23d42ac6e3f8df1 (diff)
refactoring
Diffstat (limited to 'web/css/keyboard.css')
-rw-r--r--web/css/keyboard.css18
1 files changed, 18 insertions, 0 deletions
diff --git a/web/css/keyboard.css b/web/css/keyboard.css
index ce7468d0..cb42f2fa 100644
--- a/web/css/keyboard.css
+++ b/web/css/keyboard.css
@@ -105,3 +105,21 @@ div#keyboard-desktop {
div#keyboard-mobile {
display: none;
}
+@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
+ /* iPad */
+ div.keyboard {
+ zoom: 1.28 !important;
+ }
+
+ div.keyboard div.key:hover, div.modifier:hover {
+ color: var(--fg-color-normal);
+ background-color: var(--bg-color-gray);
+ }
+
+ div#keyboard-desktop {
+ display: none !important;
+ }
+ div#keyboard-mobile {
+ display: block !important;
+ }
+}