UNPKG

1.75 kBCSSView Raw
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
7code[class*="language-"],
8pre[class*="language-"] {
9 color: #ccc;
10 background: none;
11 font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
12 text-align: left;
13 white-space: pre;
14 word-spacing: normal;
15 word-break: normal;
16 word-wrap: normal;
17 line-height: 1.5;
18
19 -moz-tab-size: 4;
20 -o-tab-size: 4;
21 tab-size: 4;
22
23 -webkit-hyphens: none;
24 -moz-hyphens: none;
25 -ms-hyphens: none;
26 hyphens: none;
27
28}
29
30/* Code blocks */
31pre[class*="language-"] {
32 padding: 1em;
33 margin: .5em 0;
34 overflow: auto;
35}
36
37:not(pre) > code[class*="language-"],
38pre[class*="language-"] {
39 background: #2d2d2d;
40}
41
42/* Inline code */
43:not(pre) > code[class*="language-"] {
44 padding: .1em;
45 border-radius: .3em;
46 white-space: normal;
47}
48
49.token.comment,
50.token.block-comment,
51.token.prolog,
52.token.doctype,
53.token.cdata {
54 color: #999;
55}
56
57.token.punctuation {
58 color: #ccc;
59}
60
61.token.tag,
62.token.attr-name,
63.token.namespace,
64.token.deleted {
65 color: #e2777a;
66}
67
68.token.function-name {
69 color: #6196cc;
70}
71
72.token.boolean,
73.token.number,
74.token.function {
75 color: #f08d49;
76}
77
78.token.property,
79.token.class-name,
80.token.constant,
81.token.symbol {
82 color: #f8c555;
83}
84
85.token.selector,
86.token.important,
87.token.atrule,
88.token.keyword,
89.token.builtin {
90 color: #cc99cd;
91}
92
93.token.string,
94.token.char,
95.token.attr-value,
96.token.regex,
97.token.variable {
98 color: #7ec699;
99}
100
101.token.operator,
102.token.entity,
103.token.url {
104 color: #67cdcc;
105}
106
107.token.important,
108.token.bold {
109 font-weight: bold;
110}
111.token.italic {
112 font-style: italic;
113}
114
115.token.entity {
116 cursor: help;
117}
118
119.token.inserted {
120 color: green;
121}