diff --git a/website/assets/css/custom.css b/website/assets/css/custom.css new file mode 100644 index 0000000..b460069 --- /dev/null +++ b/website/assets/css/custom.css @@ -0,0 +1,85 @@ +@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=League+Gothic&display=swap'); + +:root { + font-family: "Lato", sans-serif; + /* geopole orange */ + --primary-hue: 45deg; + --primary-saturation: 100%; + + --geopole-red: #cc0000; + --geopole-orange: #ffbf00; + --geopole-light-olive: #e4e7d7; + --geopole-green: #43bc06; + --geopole-olive: #babfa7; + --geopole-blue: #0e5174; + --geopole-list-divider: #707463; + --geopole-grey: #cccccc; + --geopole-black: #424535; +} + +body { + background-color: var(--geopole-light-olive); +} + +/* Title bar */ +.nav-container-blur { + background-color: hsl(45deg 100% 45% / 1); +} +.nav-container .hx-font-extrabold { + font-family: "League Gothic", sans-serif; + font-size: 1.55em; +} + +/* Menu hover background */ +aside.sidebar-container .hover\:hx-bg-gray-100:hover { + background-color: hsl(45deg 100% 39% / 0.2); +} + +aside.sidebar-container .sidebar-active-item.hx-bg-primary-100 { + background-color: hsl(45deg 100% 39% / 0.1); +} + +/* background for theme switcher */ +html:not(.dark) aside.sidebar-container .hx-sticky { + background-color: var(--geopole-light-olive); + --tw-shadow: none; +} + +/* background for "Edit this page" */ +nav .hx-bg-white { + background-color: var(--geopole-light-olive); + --tw-shadow: none; +} + +.content h1, h2, h3 { + font-family: "League Gothic", sans-serif; + letter-spacing: normal; +} + +.content h1 { + font-size: 3.77em; +} +.content h2 { + font-size: 2.11em; +} +.content h3 { + font-size: 1.55em; +} + +/* Table rows */ +.content :where(table):not(:where(.hextra-code-block table, [class~="not-prose"], [class~="not-prose"] *)) tr:nth-child(2n) { + background-color: hsl(45deg 100% 39% / 0.05); +} + +html:not(.dark) footer.hextra-footer.hx-bg-gray-100 { + background-color: hsl(45deg 100% 45% / 1); +} + +/* Reduce footer height */ +footer .hx-py-12 { + padding-top: 1rem; + padding-bottom: 1rem; +} +footer .hx-mt-6 { + margin-top: 0; +} diff --git a/website/config.toml b/website/config.toml index d1424c1..66eccf6 100644 --- a/website/config.toml +++ b/website/config.toml @@ -22,6 +22,11 @@ name = "Documentation" pageRef = "/docs" weight = 1 +[[menu.main]] +name = "Changelog" +weight = 2 +url = "https://github.com/bbox-services/bbox/blob/main/CHANGELOG.md" + [[menu.main]] name = "Search" weight = 5 @@ -36,7 +41,7 @@ url = "https://github.com/bbox-services/bbox" icon = "github" [params] -description = "A free & simple Vector Tile schema for OpenStreetMap" +description = "Composable spatial services" displayUpdatedDate = false dateFormat = "January 2, 2006" @@ -48,12 +53,13 @@ dateFormat = "January 2, 2006" [params.navbar.logo] path = "/favicon.svg" dark = "/favicon.svg" + width = 30 [params.page] width = "normal" [params.theme] - default = "system" + default = "light" displayToggle = true [params.footer] diff --git a/website/i18n/en.yaml b/website/i18n/en.yaml new file mode 100644 index 0000000..7f41720 --- /dev/null +++ b/website/i18n/en.yaml @@ -0,0 +1 @@ +copyright: "Copyright © 2020-2024 by Pirmin Kalberer" diff --git a/website/static/android-chrome-192x192.png b/website/static/android-chrome-192x192.png new file mode 100644 index 0000000..495bcab Binary files /dev/null and b/website/static/android-chrome-192x192.png differ diff --git a/website/static/android-chrome-512x512.png b/website/static/android-chrome-512x512.png new file mode 100644 index 0000000..494d1bf Binary files /dev/null and b/website/static/android-chrome-512x512.png differ diff --git a/website/static/apple-touch-icon.png b/website/static/apple-touch-icon.png new file mode 100644 index 0000000..1a22571 Binary files /dev/null and b/website/static/apple-touch-icon.png differ diff --git a/website/static/favicon-16x16.png b/website/static/favicon-16x16.png new file mode 100644 index 0000000..db11b52 Binary files /dev/null and b/website/static/favicon-16x16.png differ diff --git a/website/static/favicon-32x32.png b/website/static/favicon-32x32.png new file mode 100644 index 0000000..d594f72 Binary files /dev/null and b/website/static/favicon-32x32.png differ diff --git a/website/static/favicon.ico b/website/static/favicon.ico new file mode 100644 index 0000000..3f2de23 Binary files /dev/null and b/website/static/favicon.ico differ diff --git a/website/static/site.webmanifest b/website/static/site.webmanifest new file mode 100644 index 0000000..c63aa62 --- /dev/null +++ b/website/static/site.webmanifest @@ -0,0 +1 @@ +{"name":"BBOX Server","short_name":"BBOX","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file