Minor css enhancements
* minor changes for <a> tags * centers link for older news in card
This commit is contained in:
parent
044085bf55
commit
0d18dfd609
@ -48,6 +48,10 @@ body{
|
|||||||
margin-bottom: 40px; /* Margin bottom by footer height */
|
margin-bottom: 40px; /* Margin bottom by footer height */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: var(--rlp-red);
|
||||||
|
}
|
||||||
|
|
||||||
.body-content{
|
.body-content{
|
||||||
margin: 1rem 0rem 0 0rem;
|
margin: 1rem 0rem 0 0rem;
|
||||||
}
|
}
|
||||||
|
@ -13,9 +13,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<div class="card col-md {{msg.importance|bootstrap_cls}} align-items-center justify-content-center">
|
<div class="card col-md {{msg.importance|bootstrap_cls}}">
|
||||||
<a class="w-100 h-100 align-middle text-center" href="{% url 'news:index' %}">
|
<a class="w-100 h-100" href="{% url 'news:index' %}">
|
||||||
<div class="card-body">
|
<div class="card-body d-flex align-items-center justify-content-center h-100">
|
||||||
<h5 class="card-title">{% trans 'Older ...' %}</h5>
|
<h5 class="card-title">{% trans 'Older ...' %}</h5>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user