summaryrefslogtreecommitdiff
path: root/assets/css/components/_postlist.scss
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-04-07 15:35:28 +0800
committerEltrac <hi@guhub.cn>2025-04-07 15:35:28 +0800
commitfb7259d515305b6e4b5262d132ef06b31300c8db (patch)
tree4cb48c2eaf597a4c80ada8f8a4aa6837f2352f5c /assets/css/components/_postlist.scss
parent23cde7acee45fa6cd9a95a68cd2ba92c5a5218cf (diff)
feat: latest card section in index page
Diffstat (limited to 'assets/css/components/_postlist.scss')
-rw-r--r--assets/css/components/_postlist.scss24
1 files changed, 24 insertions, 0 deletions
diff --git a/assets/css/components/_postlist.scss b/assets/css/components/_postlist.scss
index f2f5c212..87a68026 100644
--- a/assets/css/components/_postlist.scss
+++ b/assets/css/components/_postlist.scss
@@ -1,3 +1,11 @@
+.index-section-title {
+ font-size: 1.1rem;
+ margin-bottom: 0;
+ font-weight: normal;
+}
+
+/* Post List Styles */
+
.posts-list {
display: flex;
flex-direction: column;
@@ -110,3 +118,19 @@
display: inline-block;
}
}
+
+/* Card List Styles */
+
+#latest-cards {
+ margin: 1rem 0;
+ .latest-cards-container {
+ display: flex;
+ width: 100%;
+ overflow-x: auto;
+ gap: 1rem;
+ .card {
+ flex-shrink: 0;
+ width: 50%;
+ }
+ }
+}