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/olingo-site.git

commit 6c3dc8b76edd8f9eb8e1996bd4d7b3168c6afe98
Author: Dave Fisher <[email protected]>
AuthorDate: Fri Jun 4 11:53:41 2021 -0700

    adjust syntax highlighting from highlight.js
---
 content/css/xcode.css            | 103 +++++++++++++++++++++++++++++++++++++++
 theme/apache/templates/base.html |   3 +-
 2 files changed, 104 insertions(+), 2 deletions(-)

diff --git a/content/css/xcode.css b/content/css/xcode.css
new file mode 100644
index 0000000..ff6b972
--- /dev/null
+++ b/content/css/xcode.css
@@ -0,0 +1,103 @@
+/*
+
+XCode style (c) Angel Garcia <[email protected]>
+
+Changed background color
+ 
+*/
+
+.hljs {
+  background: #f5f5f5;
+  color: black;
+}
+
+/* Gray DOCTYPE selectors like WebKit */
+.xml .hljs-meta {
+  color: #c0c0c0;
+}
+
+.hljs-comment,
+.hljs-quote {
+  color: #007400;
+}
+
+.hljs-tag,
+.hljs-attribute,
+.hljs-keyword,
+.hljs-selector-tag,
+.hljs-literal,
+.hljs-name {
+  color: #aa0d91;
+}
+
+.hljs-variable,
+.hljs-template-variable {
+  color: #3F6E74;
+}
+
+.hljs-code,
+.hljs-string,
+.hljs-meta .hljs-string {
+  color: #c41a16;
+}
+
+.hljs-regexp,
+.hljs-link {
+  color: #0E0EFF;
+}
+
+.hljs-title,
+.hljs-symbol,
+.hljs-bullet,
+.hljs-number {
+  color: #1c00cf;
+}
+
+.hljs-section,
+.hljs-meta {
+  color: #643820;
+}
+
+
+.hljs-title.class_,
+.hljs-class .hljs-title,
+.hljs-type,
+.hljs-built_in,
+.hljs-params {
+  color: #5c2699;
+}
+
+.hljs-attr {
+  color: #836C28;
+}
+
+.hljs-subst {
+  color: #000;
+}
+
+.hljs-formula {
+  background-color: #eee;
+  font-style: italic;
+}
+
+.hljs-addition {
+  background-color: #baeeba;
+}
+
+.hljs-deletion {
+  background-color: #ffc8bd;
+}
+
+.hljs-selector-id,
+.hljs-selector-class {
+  color: #9b703f;
+}
+
+.hljs-doctag,
+.hljs-strong {
+  font-weight: bold;
+}
+
+.hljs-emphasis {
+  font-style: italic;
+}
diff --git a/theme/apache/templates/base.html b/theme/apache/templates/base.html
index e24a4b3..bbd2b8f 100644
--- a/theme/apache/templates/base.html
+++ b/theme/apache/templates/base.html
@@ -125,8 +125,7 @@ under the License.
     </script>
     <script src="/js/offcanvas.js" type="text/javascript">
     </script>
-    <link rel="stylesheet"
-      
href="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/xcode.min.css">
+    <link rel="stylesheet" href="/css/xcode.css">
     <script 
src="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script>
     <script>hljs.highlightAll();</script>
   </body>

Reply via email to