]> git.r.bdr.sh - rbdr/r.bdr.sh/blame_incremental - jekyll/css/prism.css
Adds pizza favicon
[rbdr/r.bdr.sh] / jekyll / css / prism.css
... / ...
CommitLineData
1/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+bash+c+python+sql+http+ruby+csharp+go+aspnet+objectivec */
2/**
3 * prism.js default theme for JavaScript, CSS and HTML
4 * Based on dabblet (http://dabblet.com)
5 * @author Lea Verou
6 */
7
8code[class*="language-"],
9pre[class*="language-"] {
10 color: black;
11 text-shadow: 0 1px white;
12 font-family: Consolas, Monaco, 'Andale Mono', monospace;
13 direction: ltr;
14 text-align: left;
15 white-space: pre;
16 word-spacing: normal;
17 word-break: normal;
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
29pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
30code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
31 text-shadow: none;
32 background: #b3d4fc;
33}
34
35pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
36code[class*="language-"]::selection, code[class*="language-"] ::selection {
37 text-shadow: none;
38 background: #b3d4fc;
39}
40
41@media print {
42 code[class*="language-"],
43 pre[class*="language-"] {
44 text-shadow: none;
45 }
46}
47
48/* Code blocks */
49pre[class*="language-"] {
50 padding: 1em;
51 margin: .5em 0;
52 overflow: auto;
53}
54
55:not(pre) > code[class*="language-"],
56pre[class*="language-"] {
57 background: #f5f2f0;
58}
59
60/* Inline code */
61:not(pre) > code[class*="language-"] {
62 padding: .1em;
63 border-radius: .3em;
64}
65
66.token.comment,
67.token.prolog,
68.token.doctype,
69.token.cdata {
70 color: slategray;
71}
72
73.token.punctuation {
74 color: #999;
75}
76
77.namespace {
78 opacity: .7;
79}
80
81.token.property,
82.token.tag,
83.token.boolean,
84.token.number,
85.token.constant,
86.token.symbol {
87 color: #905;
88}
89
90.token.selector,
91.token.attr-name,
92.token.string,
93.token.builtin {
94 color: #690;
95}
96
97.token.operator,
98.token.entity,
99.token.url,
100.language-css .token.string,
101.style .token.string,
102.token.variable {
103 color: #a67f59;
104 background: hsla(0,0%,100%,.5);
105}
106
107.token.atrule,
108.token.attr-value,
109.token.keyword {
110 color: #07a;
111}
112
113
114.token.regex,
115.token.important {
116 color: #e90;
117}
118
119.token.important {
120 font-weight: bold;
121}
122
123.token.entity {
124 cursor: help;
125}
126