OLD | NEW |
(Empty) | |
| 1 /* |
| 2 codepen.io Embed Theme |
| 3 Author: Justin Perry <http://github.com/ourmaninamsterdam> |
| 4 Original theme - https://github.com/chriskempson/tomorrow-theme |
| 5 */ |
| 6 |
| 7 .hljs { |
| 8 display: block; |
| 9 overflow-x: auto; |
| 10 padding: 0.5em; |
| 11 background: #222; |
| 12 color: #fff; |
| 13 font-family: Menlo, Monaco, 'Andale Mono', 'Lucida Console', 'Courier New', mo
nospace; |
| 14 -webkit-text-size-adjust: none; |
| 15 } |
| 16 |
| 17 .hljs-comment, |
| 18 .hljs-title { |
| 19 color: #777; |
| 20 } |
| 21 |
| 22 .hljs-variable, |
| 23 .hljs-attribute, |
| 24 .hljs-tag, |
| 25 .hljs-regexp, |
| 26 .ruby .constant, |
| 27 .xml .tag .title, |
| 28 .xml .pi, |
| 29 .xml .doctype, |
| 30 .html .doctype { |
| 31 color: #ab875d; |
| 32 } |
| 33 |
| 34 .css .value { |
| 35 color: #cd6a51; |
| 36 } |
| 37 |
| 38 .css .value .function, |
| 39 .css .value .string { |
| 40 color: #a67f59; |
| 41 } |
| 42 |
| 43 .css .value .number { |
| 44 color: #9b869c; |
| 45 } |
| 46 |
| 47 .css .id, |
| 48 .css .class, |
| 49 .css-pseudo, |
| 50 .css .selector, |
| 51 .css .tag { |
| 52 color: #dfc48c; |
| 53 } |
| 54 |
| 55 .hljs-number, |
| 56 .hljs-preprocessor, |
| 57 .hljs-built_in, |
| 58 .hljs-literal, |
| 59 .hljs-params, |
| 60 .hljs-constant { |
| 61 color: #ab875d; |
| 62 } |
| 63 |
| 64 .ruby .class .title, |
| 65 .css .rules .attribute { |
| 66 color: #9b869b; |
| 67 } |
| 68 |
| 69 .hljs-string, |
| 70 .hljs-value, |
| 71 .hljs-inheritance, |
| 72 .hljs-header, |
| 73 .ruby .symbol, |
| 74 .xml .cdata { |
| 75 color: #8f9c6c; |
| 76 } |
| 77 |
| 78 .css .hexcolor { |
| 79 color: #cd6a51; |
| 80 } |
| 81 |
| 82 .function, |
| 83 .python .decorator, |
| 84 .python .title, |
| 85 .ruby .function .title, |
| 86 .ruby .title .keyword, |
| 87 .perl .sub, |
| 88 .javascript .title, |
| 89 .coffeescript .title { |
| 90 color: #fff; |
| 91 } |
| 92 |
| 93 .hljs-keyword, |
| 94 .javascript .function { |
| 95 color: #8f9c6c; |
| 96 } |
| 97 |
| 98 .coffeescript .javascript, |
| 99 .javascript, |
| 100 .javascript .xml, |
| 101 .tex .formula, |
| 102 .xml .javascript, |
| 103 .xml .vbscript, |
| 104 .xml .css, |
| 105 .xml .cdata { |
| 106 background: transparent; |
| 107 opacity: 1; |
| 108 } |
OLD | NEW |