Skip to content

Commit b8bee52

Browse files
authoredFeb 13, 2024··
Fix hovering tags in posts (#894)
1 parent 35bca71 commit b8bee52

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed
 

‎assets/styles/components/buttons.scss

-13
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,12 @@
5656
font-size: 0.5em;
5757
list-style-type: none;
5858
display: inline-block;
59-
background: get-light-color('accent-color');
6059
margin-left: 0.2em;
6160
margin-right: 0.2em;
6261
margin-top: 0.6em;
6362
margin-bottom: 0.6em;
6463
}
6564
a {
66-
color: get-light-color('text-over-accent-color');
6765
text-decoration: none !important;
6866
}
6967
}
@@ -143,17 +141,6 @@ html[data-theme='dark'] {
143141
color: get-dark-color('muted-text-color');
144142
}
145143

146-
.tags {
147-
li {
148-
background: get-dark-color('accent-color');
149-
a {
150-
background-color: get-dark-color('bg-card');
151-
border: 1px solid get-dark-color('muted-text-color');
152-
color: get-dark-color('text-over-accent-color');
153-
}
154-
}
155-
}
156-
157144
.icon-button {
158145
background-color: get-dark-color('muted-text-color');
159146
color: get-dark-color('text-over-accent-color') !important;

‎layouts/partials/misc/tags.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div class="tags">
2-
<ul style="padding-left: 0;">
3-
{{ range . }}
4-
{{ $url:= printf "tags/%s/" . }}
5-
<li class="rounded"><a href="{{ $url | urlize | relLangURL }}" class="btn, btn-sm">{{ . }}</a></li>
6-
{{ end }}
7-
</ul>
2+
<ul style="padding-left: 0;">
3+
{{ range . }}
4+
{{ $url:= printf "tags/%s/" . }}
5+
<li class="rounded"><a href="{{ $url | urlize | relLangURL }}" class="btn btn-sm btn-info">{{ . }}</a></li>
6+
{{ end }}
7+
</ul>
88
</div>

0 commit comments

Comments
 (0)
Please sign in to comment.