slight improvements for sizes on touch screens (support a standard way)
authorRobert Kaiser <kairo@kairo.at>
Sun, 21 Jan 2018 23:18:12 +0000 (00:18 +0100)
committerRobert Kaiser <kairo@kairo.at>
Sun, 21 Jan 2018 23:18:12 +0000 (00:18 +0100)
style/lantea.css

index 16bacfcc11edc4774132d558fb0b6279d4a592d3..10d00d17777f1d81919db32e3bcb55a562060fe9 100644 (file)
@@ -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,