Style fixes

This commit is contained in:
Joachim 2021-12-21 13:50:05 +01:00
parent 545fb9e4be
commit b7545bf0dd
2 changed files with 8 additions and 4 deletions

View file

@ -32,7 +32,11 @@
{% endwith %}
</div>
<h1 class="title is-1 is-serif has-text-centered mb-5">{% blocktrans %}{{ year }} <em>in the books</em>{% endblocktrans %}</h1>
<h1 class="title is-1 is-serif has-text-centered mb-5">
📚✨
{% blocktrans %}{{ year }} <em>in the books</em>{% endblocktrans %}
✨📚
</h1>
{% if not books %}
<p class="has-text-centered is-size-5">{% blocktrans %}Sadly you didn't finish any book in {{ year }}{% endblocktrans %}</p>
@ -109,7 +113,7 @@
<div class="columns">
<div class="column has-text-centered">
<h2 class="title is-3 is-serif">
{% blocktrans %}You rated {{ ratings_total }} books and your average rating is {{ rating_average }}{% endblocktrans %}
{% blocktrans %}You left {{ ratings_total }} ratings, <br />your average rating is {{ rating_average }}{% endblocktrans %}
</h2>
</div>
</div>

View file

@ -2,7 +2,7 @@
{% load i18n %}
{% block card-header %}
<h3 class="card-header-title has-background-success has-text-white">
<h3 class="card-header-title has-background-success-dark has-text-white">
<span class="icon is-size-3 mr-2" aria-hidden="true">📚</span>
<span class="icon is-size-3 mr-2" aria-hidden="true"></span>
{% blocktrans %}{{ year }} in the books{% endblocktrans %}
@ -15,7 +15,7 @@
</p>
<p>
<a href="{% url 'annual-summary' year %}" class="button is-success">
<a href="{% url 'annual-summary' year %}" class="button is-success has-background-success-dark">
{% blocktrans %}Discover your stats for {{ year }}!{% endblocktrans %}
</a>
</p>