From 6f9714cf2b276dd47f6c18e827f5f5288875a471 Mon Sep 17 00:00:00 2001 From: Reorx Date: Fri, 30 Sep 2022 00:19:08 +0800 Subject: enhance blockquote and monospace font --- assets/css/common/post-single.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'assets/css/common/post-single.css') diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 644eaed..67b44eb 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -245,6 +245,7 @@ h6:hover .anchor { padding: 4px 5px; border-radius: 3px; font-size: .95em; + font-family: var(--monospace); } .post-content pre code { /* reset inline code */ @@ -254,15 +255,18 @@ h6:hover .anchor { overflow-x: auto; border-radius: var(--radius); word-break: break-all; + font-family: var(--monospace); } .post-content .chroma code { background-color: inherit; + font-family: var(--monospace); } .post-content blockquote { margin: 20px 0; padding: 0 14px; - border-inline-start: 3px solid var(--primary); + border-inline-start: 3px solid var(--tertiary-bg); + opacity: 0.8; } .post-content sup { -- cgit v1.2.3