image tweaks

This commit is contained in:
Tomáš Mládek 2020-06-14 12:26:05 +02:00
parent dc21ee71e4
commit 116c17e7e9
2 changed files with 6 additions and 3 deletions

View file

@ -50,6 +50,11 @@ main {
justify-content: center; justify-content: center;
} }
.service-content img {
min-width: 66%;
filter: grayscale(100%);
}
.service .label h3 { .service .label h3 {
margin: 1rem 0; margin: 1rem 0;
text-align: center; text-align: center;

View file

@ -16,9 +16,7 @@
<a class="service status-{{ service.get_status.value }}" href="{{ service.url }}"> <a class="service status-{{ service.get_status.value }}" href="{{ service.url }}">
<section class="service-content"> <section class="service-content">
{% if service.image_or_favicon %} {% if service.image_or_favicon %}
<div class="image"> <img src="{{ service.image_or_favicon }}" alt="image for {{ service }}"/>
<img src="{{ service.image_or_favicon }}" alt="image for {{ service }}"/>
</div>
{% endif %} {% endif %}
<div class="label"> <div class="label">
<h3>{{ service.short_name }}</h3> <h3>{{ service.short_name }}</h3>