width: 15px;
height: 100%;
}
+ &:hover::before {
+ background: url(../img/bloc_black_on.jpg);
+ }
}
/****************************************************/
}
h3.episode-subtitle {
- font-size: 2.5em;
+ font-family: 'Fjalla One', sans-serif;
+ color: $mauve;
+ font-size: 24px;
+ padding-top: 0;
}
.waveform {
border: none;
height: 300px;
width: 230px;
- width: 100%;
- box-sizing: border-box;
- padding: 0;
- padding-left: 15px;
- background: transparent url(../img/bloc_black_off.jpg) top left no-repeat;
- &:hover {
- background-image: url(../img/bloc_black_on.jpg);
- }
- img {
- }
+ @extend %image-bordure;
}
div.name {
margin-top: 10px;
list-style: none;
}
a {
+ height: 270px;
box-sizing: border-box;
position: relative;
width: 240px;
div.name {
}
}
- a:hover img {
- display: none;
- }
&.archives {
width: 100%;
a {
- width: 12.5%;
- height: 12.5vw;
- @media screen and (max-width: $size_s) {
- width: 50%;
- height: 50vw;
- }
+ }
+ a div.image {
+ width: 200px;
}
}
}
-h2.archives {
- text-align: center;
+h3.archives {
clear: both;
+ font-size: 30px;
}
div.emission-episodes.archive::after {
top: 63px;
left: 135px;
}
+
+h2.top {
+ padding-bottom: 2rem;
+}
{% block title %}Archives{% endblock %}
{% block toptitle %}
-<h1 class="top">Archives</h1>
{% endblock %}
{% block main %}
+<h2 class="top">Archives</h1>
{% regroup diffusions by datetime|date:"Y" as diffusions_by_year %}
{% for diffusion_group in diffusions_by_year %}
-<h2 class="archives">
- {% if diffusion_group.grouper == "2018" %}2018 on y est !
+<h3 class="archives">
+ {% if diffusion_group.grouper == "2018" %}2018 c'est encore chaud !
{% elif diffusion_group.grouper == "2017" %}Réécoutez 2017 !
{% elif diffusion_group.grouper == "2016" %}Revivez 2016 !
{% elif diffusion_group.grouper == "2015" %}Retournez en 2015 !
{% block title %}{{ page.title }}{% endblock %}
{% block toptitle %}
-<h1 class="top">{{ page.title }}</h1>
{% endblock %}
{% block main %}
+<h2 class="top">{{ page.title }}</h2>
{% placeholder "content" %}
{% endblock %}
{% if title and episodes %}<h3>{{title}}</h3>{% endif %}
{% for episode in episodes %}
{% if episode.creation_timestamp|date:"Y" == "2018" %}
-<a href="{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}">
<div class="emission-tile">
+ <a href="{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}">
<div class="image">
- {% thumbnail episode.image "400x400" crop="50% 50%" as im %}
+ {% thumbnail episode.image "230x300" crop="50% 50%" as im %}
<img src="{{im.url}}">
{% endthumbnail %}
</div>
+ </a>
<div class="name"><span>{{episode.title}}</span></div>
</div>
-</a>
{% endif %}
{% endfor %}