style: adjust font size and margin

This commit is contained in:
Erzbir
2025-08-05 21:47:19 +08:00
parent 29d16c700a
commit 57a1f4e5f6
+6 -7
View File
@@ -32,15 +32,15 @@
} }
.post-meta { .post-meta {
font-size: calc(var(--font-theme-size) * 0.9); font-size: calc(var(--font-theme-size) * 0.96);
margin-bottom: calc(var(--font-theme-size) * 0.625); margin-bottom: calc(var(--font-theme-size) * 0.3125);
color: color-mix(in srgb, var(--color-theme-meta) 65%, transparent); color: color-mix(in srgb, var(--color-theme-meta) 65%, transparent);
} }
.post-meta > *:not(:first-child)::before { .post-meta > *:not(:first-child)::before {
content: "::"; content: "::";
display: inline-block; display: inline-block;
margin: 0 calc(var(--font-theme-size) * 0.5); margin-right: 1ch;
} }
.post-title { .post-title {
@@ -69,7 +69,7 @@
.post-tags { .post-tags {
display: block; display: block;
margin-bottom: calc(var(--font-theme-size) * 0.625); margin-bottom: calc(var(--font-theme-size) * 0.3125);
font-size: inherit; font-size: inherit;
} }
@@ -82,7 +82,7 @@
} }
.post-meta .post-tags { .post-meta .post-tags {
font-size: calc(var(--font-theme-size) * 0.9); font-size: calc(var(--font-theme-size) * 0.95);
} }
.table-of-contents { .table-of-contents {
@@ -90,8 +90,7 @@
} }
.post-excerpt { .post-excerpt {
font-size: calc(var(--font-theme-size) * 0.95); font-size: calc(var(--font-theme-size) * 0.98);
margin-top: calc(var(--font-theme-size) * 0.625);
margin-bottom: calc(var(--font-theme-size) * 0.625); margin-bottom: calc(var(--font-theme-size) * 0.625);
} }