From 16f88947eafa390dcc8fd74146b14eb642bb397d Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 9 Feb 2021 15:29:58 +0100 Subject: [PATCH] Fix conflict hightlight and codemirror --- www/common/highlight/styles/dark.css | 76 ++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 www/common/highlight/styles/dark.css diff --git a/www/common/highlight/styles/dark.css b/www/common/highlight/styles/dark.css new file mode 100644 index 000000000..d591db680 --- /dev/null +++ b/www/common/highlight/styles/dark.css @@ -0,0 +1,76 @@ +/* + +Dracula Theme v1.2.0 + +https://github.com/zenorocha/dracula-theme + +Copyright 2015, All rights reserved + +Code licensed under the MIT license +http://zenorocha.mit-license.org + +@author Éverton Ribeiro +@author Zeno Rocha + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #282a36; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-section, +.hljs-link { + color: #8be9fd; +} + +.hljs-function .hljs-keyword { + color: #ff79c6; +} + +.hljs, +.hljs-subst { + color: #f8f8f2; +} + +.hljs-string, +.hljs-title, +.hljs-name, +.hljs-type, +.hljs-attribute, +.hljs-symbol, +.hljs-bullet, +.hljs-addition, +.hljs-variable, +.hljs-template-tag, +.hljs-template-variable { + color: #f1fa8c; +} + +.hljs-comment, +.hljs-quote, +.hljs-deletion, +.hljs-meta { + color: #6272a4; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-title, +.hljs-section, +.hljs-doctag, +.hljs-type, +.hljs-name, +.hljs-strong { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +}