Apply rouge highlighter background to child node

This commit is contained in:
Tunghsiao Liu 2015-10-26 15:17:04 +08:00
parent 58365ae898
commit 2f5303dd67
1 changed files with 5 additions and 2 deletions

View File

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