Mercurial
comparison third_party/highlight/styles/a11y-light.css @ 173:827c6ac504cd hg-web
Merged in default here.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 19 Jan 2026 18:59:10 -0800 |
| parents | 2db6253f355d |
| children |
comparison
equal
deleted
inserted
replaced
| 151:c033667da5f9 | 173:827c6ac504cd |
|---|---|
| 1 pre code.hljs { | |
| 2 display: block; | |
| 3 overflow-x: auto; | |
| 4 padding: 1em | |
| 5 } | |
| 6 code.hljs { | |
| 7 padding: 3px 5px | |
| 8 } | |
| 9 /*! | |
| 10 Theme: a11y-light | |
| 11 Author: @ericwbailey | |
| 12 Maintainer: @ericwbailey | |
| 13 | |
| 14 Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css | |
| 15 */ | |
| 16 .hljs { | |
| 17 background: #fefefe; | |
| 18 color: #545454 | |
| 19 } | |
| 20 /* Comment */ | |
| 21 .hljs-comment, | |
| 22 .hljs-quote { | |
| 23 color: #696969 | |
| 24 } | |
| 25 /* Red */ | |
| 26 .hljs-variable, | |
| 27 .hljs-template-variable, | |
| 28 .hljs-tag, | |
| 29 .hljs-name, | |
| 30 .hljs-selector-id, | |
| 31 .hljs-selector-class, | |
| 32 .hljs-regexp, | |
| 33 .hljs-deletion { | |
| 34 color: #d91e18 | |
| 35 } | |
| 36 /* Orange */ | |
| 37 .hljs-number, | |
| 38 .hljs-built_in, | |
| 39 .hljs-literal, | |
| 40 .hljs-type, | |
| 41 .hljs-params, | |
| 42 .hljs-meta, | |
| 43 .hljs-link { | |
| 44 color: #aa5d00 | |
| 45 } | |
| 46 /* Yellow */ | |
| 47 .hljs-attribute { | |
| 48 color: #aa5d00 | |
| 49 } | |
| 50 /* Green */ | |
| 51 .hljs-string, | |
| 52 .hljs-symbol, | |
| 53 .hljs-bullet, | |
| 54 .hljs-addition { | |
| 55 color: #008000 | |
| 56 } | |
| 57 /* Blue */ | |
| 58 .hljs-title, | |
| 59 .hljs-section { | |
| 60 color: #007faa | |
| 61 } | |
| 62 /* Purple */ | |
| 63 .hljs-keyword, | |
| 64 .hljs-selector-tag { | |
| 65 color: #7928a1 | |
| 66 } | |
| 67 .hljs-emphasis { | |
| 68 font-style: italic | |
| 69 } | |
| 70 .hljs-strong { | |
| 71 font-weight: bold | |
| 72 } | |
| 73 @media screen and (-ms-high-contrast: active) { | |
| 74 .hljs-addition, | |
| 75 .hljs-attribute, | |
| 76 .hljs-built_in, | |
| 77 .hljs-bullet, | |
| 78 .hljs-comment, | |
| 79 .hljs-link, | |
| 80 .hljs-literal, | |
| 81 .hljs-meta, | |
| 82 .hljs-number, | |
| 83 .hljs-params, | |
| 84 .hljs-string, | |
| 85 .hljs-symbol, | |
| 86 .hljs-type, | |
| 87 .hljs-quote { | |
| 88 color: highlight | |
| 89 } | |
| 90 .hljs-keyword, | |
| 91 .hljs-selector-tag { | |
| 92 font-weight: bold | |
| 93 } | |
| 94 } |