From 45e4aba4d5c91c1fe073966f289be697093fec11 Mon Sep 17 00:00:00 2001 From: vv01f Date: Wed, 27 Mar 2024 21:06:47 +0100 Subject: [PATCH] display starting time for events with css :before --- content/static/style/default.css | 1 + xsd/c3d2web.xsd | 2 ++ xsl/calendar.xsl | 18 ++++++++++++++++-- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/content/static/style/default.css b/content/static/style/default.css index e575b4eb6..b4be07cf1 100644 --- a/content/static/style/default.css +++ b/content/static/style/default.css @@ -524,6 +524,7 @@ table.calendar tr td { background: #eee; padding: .5em } +.calendar a[data-before]:before{content:attr(data-before)" ";} /* styling active location.href.hash */ table.calendar tr td:target{ diff --git a/xsd/c3d2web.xsd b/xsd/c3d2web.xsd index 369edf016..77f2f08bb 100644 --- a/xsd/c3d2web.xsd +++ b/xsd/c3d2web.xsd @@ -155,6 +155,8 @@ + + diff --git a/xsl/calendar.xsl b/xsl/calendar.xsl index 0f5cfc766..8a238db85 100644 --- a/xsl/calendar.xsl +++ b/xsl/calendar.xsl @@ -77,7 +77,7 @@ 3 - + @@ -145,6 +145,20 @@ + + + + + + + @@ -152,7 +166,7 @@