Commit 1bec6fd1 authored by gijs's avatar gijs

Continuos events on mobile

parent 8af4b4e7
......@@ -869,6 +869,23 @@ p, h4 {
.interbellum .day {
max-width: initial;
}
.continuous-event figure {
/* float: left; */
}
.continuous-event figure {
vertical-align: middle;
}
.continuous-event figure img {
max-height: 50px;
max-width: 100px !important;
}
.loop-days .continuous-event .hour::before {
content: "";
}
}
@media screen and (max-width: 400px) {
......
......@@ -8,7 +8,7 @@
<meta name="keywords" content="Contour 9, Biennale, Mechelen">
<meta name="description" content="Website Contour 9 biennale 2019">
<link rel="stylesheet" href="{% static 'contour/css/fonts.css' %}" type="text/css" media="all">
<link rel="stylesheet" href="{% static 'contour/css/styles-beta.css' %}" type="text/css" media="all">
<link rel="stylesheet" href="{% static 'contour/css/styles.css' %}" type="text/css" media="all">
<link rel="stylesheet" href="{% static 'contour/css/scrollbars.css' %}" type="text/css" media="all">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
......@@ -63,7 +63,7 @@
{% with event.project|cover_image as image %}
<figure class="preview">
<a href="{% url 'contour:event' event.pk %}">
<img src="{% thumbnail image.image 500x1500 %}">
<img src="{% thumbnail image.image 500x1500 %}" />
</a>
</figure>
{% endwith %}
......@@ -141,17 +141,16 @@
<section class="continuous-inline">
{% for event in loop.continuous %}
<article class="event continuous-event" data-pk="{{ event.pk }}">
{% if event.project|cover_image %}
{% with event.project|cover_image as image %}
<figure class="preview">
<a href="{% url 'contour:event' event.pk %}">
<img src="{% thumbnail image.image 500x1500 %}">
</a>
</figure>
{% endwith %}
{% endif %}
<section class="event-data">
{% if event.project|cover_image %}
{% with event.project|cover_image as image %}
<figure class="preview">
<a href="{% url 'contour:event' event.pk %}">
<img src="{% thumbnail image.image 500x75 %}">
</a>
</figure>
{% endwith %}
{% endif %}
{% if forloop.parent.counter <= 2 %}
<time class="hour">10:00 - 20:00</time>
{% else %}
......
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