/* ════════════════════════════════════════════ Discover Page — Specific Styles ════════════════════════════════════════════ */ /* ── Group tints ── The colour that ties a row in the list to the group card that claims it. A run returns at most twelve groups and this hands out eight, so a long run has two groups sharing a hue; the cards are ordered biggest group first, so that is also why the repeat lands on the two smallest. Written as RGB triplets rather than colours because every consumer wants the same tint at its own alpha — a 55% rail on a row and a 70% border on a card are the same hue, and spelling that hue twice as a hex would let the two drift apart. `:root` rather than a page-scoped selector, as in research.css and dilution.css: the tints are inert until a rule below maps one onto `--group-tint-rgb`, and only this file's classes are ever given one. */ :root { --discover-group-tint-1: 96, 165, 250; --discover-group-tint-2: 45, 212, 191; --discover-group-tint-3: 167, 139, 250; --discover-group-tint-4: 250, 204, 21; --discover-group-tint-5: 244, 114, 182; --discover-group-tint-6: 132, 204, 22; --discover-group-tint-7: 249, 115, 22; --discover-group-tint-8: 56, 189, 248; } .discover-group-tint-1 { --group-tint-rgb: var(--discover-group-tint-1); } .discover-group-tint-2 { --group-tint-rgb: var(--discover-group-tint-2); } .discover-group-tint-3 { --group-tint-rgb: var(--discover-group-tint-3); } .discover-group-tint-4 { --group-tint-rgb: var(--discover-group-tint-4); } .discover-group-tint-5 { --group-tint-rgb: var(--discover-group-tint-5); } .discover-group-tint-6 { --group-tint-rgb: var(--discover-group-tint-6); } .discover-group-tint-7 { --group-tint-rgb: var(--discover-group-tint-7); } .discover-group-tint-8 { --group-tint-rgb: var(--discover-group-tint-8); } /* ── Control panel toolbar ── Everything the toolbar holds is normalised to --control-height so the row reads as one aligned strip. Without this the row was as tall as its tallest member (the session