From 5f38e007d5a1da2cac263e67ea2418808a72c82c Mon Sep 17 00:00:00 2001 From: aka <125674614+zhen-shi@users.noreply.github.com> Date: Sun, 12 Nov 2023 22:50:59 +0800 Subject: [PATCH] chore: modify db-card --- assets/scss/custom.scss | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index 9cd0112..7ac41f7 100644 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -4,9 +4,9 @@ .db-card { margin: 2rem 3rem; - background: #33669930; + background: var(--body-background); border-radius: 8px; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 1px rgba(0, 0, 0, 0.25); + box-shadow: var(--shadow-l1); } .db-card-subject { @@ -16,9 +16,6 @@ padding: 12px; position: relative } - .dark-mode .db-card { - background: #252627 - } .db-card-content { flex: 1 1 auto @@ -44,7 +41,7 @@ .db-card-comment { font-size: 14px; overflow: hidden; - max-height: 4rem + max-height: 7rem } .db-card-cate { @@ -61,7 +58,7 @@ .db-card-post img { width: 96px!important; - height: 96px!important; + height: 128px!important; border-radius: 4px; -o-object-fit: cover; object-fit: cover