From 184b68638357581d8eb3b543fb6251205f50304a Mon Sep 17 00:00:00 2001 From: Daniel Schep Date: Thu, 25 Jul 2024 17:28:00 -0400 Subject: [PATCH] Update styling use noto to fix #6 --- index.html | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index fc72ac9..fd69ef8 100644 --- a/index.html +++ b/index.html @@ -44,13 +44,27 @@ - /icons/ - [get, maki_temaki] - .png - icon-color: rgb(51, 51, 51) - text-color: rgb(51, 51, 51) + icon-color: '#444' + text-color: '#333' icon-halo-color: white text-halo-color: white - icon-halo-width: 2 - text-halo-width: 2 - text-field: '{name}' + icon-halo-width: 1.2 + text-halo-width: 1.2 + text-field: + - case + - - all + - [has, 'name:en'] + - ['!=', [get, name], [get, 'name:en']] + - - format + - [get, 'name:en'] + - {text-font: [literal, [Noto Sans Bold]]} + - "\n" + - {} + - [get, name] + - {text-font: [literal, [Noto Sans Regular]]} + - - format + - [get, name] + - {text-font: [literal, [Noto Sans Bold]]} text-anchor: top text-radial-offset: 1.25 text-size: 14