Browse Source

Reduce size of group links in home page sidebar

This is just a small reduction to help compensate for having the list
pushed down by the donation goal. This list isn't intended to stay here
forever anyway.
merge-requests/85/head
Deimos 5 years ago
parent
commit
7bf5e0b626
  1. 8
      tildes/scss/modules/_nav.scss
  2. 2
      tildes/tildes/templates/home.jinja2

8
tildes/scss/modules/_nav.scss

@ -3,6 +3,8 @@
.nav { .nav {
li { li {
@include min-touch-size;
margin-bottom: 0; margin-bottom: 0;
font-size: 0.6rem; font-size: 0.6rem;
font-weight: bold; font-weight: bold;
@ -43,3 +45,9 @@
} }
} }
} }
.nav .nav-group-list {
li {
font-size: 0.7rem;
}
}

2
tildes/tildes/templates/home.jinja2

@ -54,7 +54,7 @@
<li>Groups</li> <li>Groups</li>
{% endif %} {% endif %}
<ul class="nav">
<ul class="nav nav-group-list">
{% for group in groups|sort %} {% for group in groups|sort %}
<li class="nav-item"><a href="/~{{ group.path }}">~{{ group.path }}</a></li> <li class="nav-item"><a href="/~{{ group.path }}">~{{ group.path }}</a></li>
{% endfor %} {% endfor %}

Loading…
Cancel
Save