Open Infrastructure Map, a view of infrastructure data in OpenStreetMap
Add exports link, improve menu
Russ Garrett74ca931006bf
diff --git a/web/index.html b/web/index.htmlindex f3c687d..a6f826d 100644--- a/web/index.html+++ b/web/index.html@@ -1,4 +1,4 @@-<!DOCTYPE html>+<!doctype html><html lang="en"><head><meta charset="UTF-8" />@@ -20,14 +20,17 @@<link rel="canonical" href="https://openinframap.org" /></head><body>- <noscript- >You must have Javascript enabled to view Open Infrastructure- Map</noscript- >+ <noscript>You must have Javascript enabled to view Open Infrastructure Map</noscript><div id="container" style="display: none"><header><h1>Open Infrastructure Map</h1>- <a href="/about">about</a> | <a href="/stats">stats</a>+ <nav>+ <ul>+ <li><a href="/about">about</a></li>+ <li><a href="/stats">stats</a></li>+ <li><a href="https://www.infrageomatics.com/products/osm-export" target="_blank">exports</a></li>+ </ul>+ </nav></header><div id="map"></div></div>diff --git a/web/src/index.css b/web/src/index.cssindex 5296948..4f39108 100644--- a/web/src/index.css+++ b/web/src/index.css@@ -22,10 +22,10 @@ body,header {z-index: 2;padding: 4px;- border-radius: 0px 0px 4px 0px;+ border-radius: 0px 0px 15px 0px;border-right: 1px #eee solid;border-bottom: 1px #eee solid;- background-color: rgba(255, 255, 255, 0.5);+ background-color: rgba(255, 255, 255, 0.7);top: 0px;left: 0px;position: absolute;@@ -37,6 +37,23 @@ header {backdrop-filter: blur(3px) saturate(80%);}+nav ul {+ font-size: 1.1em;+ list-style-type: none;+ margin: 0;+ padding: 0;+}++nav ul li {+ display: inline;+}++nav ul li + li::before {+ content: '|';+ color: #666;+ margin-right: 5px;+}+h1 {display: inline;margin: 0px;@@ -47,6 +64,10 @@ a {color: #333;}+a:hover {+ color: #000;+}+.infobox {display: block;position: absolute;@@ -77,6 +98,10 @@ a {clear: both;}+.maplibregl-popup-content {+ box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);+}+canvas:focus {/* Remove unnecessary focus border */outline: none;