From ddd4c28c6b639f721c487da9660cd705c4ed8c60 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 31 Jul 2021 17:29:50 +0800 Subject: [PATCH] tags --- layout/tags.ejs | 1 - source/css/_layout/pages/archives.styl | 17 +++++------------ 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/layout/tags.ejs b/layout/tags.ejs index ad4bf42..37aab7f 100755 --- a/layout/tags.ejs +++ b/layout/tags.ejs @@ -13,7 +13,6 @@ if (page.menu_id == undefined) { <% site.tags.sort('length', -1).each(function(tag){ %> <%= tag.name %> - x<%- tag.length %> <% }) %> diff --git a/source/css/_layout/pages/archives.styl b/source/css/_layout/pages/archives.styl index cfb3be6..e8aa673 100644 --- a/source/css/_layout/pages/archives.styl +++ b/source/css/_layout/pages/archives.styl @@ -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)