Mercurial
comparison third_party/highlight/styles/rainbow.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 | |
| 11 Style with support for rainbow parens | |
| 12 | |
| 13 */ | |
| 14 .hljs { | |
| 15 background: #474949; | |
| 16 color: #d1d9e1 | |
| 17 } | |
| 18 .hljs-comment, | |
| 19 .hljs-quote { | |
| 20 color: #969896; | |
| 21 font-style: italic | |
| 22 } | |
| 23 .hljs-keyword, | |
| 24 .hljs-selector-tag, | |
| 25 .hljs-literal, | |
| 26 .hljs-type, | |
| 27 .hljs-addition { | |
| 28 color: #cc99cc | |
| 29 } | |
| 30 .hljs-number, | |
| 31 .hljs-selector-attr, | |
| 32 .hljs-selector-pseudo { | |
| 33 color: #f99157 | |
| 34 } | |
| 35 .hljs-string, | |
| 36 .hljs-doctag, | |
| 37 .hljs-regexp { | |
| 38 color: #8abeb7 | |
| 39 } | |
| 40 .hljs-title, | |
| 41 .hljs-name, | |
| 42 .hljs-section, | |
| 43 .hljs-built_in { | |
| 44 color: #b5bd68 | |
| 45 } | |
| 46 .hljs-variable, | |
| 47 .hljs-template-variable, | |
| 48 .hljs-selector-id, | |
| 49 .hljs-title.class_, | |
| 50 .hljs-class .hljs-title { | |
| 51 color: #ffcc66 | |
| 52 } | |
| 53 .hljs-section, | |
| 54 .hljs-name, | |
| 55 .hljs-strong { | |
| 56 font-weight: bold | |
| 57 } | |
| 58 .hljs-symbol, | |
| 59 .hljs-bullet, | |
| 60 .hljs-subst, | |
| 61 .hljs-meta, | |
| 62 .hljs-link { | |
| 63 color: #f99157 | |
| 64 } | |
| 65 .hljs-deletion { | |
| 66 color: #dc322f | |
| 67 } | |
| 68 .hljs-formula { | |
| 69 background: #eee8d5 | |
| 70 } | |
| 71 .hljs-attr, | |
| 72 .hljs-attribute { | |
| 73 color: #81a2be | |
| 74 } | |
| 75 .hljs-emphasis { | |
| 76 font-style: italic | |
| 77 } |