summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets
diff options
context:
space:
mode:
Diffstat (limited to 'theme/stylesheets')
-rw-r--r--theme/stylesheets/book/highlight/night.less92
-rw-r--r--theme/stylesheets/book/highlight/sepia.less107
-rw-r--r--theme/stylesheets/book/highlight/white.less (renamed from theme/stylesheets/book/highlight.less)0
-rwxr-xr-xtheme/stylesheets/book/markdown.less18
-rwxr-xr-xtheme/stylesheets/main.less1
5 files changed, 217 insertions, 1 deletions
diff --git a/theme/stylesheets/book/highlight/night.less b/theme/stylesheets/book/highlight/night.less
new file mode 100644
index 0000000..8e06c2a
--- /dev/null
+++ b/theme/stylesheets/book/highlight/night.less
@@ -0,0 +1,92 @@
+/* Tomorrow Night Bright Theme */
+/* Original theme - https://github.com/chriskempson/tomorrow-theme */
+/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
+
+/* Tomorrow Comment */
+.hljs-comment,
+.hljs-title {
+ color: #969896;
+}
+
+/* Tomorrow Red */
+.hljs-variable,
+.hljs-attribute,
+.hljs-tag,
+.hljs-regexp,
+.ruby .hljs-constant,
+.xml .hljs-tag .hljs-title,
+.xml .hljs-pi,
+.xml .hljs-doctype,
+.html .hljs-doctype,
+.css .hljs-id,
+.css .hljs-class,
+.css .hljs-pseudo {
+ color: #d54e53;
+}
+
+/* Tomorrow Orange */
+.hljs-number,
+.hljs-preprocessor,
+.hljs-pragma,
+.hljs-built_in,
+.hljs-literal,
+.hljs-params,
+.hljs-constant {
+ color: #e78c45;
+}
+
+/* Tomorrow Yellow */
+.ruby .hljs-class .hljs-title,
+.css .hljs-rules .hljs-attribute {
+ color: #e7c547;
+}
+
+/* Tomorrow Green */
+.hljs-string,
+.hljs-value,
+.hljs-inheritance,
+.hljs-header,
+.ruby .hljs-symbol,
+.xml .hljs-cdata {
+ color: #b9ca4a;
+}
+
+/* Tomorrow Aqua */
+.css .hljs-hexcolor {
+ color: #70c0b1;
+}
+
+/* Tomorrow Blue */
+.hljs-function,
+.python .hljs-decorator,
+.python .hljs-title,
+.ruby .hljs-function .hljs-title,
+.ruby .hljs-title .hljs-keyword,
+.perl .hljs-sub,
+.javascript .hljs-title,
+.coffeescript .hljs-title {
+ color: #7aa6da;
+}
+
+/* Tomorrow Purple */
+.hljs-keyword,
+.javascript .hljs-function {
+ color: #c397d8;
+}
+
+.hljs {
+ display: block;
+ background: black;
+ color: #eaeaea;
+ padding: 0.5em;
+}
+
+.coffeescript .javascript,
+.javascript .xml,
+.tex .hljs-formula,
+.xml .javascript,
+.xml .vbscript,
+.xml .css,
+.xml .hljs-cdata {
+ opacity: 0.5;
+} \ No newline at end of file
diff --git a/theme/stylesheets/book/highlight/sepia.less b/theme/stylesheets/book/highlight/sepia.less
new file mode 100644
index 0000000..3d9dddb
--- /dev/null
+++ b/theme/stylesheets/book/highlight/sepia.less
@@ -0,0 +1,107 @@
+/*
+
+Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>
+
+*/
+
+.hljs {
+ display: block;
+ padding: 0.5em;
+ background: #fdf6e3;
+ color: #657b83;
+}
+
+.hljs-comment,
+.hljs-template_comment,
+.diff .hljs-header,
+.hljs-doctype,
+.hljs-pi,
+.lisp .hljs-string,
+.hljs-javadoc {
+ color: #93a1a1;
+}
+
+/* Solarized Green */
+.hljs-keyword,
+.hljs-winutils,
+.method,
+.hljs-addition,
+.css .hljs-tag,
+.hljs-request,
+.hljs-status,
+.nginx .hljs-title {
+ color: #859900;
+}
+
+/* Solarized Cyan */
+.hljs-number,
+.hljs-command,
+.hljs-string,
+.hljs-tag .hljs-value,
+.hljs-rules .hljs-value,
+.hljs-phpdoc,
+.tex .hljs-formula,
+.hljs-regexp,
+.hljs-hexcolor,
+.hljs-link_url {
+ color: #2aa198;
+}
+
+/* Solarized Blue */
+.hljs-title,
+.hljs-localvars,
+.hljs-chunk,
+.hljs-decorator,
+.hljs-built_in,
+.hljs-identifier,
+.vhdl .hljs-literal,
+.hljs-id,
+.css .hljs-function {
+ color: #268bd2;
+}
+
+/* Solarized Yellow */
+.hljs-attribute,
+.hljs-variable,
+.lisp .hljs-body,
+.smalltalk .hljs-number,
+.hljs-constant,
+.hljs-class .hljs-title,
+.hljs-parent,
+.haskell .hljs-type,
+.hljs-link_reference {
+ color: #b58900;
+}
+
+/* Solarized Orange */
+.hljs-preprocessor,
+.hljs-preprocessor .hljs-keyword,
+.hljs-pragma,
+.hljs-shebang,
+.hljs-symbol,
+.hljs-symbol .hljs-string,
+.diff .hljs-change,
+.hljs-special,
+.hljs-attr_selector,
+.hljs-subst,
+.hljs-cdata,
+.clojure .hljs-title,
+.css .hljs-pseudo,
+.hljs-header {
+ color: #cb4b16;
+}
+
+/* Solarized Red */
+.hljs-deletion,
+.hljs-important {
+ color: #dc322f;
+}
+
+/* Solarized Violet */
+.hljs-link_label {
+ color: #6c71c4;
+}
+
+.tex .hljs-formula {
+ background: #eee8d5;
+} \ No newline at end of file
diff --git a/theme/stylesheets/book/highlight.less b/theme/stylesheets/book/highlight/white.less
index ae9d1f8..ae9d1f8 100644
--- a/theme/stylesheets/book/highlight.less
+++ b/theme/stylesheets/book/highlight/white.less
diff --git a/theme/stylesheets/book/markdown.less b/theme/stylesheets/book/markdown.less
index d5c2768..8d47057 100755
--- a/theme/stylesheets/book/markdown.less
+++ b/theme/stylesheets/book/markdown.less
@@ -1,8 +1,24 @@
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal {
color:@page-color-1;
+
+ pre {
+ background: #fdf6e3;
+ color: #657b83;
+ border-color: darken(#fdf6e3, 15%);
+
+ @import "./highlight/sepia.less";
+ }
}
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal {
color:@page-color-2;
+
+ pre {
+ background: black;
+ color: #eaeaea;
+ border-color: #000;
+
+ @import "./highlight/night.less";
+ }
}
.book .book-body .page-wrapper .page-inner section.normal {
padding: 25px 0px;
@@ -276,6 +292,8 @@
white-space: pre;
border: none;
background: transparent;
+
+ @import "./highlight/white.less";
}
pre {
diff --git a/theme/stylesheets/main.less b/theme/stylesheets/main.less
index ff0f52e..2145d43 100755
--- a/theme/stylesheets/main.less
+++ b/theme/stylesheets/main.less
@@ -5,7 +5,6 @@
@import "variables.less";
@import "fonts.less";
-@import "book/highlight.less";
@import "book/languages.less";
@import "book/header.less";
@import "book/summary.less";