From 93beda160287a0f121e943dbb10d544f273fca11 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 12 Jan 2018 20:42:25 -0500 Subject: [PATCH] Fix syntax highlighting line number inconsistency Globally enabling Rouge block line numbers in Kramdown _config.yml settings should be styled consistently with `{% highlight linenos %}` Jekyll tag. Fixes #1467 --- _sass/minimal-mistakes/_syntax.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_sass/minimal-mistakes/_syntax.scss b/_sass/minimal-mistakes/_syntax.scss index 0c395160683c..fc17cf5aa33a 100644 --- a/_sass/minimal-mistakes/_syntax.scss +++ b/_sass/minimal-mistakes/_syntax.scss @@ -31,7 +31,8 @@ figure.highlight { border: 0; /* line numbers*/ - &.gutter { + &.gutter, + &.rouge-gutter { padding-right: 1em; width: 1em; color: $base04; @@ -40,7 +41,8 @@ figure.highlight { } /* code */ - &.code { + &.code, + &.rouge-code { padding-left: 1em; } }