Enable sintax highlighting on diff view. Close #733

This commit is contained in:
Andrey Nering 2016-01-31 14:19:02 -02:00
parent 137a49e834
commit 2bfb8bb5fd
9 changed files with 38 additions and 11 deletions

View file

@ -8,7 +8,7 @@ body {
img {
border-radius: 3px;
}
pre {
pre, code {
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
&.raw {
padding: 7px 12px;
@ -375,3 +375,9 @@ footer {
width: 95%;
}
}
/* Overrides some styles of the Highlight.js plugin */
.hljs {
background: inherit !important;
padding: 0 !important;
}