Remove unused highlighting styles, change "highlight.js" to just "highlight"
This commit is contained in:
parent
bc129765f1
commit
e3e6600f2f
4 changed files with 1 additions and 143 deletions
10
public/css/highlight.js/github-dark.min.css
vendored
10
public/css/highlight.js/github-dark.min.css
vendored
|
@ -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}
|
|
@ -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 */
|
||||
}
|
|
@ -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"/>
|
||||
|
||||
|
|
Loading…
Reference in a new issue