style: 优化文章封面显示效果与标题字体大小
continuous-integration/drone/push Build is passing

This commit is contained in:
seahi committed 2026-08-08 14:34:01 +08:00
1 parent e58a950dde
commit 00917b56d1
1 file changed
+6 -2
+6 -2
View File
@@ -364,7 +364,7 @@ body.single-col .post-list {
}
@media screen and (min-width: 767px) {
.card .title {
font-size: 1.85rem;
font-size: 1.45rem;
}
.card-link:hover .title {
color: var(--accent-color) !important;
@@ -1394,12 +1394,16 @@ footer section p:first-child {
height: 200px;
overflow: hidden;
border-bottom: none;
background-color: var(--border-color); /* 添加一点背景色填补空白区域 */
display: flex;
align-items: center;
justify-content: center;
}
.post-cover img {
width: 100%;
height: 100%;
object-fit: cover;
object-fit: contain; /* 保证图片显示完整不被裁剪 */
display: block;
border-radius: 0;
}