Commit 21e805ff authored by fred's avatar fred

minor style updates for sounds

parent f76d8e08
......@@ -143,6 +143,7 @@ button.check, a.check {
margin: 0.2em;
padding: 0.3em;
}
.category{
font-family: "RegloBold";
text-transform: uppercase;
......@@ -1253,13 +1254,21 @@ nav#program li {
font-size: 140%;
}
.soundfile h5 {
font-size: 1em;
}
.episode.soundfile {
padding: 0;
}
.soundfile .smooth {
color: #666;
opacity: 1.0;
font-size: 80%;
}
.soundfile p.date {
margin: 0;
}
#panikdb {
position: absolute;
top: -20px;
......
......@@ -11,20 +11,19 @@
<img width="60" height="60" src="{% static "img/sound.png" %}"/>
{% endif %}
<p class="date">
{{date|date:"d M"}}<br/>
{{date|date:"y"}}
{{date|date:"d/m/y"}}
</p>
</div>
<div class="content">
<div class="sound right">{% audio sound=soundfile %}</div>
<div class="title ellipsis">
<div class="title">
{% if soundfile.fragment %}
<h5 class="title ellipsis">
<h5 class="title">
{{ soundfile.title }}
</h5>
{% endif %}
<h5 class=" inBlock title {% if model = "inline" %}ellipsis{% endif %}">
<h5 class="title {% if model = "inline" %}ellipsis{% endif %}">
<a href="{% url 'episode-view' emission_slug=soundfile.episode.emission.slug slug=soundfile.episode.slug %}">{{ soundfile.episode.title }}</a>
</h5>
<div class="smooth metas">
......@@ -45,10 +44,6 @@
<div class="description ellipsis">
{{ soundfile.episode.subtitle|truncatewords:20}}
</div>
{% elif soundfile.episode.text %}
<div class="description ellipsis">
{{ soundfile.episode.text|safe|striptags|truncatewords:20}}
</div>
{% endif %}
</div>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment