diff --git a/themes/hackertours-40c3/assets/css/_schedule-40c3.css b/themes/hackertours-40c3/assets/css/_schedule-40c3.css index 1c456a0..e50a244 100644 --- a/themes/hackertours-40c3/assets/css/_schedule-40c3.css +++ b/themes/hackertours-40c3/assets/css/_schedule-40c3.css @@ -15,3 +15,17 @@ .schedule__pick[aria-pressed="true"] { color: var(--c40-on-fill); } + +/* Status next to the time, as a filled note: "only a few seats left" in amber and ink + (.fewseats-note, --fewseats in _custom.css), "fully booked" in pink and ink (5.8:1, AA). + The pink is not in the 40C3 palette (closest: --c40-pink). */ +.schedule { + --schedule-soldout: #da669b; + --schedule-soldout-text: var(--c40-ink); +} + +.schedule__card--soldout .schedule__status { + padding: 0 0.4rem; + background: var(--schedule-soldout); + color: var(--schedule-soldout-text); +}