From 880bcef030a93bc94283173d559f354b83c90946 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 11 Oct 2019 22:21:58 +0100 Subject: [PATCH] Place style --- epicyon-calendar.css | 10 ++++++++-- webinterface.py | 6 +++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/epicyon-calendar.css b/epicyon-calendar.css index 8d8248ec5..46c341f1a 100644 --- a/epicyon-calendar.css +++ b/epicyon-calendar.css @@ -109,13 +109,19 @@ a:link { .calendar__day__event { float: left; - font-size: 30px; + font-size: 28px; + position: relative; + padding: 20px; +} +.calendar__day__event place { + float: left; + font-size: 32px; position: relative; padding: 20px; } .calendar__day__time { float: left; - font-size: 28px; + font-size: 38px; position: relative; padding: 20px; } diff --git a/webinterface.py b/webinterface.py index 807defecf..c81f7ea82 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2855,15 +2855,15 @@ def htmlCalendarDay(translate: {}, \ if ev.get('name'): eventPlace=ev['name'] if eventTime and eventDescription and eventPlace: - calendarStr+=''+eventTime+''+eventPlace+'
'+eventDescription+'\n' + calendarStr+=''+eventTime+''+eventPlace+'
'+eventDescription+'\n' elif eventTime and eventDescription and not eventPlace: calendarStr+=''+eventTime+''+eventDescription+'\n' elif not eventTime and eventDescription and not eventPlace: calendarStr+=''+eventDescription+'\n' elif not eventTime and eventDescription and eventPlace: - calendarStr+=''+eventPlace+'
'+eventDescription+'\n' + calendarStr+=''+eventPlace+'
'+eventDescription+'\n' elif eventTime and not eventDescription and eventPlace: - calendarStr+=''+eventTime+''+eventPlace+'\n' + calendarStr+=''+eventTime+''+eventPlace+'\n' calendarStr+='\n' calendarStr+='\n'