From d08e7db9bb62abbdc6b49eaeb1b03030fd0c07e2 Mon Sep 17 00:00:00 2001 From: Daniel Havlik Date: Fri, 24 Dec 2021 20:50:28 +0100 Subject: [PATCH] load custom css from event settings, slightly change css selectors --- .../static/pretalx_broadcast_tools/frontend.css | 8 ++++---- .../pretalx_broadcast_tools/lower_thirds.html | 13 ++++++++----- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/pretalx_broadcast_tools/static/pretalx_broadcast_tools/frontend.css b/pretalx_broadcast_tools/static/pretalx_broadcast_tools/frontend.css index a933d42..a939923 100644 --- a/pretalx_broadcast_tools/static/pretalx_broadcast_tools/frontend.css +++ b/pretalx_broadcast_tools/static/pretalx_broadcast_tools/frontend.css @@ -4,7 +4,7 @@ line-height: 1.2em; } -#box { +#l3box { width: 1020px; position: absolute; @@ -20,17 +20,17 @@ background-color: #3aa57c; } -#title { +#l3title { font-size: 30px; font-weight: 500; margin-bottom: 15px; } -#speaker { +#l3speaker { font-size: 20px; } -#info_line { +#l3info_line { font-size: 16px; text-align: right; } diff --git a/pretalx_broadcast_tools/templates/pretalx_broadcast_tools/lower_thirds.html b/pretalx_broadcast_tools/templates/pretalx_broadcast_tools/lower_thirds.html index 237f2ca..68c3b41 100644 --- a/pretalx_broadcast_tools/templates/pretalx_broadcast_tools/lower_thirds.html +++ b/pretalx_broadcast_tools/templates/pretalx_broadcast_tools/lower_thirds.html @@ -10,12 +10,15 @@ {% endcompress %} + {% if request.event and request.event.custom_css %} + + {% endif %} - -
-

Loading ...

-

Content should appear soon. If not, please verify you have Javascript enabled.

-

+ +
+

Loading ...

+

Content should appear soon. If not, please verify you have Javascript enabled.

+