Commit c56474a7 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg Committed by Thom Wiggers
Browse files

No inline style partner images

parent b546984d
......@@ -38,12 +38,10 @@
-ms-transition: 0.2s ease-in-out 0s;
transition: 0.2s ease-in-out 0s;
background-repeat: no-repeat;
background-size: contain;
background-position: center center;
-webkit-filter: grayscale(1);
filter: grayscale(1);
object-fit: contain;
}
&:hover {
......
......@@ -4,8 +4,9 @@
{% for partner in partners %}
<div class="banner col-6 col-md-4 col-lg-3">
<a href="{% url "partners:partner" partner.slug %}">
<div class="animated zoomIn image text-hide"
style="background-image: url({{ partner.logo.url }});">Logo {{ partner.name }}</div>
<img class="animated zoomIn image text-hide"
alt="Logo {{ partner.name }}"
src="{{ partner.logo.url }}"/>
</a>
</div>
{% endfor %}
......
Supports Markdown
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