forked from PrismJS/prism
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prism-less.css
81 lines (70 loc) · 2 KB
/
prism-less.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
color: #dcdc9e;
text-shadow: 0 1px rgba(255, 255, 255, 0.3);
text-shadow: none;
font-family: Consolas, Monaco, 'Andale Mono', monospace;
direction: ltr;
text-align: left;
white-space: pre;
word-spacing: normal;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #fff;
background: #191919;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
}
.namespace {
opacity: .7;
}
/*
.token.attribute, .token.property { color: hsl(40, 50%, 30%) }
.token.variable { color: hsl(120, 10%, 30%) }
.token.element { color: hsl(170, 20%, 30%) }
.token.string, token.regexp { color: hsl(75, 50%, 35%) }
.token.class { color: hsl(40, 40%, 30%); font-weight: normal }
.token.id { color: hsl(50, 40%, 30%); font-weight: normal }
.token.comment { color: rgba(0, 0, 0, 0.4) }
.token.number, token.color { color: hsl(10, 40%, 30%) }
.token.class, .token.mixin, token.important { color: hsl(190, 20%, 30%) }
*/
.token.attribute, .token.property { color: hsl(40, 50%, 70%) }
.token.variable { color: hsl(120, 10%, 50%) }
.token.element { color: hsl(170, 20%, 50%) }
.token.string, .token.regexp { color: hsl(75, 50%, 65%) }
.token.class { color: hsl(40, 40%, 60%); font-weight: normal }
.token.id { color: hsl(50, 40%, 60%); font-weight: normal }
.token.comment { color: rgba(255, 255, 255, 0.2) }
.token.number, .token.color { color: hsl(10, 40%, 50%) }
.token.class, .token.mixin, .token.important { color: hsl(190, 20%, 50%) }
.token.keyword { color: #735926; }