summaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-04-29 14:01:21 +0800
committerEltrac <hi@guhub.cn>2025-04-29 14:01:21 +0800
commit0cdd86faae1075f08f7493e5f2e8635fbb9577de (patch)
tree237d37736945f71370182855bdebff3aa08b48b4 /assets/css
parentef18718a392f1d08fef03112d3c3c2cbd7eb9c0b (diff)
feat: post bottom navigation
allow users to navigate between posts in a timeline order
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/components/_post.scss27
1 files changed, 27 insertions, 0 deletions
diff --git a/assets/css/components/_post.scss b/assets/css/components/_post.scss
index 69c8163e..4497a7cc 100644
--- a/assets/css/components/_post.scss
+++ b/assets/css/components/_post.scss
@@ -95,3 +95,30 @@
}
}
}
+
+.post-bottom-navigation {
+ ul {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+ display: flex;
+ gap: 0.5rem;
+ justify-content: space-between;
+ align-items: center;
+ li {
+ &:not(:nth-child(2)) {
+ width: 37.5%;
+ }
+ &:nth-child(3) {
+ text-align: right;
+ }
+ a {
+ color: var(--secondary-text-color);
+ text-decoration: none;
+ &:hover {
+ color: var(--primary-color);
+ }
+ }
+ }
+ }
+}