slight improvements for sizes on touch screens (support a standard way) master
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 16bacfc..10d00d1 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,