diff --git a/website/assets/style.css b/website/assets/style.css index de2d548..19c7fc5 100644 --- a/website/assets/style.css +++ b/website/assets/style.css @@ -139,21 +139,16 @@ p { pre { background: #efefef; - - max-width: 800px; + font-size: 14px !important; + max-width: 600px; margin: 0 auto 0.6em !important; - font-size: 14px; + overflow: scroll; + font-weight: 700; } code { - font-family: 'Nimbus Mono PS', 'Courier New', monospace; - font-weight: 400; + font-family: 'Nimbus Mono PS', 'Courier New', monospace !important; background: #efefef; - word-break: break-word; -} - -#style-url-code span { - white-space: nowrap; } #map-container { @@ -175,7 +170,7 @@ code { cursor: pointer; } -button { +.btn { border: 0; border-radius: 0.25rem; background: #2f5f8b; @@ -184,7 +179,7 @@ button { white-space: nowrap; text-decoration: none; padding: 0.25rem 0.5rem; - margin: 0.25rem; + margin-right: 0.5rem; cursor: pointer; display: inline-flex; align-items: center; @@ -197,7 +192,7 @@ button { flex-wrap: nowrap; } -button:hover { +.btn:hover { background: #4892d9; } /*button:focus { }*/ diff --git a/website/blocks/map_howto.html b/website/blocks/map_howto.html index 5fc244b..a259650 100644 --- a/website/blocks/map_howto.html +++ b/website/blocks/map_howto.html @@ -4,17 +4,13 @@
Choose a style:
-
- Use the following style in a MapLibre map:
-
- https://tiles.openfreemap.org/styles/liberty
-
-
Use the following style in a MapLibre map:
+https://tiles.openfreemap.org/styles/liberty
@@ -25,14 +21,14 @@
<head>. If you are using npm, you can install the
maplibre-gl package. Make sure to import the CSS as well.
- <script src="https://unpkg.com/maplibre-gl/dist/maplibre-gl.js"></script>
+ <script src="https://unpkg.com/maplibre-gl/dist/maplibre-gl.js"></script>
<link
href="https://unpkg.com/maplibre-gl/dist/maplibre-gl.css"
rel="stylesheet"
/>
Initialize it to a div like this:
- <div id="map" style="width: 100%; height: 500px"></div>
+ <div id="map" style="width: 100%; height: 500px"></div>
<script>
const map = new maplibregl.Map({
style: 'https://tiles.openfreemap.org/styles/liberty',