tazpanel view styles/default/prism.css @ rev 533
index.cgi: add kill button
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 29 12:16:13 2015 +0200 (2015-08-29) |
parents | |
children |
line source
1 /* http://prismjs.com/download.html?themes=prism&languages=clike+bash+ini */
2 /**
3 * prism.js default theme for JavaScript, CSS and HTML
4 * Based on dabblet (http://dabblet.com)
5 * @author Lea Verou
6 *
7 * Changed for SliTaz TazPanel
8 */
10 code[class*="language-"],
11 pre[class*="language-"] {
12 color: black;
13 text-shadow: 0 1px white;
15 -moz-tab-size: 4;
16 -o-tab-size: 4;
17 tab-size: 4;
19 -webkit-hyphens: none;
20 -moz-hyphens: none;
21 -ms-hyphens: none;
22 hyphens: none;
23 }
25 pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
26 code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
27 text-shadow: none;
28 background: #b3d4fc;
29 }
31 pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
32 code[class*="language-"]::selection, code[class*="language-"] ::selection {
33 text-shadow: none;
34 background: #b3d4fc;
35 }
37 @media print {
38 code[class*="language-"],
39 pre[class*="language-"] {
40 text-shadow: none;
41 }
42 }
44 /* Code blocks */
45 pre[class*="language-"] {
46 overflow: auto;
47 }
49 :not(pre) > code[class*="language-"],
50 pre[class*="language-"] {
51 background: #f5f2f0;
52 }
54 /* Inline code */
55 :not(pre) > code[class*="language-"] {
56 padding: .1em;
57 border-radius: .3em;
58 }
60 .token.comment,
61 .token.prolog,
62 .token.doctype,
63 .token.cdata {
64 color: slategray;
65 }
67 .token.punctuation {
68 color: #999;
69 }
71 .namespace {
72 opacity: .7;
73 }
75 .token.property,
76 .token.tag,
77 .token.boolean,
78 .token.number,
79 .token.constant,
80 .token.symbol,
81 .token.deleted {
82 color: #905;
83 }
85 .token.selector,
86 .token.attr-name,
87 .token.string,
88 .token.char,
89 .token.builtin,
90 .token.inserted {
91 color: #690;
92 }
94 .token.operator,
95 .token.entity,
96 .token.url,
97 .language-css .token.string,
98 .style .token.string {
99 color: #a67f59;
100 background: hsla(0, 0%, 100%, .5);
101 }
103 .token.atrule,
104 .token.attr-value,
105 .token.keyword {
106 color: #07a;
107 }
109 .token.function {
110 color: #DD4A68;
111 }
113 .token.regex,
114 .token.important,
115 .token.variable {
116 color: #e90;
117 }
119 .token.important,
120 .token.bold {
121 font-weight: bold;
122 }
123 .token.italic {
124 font-style: italic;
125 }
127 .token.entity {
128 cursor: help;
129 }