1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-11-21 19:11:02 +00:00

load custom css from event settings, slightly change css selectors

This commit is contained in:
Daniel Havlik 2021-12-24 20:50:28 +01:00
parent 4582e4db37
commit d08e7db9bb
2 changed files with 12 additions and 9 deletions

View file

@ -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;
}

View file

@ -10,12 +10,15 @@
{% endcompress %}
<script src="{% static "pretalx_broadcast_tools/update.js" %}"></script>
<link rel="stylesheet" href="{% static "pretalx_broadcast_tools/frontend.css" %}" />
{% if request.event and request.event.custom_css %}
<link rel="stylesheet" type="text/css" href="{{ request.event.custom_css.url }}"/>
{% endif %}
</head>
<body>
<div id="box">
<p id="title">Loading ...</p>
<p id="speaker">Content should appear soon. If not, please verify you have Javascript enabled.</p>
<p id="info_line"></p>
<body class="lower3rd">
<div id="l3box">
<p id="l3title">Loading ...</p>
<p id="l3speaker">Content should appear soon. If not, please verify you have Javascript enabled.</p>
<p id="l3info_line"></p>
</div>
</body>
</html>