add GitHub-inpsired theme for highlight.js
authorDan Allen <dan@opendevise.com>
Sat, 14 Oct 2017 22:05:57 +0000 (16:05 -0600)
committerDan Allen <dan@opendevise.com>
Wed, 25 Oct 2017 01:43:33 +0000 (19:43 -0600)
src/css/highlight.css [new file with mode: 0644]
src/css/site.css

diff --git a/src/css/highlight.css b/src/css/highlight.css
new file mode 100644 (file)
index 0000000..e343b23
--- /dev/null
@@ -0,0 +1,96 @@
+/*! GitHub style for highlight.js (c) Vasily Polovnyov <vast@whiteants.net> */
+/*
+.hljs {
+  display: block;
+  overflow-x: auto;
+  padding: 0.5em;
+  color: #333;
+  background: #f8f8f8;
+}
+*/
+
+.hljs-comment,
+.hljs-quote {
+  color: #998;
+  font-style: italic;
+}
+
+.hljs-keyword,
+.hljs-selector-tag,
+.hljs-subst {
+  color: #333;
+  font-weight: 500;
+}
+
+.hljs-number,
+.hljs-literal,
+.hljs-variable,
+.hljs-template-variable,
+.hljs-tag .hljs-attr {
+  color: #008080;
+}
+
+.hljs-string,
+.hljs-doctag {
+  color: #d14;
+}
+
+.hljs-title,
+.hljs-section,
+.hljs-selector-id {
+  color: #900;
+  font-weight: 500;
+}
+
+.hljs-subst {
+  font-weight: normal;
+}
+
+.hljs-type,
+.hljs-class .hljs-title {
+  color: #458;
+  font-weight: 500;
+}
+
+.hljs-tag,
+.hljs-name,
+.hljs-attribute {
+  color: #000080;
+  font-weight: normal;
+}
+
+.hljs-regexp,
+.hljs-link {
+  color: #009926;
+}
+
+.hljs-symbol,
+.hljs-bullet {
+  color: #990073;
+}
+
+.hljs-built_in,
+.hljs-builtin-name {
+  color: #0086b3;
+}
+
+.hljs-meta {
+  color: #999;
+  font-weight: 500;
+}
+
+.hljs-deletion {
+  background: #fdd;
+}
+
+.hljs-addition {
+  background: #dfd;
+}
+
+.hljs-emphasis {
+  font-style: italic;
+}
+
+.hljs-strong {
+  font-weight: 500;
+}
index b6cbd2e..92a88d4 100644 (file)
@@ -11,3 +11,4 @@
 @import "doc.css";
 @import "header.css";
 @import "footer.css";
+@import "highlight.css";