From 47b10e11057214a42c845115f7c5c504adb50045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=B8=E9=B9=BF/Zhilu?= Date: Wed, 27 Mar 2024 14:16:05 +0800 Subject: [PATCH] [opt] navbar, sidebar-list (#399) --- source/css/_layout/partial/footer.styl | 3 ++- source/css/_layout/sidebar/menu.styl | 2 +- source/css/_layout/widgets/list.styl | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/css/_layout/partial/footer.styl b/source/css/_layout/partial/footer.styl index 680b8e7..e7efb11 100644 --- a/source/css/_layout/partial/footer.styl +++ b/source/css/_layout/partial/footer.styl @@ -3,7 +3,8 @@ color: var(--text-p2) a color: var(--text-p2) - border-radius: 2px + border-radius: 4px + transition: background 0.2s ease-out &:hover color: var(--text) background: var(--block-hover) diff --git a/source/css/_layout/sidebar/menu.styl b/source/css/_layout/sidebar/menu.styl index 4bffaf7..3f09bd1 100644 --- a/source/css/_layout/sidebar/menu.styl +++ b/source/css/_layout/sidebar/menu.styl @@ -49,5 +49,5 @@ transform: translateX(-50%) border-radius: 2px bottom: 2px - background: var(--text-p1) + background: currentColor diff --git a/source/css/_layout/widgets/list.styl b/source/css/_layout/widgets/list.styl index 0f788ce..9440660 100644 --- a/source/css/_layout/widgets/list.styl +++ b/source/css/_layout/widgets/list.styl @@ -1,6 +1,5 @@ .widget-wrapper.post-list .widget-body a - line-height: 1 font-size: $fs-14 padding: 8px 16px display: block