From 6a2ef8db776818d34a3ec56aa5a9785d6210b102 Mon Sep 17 00:00:00 2001 From: Deimos Date: Tue, 29 Oct 2019 16:11:56 -0600 Subject: [PATCH] Adjust style of topic tags in listings slightly --- tildes/scss/modules/_label.scss | 4 ++++ tildes/scss/themes/_theme_base.scss | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tildes/scss/modules/_label.scss b/tildes/scss/modules/_label.scss index 293186c..02a49b8 100644 --- a/tildes/scss/modules/_label.scss +++ b/tildes/scss/modules/_label.scss @@ -16,6 +16,10 @@ margin: 0 0.4rem 0 0; word-wrap: break-word; max-width: 100%; + + & + & { + margin-left: 0.2rem; + } } .label-topic-tag-spoiler, diff --git a/tildes/scss/themes/_theme_base.scss b/tildes/scss/themes/_theme_base.scss index 7298881..353766c 100644 --- a/tildes/scss/themes/_theme_base.scss +++ b/tildes/scss/themes/_theme_base.scss @@ -333,12 +333,12 @@ } .label-topic-tag { - color: map-get($theme, "foreground-middle"); + padding: 0; a, a:hover, a:visited { - color: map-get($theme, "foreground-middle"); + color: map-get($theme, "foreground-primary"); } } @@ -576,6 +576,8 @@ } @mixin theme-special-label($color, $is-light) { + padding: 0 0.2rem; + @if $is-light { background-color: $color; color: #fff;