This is an automated email from the ASF dual-hosted git repository.
wave pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/bval-site.git
The following commit(s) were added to refs/heads/main by this push:
new 0142271 change to docco.css for code highlighting
0142271 is described below
commit 0142271362a9b81edd02661d847b8bb5133ee81d
Author: Dave Fisher <[email protected]>
AuthorDate: Fri Jun 4 15:06:15 2021 -0700
change to docco.css for code highlighting
---
content/resources/css/arduino-light.css | 88 ------------------------------
content/resources/css/docco.css | 94 +++++++++++++++++++++++++++++++++
theme/apache/templates/base.html | 2 +-
3 files changed, 95 insertions(+), 89 deletions(-)
diff --git a/content/resources/css/arduino-light.css
b/content/resources/css/arduino-light.css
deleted file mode 100644
index b412f47..0000000
--- a/content/resources/css/arduino-light.css
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
-
-Arduino® Light Theme - Stefania Mellai <[email protected]>
-
-From
https://raw.githubusercontent.com/highlightjs/highlight.js/main/src/styles/arduino-light.css
-
-Remove the background for .hljs class
-
-*/
-
-.hljs {
- color: #434f54;
-}
-
-.hljs-subst {
- color: #434f54;
-}
-
-.hljs-keyword,
-.hljs-attribute,
-.hljs-selector-tag,
-.hljs-doctag,
-.hljs-name {
- color: #00979D;
-}
-
-.hljs-built_in,
-.hljs-literal,
-.hljs-bullet,
-.hljs-code,
-.hljs-addition {
- color: #D35400;
-}
-
-.hljs-regexp,
-.hljs-symbol,
-.hljs-variable,
-.hljs-template-variable,
-.hljs-link,
-.hljs-selector-attr,
-.hljs-selector-pseudo {
- color: #00979D;
-}
-
-.hljs-type,
-.hljs-string,
-.hljs-selector-id,
-.hljs-selector-class,
-.hljs-quote,
-.hljs-template-tag,
-.hljs-deletion {
- color: #005C5F;
-}
-
-.hljs-comment {
- color: rgba(149,165,166,.8);
-}
-
-.hljs-meta .hljs-keyword {
-
- color: #728E00;
-}
-
-.hljs-meta {
- color: #434f54;
-}
-
-.hljs-emphasis {
- font-style: italic;
-}
-
-.hljs-strong {
- font-weight: bold;
-}
-
-.hljs-function {
- color: #728E00;
-}
-
-.hljs-title,
-.hljs-section {
- color: #880000;
- font-weight: bold;
-}
-
-.hljs-number {
- color: #8A7B52;
-}
diff --git a/content/resources/css/docco.css b/content/resources/css/docco.css
new file mode 100644
index 0000000..c1284ae
--- /dev/null
+++ b/content/resources/css/docco.css
@@ -0,0 +1,94 @@
+/*
+Docco style used in http://jashkenas.github.com/docco/ converted by Simon
Madine (@thingsinjars)
+https://raw.githubusercontent.com/highlightjs/highlight.js/main/src/styles/docco.css
+Use whatever background pre or code has
+*/
+
+.hljs {
+ color: #000;
+}
+
+.hljs-comment,
+.hljs-quote {
+ color: #408080;
+ font-style: italic;
+}
+
+.hljs-keyword,
+.hljs-selector-tag,
+.hljs-literal,
+.hljs-subst {
+ color: #954121;
+}
+
+.hljs-number {
+ color: #40a070;
+}
+
+.hljs-string,
+.hljs-doctag {
+ color: #219161;
+}
+
+.hljs-selector-id,
+.hljs-selector-class,
+.hljs-section,
+.hljs-type {
+ color: #19469d;
+}
+
+.hljs-params {
+ color: #00f;
+}
+
+.hljs-title {
+ color: #458;
+ font-weight: bold;
+}
+
+.hljs-tag,
+.hljs-name,
+.hljs-attribute {
+ color: #000080;
+ font-weight: normal;
+}
+
+.hljs-variable,
+.hljs-template-variable {
+ color: #008080;
+}
+
+.hljs-regexp,
+.hljs-link {
+ color: #b68;
+}
+
+.hljs-symbol,
+.hljs-bullet {
+ color: #990073;
+}
+
+.hljs-built_in {
+ color: #0086b3;
+}
+
+.hljs-meta {
+ color: #999;
+ font-weight: bold;
+}
+
+.hljs-deletion {
+ background: #fdd;
+}
+
+.hljs-addition {
+ background: #dfd;
+}
+
+.hljs-emphasis {
+ font-style: italic;
+}
+
+.hljs-strong {
+ font-weight: bold;
+}
diff --git a/theme/apache/templates/base.html b/theme/apache/templates/base.html
index 53f5ed5..468ff82 100644
--- a/theme/apache/templates/base.html
+++ b/theme/apache/templates/base.html
@@ -145,7 +145,7 @@ under the License.
<!-- Placed at the end of the document so the pages load faster -->
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js";
type="text/javascript"></script>
<script src="/resources/js/bootstrap.min.js"></script>
- <link rel="stylesheet" href="/resources/css/arduino-light.css">
+ <link rel="stylesheet" href="/resources/css/docco.css">
<script
src="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script>
<script>hljs.highlightAll();</script>