update hint font size

This commit is contained in:
ClovertaTheTrilobita 2026-09-19 13:48:49 +08:00
parent 12539b16a8
commit ef530b99d9
2 changed files with 14 additions and 2 deletions

View file

@ -17,7 +17,7 @@ export default {
publishedOn: "Published on",
commentsDesc: [
"Feel free to leave your thoughts here. 💭💡",
"After signing in, you can click the “Subscribe by Email” button at the bottom right of the text box to receive notifications of new interactions via email."
"After signing in, you can click “Subscribe by Email” at the bottom right of the text box to receive notifications via E-mail."
]
},
theme: {

View file

@ -103,7 +103,9 @@ const publishedDate = new Intl.DateTimeFormat(
aria-labelledby="comments-heading"
>
<h2 id="comments-heading">{comments}</h2>
{t.post.commentsDesc.map((line: string) => <p set:html={line} />)}
{t.post.commentsDesc.map((line: string) => (
<p class="comments-description" set:html={line} />
))}
<Remark42Embed slug={slug} />
</section>
</article>
@ -653,6 +655,16 @@ const publishedDate = new Intl.DateTimeFormat(
scroll-margin-top: 5rem;
}
.comments-description {
color: #6b7680;
font-size: 0.85rem;
line-height: 1.6;
}
:global(html.dark) .comments-description {
color: #aab7c4;
}
:global(html.dark) .post-content {
--article-muted: #aab7c4;
--article-rule: rgba(170, 183, 196, 0.28);