From ed816bb30a6c9b0a8636ec81be7b8fd1e9aeaae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=93=E5=8F=91=E5=8F=97=E9=95=BF=E7=94=9F?= Date: Sat, 11 May 2019 01:10:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3prism=20css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/yilia/source-src/css/article-inner.scss | 2 -- themes/yilia/source-src/css/highlight.scss | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/themes/yilia/source-src/css/article-inner.scss b/themes/yilia/source-src/css/article-inner.scss index 44c119d..89a1bda 100644 --- a/themes/yilia/source-src/css/article-inner.scss +++ b/themes/yilia/source-src/css/article-inner.scss @@ -170,9 +170,7 @@ margin-top: 10px; padding: 5px 15px; overflow-x: auto; - color: #657b83; border: 1px solid #ccc; - text-shadow: 0 1px #444; font-family: Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace; code{ font-size: 14px; diff --git a/themes/yilia/source-src/css/highlight.scss b/themes/yilia/source-src/css/highlight.scss index 4d1c3c4..e147a66 100644 --- a/themes/yilia/source-src/css/highlight.scss +++ b/themes/yilia/source-src/css/highlight.scss @@ -29,6 +29,7 @@ .article-entry .highlight { border-radius: 4px; + background-color: #2a2a2a; pre { border: none; margin: 0; @@ -50,7 +51,7 @@ } } &.code { - background-color: #363636; + background-color: #2a2a2a; padding: 10px; } } @@ -122,7 +123,7 @@ text-decoration: underline; } pre .comment { - color: #75715e; + color: #368022; } pre .keyword, pre .function .keyword,