diff --git a/index.html b/index.html index 2b0e5e3..43dc5ea 100644 --- a/index.html +++ b/index.html @@ -22,6 +22,7 @@ width: 100%; margin: 0; padding: 0; + font-family: -apple-system, BlinkMacSystemFont, sans-serif; } .wrapper { height: 100vh; @@ -35,32 +36,90 @@ height: 100%; width: 100%; } + #legend-toggle { + position: absolute; + right: 10px; + top: 120px; + width: 27px; + height: 27px; + z-index: 100; + background: white; + border-style: solid; + border-width: 1px; + border-color: gray; + border-radius: 5px; + text-align: center; + user-select: none; + -webkit-user-select: none; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + } + #legend-toggle:hover { + background-color: lightgray; + } + #legend-content { + display: none; + position: absolute; + left: 25vw; + z-index: 10; + width: 50vw; + top: 25vh; + background: white; + border-radius: 8px; + border: 1px solid gray; + } + #legend-content div { + margin: 5px; + padding: 2px; + border-radius: 3px; + font-weight: bold; + text-shadow: 1px 1px 1px black; + color: white; + } + .SIDEWALK_BIKELANE { + background-color: #6CBE45; + } + .PROTECTED_BIKELANE { + background-color: #00933C; + } + .STANDARD_BIKELANE { + background-color: #0039A6; + } + .SHARED_BIKELANE { + background-color: #FCCC0A; + } + .LINK_BIKELANE { + background-color: orange; + } + .GARBAGE_BIKELANE { + background-color: red; + }