From a69bc13ba21482b9376cf6071425a64eed31c746 Mon Sep 17 00:00:00 2001 From: Benjamin Southall Date: Fri, 3 Mar 2017 15:34:45 +0900 Subject: Change code hightlighting to highlight.js from google-code prettify.js --- stylesheets/code/color-brewer.css | 71 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 stylesheets/code/color-brewer.css (limited to 'stylesheets/code/color-brewer.css') diff --git a/stylesheets/code/color-brewer.css b/stylesheets/code/color-brewer.css new file mode 100644 index 00000000..7934d986 --- /dev/null +++ b/stylesheets/code/color-brewer.css @@ -0,0 +1,71 @@ +/* + +Colorbrewer theme +Original: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock +Ported by Fabrício Tavares de Oliveira + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #fff; +} + +.hljs, +.hljs-subst { + color: #000; +} + +.hljs-string, +.hljs-meta, +.hljs-symbol, +.hljs-template-tag, +.hljs-template-variable, +.hljs-addition { + color: #756bb1; +} + +.hljs-comment, +.hljs-quote { + color: #636363; +} + +.hljs-number, +.hljs-regexp, +.hljs-literal, +.hljs-bullet, +.hljs-link { + color: #31a354; +} + +.hljs-deletion, +.hljs-variable { + color: #88f; +} + + + +.hljs-keyword, +.hljs-selector-tag, +.hljs-title, +.hljs-section, +.hljs-built_in, +.hljs-doctag, +.hljs-type, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-strong { + color: #3182bd; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-attribute { + color: #e6550d; +} -- cgit v1.3