Apply rouge highlighter background to child node
This commit is contained in:
parent
58365ae898
commit
2f5303dd67
|
@ -1,11 +1,14 @@
|
||||||
/**
|
/**
|
||||||
* Syntax highlighting styles
|
* Syntax highlighting styles
|
||||||
*/
|
*/
|
||||||
.highlight,
|
.highlight {
|
||||||
.highlighter-rouge {
|
|
||||||
background: #fff;
|
background: #fff;
|
||||||
@extend %vertical-rhythm;
|
@extend %vertical-rhythm;
|
||||||
|
|
||||||
|
.highlighter-rouge & {
|
||||||
|
background: #eef;
|
||||||
|
}
|
||||||
|
|
||||||
.c { color: #998; font-style: italic } // Comment
|
.c { color: #998; font-style: italic } // Comment
|
||||||
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
||||||
.k { font-weight: bold } // Keyword
|
.k { font-weight: bold } // Keyword
|
||||||
|
|
Loading…
Reference in New Issue