mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-22 00:21:01 +00:00
load custom css from event settings, slightly change css selectors
This commit is contained in:
parent
4582e4db37
commit
d08e7db9bb
2 changed files with 12 additions and 9 deletions
|
@ -4,7 +4,7 @@
|
||||||
line-height: 1.2em;
|
line-height: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#box {
|
#l3box {
|
||||||
width: 1020px;
|
width: 1020px;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -20,17 +20,17 @@
|
||||||
background-color: #3aa57c;
|
background-color: #3aa57c;
|
||||||
}
|
}
|
||||||
|
|
||||||
#title {
|
#l3title {
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#speaker {
|
#l3speaker {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#info_line {
|
#l3info_line {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,12 +10,15 @@
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
<script src="{% static "pretalx_broadcast_tools/update.js" %}"></script>
|
<script src="{% static "pretalx_broadcast_tools/update.js" %}"></script>
|
||||||
<link rel="stylesheet" href="{% static "pretalx_broadcast_tools/frontend.css" %}" />
|
<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>
|
</head>
|
||||||
<body>
|
<body class="lower3rd">
|
||||||
<div id="box">
|
<div id="l3box">
|
||||||
<p id="title">Loading ...</p>
|
<p id="l3title">Loading ...</p>
|
||||||
<p id="speaker">Content should appear soon. If not, please verify you have Javascript enabled.</p>
|
<p id="l3speaker">Content should appear soon. If not, please verify you have Javascript enabled.</p>
|
||||||
<p id="info_line"></p>
|
<p id="l3info_line"></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue