summaryrefslogtreecommitdiff
path: root/book/theme/highlight.css
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-04-05 06:18:43 +0000
committerBlaž Hrastnik2021-04-05 06:48:08 +0000
commit16350399ac4eb15274e065f113ad808c96dc600f (patch)
tree959a018d3b48fbb7de3975bdfec46d5bb896a830 /book/theme/highlight.css
parent7d677d32aecfcf3be746ec85c5c31d0a2077e6e3 (diff)
Add book/ (mdbook based user guide)
Diffstat (limited to 'book/theme/highlight.css')
-rw-r--r--book/theme/highlight.css83
1 files changed, 83 insertions, 0 deletions
diff --git a/book/theme/highlight.css b/book/theme/highlight.css
new file mode 100644
index 00000000..c2343227
--- /dev/null
+++ b/book/theme/highlight.css
@@ -0,0 +1,83 @@
+/*
+ * An increased contrast highlighting scheme loosely based on the
+ * "Base16 Atelier Dune Light" theme by Bram de Haan
+ * (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)
+ * Original Base16 color scheme by Chris Kempson
+ * (https://github.com/chriskempson/base16)
+ */
+
+/* Comment */
+.hljs-comment,
+.hljs-quote {
+ color: #575757;
+}
+
+/* Red */
+.hljs-variable,
+.hljs-template-variable,
+.hljs-attribute,
+.hljs-tag,
+.hljs-name,
+.hljs-regexp,
+.hljs-link,
+.hljs-name,
+.hljs-selector-id,
+.hljs-selector-class {
+ color: #d70025;
+}
+
+/* Orange */
+.hljs-number,
+.hljs-meta,
+.hljs-built_in,
+.hljs-builtin-name,
+.hljs-literal,
+.hljs-type,
+.hljs-params {
+ color: #b21e00;
+}
+
+/* Green */
+.hljs-string,
+.hljs-symbol,
+.hljs-bullet {
+ color: #008200;
+}
+
+/* Blue */
+.hljs-title,
+.hljs-section {
+ color: #0030f2;
+}
+
+/* Purple */
+.hljs-keyword,
+.hljs-selector-tag {
+ color: #9d00ec;
+}
+
+.hljs {
+ display: block;
+ overflow-x: auto;
+ background: #f6f7f6;
+ color: #000;
+ padding: 0.5em;
+}
+
+.hljs-emphasis {
+ font-style: italic;
+}
+
+.hljs-strong {
+ font-weight: bold;
+}
+
+.hljs-addition {
+ color: #22863a;
+ background-color: #f0fff4;
+}
+
+.hljs-deletion {
+ color: #b31d28;
+ background-color: #ffeef0;
+}