diff --git a/assets/css/table.css b/assets/css/table.css index 4b36593..d627c36 100644 --- a/assets/css/table.css +++ b/assets/css/table.css @@ -2371,6 +2371,10 @@ border: none; background: transparent; padding: 10px 8px 12px; + /* 2px each side = 4px between neighbouring cards. Done with margin rather + than a grid gap so the cards stay centred on their landing hour and keep + lining up with the curve below. */ + margin: 0 2px; display: flex; flex-direction: column; align-items: center; diff --git a/assets/js/app.js b/assets/js/app.js index ef9522a..0c86aeb 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -1315,10 +1315,14 @@ export function UTCIForecast() { // Card wears the same hue as its feel tag, washed right back so // the tag still reads as the strong swatch on top of it. const cardRgb = fscRgb(dispTemp, 0.70) || [245, 245, 245]; + // Border is the same hue a few shades down, so it edges the card + // without introducing a colour that isn't already on it. + const edgeRgb = fscRgb(dispTemp, 0.40) || [200, 200, 200]; return html`