From 2b9d431ff099cd433a6053fc3e6c527433bdee1f Mon Sep 17 00:00:00 2001 From: Eltrac Date: Mon, 7 Apr 2025 15:44:30 +0800 Subject: refactor: separate css utilities and apply button style to more link --- assets/css/components/_postlist.scss | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'assets/css/components/_postlist.scss') diff --git a/assets/css/components/_postlist.scss b/assets/css/components/_postlist.scss index 87a68026..31e99cd6 100644 --- a/assets/css/components/_postlist.scss +++ b/assets/css/components/_postlist.scss @@ -4,6 +4,14 @@ font-weight: normal; } +.index-section-morelink { + @include small-button; + + &::after { + content: " ยป"; + } +} + /* Post List Styles */ .posts-list { @@ -57,15 +65,7 @@ font-weight: bolder } a { - background-color: var(--block-background-color); - padding: 0.2rem 0.5rem; - text-decoration: none; - border-radius: 0.2rem; - border: 1px solid var(--background-color); - transition: border-color 0.3s ease; - &:hover, .active & { - border: 1px solid var(--text-color) - } + @include small-button; } } -- cgit v1.2.3