style: 优化移动端ui

This commit is contained in:
2026-08-15 22:33:09 +08:00
parent 4a224b58f4
commit 7638a2ae0e
2 changed files with 10 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ const {posts} = Astro.props
.post h2 { .post h2 {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: normal;
flex: 1; flex: 1;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -72,5 +72,9 @@ const {posts} = Astro.props
.post .d { .post .d {
min-width: 64px; min-width: 64px;
} }
.post h2 {
font-size: 14px;
}
} }
</style> </style>

View File

@@ -42,5 +42,10 @@ const {siteTitle,git} = siteConfig;
margin-top: 12px; margin-top: 12px;
margin-bottom: 0; margin-bottom: 0;
} }
h1 {
font-size: 20px;
font-weight: normal;
}
} }
</style> </style>