This commit is contained in:
xaoxuu 2021-07-31 17:29:50 +08:00
parent 47d879efb5
commit ddd4c28c6b
2 changed files with 5 additions and 13 deletions

View File

@ -13,7 +13,6 @@ if (page.menu_id == undefined) {
<% site.tags.sort('length', -1).each(function(tag){ %>
<a class='tag' href="<%= url_for(tag.path) %>">
<span class='name'><%= tag.name %></span>
<span class='badge fs12'>x<%- tag.length %></span>
</a>
<% }) %>
</article>

View File

@ -52,18 +52,11 @@
align-items: center
position: relative
color: var(--text-p2)
margin: 4px 8px
margin: 4px
padding: 4px 8px
border-radius: 64px
.badge
color: $color-theme
margin-left: 4px
font-weight: 700
font-family: $ff-code
opacity: .75
align-self: flex-start
border-radius: 4px
background: var(--block)
font-size: $fs-14
&:hover
color: var(--text-p0)
background: var(--block)
.badge
opacity: 1
background: var(--block-hover)