Minor css enhancements

* minor changes for <a> tags
* centers link for older news in card
pull/2/head
mipel 3 years ago
parent 044085bf55
commit 0d18dfd609

@ -48,6 +48,10 @@ body{
margin-bottom: 40px; /* Margin bottom by footer height */
}
a {
color: var(--rlp-red);
}
.body-content{
margin: 1rem 0rem 0 0rem;
}

@ -13,9 +13,9 @@
</div>
</div>
{% endfor %}
<div class="card col-md {{msg.importance|bootstrap_cls}} align-items-center justify-content-center">
<a class="w-100 h-100 align-middle text-center" href="{% url 'news:index' %}">
<div class="card-body">
<div class="card col-md {{msg.importance|bootstrap_cls}}">
<a class="w-100 h-100" href="{% url 'news:index' %}">
<div class="card-body d-flex align-items-center justify-content-center h-100">
<h5 class="card-title">{% trans 'Older ...' %}</h5>
</div>
</a>

Loading…
Cancel
Save