main
Last change
on this file since deea3c4 was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
1.7 KB
|
Rev | Line | |
---|
[d24f17c] | 1 | /**
|
---|
| 2 | * prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML
|
---|
| 3 | * Based on https://github.com/chriskempson/tomorrow-theme
|
---|
| 4 | * @author Rose Pritchard
|
---|
| 5 | */
|
---|
| 6 |
|
---|
| 7 | code[class*="language-"],
|
---|
| 8 | pre[class*="language-"] {
|
---|
| 9 | color: #ccc;
|
---|
| 10 | background: none;
|
---|
| 11 | font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
---|
| 12 | font-size: 1em;
|
---|
| 13 | text-align: left;
|
---|
| 14 | white-space: pre;
|
---|
| 15 | word-spacing: normal;
|
---|
| 16 | word-break: normal;
|
---|
| 17 | word-wrap: normal;
|
---|
| 18 | line-height: 1.5;
|
---|
| 19 |
|
---|
| 20 | -moz-tab-size: 4;
|
---|
| 21 | -o-tab-size: 4;
|
---|
| 22 | tab-size: 4;
|
---|
| 23 |
|
---|
| 24 | -webkit-hyphens: none;
|
---|
| 25 | -moz-hyphens: none;
|
---|
| 26 | -ms-hyphens: none;
|
---|
| 27 | hyphens: none;
|
---|
| 28 |
|
---|
| 29 | }
|
---|
| 30 |
|
---|
| 31 | /* Code blocks */
|
---|
| 32 | pre[class*="language-"] {
|
---|
| 33 | padding: 1em;
|
---|
| 34 | margin: .5em 0;
|
---|
| 35 | overflow: auto;
|
---|
| 36 | }
|
---|
| 37 |
|
---|
| 38 | :not(pre) > code[class*="language-"],
|
---|
| 39 | pre[class*="language-"] {
|
---|
| 40 | background: #2d2d2d;
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 | /* Inline code */
|
---|
| 44 | :not(pre) > code[class*="language-"] {
|
---|
| 45 | padding: .1em;
|
---|
| 46 | border-radius: .3em;
|
---|
| 47 | white-space: normal;
|
---|
| 48 | }
|
---|
| 49 |
|
---|
| 50 | .token.comment,
|
---|
| 51 | .token.block-comment,
|
---|
| 52 | .token.prolog,
|
---|
| 53 | .token.doctype,
|
---|
| 54 | .token.cdata {
|
---|
| 55 | color: #999;
|
---|
| 56 | }
|
---|
| 57 |
|
---|
| 58 | .token.punctuation {
|
---|
| 59 | color: #ccc;
|
---|
| 60 | }
|
---|
| 61 |
|
---|
| 62 | .token.tag,
|
---|
| 63 | .token.attr-name,
|
---|
| 64 | .token.namespace,
|
---|
| 65 | .token.deleted {
|
---|
| 66 | color: #e2777a;
|
---|
| 67 | }
|
---|
| 68 |
|
---|
| 69 | .token.function-name {
|
---|
| 70 | color: #6196cc;
|
---|
| 71 | }
|
---|
| 72 |
|
---|
| 73 | .token.boolean,
|
---|
| 74 | .token.number,
|
---|
| 75 | .token.function {
|
---|
| 76 | color: #f08d49;
|
---|
| 77 | }
|
---|
| 78 |
|
---|
| 79 | .token.property,
|
---|
| 80 | .token.class-name,
|
---|
| 81 | .token.constant,
|
---|
| 82 | .token.symbol {
|
---|
| 83 | color: #f8c555;
|
---|
| 84 | }
|
---|
| 85 |
|
---|
| 86 | .token.selector,
|
---|
| 87 | .token.important,
|
---|
| 88 | .token.atrule,
|
---|
| 89 | .token.keyword,
|
---|
| 90 | .token.builtin {
|
---|
| 91 | color: #cc99cd;
|
---|
| 92 | }
|
---|
| 93 |
|
---|
| 94 | .token.string,
|
---|
| 95 | .token.char,
|
---|
| 96 | .token.attr-value,
|
---|
| 97 | .token.regex,
|
---|
| 98 | .token.variable {
|
---|
| 99 | color: #7ec699;
|
---|
| 100 | }
|
---|
| 101 |
|
---|
| 102 | .token.operator,
|
---|
| 103 | .token.entity,
|
---|
| 104 | .token.url {
|
---|
| 105 | color: #67cdcc;
|
---|
| 106 | }
|
---|
| 107 |
|
---|
| 108 | .token.important,
|
---|
| 109 | .token.bold {
|
---|
| 110 | font-weight: bold;
|
---|
| 111 | }
|
---|
| 112 | .token.italic {
|
---|
| 113 | font-style: italic;
|
---|
| 114 | }
|
---|
| 115 |
|
---|
| 116 | .token.entity {
|
---|
| 117 | cursor: help;
|
---|
| 118 | }
|
---|
| 119 |
|
---|
| 120 | .token.inserted {
|
---|
| 121 | color: green;
|
---|
| 122 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.