From d597459f19ae2fe6625f8179763359fca0b21bed Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Wed, 12 Jun 2024 17:45:07 +0200 Subject: [PATCH] website --- website_astro/src/content/how_to_use/maplibre.md | 2 +- website_astro/src/pages/how_to_use.astro | 4 ++-- website_astro/src/styles/global.css | 10 ++++++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/website_astro/src/content/how_to_use/maplibre.md b/website_astro/src/content/how_to_use/maplibre.md index 62ba439..d9865e3 100644 --- a/website_astro/src/content/how_to_use/maplibre.md +++ b/website_astro/src/content/how_to_use/maplibre.md @@ -1,6 +1,6 @@ ## How to load MapLibre? -Include [MapLibre GL JS](https://maplibre.org/maplibre-gl-js/docs/) in the ``. If you are using npm, you can install the `maplibre-gl` package. Make sure to import the CSS as well. +Include MapLibre GL JS in the ``. If you are using npm, you can install the `maplibre-gl` package. Make sure to import the CSS as well. ```html diff --git a/website_astro/src/pages/how_to_use.astro b/website_astro/src/pages/how_to_use.astro index fec7638..4cd2f56 100644 --- a/website_astro/src/pages/how_to_use.astro +++ b/website_astro/src/pages/how_to_use.astro @@ -6,16 +6,16 @@ import { Content as MapboxText } from '../content/how_to_use/mapbox.md' import { Content as LeafletText } from '../content/how_to_use/leaflet.md' import { Content as MobileText } from '../content/how_to_use/mobile.md' import { Content as CustomStylesText } from '../content/how_to_use/custom_styles.md' +import { Content as SelfHostingText } from '../content/how_to_use/self_hosting.md' ---

How to use OpenFreeMap in your website or app

- - +
diff --git a/website_astro/src/styles/global.css b/website_astro/src/styles/global.css index f66bad4..d2151c9 100644 --- a/website_astro/src/styles/global.css +++ b/website_astro/src/styles/global.css @@ -154,17 +154,19 @@ p { pre { /*background: #efefef;*/ - font-size: 14px; max-width: 600px; margin: 0 auto 0.6em; + font-size: 14px; /*overflow: scroll;*/ /*font-weight: bold;*/ } -/*code {*/ -/* font-family: 'Nimbus Mono PS', 'Courier New', monospace !important;*/ + +code { + font-size: 14px; + /*font-family: 'Nimbus Mono PS', 'Courier New', monospace !important;*/ /* background: #efefef;*/ -/*}*/ +} #map-container { width: 100%;