From e9a6cc9912a544e443c256b17c8fc0e232e4af04 Mon Sep 17 00:00:00 2001 From: fraxle Date: Mon, 25 May 2026 07:23:31 +0100 Subject: [PATCH] 1.8.5.1 Fix table header centre Tweak cold temprature colours --- assets/css/table.css | 2 +- assets/js/utils.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/css/table.css b/assets/css/table.css index 4b1378c..13da546 100644 --- a/assets/css/table.css +++ b/assets/css/table.css @@ -439,11 +439,11 @@ color: #6b4f2a; font-family: Manrope, sans-serif; font-size: 12px; + text-align: center; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; padding: 14px 12px; - text-align: right; white-space: nowrap; } diff --git a/assets/js/utils.js b/assets/js/utils.js index c4a82ee..b40a759 100644 --- a/assets/js/utils.js +++ b/assets/js/utils.js @@ -34,13 +34,13 @@ // utciCategory() reads from this array - do not duplicate elsewhere. // ------------------------------------------------------------------- export const UTCI_BANDS = [ - { max: -20, label: 'Extreme cold', bg: '#5e668a', fg: '#ffffff' }, - { max: -10, label: 'Arctic', bg: '#708bca', fg: '#ffffff' }, - { max: 0, label: 'Freezing', bg: '#92b5dd', fg: '#1a1200' }, - { max: 5, label: 'Very cold', bg: '#b5d2e5', fg: '#1a1200' }, - { max: 10, label: 'Cold', bg: '#cfe2e8', fg: '#1a1200' }, - { max: 15, label: 'Chilly', bg: '#daead5', fg: '#1a1200' }, - { max: 19, label: 'Cool', bg: '#b1dba5', fg: '#1a1200' }, + { max: -20, label: 'Extreme cold', bg: '#9b7fc2', fg: '#ffffff' }, + { max: -10, label: 'Arctic', bg: '#7fa8d8', fg: '#ffffff' }, + { max: 0, label: 'Freezing', bg: '#7ec0e8', fg: '#1a1200' }, + { max: 5, label: 'Very cold', bg: '#a8d4ee', fg: '#1a1200' }, + { max: 10, label: 'Cold', bg: '#b8e0e8', fg: '#1a1200' }, + { max: 15, label: 'Chilly', bg: '#b8e8d8', fg: '#1a1200' }, + { max: 19, label: 'Cool', bg: '#c5e8c0', fg: '#1a1200' }, { max: 24, label: 'Comfortable', bg: '#90d090', fg: '#157a15', fontWeight: 700 }, { max: 29, label: 'Warm', bg: '#f8e554', fg: '#1a1200' }, { max: 34, label: 'Hot', bg: '#f5aa54', fg: '#1a1200' },