X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/851af3db7f54d489df0e6b6e9d16b6ee7d4d98fc..1542a006cbb315812316e6788ad68f7f3010e557:/website/css/search.css diff --git a/website/css/search.css b/website/css/search.css index 89ccc8ef..d018ab94 100644 --- a/website/css/search.css +++ b/website/css/search.css @@ -1,34 +1,3 @@ -header { - width: 100%; - padding: 15px; - z-index: 5; -} - -header .brand { - white-space: nowrap; -} - -header .brand a:hover{ - text-decoration: none; -} - -header .brand h1 { - display: inline; - font-size: 1.5em; - color: #333; -} - -header .brand > img { - display: inline-block; - margin-right: 5px; - margin-top: -5px; -} - -header #last-updated { - font-size: 0.7em; - white-space: nowrap; - text-align: center; -} form { @@ -38,6 +7,11 @@ form { form #q { min-width: 500px; } +@media (max-width: 850px) { +form #q { + min-width: 400px; +} +} form .checkbox-inline { margin-left: 10px; } @@ -45,9 +19,16 @@ form label { font-weight: normal; } +.search-type-link { + display: inline; + margin-right: 2em; + position: absolute; + right: 0 +} + .sidebar { width: 25%; - padding: 10px; + padding: 15px; padding-top: 0; display: inline-block; float: left; @@ -70,6 +51,7 @@ form label { } #map-position { + display: none; position: absolute; top: 0; right: 20px; @@ -80,6 +62,10 @@ form label { z-index: 100; } +#map-position-close { + text-align: right; +} + .result { font-size: 0.8em; margin: 5px; @@ -154,4 +140,7 @@ footer p { .sidebar { width: 100%; } + .search-button-group { + display: inline + } }