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:
1 parent
1be03e6335
commit
5de9991999
1 file changed
+4
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user