117 lines
2.1 KiB
CSS
117 lines
2.1 KiB
CSS
|
pre code.hljs {
|
||
|
display: block;
|
||
|
overflow-x: auto;
|
||
|
padding: 1em
|
||
|
}
|
||
|
code.hljs {
|
||
|
padding: 3px 5px
|
||
|
}
|
||
|
/*!
|
||
|
Theme: StackOverflow Light
|
||
|
Description: Light 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: #2f3337;
|
||
|
/* var(--highlight-bg) */
|
||
|
background: #f6f6f6
|
||
|
}
|
||
|
.hljs-subst {
|
||
|
/* var(--highlight-color) */
|
||
|
color: #2f3337
|
||
|
}
|
||
|
.hljs-comment {
|
||
|
/* var(--highlight-comment) */
|
||
|
color: #656e77
|
||
|
}
|
||
|
.hljs-keyword,
|
||
|
.hljs-selector-tag,
|
||
|
.hljs-meta .hljs-keyword,
|
||
|
.hljs-doctag,
|
||
|
.hljs-section {
|
||
|
/* var(--highlight-keyword) */
|
||
|
color: #015692
|
||
|
}
|
||
|
.hljs-attr {
|
||
|
/* var(--highlight-attribute); */
|
||
|
color: #015692
|
||
|
}
|
||
|
.hljs-attribute {
|
||
|
/* var(--highlight-symbol) */
|
||
|
color: #803378
|
||
|
}
|
||
|
.hljs-name,
|
||
|
.hljs-type,
|
||
|
.hljs-number,
|
||
|
.hljs-selector-id,
|
||
|
.hljs-quote,
|
||
|
.hljs-template-tag {
|
||
|
/* var(--highlight-namespace) */
|
||
|
color: #b75501
|
||
|
}
|
||
|
.hljs-selector-class {
|
||
|
/* var(--highlight-keyword) */
|
||
|
color: #015692
|
||
|
}
|
||
|
.hljs-string,
|
||
|
.hljs-regexp,
|
||
|
.hljs-symbol,
|
||
|
.hljs-variable,
|
||
|
.hljs-template-variable,
|
||
|
.hljs-link,
|
||
|
.hljs-selector-attr {
|
||
|
/* var(--highlight-variable) */
|
||
|
color: #54790d
|
||
|
}
|
||
|
.hljs-meta,
|
||
|
.hljs-selector-pseudo {
|
||
|
/* var(--highlight-keyword) */
|
||
|
color: #015692
|
||
|
}
|
||
|
.hljs-built_in,
|
||
|
.hljs-title,
|
||
|
.hljs-literal {
|
||
|
/* var(--highlight-literal) */
|
||
|
color: #b75501
|
||
|
}
|
||
|
.hljs-bullet,
|
||
|
.hljs-code {
|
||
|
/* var(--highlight-punctuation) */
|
||
|
color: #535a60
|
||
|
}
|
||
|
.hljs-meta .hljs-string {
|
||
|
/* var(--highlight-variable) */
|
||
|
color: #54790d
|
||
|
}
|
||
|
.hljs-deletion {
|
||
|
/* var(--highlight-deletion) */
|
||
|
color: #c02d2e
|
||
|
}
|
||
|
.hljs-addition {
|
||
|
/* var(--highlight-addition) */
|
||
|
color: #2f6f44
|
||
|
}
|
||
|
.hljs-emphasis {
|
||
|
font-style: italic
|
||
|
}
|
||
|
.hljs-strong {
|
||
|
font-weight: bold
|
||
|
}
|
||
|
.hljs-formula,
|
||
|
.hljs-operator,
|
||
|
.hljs-params,
|
||
|
.hljs-property,
|
||
|
.hljs-punctuation,
|
||
|
.hljs-tag {
|
||
|
/* purposely ignored */
|
||
|
|
||
|
}
|