From 6e4310c6c49c1557b8dc3737f4a8ed77fa7e23e0 Mon Sep 17 00:00:00 2001 From: choiboa Date: Sun, 1 Feb 2026 20:33:26 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Style=20:=20=EC=9D=B8=EB=9D=BC?= =?UTF-8?q?=EC=9D=B8=20=EC=BD=94=EB=93=9C=20&=20=EB=B3=B8=EB=AC=B8=20?= =?UTF-8?q?=EC=8A=A4=ED=83=80=EC=9D=BC=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/mdx.css | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/styles/mdx.css b/src/styles/mdx.css index 8f7eaa9..41387aa 100644 --- a/src/styles/mdx.css +++ b/src/styles/mdx.css @@ -79,14 +79,15 @@ figure[data-rehype-pretty-code-figure] pre[data-language="txt"] code { outline: 1px solid rgba(125, 211, 252, 0.28); } -/* ------------------------- -Inline code --------------------------- */ +/* 4) 인라인 코드 */ .prose code[data-language]:not(pre code[data-language]) { + font-family: var(--font-pretendard); font-size: 12px; - font-weight: 300; - padding: 0.3rem 0.4rem; + font-weight: 400; + padding: 0.2rem 0.4rem; border-radius: 0.2rem; + letter-spacing: 0.03em; + line-height: 1.4; background: #e9ecef; color: #212529; @@ -128,4 +129,9 @@ Inline code details[open] summary .group-open\:rotate-180 { transform: rotate(180deg); -} \ No newline at end of file +} + +.dark .prose { + color: #e5e7eb; +} +