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
This commit is contained in:
Michael Rose 2018-01-12 20:42:25 -05:00
parent 1be03e6335
commit 5de9991999

View file

@ -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;
}
}