style: improve contrast on topic tags
This commit is contained in:
parent
e5b9b81e57
commit
940fb2031e
@ -80,7 +80,7 @@
|
||||
<a href="#disqus_thread" data-disqus-identifier="@post.GetDisqusIdentifier()">0 Comments</a>
|
||||
}
|
||||
</p>
|
||||
<div>
|
||||
<div class="post-tags">
|
||||
@foreach (string tag in post.Tags)
|
||||
{
|
||||
<a asp-page="Index" asp-route-tag="@tag" class="badge bg-secondary">@tag</a>
|
||||
|
@ -372,4 +372,17 @@ td.trim-p p:last-child {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.post-tags a.badge {
|
||||
transition: color 250ms, background-color 250ms;
|
||||
|
||||
&:link, &:visited, &:active {
|
||||
background-color: #2D2D2D !important;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: #03A9F4;
|
||||
background-color: #1E1E1E !important;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user