diff --git a/assets/css/_partial/_single/_code.scss b/assets/css/_partial/_single/_code.scss index 5cd4b2fbe..c84bdca5f 100644 --- a/assets/css/_partial/_single/_code.scss +++ b/assets/css/_partial/_single/_code.scss @@ -187,16 +187,6 @@ pre, .gl { text-decoration: underline } - - // @each $class, $color in $code-highlight-color-map { - // .#{$class} { color: $color; } - // } - - // [theme=dark] & { - // @each $class, $color in $code-highlight-color-map-dark { - // .#{$class} { color: $color; } - // } - // } } .gist { @@ -220,5 +210,6 @@ pre, pre > code > span::before { counter-increment: codeblock; content: counter(codeblock); - margin: 10px; + margin: 0 1rem; + color: var(--global-font-color); } \ No newline at end of file diff --git a/layouts/_default/_markup/render-codeblock.html b/layouts/_default/_markup/render-codeblock.html index f19c798d8..d386be8da 100644 --- a/layouts/_default/_markup/render-codeblock.html +++ b/layouts/_default/_markup/render-codeblock.html @@ -10,7 +10,7 @@ -
{{ $result.Inner }}
+ {{ $result.Inner }}