From 175b408948e601d3db568768a309eed8f2edb307 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 2 Jul 2026 15:13:52 +0200 Subject: Add 'open today' sidebar widget and open days in chapter lists - open_erfas_today helper: samples 3 random open-day-tagged occurrences of the current day; widget hidden entirely on days without open chapters; heading shows current weekday - content/_open_erfas_today partial rendered in right column above tags and featured articles - _chapter partial: open-day schedules (event_schedule_text) shown inline in aggregated chapter lists with 'Offene Tage' label - ccc.css: open_erfas_today added to existing right-column widget selector groups (headings, lists, links) --- public/stylesheets/ccc.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'public/stylesheets/ccc.css') diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index 30eb8dd..422b7c0 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -216,7 +216,7 @@ div#frontpage_calendar { } } -div#frontpage_calendar h2, div#tags h2, div#featured_articles h2, div.main_navigation h2 { +div#frontpage_calendar h2, div#tags h2, div#featured_articles h2, div#open_erfas_today h2, div.main_navigation h2 { border-top: 2px solid; border-bottom: 2px solid; font-size: 1.1em; @@ -248,7 +248,7 @@ div#frontpage_calendar h2 { } @media(min-width:1016px) { - div#frontpage_calendar h2, div#tags h2, div#featured_articles h2 { + div#frontpage_calendar h2, div#tags h2, div#featured_articles h2, div#open_erfas_today h2 { font-size: 1rem; } @@ -260,7 +260,7 @@ div#frontpage_calendar h2 { } -div#frontpage_calendar ul, div#tags ul, div#featured_articles ul { +div#frontpage_calendar ul, div#tags ul, div#featured_articles ul, div#open_erfas_today ul { padding: 0px; font-size: 1rem; line-height: 1.5em; @@ -278,11 +278,11 @@ div#frontpage_calendar li { margin-bottom: 20px; } -div#frontpage_calendar li, div#tags li, div#featured_articles li { +div#frontpage_calendar li, div#tags li, div#featured_articles li, div#open_erfas_today li { list-style-type: none; } -div#frontpage_calendar li a, div#tags li a, div#featured_articles li a { +div#frontpage_calendar li a, div#tags li a, div#featured_articles li a, div#open_erfas_today li a { text-decoration: none; color: color-mix(in srgb, CanvasText, #808080 25%); } -- cgit v1.3 From d102edef41f0a48c11beb76f27c1950daf47d610 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 3 Jul 2026 03:22:49 +0200 Subject: Style open-today widget for wrapped multi-line entries --- public/stylesheets/ccc.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'public/stylesheets/ccc.css') diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index 422b7c0..ed2bac9 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -234,6 +234,18 @@ div#frontpage_calendar h2 { margin-top: 0; } +div#open_erfas_today li { + margin-top: 8px; + margin-bottom: 8px; + line-height: 1.25; +} + +div#open_erfas_today .event_time { + font-style: italic; + font-family: Georgia; + color: color-mix(in srgb, CanvasText, #808080); +} + @media(max-width:1016px) { div#tags li { list-style-type: none; -- cgit v1.3 From a4a6fb49c6770ee005289743b1bd27953c6826c4 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 3 Jul 2026 03:23:13 +0200 Subject: Reduce right-column widget font size to 0.9rem --- public/stylesheets/ccc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/stylesheets/ccc.css') diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index ed2bac9..fe2144f 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -274,7 +274,7 @@ div#open_erfas_today .event_time { div#frontpage_calendar ul, div#tags ul, div#featured_articles ul, div#open_erfas_today ul { padding: 0px; - font-size: 1rem; + font-size: 0.9rem; line-height: 1.5em; } -- cgit v1.3