aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-07-29 18:14:12 +0100
committerFrankie B <git@diskfloppy.me>2023-07-29 18:14:26 +0100
commite3e6600f2f57d92eca4274462b6c41da9ffcbca1 (patch)
treed8531734b97a634fd27b59b88b999570ded14e55
parentbc129765f1891f727f5bb76b1e903514a118e25e (diff)
Remove unused highlighting styles, change "highlight.js" to just "highlight"
-rw-r--r--public/css/highlight.js/github-dark.min.css10
-rw-r--r--public/css/highlight.js/stackoverflow-dark.css132
-rw-r--r--public/css/highlight/tomorrow-night-bright.css (renamed from public/css/highlight.js/tomorrow-night-bright.css)0
-rw-r--r--resources/views/includes/head-hljs.blade.php2
4 files changed, 1 insertions, 143 deletions
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/tomorrow-night-bright.css
index f909618..f909618 100644
--- a/public/css/highlight.js/tomorrow-night-bright.css
+++ b/public/css/highlight/tomorrow-night-bright.css
diff --git a/resources/views/includes/head-hljs.blade.php b/resources/views/includes/head-hljs.blade.php
index 5011b6e..3419344 100644
--- a/resources/views/includes/head-hljs.blade.php
+++ b/resources/views/includes/head-hljs.blade.php
@@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#333333">
<link rel="stylesheet" href="{{ URL::asset ('css/master.css') }}"/>
- <link rel="stylesheet" href="{{ URL::asset ('css/highlight.js/tomorrow-night-bright.css') }}"/>
+ <link rel="stylesheet" href="{{ URL::asset ('css/highlight/tomorrow-night-bright.css') }}"/>
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"/>
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"/>