summaryrefslogtreecommitdiff
path: root/public/stylesheets
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-02 15:13:52 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-02 15:13:52 +0200
commit175b408948e601d3db568768a309eed8f2edb307 (patch)
treeeef1106f7fb857d26d08aa7fb9055d3c25ad207e /public/stylesheets
parent9a3274345dc83096a9bdea612ec77cb2406fef21 (diff)
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)
Diffstat (limited to 'public/stylesheets')
-rw-r--r--public/stylesheets/ccc.css10
1 files changed, 5 insertions, 5 deletions
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 {
216 } 216 }
217} 217}
218 218
219div#frontpage_calendar h2, div#tags h2, div#featured_articles h2, div.main_navigation h2 { 219div#frontpage_calendar h2, div#tags h2, div#featured_articles h2, div#open_erfas_today h2, div.main_navigation h2 {
220 border-top: 2px solid; 220 border-top: 2px solid;
221 border-bottom: 2px solid; 221 border-bottom: 2px solid;
222 font-size: 1.1em; 222 font-size: 1.1em;
@@ -248,7 +248,7 @@ div#frontpage_calendar h2 {
248} 248}
249 249
250@media(min-width:1016px) { 250@media(min-width:1016px) {
251 div#frontpage_calendar h2, div#tags h2, div#featured_articles h2 { 251 div#frontpage_calendar h2, div#tags h2, div#featured_articles h2, div#open_erfas_today h2 {
252 font-size: 1rem; 252 font-size: 1rem;
253 } 253 }
254 254
@@ -260,7 +260,7 @@ div#frontpage_calendar h2 {
260 260
261} 261}
262 262
263div#frontpage_calendar ul, div#tags ul, div#featured_articles ul { 263div#frontpage_calendar ul, div#tags ul, div#featured_articles ul, div#open_erfas_today ul {
264 padding: 0px; 264 padding: 0px;
265 font-size: 1rem; 265 font-size: 1rem;
266 line-height: 1.5em; 266 line-height: 1.5em;
@@ -278,11 +278,11 @@ div#frontpage_calendar li {
278 margin-bottom: 20px; 278 margin-bottom: 20px;
279} 279}
280 280
281div#frontpage_calendar li, div#tags li, div#featured_articles li { 281div#frontpage_calendar li, div#tags li, div#featured_articles li, div#open_erfas_today li {
282 list-style-type: none; 282 list-style-type: none;
283} 283}
284 284
285div#frontpage_calendar li a, div#tags li a, div#featured_articles li a { 285div#frontpage_calendar li a, div#tags li a, div#featured_articles li a, div#open_erfas_today li a {
286 text-decoration: none; 286 text-decoration: none;
287 color: color-mix(in srgb, CanvasText, #808080 25%); 287 color: color-mix(in srgb, CanvasText, #808080 25%);
288} 288}