Mercurial
comparison third_party/highlight/styles/agate.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 Theme: Agate | |
| 11 Author: (c) Taufik Nurrohman <[email protected]> | |
| 12 Maintainer: @taufik-nurrohman | |
| 13 Updated: 2021-04-24 | |
| 14 | |
| 15 #333 | |
| 16 #62c8f3 | |
| 17 #7bd694 | |
| 18 #888 | |
| 19 #a2fca2 | |
| 20 #ade5fc | |
| 21 #b8d8a2 | |
| 22 #c6b4f0 | |
| 23 #d36363 | |
| 24 #fc9b9b | |
| 25 #fcc28c | |
| 26 #ffa | |
| 27 #fff | |
| 28 */ | |
| 29 .hljs { | |
| 30 background: #333; | |
| 31 color: #fff | |
| 32 } | |
| 33 .hljs-doctag, | |
| 34 .hljs-meta-keyword, | |
| 35 .hljs-name, | |
| 36 .hljs-strong { | |
| 37 font-weight: bold | |
| 38 } | |
| 39 .hljs-code, | |
| 40 .hljs-emphasis { | |
| 41 font-style: italic | |
| 42 } | |
| 43 .hljs-section, | |
| 44 .hljs-tag { | |
| 45 color: #62c8f3 | |
| 46 } | |
| 47 .hljs-selector-class, | |
| 48 .hljs-selector-id, | |
| 49 .hljs-template-variable, | |
| 50 .hljs-variable { | |
| 51 color: #ade5fc | |
| 52 } | |
| 53 .hljs-meta-string, | |
| 54 .hljs-string { | |
| 55 color: #a2fca2 | |
| 56 } | |
| 57 .hljs-attr, | |
| 58 .hljs-quote, | |
| 59 .hljs-selector-attr { | |
| 60 color: #7bd694 | |
| 61 } | |
| 62 .hljs-tag .hljs-attr { | |
| 63 color: inherit | |
| 64 } | |
| 65 .hljs-attribute, | |
| 66 .hljs-title, | |
| 67 .hljs-type { | |
| 68 color: #ffa | |
| 69 } | |
| 70 .hljs-number, | |
| 71 .hljs-symbol { | |
| 72 color: #d36363 | |
| 73 } | |
| 74 .hljs-bullet, | |
| 75 .hljs-template-tag { | |
| 76 color: #b8d8a2 | |
| 77 } | |
| 78 .hljs-built_in, | |
| 79 .hljs-keyword, | |
| 80 .hljs-literal, | |
| 81 .hljs-selector-tag { | |
| 82 color: #fcc28c | |
| 83 } | |
| 84 .hljs-code, | |
| 85 .hljs-comment, | |
| 86 .hljs-formula { | |
| 87 color: #888 | |
| 88 } | |
| 89 .hljs-link, | |
| 90 .hljs-selector-pseudo, | |
| 91 .hljs-regexp { | |
| 92 color: #c6b4f0 | |
| 93 } | |
| 94 .hljs-meta { | |
| 95 color: #fc9b9b | |
| 96 } | |
| 97 .hljs-deletion { | |
| 98 background: #fc9b9b; | |
| 99 color: #333 | |
| 100 } | |
| 101 .hljs-addition { | |
| 102 background: #a2fca2; | |
| 103 color: #333 | |
| 104 } | |
| 105 /* Purposely ignored */ | |
| 106 .hljs-operator, | |
| 107 .hljs-params, | |
| 108 .hljs-property, | |
| 109 .hljs-punctuation { | |
| 110 | |
| 111 } | |
| 112 .hljs-subst { | |
| 113 color: #fff | |
| 114 } | |
| 115 /* This applies only if HTML auto-merging plugin is enabled by user (#2889) */ | |
| 116 .hljs a { | |
| 117 color: inherit | |
| 118 } | |
| 119 .hljs a:focus, | |
| 120 .hljs a:hover { | |
| 121 color: inherit; | |
| 122 text-decoration: underline | |
| 123 } | |
| 124 .hljs mark { | |
| 125 background: #555; | |
| 126 color: inherit | |
| 127 } |