Skip to content

Commit

Permalink
Apply rouge highlighter background to child node
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Oct 26, 2015
1 parent 58365ae commit 2f5303d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/site_template/_sass/_syntax-highlighting.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
/**
* Syntax highlighting styles
*/
.highlight,
.highlighter-rouge {
.highlight {
background: #fff;
@extend %vertical-rhythm;

.highlighter-rouge & {
background: #eef;
}

.c { color: #998; font-style: italic } // Comment
.err { color: #a61717; background-color: #e3d2d2 } // Error
.k { font-weight: bold } // Keyword
Expand Down

0 comments on commit 2f5303d

Please sign in to comment.