]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/print.css
Prefer a key=value match over a key only match for object descriptions
[rails.git] / app / assets / stylesheets / print.css
index 367bd4fa566ddb6a8f8435618e60c6b771b98559..fa04314b1fe55bfda816e9eab85dbba1d70abbd9 100644 (file)
@@ -1,57 +1,29 @@
-#small-title {
+header,
+#sidebar,
+#permalink,
+.leaflet-control {
   display: none;
 }
 
-#left {
-  display: none;
-}
-
-#greeting {
-  display: none;
-}
-
-#tabnav {
-  display: none;
-}
-
-#sidebar {
-  display: none;
-}
-
-#permalink {
-  display: none;
-}
-
-#editmenu {
-  display: none;
-}
-
-.olControlZoom {
-  display: none;
-}
-
-.olControlSimplePanZoom {
-  display: none;
-}
-
-.SimpleLayerSwitcher {
-  display: none;
-}
-
-.olControlScaleLine {
-  display: none !important;
-}
-
-.olControlAttribution {
-  display: none !important;
+html {
+  height: 100%;
 }
 
 #map {
+  position: absolute !important;
+  top: 0;
+  bottom: 40px;
+  left: 0;
+  right: 0;
   border: 1px solid black;
-  margin: auto !important;
 }
 
 #attribution {
+  position: absolute !important;
+  bottom: 0;
+  left: 0;
+  right: 0;
+  height: 40px;
   font-size: 12px;
   text-align: center;
 }