summaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-04-24 16:35:26 +0800
committerEltrac <hi@guhub.cn>2025-04-24 16:35:26 +0800
commit3f40452f01277fda4345376be37575f0853f6f52 (patch)
treed71ea2b0cbebf3b62df8988d98aec0ea58e07fdc /assets/css
parent3f3f5bf059cf92af0d7e55f86d6c151558c2bd31 (diff)
feat: display fictions in index page
Former-commit-id: d8e62892c512c013ff4af462efac37482467380b
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/components/_postlist.scss21
1 files changed, 21 insertions, 0 deletions
diff --git a/assets/css/components/_postlist.scss b/assets/css/components/_postlist.scss
index 5deae15a..68adca84 100644
--- a/assets/css/components/_postlist.scss
+++ b/assets/css/components/_postlist.scss
@@ -29,6 +29,13 @@
color: var(--secondary-text-color);
font-family: var(--mono-font-family);
}
+ .posts-item-title {
+ .posts-item-title-pill {
+ font-size: 1rem;
+ font-weight: normal;
+ color: var(--secondary-text-color)
+ }
+ }
}
.posts-item-category {
@@ -41,6 +48,20 @@
}
font-size: 1em;
}
+
+ position: relative;
+ .posts-item-icon {
+ position: absolute;
+ top: 0;
+ right: 0;
+ opacity: 0.25;
+ z-index: -1;
+ transform: rotateY(180deg);
+ img {
+ width: 8rem;
+ height: 8rem;
+ }
+ }
}
}