X-Git-Url: https://git-public.kairo.at/?p=lantea.git;a=blobdiff_plain;f=style%2Flantea.css;h=9183859e5ecc8b73a4b58eb9d146bccfb2b3b331;hp=acff337ef5276e713cf5d2ce9571a18cf026052d;hb=f84a3fd49ebdb392d9fd9473f6f98b6de50fa9d6;hpb=a7393a71c4475fecb7a1ad4aca88555a8ee1da51;ds=sidebyside diff --git a/style/lantea.css b/style/lantea.css index acff337..9183859 100644 --- a/style/lantea.css +++ b/style/lantea.css @@ -19,6 +19,15 @@ h1 { z-index: 5; } +#overlayArea:-moz-system-metric(touch-enabled) { + font-size: 3mozmm; +} + +#overlayArea input[type="button"]:-moz-system-metric(touch-enabled), +#overlayArea select:-moz-system-metric(touch-enabled) { + font-size: 2.5mozmm; +} + #zoomLevel { background-color: rgba(255, 255, 255, .8); border-radius: 3px; @@ -43,24 +52,49 @@ h1 { #map { border: 0; - top: 1em; - left: 1%; - right: 1%; + top: 1px; + left: 1px; + right: 1px; + bottom: 1px; z-index: 1; } #debug { position: absolute; - bottom: .5em; + bottom: 5px; left: .5em; margin: 0; + z-index: 3; + background-color: rgba(255, 255, 255, .8); + border-radius: 3px; + padding: 0 3px; +} + +.debugHide { + display: none; } #copyright { position: absolute; - bottom: .5em; + bottom: 5px; right: .5em; margin: 0; font-size: small; - opacity: .5; + opacity: .66; + z-index: 2; + background-color: rgba(255, 255, 255, 1); + border-radius: 3px; + padding: 0 3px; +} + + +@media screen and (max-width: 500px) { + body { + font-size: 10px; + } + #copyright { + bottom: 1px; + right: 1px; + font-size: 8px; + } }