From 740a3861f7b1132362e3006ab32ac5bd37174b76 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Mon, 22 Jan 2018 00:18:12 +0100 Subject: [PATCH] slight improvements for sizes on touch screens (support a standard way) --- style/lantea.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/style/lantea.css b/style/lantea.css index 16bacfc..10d00d1 100644 --- a/style/lantea.css +++ b/style/lantea.css @@ -143,10 +143,19 @@ h1 { display: block; } +/* non-standard touch screen detection for Mozilla browsers */ .overlayArea:-moz-system-metric(touch-enabled), .menuDrawer:-moz-system-metric(touch-enabled) { + font-size: 3mm; font-size: 3mozmm; } +/* Standard, Media Queries Level 4 touch screen detection */ +@media (pointer:coarse) { + .overlayArea, + .menuDrawer { + font-size: 16px; + } +} .overlayArea input[type="button"], .overlayArea button, -- 2.43.0