pre {
    border: none;
}

// display horizontal scroll bar for code blocks if necessary
pre code {
    white-space: pre;
    word-wrap: normal;
    overflow-x: auto;
}

// Rainbow highlight.js style

.hljs {
    display: block;
    overflow-x: auto;
    padding: 0.5em;
    background: #474949;
    color: #d1d9e1;
    -webkit-text-size-adjust: none
}

.hljs-body,
.hljs-collection {
    color: #d1d9e1
}

.hljs-comment,
.diff .hljs-header,
.hljs-doctype,
.lisp .hljs-string {
    color: #969896;
    font-style: italic
}

.hljs-keyword,
.clojure .hljs-attribute,
.hljs-winutils,
.javascript .hljs-title,
.hljs-addition,
.css .hljs-tag {
    color: #cc99cc
}

.hljs-number {
    color: #f99157
}

.hljs-command,
.hljs-string,
.hljs-tag .hljs-value,
.hljs-doctag,
.tex .hljs-formula,
.hljs-regexp,
.hljs-hexcolor {
    color: #8abeb7
}

.hljs-title,
.hljs-localvars,
.hljs-function .hljs-title,
.hljs-chunk,
.hljs-decorator,
.hljs-built_in,
.hljs-identifier {
    color: #b5bd68
}

.hljs-class .hljs-keyword {
    color: #f2777a
}

.hljs-variable,
.smalltalk .hljs-number,
.hljs-constant,
.hljs-class .hljs-title,
.hljs-parent,
.haskell .hljs-label,
.hljs-id,
.hljs-name {
    color: #ffcc66
}

.hljs-tag .hljs-title,
.hljs-rule .hljs-property,
.django .hljs-tag .hljs-keyword {
    font-weight: bold
}

.hljs-attribute {
    color: #81a2be
}

.hljs-preprocessor,
.hljs-pragma,
.hljs-pi,
.hljs-shebang,
.hljs-symbol,
.hljs-symbol .hljs-string,
.diff .hljs-change,
.hljs-special,
.hljs-attr_selector,
.hljs-important,
.hljs-subst,
.hljs-cdata {
    color: #f99157
}

.hljs-deletion {
    color: #dc322f
}

.tex .hljs-formula {
    background: #eee8d5
}