Use black gradient on gallery samples

This commit is contained in:
Alexandre Iooss 2022-12-26 10:54:14 +01:00
parent def5710238
commit 4e702314d8

View file

@ -5,7 +5,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %} {% endcomment %}
{% load i18n %} {% load i18n %}
<div class="card text-white bg-body-tertiary"> <div class="card text-white bg-black bg-gradient">
{% for photo in gallery.sample %} {% for photo in gallery.sample %}
<img src="{{ photo.get_thumbnail_url }}" class="card-img-top" alt="{{ photo.title }}"> <img src="{{ photo.get_thumbnail_url }}" class="card-img-top" alt="{{ photo.title }}">
{% endfor %} {% endfor %}