summaryrefslogtreecommitdiff
path: root/assets/css/components/_postlist.scss
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-04-07 15:44:30 +0800
committerEltrac <hi@guhub.cn>2025-04-07 15:44:30 +0800
commit2b9d431ff099cd433a6053fc3e6c527433bdee1f (patch)
tree98bf380befb810198900c065aafcfd6e548e5ac0 /assets/css/components/_postlist.scss
parentfb7259d515305b6e4b5262d132ef06b31300c8db (diff)
refactor: separate css utilities and apply button style to more link
Diffstat (limited to 'assets/css/components/_postlist.scss')
-rw-r--r--assets/css/components/_postlist.scss18
1 files changed, 9 insertions, 9 deletions
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;
}
}