style.css: move user control spacing to css

This commit is contained in:
Zankaria 2024-10-01 01:20:41 +02:00
parent 13817e83be
commit da29ff3f85
2 changed files with 7 additions and 3 deletions

View file

@ -493,6 +493,10 @@ input.delete {
font-weight: bold; font-weight: bold;
} }
.user-controls > a {
margin-left: 1ch;
}
@media (max-width: 48em) { @media (max-width: 48em) {
.intro > .user-controls { .intro > .user-controls {
clear: both; clear: both;

View file

@ -51,14 +51,14 @@
{% endif %} {% endif %}
<label class="user-controls"> <label class="user-controls">
{% if index %} {% if index %}
{# Keep this space #} <a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ link_for(post) }}">[{% trans %}Reply{% endtrans %}]</a> <a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ link_for(post) }}">[{% trans %}Reply{% endtrans %}]</a>
{% endif %} {% endif %}
{% if isnoko50 %} {% if isnoko50 %}
{# Keep this space #} <a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ link_for(post) }}">[{% trans %}View All{% endtrans %}]</a> <a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ link_for(post) }}">[{% trans %}View All{% endtrans %}]</a>
{% endif %} {% endif %}
{% if hasnoko50 and not isnoko50 %} {% if hasnoko50 and not isnoko50 %}
{% set lastcount = config.noko50_count %} {% set lastcount = config.noko50_count %}
{# Keep this space #} <a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ link_for(post, true) }}">[{% trans %}Last 1 Post{% plural lastcount %}Last {{ count }} Posts{% endtrans %}]</a> <a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ link_for(post, true) }}">[{% trans %}Last 1 Post{% plural lastcount %}Last {{ count }} Posts{% endtrans %}]</a>
{% endif %} {% endif %}
</label> </label>
</p> </p>