}
div.episode-info {
position: relative;
+ div.episode-text {
+ display: flex;
+ flex-direction: column;
+ min-height: 450px;
+ justify-content: space-between,
+ }
div.sound {
- position: absolute;
- bottom: -3px;
- right: 0;
- width: 540px;
+ align-self: flex-end;
+ width: 100%;
@media screen and (max-width: $size_m) {
position: static;
width: 100%;
text-transform: none;
}
}
+ div.more-text {
+ @extend %text;
+ max-width: 50em;
+ margin: 2em auto;
+ }
}
}
{% endthumbnail %}
</div>
</div>
- <div class="emission-text">
+ {% with parts=episode.text|safe|hr_split %}
+ <div class="emission-text episode-text">
+ <div class="text-part">
{% if episode.subtitle %}
<h3 class="episode-subtitle">{{ episode.subtitle }}</h3>
{% endif %}
- {{ episode.text|safe}}
+ {{ parts|first|safe}}
</div>
{% if episode.main_sound %}
- <br style="clear: both">
<div class="sound">
{% audio sound=episode.main_sound %}
</div>
{% endif %}
+ </div>
+
+ {% if parts|length > 1 %}
+ <div class="more-text">
+ {{ parts|last|safe }}
+ </div>
+ {% endif %}
+ {% endwith %}
</div>
</div>