diff --git a/README.md b/README.md index 9fbafe9..724bc9c 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. -- The first local photo in the tour page is shown on its card when it has alt text; its gallery credit is displayed below it. +- With the day picker, the first local photo in the tour page is shown on its card when it has alt text; its gallery credit is displayed below it. 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 ae64c53..60d4992 100644 --- a/themes/hackertours/assets/css/_schedule.css +++ b/themes/hackertours/assets/css/_schedule.css @@ -133,7 +133,7 @@ gap: 0 0.5rem; } -.schedule__card--photo { +.schedule--picker .schedule__card--photo { grid-template-columns: minmax(0, 1fr) auto minmax(0, 6rem); .schedule__title { @@ -142,6 +142,7 @@ } .schedule__photo { + display: none; grid-column: 3; grid-row: 1 / 3; margin: 0; @@ -156,6 +157,10 @@ } } +.schedule--picker .schedule__photo { + display: block; +} + .schedule__status { font-family: var(--ff-alt); font-size: var(--fs-xs);