diff --git a/templates/threads.html b/templates/threads.html index ba22542..82103e8 100644 --- a/templates/threads.html +++ b/templates/threads.html @@ -89,10 +89,6 @@ } main.thread { - & h2.threads-title { - display: none - } - & .card:not(:last-of-type) .card_avatar::after { content: " "; display: block; @@ -103,6 +99,24 @@ } } + .pill { + border-radius: 0.5em; + background-color: rgba(197, 209, 222, 0.5); + margin: 0 0.5em 0.5em 0; + padding: 0.5em; + display: inline-block; + font-size: var(--font-size-sm); + color: var(--text-color-dark); + text-decoration: none; + + & .pill-label { + background-color: rgba(0, 0, 0, 0.15); + border-radius: 0.5em; + padding: 0 0.25em; + margin-right: 0.25em; + } + } + .card_avatar img { border: 2px solid rgba(197, 209, 222, 0.15); border-radius: 50%; @@ -271,6 +285,11 @@ } } } + + .pill { + background-color: rgba(0, 0, 0, 0.15); + color: var(--text-color-light-faded); + } } @@ -286,18 +305,17 @@ {% if tags is defined%} - Featured tags: - - {% for tag in tags %} - #{{ tag.name }} ({{ tag.statuses_count }}) • - {% endfor %} - + {% for tag in tags %} + + {{ tag.statuses_count }} + {{ tag.name }} + + {% endfor %} {% endif %} Back - Featured threads: {% for thread in threads %} {% with thread=thread, parent_id=thread.id, is_thread=threads|length > 1 %} {% include "card.html" %}