make overlay area go more into the corner on small screens
[lantea.git] / style / lantea.css
index 49133028ab83536f5f0b9fa727357cb3e264b638..4c94d24ece37e7aa4d7ab9ee81fcd593120a31ea 100644 (file)
@@ -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,17 +52,22 @@ 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 {
@@ -62,9 +76,29 @@ h1 {
 
 #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;
+  }
+  #overlayArea {
+    top: 2px;
+    left: 2px;
+  }
+  #copyright {
+    bottom: 1px;
+    right: 1px;
+    font-size: 8px;
+  }
 }