You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by wa...@apache.org on 2021/06/05 19:50:14 UTC
[olingo-site] 10/15: Try docco
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 e259ce098b974ebeac1cc1398e9f450aa8d594b4
Author: Dave Fisher <da...@davefisher.tech>
AuthorDate: Fri Jun 4 14:58:44 2021 -0700
Try docco
---
content/css/docco.css | 94 ++++++++++++++++++++++++++++++++++++++++
theme/apache/templates/base.html | 2 +-
2 files changed, 95 insertions(+), 1 deletion(-)
diff --git a/content/css/docco.css b/content/css/docco.css
new file mode 100644
index 0000000..c1284ae
--- /dev/null
+++ b/content/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 bbd2b8f..1b724f0 100644
--- a/theme/apache/templates/base.html
+++ b/theme/apache/templates/base.html
@@ -125,7 +125,7 @@ under the License.
</script>
<script src="/js/offcanvas.js" type="text/javascript">
</script>
- <link rel="stylesheet" href="/css/xcode.css">
+ <link rel="stylesheet" href="/css/docco.css">
<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.0.1/build/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
</body>