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/ascetic.css | 45 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 stylesheets/code/ascetic.css (limited to 'stylesheets/code/ascetic.css') diff --git a/stylesheets/code/ascetic.css b/stylesheets/code/ascetic.css new file mode 100644 index 00000000..48397e88 --- /dev/null +++ b/stylesheets/code/ascetic.css @@ -0,0 +1,45 @@ +/* + +Original style from softwaremaniacs.org (c) Ivan Sagalaev + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: white; + color: black; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-symbol, +.hljs-bullet, +.hljs-section, +.hljs-addition, +.hljs-attribute, +.hljs-link { + color: #888; +} + +.hljs-comment, +.hljs-quote, +.hljs-meta, +.hljs-deletion { + color: #ccc; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-section, +.hljs-name, +.hljs-type, +.hljs-strong { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +} -- cgit v1.3