diff options
Diffstat (limited to 'presentation/plugin/highlight/highlight.css')
-rw-r--r-- | presentation/plugin/highlight/highlight.css | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/presentation/plugin/highlight/highlight.css b/presentation/plugin/highlight/highlight.css new file mode 100644 index 0000000..c32b9dc --- /dev/null +++ b/presentation/plugin/highlight/highlight.css @@ -0,0 +1,133 @@ +/*! + 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: #fff; +} + +.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 */ +} + +pre.code-wrapper { + box-shadow: none !important; +} + +.reveal pre code { + max-height: none !important; +} |