Update syntax highlighting

Update the syntax highlighting documentation, config file, and HLJS
theme.
This commit is contained in:
Michael Romero 2018-02-08 20:16:23 -08:00
commit 5ab83c3282
7 changed files with 27 additions and 56 deletions

View file

@ -1,35 +1,9 @@
/* --- Code blocks --- */
pre {
font-size: 16px;
line-height: 1.5em;
.chroma .ln {
margin-right: 0.8em;
padding: 0 0.4em 0 0.4em;
}
pre code {
white-space: pre;
}
pre.highlight, .highlight > pre, td.code pre {
background: #FAFAFA;
background-image: linear-gradient(#F9F9F9 50%, #FDFDFD 50%);
background-repeat: repeat;
background-size: 3em 3em;
background-position: 0px 10px;
border-left: 7px solid #444;
}
code table, code table td, code table th, code table tbody, code table tr,
td.gutter pre {
padding: 0;
border: none;
background-color: #fff;
}
.highlight > pre {
padding: 0;
}
td.code pre {
border-width: 0 0 0 2px;
border-style: solid;
border-color: #444;
border-radius: 0;
}
td.gutter {
padding-top: 3px;
pre code.hljs {
padding: 9.5px;
}