Fix hovering tags in posts (#894)
This commit is contained in:
parent
35bca71987
commit
b8bee52c7c
2 changed files with 6 additions and 19 deletions
|
@ -56,14 +56,12 @@
|
||||||
font-size: 0.5em;
|
font-size: 0.5em;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background: get-light-color('accent-color');
|
|
||||||
margin-left: 0.2em;
|
margin-left: 0.2em;
|
||||||
margin-right: 0.2em;
|
margin-right: 0.2em;
|
||||||
margin-top: 0.6em;
|
margin-top: 0.6em;
|
||||||
margin-bottom: 0.6em;
|
margin-bottom: 0.6em;
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
color: get-light-color('text-over-accent-color');
|
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -143,17 +141,6 @@ html[data-theme='dark'] {
|
||||||
color: get-dark-color('muted-text-color');
|
color: get-dark-color('muted-text-color');
|
||||||
}
|
}
|
||||||
|
|
||||||
.tags {
|
|
||||||
li {
|
|
||||||
background: get-dark-color('accent-color');
|
|
||||||
a {
|
|
||||||
background-color: get-dark-color('bg-card');
|
|
||||||
border: 1px solid get-dark-color('muted-text-color');
|
|
||||||
color: get-dark-color('text-over-accent-color');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-button {
|
.icon-button {
|
||||||
background-color: get-dark-color('muted-text-color');
|
background-color: get-dark-color('muted-text-color');
|
||||||
color: get-dark-color('text-over-accent-color') !important;
|
color: get-dark-color('text-over-accent-color') !important;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
<ul style="padding-left: 0;">
|
<ul style="padding-left: 0;">
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
{{ $url:= printf "tags/%s/" . }}
|
{{ $url:= printf "tags/%s/" . }}
|
||||||
<li class="rounded"><a href="{{ $url | urlize | relLangURL }}" class="btn, btn-sm">{{ . }}</a></li>
|
<li class="rounded"><a href="{{ $url | urlize | relLangURL }}" class="btn btn-sm btn-info">{{ . }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue