tags
This commit is contained in:
parent
47d879efb5
commit
ddd4c28c6b
|
@ -13,7 +13,6 @@ if (page.menu_id == undefined) {
|
||||||
<% site.tags.sort('length', -1).each(function(tag){ %>
|
<% site.tags.sort('length', -1).each(function(tag){ %>
|
||||||
<a class='tag' href="<%= url_for(tag.path) %>">
|
<a class='tag' href="<%= url_for(tag.path) %>">
|
||||||
<span class='name'><%= tag.name %></span>
|
<span class='name'><%= tag.name %></span>
|
||||||
<span class='badge fs12'>x<%- tag.length %></span>
|
|
||||||
</a>
|
</a>
|
||||||
<% }) %>
|
<% }) %>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -52,18 +52,11 @@
|
||||||
align-items: center
|
align-items: center
|
||||||
position: relative
|
position: relative
|
||||||
color: var(--text-p2)
|
color: var(--text-p2)
|
||||||
margin: 4px 8px
|
margin: 4px
|
||||||
padding: 4px 8px
|
padding: 4px 8px
|
||||||
border-radius: 64px
|
border-radius: 4px
|
||||||
.badge
|
background: var(--block)
|
||||||
color: $color-theme
|
font-size: $fs-14
|
||||||
margin-left: 4px
|
|
||||||
font-weight: 700
|
|
||||||
font-family: $ff-code
|
|
||||||
opacity: .75
|
|
||||||
align-self: flex-start
|
|
||||||
&:hover
|
&:hover
|
||||||
color: var(--text-p0)
|
color: var(--text-p0)
|
||||||
background: var(--block)
|
background: var(--block-hover)
|
||||||
.badge
|
|
||||||
opacity: 1
|
|
||||||
|
|
Loading…
Reference in New Issue