From e9aa5887ce5a6cfa9359de1236f28fe4ce4c4259 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Mon, 28 May 2018 14:40:46 -0500 Subject: [PATCH] fix --- _sass/main.scss | 6 ++++-- _sass/simple-grid.scss | 2 +- _sass/syntax.scss | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/_sass/main.scss b/_sass/main.scss index b674f2a..662a595 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -45,8 +45,10 @@ code { padding: 10px; } -code { - color: #e83e8c; +pre:not(.highlight) { + code { + color: #e83e8c; + } } pre { diff --git a/_sass/simple-grid.scss b/_sass/simple-grid.scss index 74b90fd..006be3b 100644 --- a/_sass/simple-grid.scss +++ b/_sass/simple-grid.scss @@ -28,7 +28,7 @@ body { * { // font-family: $font-family; - color: $dark-grey; + // color: $dark-grey; line-height: $font-height; } diff --git a/_sass/syntax.scss b/_sass/syntax.scss index e4dc912..e282020 100644 --- a/_sass/syntax.scss +++ b/_sass/syntax.scss @@ -1,5 +1,5 @@ -pre.highlight { background-color: #444444 } -.highlight .hll { background-color: #444444 } +pre.highlight { background-color: #444444; color: #cccccc } +.highlight .hll { background-color: #444444; color: #cccccc } .highlight .c { color: #608b4e } /* Comment */ .highlight .err { color: #cccccc; border: 1px solid #f44747 } /* Error */ .highlight .g { color: #cccccc } /* Generic */