prettify-tomorrow.css
133 lines
| 1 | /* Tomorrow Theme */ |
| 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ |
| 3 | /* Pretty printing styles. Used with prettify.js. */ |
| 4 | /* SPAN elements with the classes below are added by prettyprint. */ |
| 5 | /* plain text */ |
| 6 | .pln { |
| 7 | color: #4d4d4c; } |
| 8 | |
| 9 | @media screen { |
| 10 | /* string content */ |
| 11 | .str { |
| 12 | color: #718c00; } |
| 13 | |
| 14 | /* a keyword */ |
| 15 | .kwd { |
| 16 | color: #8959a8; } |
| 17 | |
| 18 | /* a comment */ |
| 19 | .com { |
| 20 | color: #8e908c; } |
| 21 | |
| 22 | /* a type name */ |
| 23 | .typ { |
| 24 | color: #4271ae; } |
| 25 | |
| 26 | /* a literal value */ |
| 27 | .lit { |
| 28 | color: #f5871f; } |
| 29 | |
| 30 | /* punctuation */ |
| 31 | .pun { |
| 32 | color: #4d4d4c; } |
| 33 | |
| 34 | /* lisp open bracket */ |
| 35 | .opn { |
| 36 | color: #4d4d4c; } |
| 37 | |
| 38 | /* lisp close bracket */ |
| 39 | .clo { |
| 40 | color: #4d4d4c; } |
| 41 | |
| 42 | /* a markup tag name */ |
| 43 | .tag { |
| 44 | color: #c82829; } |
| 45 | |
| 46 | /* a markup attribute name */ |
| 47 | .atn { |
| 48 | color: #f5871f; } |
| 49 | |
| 50 | /* a markup attribute value */ |
| 51 | .atv { |
| 52 | color: #3e999f; } |
| 53 | |
| 54 | /* a declaration */ |
| 55 | .dec { |
| 56 | color: #f5871f; } |
| 57 | |
| 58 | /* a variable name */ |
| 59 | .var { |
| 60 | color: #c82829; } |
| 61 | |
| 62 | /* a function name */ |
| 63 | .fun { |
| 64 | color: #4271ae; } } |
| 65 | /* Use higher contrast and text-weight for printable form. */ |
| 66 | @media print, projection { |
| 67 | .str { |
| 68 | color: #060; } |
| 69 | |
| 70 | .kwd { |
| 71 | color: #006; |
| 72 | font-weight: bold; } |
| 73 | |
| 74 | .com { |
| 75 | color: #600; |
| 76 | font-style: italic; } |
| 77 | |
| 78 | .typ { |
| 79 | color: #404; |
| 80 | font-weight: bold; } |
| 81 | |
| 82 | .lit { |
| 83 | color: #044; } |
| 84 | |
| 85 | .pun, .opn, .clo { |
| 86 | color: #440; } |
| 87 | |
| 88 | .tag { |
| 89 | color: #006; |
| 90 | font-weight: bold; } |
| 91 | |
| 92 | .atn { |
| 93 | color: #404; } |
| 94 | |
| 95 | .atv { |
| 96 | color: #060; } } |
| 97 | /* Style */ |
| 98 | /* |
| 99 | pre.prettyprint { |
| 100 | background: white; |
| 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; |
| 102 | font-size: 12px; |
| 103 | line-height: 1.5; |
| 104 | border: 1px solid #ccc; |
| 105 | padding: 10px; } |
| 106 | */ |
| 107 | |
| 108 | /* Specify class=linenums on a pre to get line numbering */ |
| 109 | ol.linenums { |
| 110 | margin-top: 0; |
| 111 | margin-bottom: 0; } |
| 112 | |
| 113 | /* IE indents via margin-left */ |
| 114 | li.L0, |
| 115 | li.L1, |
| 116 | li.L2, |
| 117 | li.L3, |
| 118 | li.L4, |
| 119 | li.L5, |
| 120 | li.L6, |
| 121 | li.L7, |
| 122 | li.L8, |
| 123 | li.L9 { |
| 124 | /* */ } |
| 125 | |
| 126 | /* Alternate shading for lines */ |
| 127 | li.L1, |
| 128 | li.L3, |
| 129 | li.L5, |
| 130 | li.L7, |
| 131 | li.L9 { |
| 132 | /* */ } |
| 133 |