| .hljs-comment, | |
| .hljs-quote { | |
| color: #d4d0ab; | |
| } | |
| /* Red */ | |
| .hljs-variable, | |
| .hljs-template-variable, | |
| .hljs-tag, | |
| .hljs-name, | |
| .hljs-selector-id, | |
| .hljs-selector-class, | |
| .hljs-regexp, | |
| .hljs-deletion { | |
| color: #ffa07a; | |
| } | |
| /* Orange */ | |
| .hljs-number, | |
| .hljs-built_in, | |
| .hljs-builtin-name, | |
| .hljs-literal, | |
| .hljs-type, | |
| .hljs-params, | |
| .hljs-meta, | |
| .hljs-link { | |
| color: #f5ab35; | |
| } | |
| /* Yellow */ | |
| .hljs-attribute { | |
| color: #ffd700; | |
| } | |
| /* Green */ | |
| .hljs-string, | |
| .hljs-symbol, | |
| .hljs-bullet, | |
| .hljs-addition { | |
| color: #abe338; | |
| } | |
| /* Blue */ | |
| .hljs-title, | |
| .hljs-section { | |
| color: #00e0e0; | |
| } | |
| /* Purple */ | |
| .hljs-keyword, | |
| .hljs-selector-tag { | |
| color: #dcc6e0; | |
| } | |
| .hljs { | |
| overflow: auto; | |
| display: block; | |
| width: auto; | |
| background: hsla(var(--app-code-block)); | |
| color: #f8f8f2; | |
| padding: 16px; | |
| font-size: 14px; | |
| word-wrap: normal; | |
| border-radius: 0.4rem; | |
| margin-top: 1rem; | |
| margin-bottom: 1rem; | |
| white-space: normal; | |
| } | |
| pre > code { | |
| display: block; | |
| text-indent: 0; | |
| white-space: pre; | |
| max-width: 40vw; | |
| } | |
| .hljs-emphasis { | |
| font-style: italic; | |
| } | |
| .hljs-strong { | |
| font-weight: bold; | |
| } | |
| @media screen and (-ms-high-contrast: active) { | |
| .hljs-addition, | |
| .hljs-attribute, | |
| .hljs-built_in, | |
| .hljs-builtin-name, | |
| .hljs-bullet, | |
| .hljs-comment, | |
| .hljs-link, | |
| .hljs-literal, | |
| .hljs-meta, | |
| .hljs-number, | |
| .hljs-params, | |
| .hljs-string, | |
| .hljs-symbol, | |
| .hljs-type, | |
| .hljs-quote { | |
| color: highlight; | |
| } | |
| .hljs-keyword, | |
| .hljs-selector-tag { | |
| font-weight: bold; | |
| } | |
| } | |