From 1d4e14de25f1faa4b59239be014479329d68ce8b Mon Sep 17 00:00:00 2001 From: curben Date: Mon, 1 Oct 2018 13:35:39 +0930 Subject: [PATCH] Set inline code snippet background color for light theme 0bb968a58c4294f740f9e9faf19de42410b7bca8 --- themes/typing/source/css/typing.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/themes/typing/source/css/typing.css b/themes/typing/source/css/typing.css index 0238aae..8abfc3c 100644 --- a/themes/typing/source/css/typing.css +++ b/themes/typing/source/css/typing.css @@ -305,7 +305,7 @@ svg:not(:root){ code,kbd,pre,samp{ font-family:monospace,monospace; font-size:0.9em; - background-color:#333 + background-color:#f3f5f6 } figure{ margin:1em 40px @@ -786,6 +786,11 @@ blockquote{ .dark .home a:hover{ border-bottom:1px solid #fff } +.dark code,kbd,pre,samp{ + font-family:monospace,monospace; + font-size:0.9em; + background-color:#333 +} .dark .archive-container .header .main-nav-link,.dark .article .header .main-nav-link,.dark .category-container .header .main-nav-link,.dark .tag-container .header .main-nav-link{ color:#aaa }