nasg/templates/prism.css
Peter Molnar 96d0c238d6 Back on prismjs <https://prismjs.com/> for syntax highlighting.
While Pandoc was generating something sane, the output of CodeHilite puts silly amount of extra text and makes the HTML output completely unreadable.

In the end, it still looks like prism.js is a nice and solid solution, even if it's JS.

I'll explore other options, but so far, it's either back to Pandoc, or sticking with Prism.
2018-08-02 22:47:49 +01:00

73 lines
877 B
CSS

.token.comment,
.token.block-comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: darkgray;
}
.token.punctuation {
color:darkcyan;
}
.token.tag,
.token.attr-name,
.token.namespace,
.token.deleted {
color: #e2777a;
}
.token.function-name {
color: red;
}
.token.boolean,
.token.number,
.token.function {
color: #f08d49;
}
.token.property,
.token.class-name,
.token.constant,
.token.symbol {
color: #f8c555;
}
.token.selector,
.token.important,
.token.atrule,
.token.keyword,
.token.builtin {
color: darkorange;
}
.token.string,
.token.char,
.token.attr-value,
.token.regex,
.token.variable {
color:darkred;
}
.token.operator,
.token.entity,
.token.url {
color: darkmagenta;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
.token.inserted {
color: green;
}