From cff1e6e737184804d0d1682c8b2d6884d3f07b17 Mon Sep 17 00:00:00 2001 From: Huy Tran Date: Mon, 13 Aug 2018 08:52:20 +0700 Subject: [PATCH] tries out npf's code styles --- static-src/scss/hyde-hyde/_code.scss | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/static-src/scss/hyde-hyde/_code.scss b/static-src/scss/hyde-hyde/_code.scss index 052ceae..c8a39a9 100644 --- a/static-src/scss/hyde-hyde/_code.scss +++ b/static-src/scss/hyde-hyde/_code.scss @@ -27,10 +27,17 @@ pre { %code-style-codersblock { padding: 2px 4px; - border: 1px dashed #adb5db; + border: 1px dotted #adb5db; background-color: $gray-1; } +%code-style-npf { + padding: .25em .5em; + color: #bf616a; + background-color: #f9f9f9; + border-radius: 3px; +} + //-code { // white-space: pre-wrap; // @extend %code-font; @@ -39,7 +46,7 @@ pre { code { @extend %code-font; - @extend %code-style-codersblock; + @extend %code-style-npf; } // highlight.js