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/openwebbeans-site.git
commit 27a4f47ae37c38f64255c455339e4fdddf1ec58a Author: Dave Fisher <[email protected]> AuthorDate: Mon Jun 7 11:27:14 2021 -0700 highlightjs stylesheet w/ no background color --- content/resources/css/idea.css | 93 ++++++++++++++++++++++++++++++++++++++++ theme/apache/templates/base.html | 2 +- 2 files changed, 94 insertions(+), 1 deletion(-) diff --git a/content/resources/css/idea.css b/content/resources/css/idea.css new file mode 100644 index 0000000..5df61eb --- /dev/null +++ b/content/resources/css/idea.css @@ -0,0 +1,93 @@ +/* + +Intellij Idea-like styling (c) Vasily Polovnyov <[email protected]> + +*/ + +.hljs { + color: #000; +} + +.hljs-subst, +.hljs-title { + font-weight: normal; + color: #000; +} + +.hljs-comment, +.hljs-quote { + color: #808080; + font-style: italic; +} + +.hljs-meta { + color: #808000; +} + +.hljs-tag { + background: #efefef; +} + +.hljs-section, +.hljs-name, +.hljs-literal, +.hljs-keyword, +.hljs-selector-tag, +.hljs-type, +.hljs-selector-id, +.hljs-selector-class { + font-weight: bold; + color: #000080; +} + +.hljs-attribute, +.hljs-number, +.hljs-regexp, +.hljs-link { + font-weight: bold; + color: #0000ff; +} + +.hljs-number, +.hljs-regexp, +.hljs-link { + font-weight: normal; +} + +.hljs-string { + color: #008000; + font-weight: bold; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-formula { + color: #000; + background: #d0eded; + font-style: italic; +} + +.hljs-doctag { + text-decoration: underline; +} + +.hljs-variable, +.hljs-template-variable { + color: #660e7a; +} + +.hljs-addition { + background: #baeeba; +} + +.hljs-deletion { + background: #ffc8bd; +} + +.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 d7ba897..90eaca5 100644 --- a/theme/apache/templates/base.html +++ b/theme/apache/templates/base.html @@ -37,7 +37,7 @@ under the License. </style> <link href="/resources/css/main.css" rel="stylesheet"> <!-- highlighting --> - <link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/idea.min.css"> + <link rel="stylesheet" href="/resources/css/idea.css"> </head>
