From e3e6600f2f57d92eca4274462b6c41da9ffcbca1 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Sat, 29 Jul 2023 18:14:12 +0100 Subject: Remove unused highlighting styles, change "highlight.js" to just "highlight" --- public/css/highlight.js/github-dark.min.css | 10 -- public/css/highlight.js/stackoverflow-dark.css | 132 ---------------------- public/css/highlight.js/tomorrow-night-bright.css | 70 ------------ public/css/highlight/tomorrow-night-bright.css | 70 ++++++++++++ 4 files changed, 70 insertions(+), 212 deletions(-) delete mode 100644 public/css/highlight.js/github-dark.min.css delete mode 100644 public/css/highlight.js/stackoverflow-dark.css delete mode 100644 public/css/highlight.js/tomorrow-night-bright.css create mode 100644 public/css/highlight/tomorrow-night-bright.css (limited to 'public') diff --git a/public/css/highlight.js/github-dark.min.css b/public/css/highlight.js/github-dark.min.css deleted file mode 100644 index 03b6da8..0000000 --- a/public/css/highlight.js/github-dark.min.css +++ /dev/null @@ -1,10 +0,0 @@ -pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! - Theme: GitHub Dark - Description: Dark theme as seen on github.com - Author: github.com - Maintainer: @Hirse - Updated: 2021-05-15 - - Outdated base version: https://github.com/primer/github-syntax-dark - Current colors taken from GitHub's CSS -*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#79c0ff}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-code,.hljs-comment,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c} \ No newline at end of file diff --git a/public/css/highlight.js/stackoverflow-dark.css b/public/css/highlight.js/stackoverflow-dark.css deleted file mode 100644 index 7f056e0..0000000 --- a/public/css/highlight.js/stackoverflow-dark.css +++ /dev/null @@ -1,132 +0,0 @@ -/*! - Theme: StackOverflow Dark - Description: Dark theme as used on stackoverflow.com - Author: stackoverflow.com - Maintainer: @Hirse - Website: https://github.com/StackExchange/Stacks - License: MIT - Updated: 2021-05-15 - - Updated for @stackoverflow/stacks v0.64.0 - Code Blocks: /blob/v0.64.0/lib/css/components/_stacks-code-blocks.less - Colors: /blob/v0.64.0/lib/css/exports/_stacks-constants-colors.less -*/ - -.hljs { - /* var(--highlight-color) */ - color: #ffffff; - .hljs { - /* var(--highlight-color) */ - color: #ffffff; - - /* var(--highlight-bg) */ - background: #1c1b1b; - } - background: #1c1b1b; -} - -.hljs-subst { - /* var(--highlight-color) */ - color: #ffffff; -} - -.hljs-comment { - /* var(--highlight-comment) */ - color: #999999; -} - -.hljs-keyword, -.hljs-selector-tag, -.hljs-meta .hljs-keyword, -.hljs-doctag, -.hljs-section { - /* var(--highlight-keyword) */ - color: #88aece; -} - -.hljs-attr { - /* var(--highlight-attribute); */ - color: #88aece; -} - -.hljs-attribute { - /* var(--highlight-symbol) */ - color: #c59bc1; -} - -.hljs-name, -.hljs-type, -.hljs-number, -.hljs-selector-id, -.hljs-quote, -.hljs-template-tag { - /* var(--highlight-namespace) */ - color: #f08d49; -} - -.hljs-selector-class { - /* var(--highlight-keyword) */ - color: #88aece; -} - -.hljs-string, -.hljs-regexp, -.hljs-symbol, -.hljs-variable, -.hljs-template-variable, -.hljs-link, -.hljs-selector-attr { - /* var(--highlight-variable) */ - color: #b5bd68; -} - -.hljs-meta, -.hljs-selector-pseudo { - /* var(--highlight-keyword) */ - color: #88aece; -} - -.hljs-built_in, -.hljs-title, -.hljs-literal { - /* var(--highlight-literal) */ - color: #f08d49; -} - -.hljs-bullet, -.hljs-code { - /* var(--highlight-punctuation) */ - color: #cccccc; -} - -.hljs-meta .hljs-string { - /* var(--highlight-variable) */ - color: #b5bd68; -} - -.hljs-deletion { - /* var(--highlight-deletion) */ - color: #de7176; -} - -.hljs-addition { - /* var(--highlight-addition) */ - color: #76c490; -} - -.hljs-emphasis { - font-style: italic; -} - -.hljs-strong { - font-weight: bold; -} - -.hljs-formula, -.hljs-operator, -.hljs-params, -.hljs-property, -.hljs-punctuation, -.hljs-tag { - /* purposely ignored */ -} diff --git a/public/css/highlight.js/tomorrow-night-bright.css b/public/css/highlight.js/tomorrow-night-bright.css deleted file mode 100644 index f909618..0000000 --- a/public/css/highlight.js/tomorrow-night-bright.css +++ /dev/null @@ -1,70 +0,0 @@ -/* Tomorrow Night Bright Theme */ -/* Original theme - https://github.com/chriskempson/tomorrow-theme */ -/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ - -/* Tomorrow Comment */ -.hljs-comment, -.hljs-quote { - color: #969896; -} - -/* Tomorrow Red */ -.hljs-variable, -.hljs-template-variable, -.hljs-tag, -.hljs-name, -.hljs-selector-id, -.hljs-selector-class, -.hljs-regexp, -.hljs-deletion { - color: #d54e53; -} - -/* Tomorrow Orange */ -.hljs-number, -.hljs-built_in, -.hljs-literal, -.hljs-type, -.hljs-params, -.hljs-meta, -.hljs-link { - color: #e78c45; -} - -/* Tomorrow Yellow */ -.hljs-attribute { - color: #e7c547; -} - -/* Tomorrow Green */ -.hljs-string, -.hljs-symbol, -.hljs-bullet, -.hljs-addition { - color: #b9ca4a; -} - -/* Tomorrow Blue */ -.hljs-title, -.hljs-section { - color: #7aa6da; -} - -/* Tomorrow Purple */ -.hljs-keyword, -.hljs-selector-tag { - color: #c397d8; -} - -.hljs { - background: black; - color: #eaeaea; -} - -.hljs-emphasis { - font-style: italic; -} - -.hljs-strong { - font-weight: bold; -} diff --git a/public/css/highlight/tomorrow-night-bright.css b/public/css/highlight/tomorrow-night-bright.css new file mode 100644 index 0000000..f909618 --- /dev/null +++ b/public/css/highlight/tomorrow-night-bright.css @@ -0,0 +1,70 @@ +/* Tomorrow Night Bright Theme */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ + +/* Tomorrow Comment */ +.hljs-comment, +.hljs-quote { + color: #969896; +} + +/* Tomorrow Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-regexp, +.hljs-deletion { + color: #d54e53; +} + +/* Tomorrow Orange */ +.hljs-number, +.hljs-built_in, +.hljs-literal, +.hljs-type, +.hljs-params, +.hljs-meta, +.hljs-link { + color: #e78c45; +} + +/* Tomorrow Yellow */ +.hljs-attribute { + color: #e7c547; +} + +/* Tomorrow Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-addition { + color: #b9ca4a; +} + +/* Tomorrow Blue */ +.hljs-title, +.hljs-section { + color: #7aa6da; +} + +/* Tomorrow Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #c397d8; +} + +.hljs { + background: black; + color: #eaeaea; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} -- cgit v1.2.3-54-g00ecf