From fb8488e8c0ec9e3f383095a42e9fccce3d81a1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ena=20Rajovi=C4=87?= <52218412+Aphanite@users.noreply.github.com> Date: Thu, 13 Jun 2024 01:18:05 +0200 Subject: [PATCH] Fix chevron display (#6) * Change unicode characters to svg * Phrasing suggestion * Apply grey fill color --------- Co-authored-by: Zsolt Ero --- website/assets/style.css | 8 ++++---- website/blocks/main.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/website/assets/style.css b/website/assets/style.css index 8277b6b..6fadaa1 100644 --- a/website/assets/style.css +++ b/website/assets/style.css @@ -251,10 +251,9 @@ code { } .col-lbl:before { - content: '►'; + /* Triangle pointing right */ + content: url('data:image/svg+xml;utf8,'); margin-right: 1em; - color: #555; - font-size: 0.8em; } .col-cnt { @@ -267,7 +266,8 @@ code { } .col-chk:checked ~ .col-lbl:before { - content: '▼'; + /* Triangle pointing down */ + content: url('data:image/svg+xml;utf8,'); } hr { diff --git a/website/blocks/main.md b/website/blocks/main.md index 13bb159..054ce7b 100644 --- a/website/blocks/main.md +++ b/website/blocks/main.md @@ -48,7 +48,7 @@ I'll share more about the reasons in a future [blog post](https://blog.hyperknot ## How can this work? How can a one-person project offer unlimited map hosting for free? -There is no technical reason why map hosting costs as much as it does today. Vector tiles are just static files. OK, serving 300 million files is not easy, but at the end of the day, they are just files. +There is no technical reason why map hosting costs as much as it does today. Vector tiles are just static files. Sure, serving 300 million files is not easy, but at the end of the day, they are just files. Financially, the plan is to keep renting servers until they cover the bandwidth. I believe it can be self-sustainable if enough people subscribe to the support plans. @@ -72,7 +72,7 @@ The [styles](https://github.com/hyperknot/openfreemap-styles) are forked and hea ## Domains -`tiles.openfreemap.org` - Cloudflare proxied +`tiles.openfreemap.org` - Cloudflare proxied `direct.openfreemap.org` - direct connection, Round-Robin DNS ## Attribution