Mercurial
comparison third_party/highlight/styles/ascetic.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 | |
| 11 Original style from softwaremaniacs.org (c) Ivan Sagalaev <[email protected]> | |
| 12 | |
| 13 */ | |
| 14 .hljs { | |
| 15 background: white; | |
| 16 color: black | |
| 17 } | |
| 18 .hljs-string, | |
| 19 .hljs-variable, | |
| 20 .hljs-template-variable, | |
| 21 .hljs-symbol, | |
| 22 .hljs-bullet, | |
| 23 .hljs-section, | |
| 24 .hljs-addition, | |
| 25 .hljs-attribute, | |
| 26 .hljs-link { | |
| 27 color: #888 | |
| 28 } | |
| 29 .hljs-comment, | |
| 30 .hljs-quote, | |
| 31 .hljs-meta, | |
| 32 .hljs-deletion { | |
| 33 color: #ccc | |
| 34 } | |
| 35 .hljs-keyword, | |
| 36 .hljs-selector-tag, | |
| 37 .hljs-section, | |
| 38 .hljs-name, | |
| 39 .hljs-type, | |
| 40 .hljs-strong { | |
| 41 font-weight: bold | |
| 42 } | |
| 43 .hljs-emphasis { | |
| 44 font-style: italic | |
| 45 } |