Mercurial
comparison third_party/highlight/styles/docco.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 Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars) | |
| 11 */ | |
| 12 .hljs { | |
| 13 color: #000; | |
| 14 background: #f8f8ff | |
| 15 } | |
| 16 .hljs-comment, | |
| 17 .hljs-quote { | |
| 18 color: #408080; | |
| 19 font-style: italic | |
| 20 } | |
| 21 .hljs-keyword, | |
| 22 .hljs-selector-tag, | |
| 23 .hljs-literal, | |
| 24 .hljs-subst { | |
| 25 color: #954121 | |
| 26 } | |
| 27 .hljs-number { | |
| 28 color: #40a070 | |
| 29 } | |
| 30 .hljs-string, | |
| 31 .hljs-doctag { | |
| 32 color: #219161 | |
| 33 } | |
| 34 .hljs-selector-id, | |
| 35 .hljs-selector-class, | |
| 36 .hljs-section, | |
| 37 .hljs-type { | |
| 38 color: #19469d | |
| 39 } | |
| 40 .hljs-params { | |
| 41 color: #00f | |
| 42 } | |
| 43 .hljs-title { | |
| 44 color: #458; | |
| 45 font-weight: bold | |
| 46 } | |
| 47 .hljs-tag, | |
| 48 .hljs-name, | |
| 49 .hljs-attribute { | |
| 50 color: #000080; | |
| 51 font-weight: normal | |
| 52 } | |
| 53 .hljs-variable, | |
| 54 .hljs-template-variable { | |
| 55 color: #008080 | |
| 56 } | |
| 57 .hljs-regexp, | |
| 58 .hljs-link { | |
| 59 color: #b68 | |
| 60 } | |
| 61 .hljs-symbol, | |
| 62 .hljs-bullet { | |
| 63 color: #990073 | |
| 64 } | |
| 65 .hljs-built_in { | |
| 66 color: #0086b3 | |
| 67 } | |
| 68 .hljs-meta { | |
| 69 color: #999; | |
| 70 font-weight: bold | |
| 71 } | |
| 72 .hljs-deletion { | |
| 73 background: #fdd | |
| 74 } | |
| 75 .hljs-addition { | |
| 76 background: #dfd | |
| 77 } | |
| 78 .hljs-emphasis { | |
| 79 font-style: italic | |
| 80 } | |
| 81 .hljs-strong { | |
| 82 font-weight: bold | |
| 83 } |