diff --git a/README.md b/README.md index 6a9755c..0745474 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ days: - `time` is `HH:MM` with a leading zero (`09:30`). Tours are sorted by time, so their order in the file doesn't matter. - `title` (optional) replaces the page's title on the card, with one entry per language: `title: { de: "Hafen am Abend", en: "Harbour by Night" }`. - `status` (optional): `soldout` marks the tour as fully booked. Other values are ignored. -- With the day picker, the first local photo in the tour page fills the right half of its card behind a fade when it has alt text; its gallery credit remains visible. +- With the day picker on screens wider than the mobile-menu breakpoint (666px), the first local photo in the tour page fills the right half of its card behind a fade when it has alt text; its gallery credit remains visible. For the events managed with Hackertours-Admin, the data file is generated by its website sync; don't edit it by hand. diff --git a/themes/hackertours/assets/css/_schedule.css b/themes/hackertours/assets/css/_schedule.css index f21564f..397260d 100644 --- a/themes/hackertours/assets/css/_schedule.css +++ b/themes/hackertours/assets/css/_schedule.css @@ -134,23 +134,6 @@ gap: 0 0.5rem; } -.schedule--picker .schedule__card--photo { - isolation: isolate; - overflow: hidden; - min-height: 7rem; - align-items: start; - - .schedule__title, - .schedule__photo-credit { - max-width: 70%; - overflow-wrap: anywhere; - } - - .schedule__lang { - background: var(--color-body-bg); - } -} - .schedule__photo { display: none; position: absolute; @@ -180,9 +163,28 @@ color: var(--color-text-meta); } -.schedule--picker .schedule__photo, -.schedule--picker .schedule__photo-credit { - display: block; +@media (width >= 667px) { + .schedule--picker .schedule__card--photo { + isolation: isolate; + overflow: hidden; + min-height: 7rem; + align-items: start; + + .schedule__title, + .schedule__photo-credit { + max-width: 70%; + overflow-wrap: anywhere; + } + + .schedule__lang { + background: var(--color-body-bg); + } + } + + .schedule--picker .schedule__photo, + .schedule--picker .schedule__photo-credit { + display: block; + } } .schedule__status {