Browse Source

Adjust style of topic tags in listings slightly

merge-requests/85/head
Deimos 5 years ago
parent
commit
6a2ef8db77
  1. 4
      tildes/scss/modules/_label.scss
  2. 6
      tildes/scss/themes/_theme_base.scss

4
tildes/scss/modules/_label.scss

@ -16,6 +16,10 @@
margin: 0 0.4rem 0 0; margin: 0 0.4rem 0 0;
word-wrap: break-word; word-wrap: break-word;
max-width: 100%; max-width: 100%;
& + & {
margin-left: 0.2rem;
}
} }
.label-topic-tag-spoiler, .label-topic-tag-spoiler,

6
tildes/scss/themes/_theme_base.scss

@ -333,12 +333,12 @@
} }
.label-topic-tag { .label-topic-tag {
color: map-get($theme, "foreground-middle");
padding: 0;
a, a,
a:hover, a:hover,
a:visited { 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) { @mixin theme-special-label($color, $is-light) {
padding: 0 0.2rem;
@if $is-light { @if $is-light {
background-color: $color; background-color: $color;
color: #fff; color: #fff;

Loading…
Cancel
Save