Mercurial
comparison third_party/highlight/styles/obsidian.css @ 157:2db6253f355d
[ThirdParty] Added highlight library for better readability on blog.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Tue, 13 Jan 2026 19:18:47 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 156:cd35e600ae34 | 157:2db6253f355d |
|---|---|
| 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 * Obsidian style | |
| 11 * ported by Alexander Marenin (http://github.com/ioncreature) | |
| 12 */ | |
| 13 .hljs { | |
| 14 color: #e0e2e4; | |
| 15 background: #282b2e | |
| 16 } | |
| 17 .hljs-keyword, | |
| 18 .hljs-selector-tag, | |
| 19 .hljs-literal, | |
| 20 .hljs-selector-id { | |
| 21 color: #93c763 | |
| 22 } | |
| 23 .hljs-number { | |
| 24 color: #ffcd22 | |
| 25 } | |
| 26 .hljs-attribute { | |
| 27 color: #668bb0 | |
| 28 } | |
| 29 .hljs-regexp, | |
| 30 .hljs-link { | |
| 31 color: #d39745 | |
| 32 } | |
| 33 .hljs-meta { | |
| 34 color: #557182 | |
| 35 } | |
| 36 .hljs-tag, | |
| 37 .hljs-name, | |
| 38 .hljs-bullet, | |
| 39 .hljs-subst, | |
| 40 .hljs-emphasis, | |
| 41 .hljs-type, | |
| 42 .hljs-built_in, | |
| 43 .hljs-selector-attr, | |
| 44 .hljs-selector-pseudo, | |
| 45 .hljs-addition, | |
| 46 .hljs-variable, | |
| 47 .hljs-template-tag, | |
| 48 .hljs-template-variable { | |
| 49 color: #8cbbad | |
| 50 } | |
| 51 .hljs-string, | |
| 52 .hljs-symbol { | |
| 53 color: #ec7600 | |
| 54 } | |
| 55 .hljs-comment, | |
| 56 .hljs-quote, | |
| 57 .hljs-deletion { | |
| 58 color: #818e96 | |
| 59 } | |
| 60 .hljs-selector-class { | |
| 61 color: #A082BD | |
| 62 } | |
| 63 .hljs-keyword, | |
| 64 .hljs-selector-tag, | |
| 65 .hljs-literal, | |
| 66 .hljs-doctag, | |
| 67 .hljs-title, | |
| 68 .hljs-section, | |
| 69 .hljs-type, | |
| 70 .hljs-name, | |
| 71 .hljs-strong { | |
| 72 font-weight: bold | |
| 73 } | |
| 74 .hljs-code, | |
| 75 .hljs-title.class_, | |
| 76 .hljs-class .hljs-title, | |
| 77 .hljs-section { | |
| 78 color: white | |
| 79 } |