Permalink
Browse files

Improve source code highlighting.

  • Loading branch information...
willkoehler committed Aug 19, 2014
1 parent 64b86a5 commit 198b31ea605fdc959ba23114f9292bddc939b9a7
Showing with 16 additions and 9 deletions.
  1. +0 −8 _assets/stylesheets/_article.scss
  2. +16 −1 _assets/stylesheets/_syntax.scss
@@ -171,14 +171,6 @@ article {
}
.highlight {
border:0;
.lineno {
color:$textmuted;
}
}
pre {
border: 0;
padding: 1.5em 3em;
@@ -57,4 +57,19 @@
.highlight .vc { color: #008080 } /* Name.Variable.Class */
.highlight .vg { color: #008080 } /* Name.Variable.Global */
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
// suggestions from http://demisx.github.io/jekyll/2014/01/13/improve-code-highlighting-in-jekyll.html
.highlight .lineno {
color: #ccc;
display: inline-block;
padding: 0 5px;
border-right: 1px solid #ccc;
}
.highlight pre code {
font: 13px Menlo, Monaco, Consolas, "Courier New", monospace;
display: block;
white-space: pre;
overflow-x: auto;
word-wrap: normal;
}

0 comments on commit 198b31e

Please sign in to comment.