Commit | Line | Data |
---|---|---|
e99c53fb BA |
1 | /* PrismJS 1.10.0 |
2 | http://prismjs.com/download.html?themes=prism&languages=clike+python+sql&plugins=autoloader */ | |
3 | /** | |
4 | * prism.js default theme for JavaScript, CSS and HTML | |
5 | * Based on dabblet (http://dabblet.com) | |
6 | * @author Lea Verou | |
7 | */ | |
8 | ||
9 | code[class*="language-"], | |
10 | pre[class*="language-"] { | |
11 | color: black; | |
12 | background: none; | |
13 | text-shadow: 0 1px white; | |
14 | font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; | |
15 | text-align: left; | |
16 | white-space: pre; | |
17 | word-spacing: normal; | |
18 | word-break: normal; | |
19 | word-wrap: normal; | |
20 | line-height: 1.5; | |
21 | ||
22 | -moz-tab-size: 4; | |
23 | -o-tab-size: 4; | |
24 | tab-size: 4; | |
25 | ||
26 | -webkit-hyphens: none; | |
27 | -moz-hyphens: none; | |
28 | -ms-hyphens: none; | |
29 | hyphens: none; | |
30 | } | |
31 | ||
32 | pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, | |
33 | code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { | |
34 | text-shadow: none; | |
35 | background: #b3d4fc; | |
36 | } | |
37 | ||
38 | pre[class*="language-"]::selection, pre[class*="language-"] ::selection, | |
39 | code[class*="language-"]::selection, code[class*="language-"] ::selection { | |
40 | text-shadow: none; | |
41 | background: #b3d4fc; | |
42 | } | |
43 | ||
44 | @media print { | |
45 | code[class*="language-"], | |
46 | pre[class*="language-"] { | |
47 | text-shadow: none; | |
48 | } | |
49 | } | |
50 | ||
51 | /* Code blocks */ | |
52 | pre[class*="language-"] { | |
53 | padding: 1em; | |
54 | margin: .5em 0; | |
55 | overflow: auto; | |
56 | } | |
57 | ||
58 | :not(pre) > code[class*="language-"], | |
59 | pre[class*="language-"] { | |
60 | background: #f5f2f0; | |
61 | } | |
62 | ||
63 | /* Inline code */ | |
64 | :not(pre) > code[class*="language-"] { | |
65 | padding: .1em; | |
66 | border-radius: .3em; | |
67 | white-space: normal; | |
68 | } | |
69 | ||
70 | .token.comment, | |
71 | .token.prolog, | |
72 | .token.doctype, | |
73 | .token.cdata { | |
74 | color: slategray; | |
75 | } | |
76 | ||
77 | .token.punctuation { | |
78 | color: #999; | |
79 | } | |
80 | ||
81 | .namespace { | |
82 | opacity: .7; | |
83 | } | |
84 | ||
85 | .token.property, | |
86 | .token.tag, | |
87 | .token.boolean, | |
88 | .token.number, | |
89 | .token.constant, | |
90 | .token.symbol, | |
91 | .token.deleted { | |
92 | color: #905; | |
93 | } | |
94 | ||
95 | .token.selector, | |
96 | .token.attr-name, | |
97 | .token.string, | |
98 | .token.char, | |
99 | .token.builtin, | |
100 | .token.inserted { | |
101 | color: #690; | |
102 | } | |
103 | ||
104 | .token.operator, | |
105 | .token.entity, | |
106 | .token.url, | |
107 | .language-css .token.string, | |
108 | .style .token.string { | |
109 | color: #a67f59; | |
110 | background: hsla(0, 0%, 100%, .5); | |
111 | } | |
112 | ||
113 | .token.atrule, | |
114 | .token.attr-value, | |
115 | .token.keyword { | |
116 | color: #07a; | |
117 | } | |
118 | ||
119 | .token.function { | |
120 | color: #DD4A68; | |
121 | } | |
122 | ||
123 | .token.regex, | |
124 | .token.important, | |
125 | .token.variable { | |
126 | color: #e90; | |
127 | } | |
128 | ||
129 | .token.important, | |
130 | .token.bold { | |
131 | font-weight: bold; | |
132 | } | |
133 | .token.italic { | |
134 | font-style: italic; | |
135 | } | |
136 | ||
137 | .token.entity { | |
138 | cursor: help; | |
139 | } | |
140 |