From 2cb32994022640261906ac2bf83be32896614989 Mon Sep 17 00:00:00 2001 From: liding Date: Mon, 10 Jun 2024 15:04:30 +0800 Subject: [PATCH] Add style for blockquote and table. --- src/components/article/ArticleBody.astro | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/article/ArticleBody.astro b/src/components/article/ArticleBody.astro index aa36076..520734b 100644 --- a/src/components/article/ArticleBody.astro +++ b/src/components/article/ArticleBody.astro @@ -68,4 +68,13 @@ const articlePrettyName = article!.id.split("/").pop()!.replace(".md", ""); :global(.article li > code) { color: #be4750; } + :global(.article table) { + margin: 1em 0; + } + :global(.article blockquote) { + margin: 0; + padding: 1px 1.5em; + background: rgb(246, 246, 246); + border-radius: 6px; + }