style: 微调移动端ui

This commit is contained in:
2026-08-16 00:11:16 +08:00
parent 6385b36f6d
commit fef7f239c9
3 changed files with 10 additions and 9 deletions

View File

@@ -32,10 +32,10 @@ const {posts} = Astro.props
}
.post .d {
font-size: 12px;
font-size: 14px;
color: #b8b8b8;
min-width: 80px;
letter-spacing: 0.1em;
letter-spacing: 1px;
}
.post h2 {
@@ -74,7 +74,7 @@ const {posts} = Astro.props
}
.post h2 {
font-size: 14px;
font-size: 15px;
}
}
</style>

View File

@@ -98,7 +98,7 @@ const {data} = await http.get<ApiResponse<Archive>>("posts/archives");
}
.post-date {
color: var(--text-tertiary);
color: var(--text-secondary);
}
.post-title {
@@ -107,6 +107,7 @@ const {data} = await http.get<ApiResponse<Archive>>("posts/archives");
white-space: nowrap;
text-overflow: ellipsis;
color: var(--text-primary);
font-size: 16px;
}
.post-title:hover{
@@ -114,7 +115,8 @@ const {data} = await http.get<ApiResponse<Archive>>("posts/archives");
}
.post-cat {
color: var(--text-tertiary);
color: var(--text-secondary);
font-size: 14px;
}
@media (max-width: 640px) {

View File

@@ -19,7 +19,7 @@
.markdown-body .highlight pre,
.markdown-body pre {
border-radius: 0 0 6px 6px;
border-radius: 0 0 8px 8px;
}
.markdown-body img {
@@ -27,19 +27,18 @@
}
.code-block {
}
.code-header {
height: 36px;
background: #f5f5f5;
background: #f4f4f5;
display: flex;
justify-content: space-between;
color: var(--text-primary);
align-items: center;
padding: 0 12px;
font-size: 14px;
border-radius: 6px 6px 0 0;
border-radius: 8px 8px 0 0;
}
.code-header-left {