style: adjust tags display

This commit is contained in:
Erzbir
2025-11-18 01:57:38 +08:00
parent b2af6489d3
commit 51429a5722
6 changed files with 37 additions and 34 deletions
+1
View File
@@ -22,6 +22,7 @@
--scrollbar-theme-color: rgba(134, 134, 134, 0.45) rgba(255, 255, 255, 0);
--font-theme-lig: none;
--border-theme-width: calc(var(--font-theme-size) * 0.125);
white-space-collapse: discard;
}
html {
+22 -2
View File
@@ -37,7 +37,7 @@
color: color-mix(in srgb, var(--color-theme-meta) 65%, transparent);
}
.post-meta > *:not(:first-child)::before {
.post-meta > *:not(:first-child):not(:empty)::before {
content: "::";
display: inline-block;
margin-right: 1ch;
@@ -67,10 +67,22 @@
color: var(--color-theme-title);
}
.post-time {
color: var(--color-theme-foreground);
}
.post-meta > .post-time {
color: inherit;
}
.post-author {
}
.post-tags {
display: block;
margin-bottom: calc(var(--font-theme-size) * 0.3125);
font-size: inherit;
color: var(--color-theme-tag);
}
.post-tag {
@@ -81,6 +93,14 @@
}
}
.post-meta > .post-tags {
color: inherit;
}
.post-tags > .post-tag {
color: inherit;
}
.post-meta .post-tags {
font-size: calc(var(--font-theme-size) * 0.95);
}