tries out npf's code styles

This commit is contained in:
Huy Tran 2018-08-13 08:52:20 +07:00
parent fa5a47dff1
commit cff1e6e737

View file

@ -27,10 +27,17 @@ pre {
%code-style-codersblock { %code-style-codersblock {
padding: 2px 4px; padding: 2px 4px;
border: 1px dashed #adb5db; border: 1px dotted #adb5db;
background-color: $gray-1; background-color: $gray-1;
} }
%code-style-npf {
padding: .25em .5em;
color: #bf616a;
background-color: #f9f9f9;
border-radius: 3px;
}
//-code { //-code {
// white-space: pre-wrap; // white-space: pre-wrap;
// @extend %code-font; // @extend %code-font;
@ -39,7 +46,7 @@ pre {
code { code {
@extend %code-font; @extend %code-font;
@extend %code-style-codersblock; @extend %code-style-npf;
} }
// highlight.js // highlight.js