-
Notifications
You must be signed in to change notification settings - Fork 153
/
Copy pathprism.css
102 lines (102 loc) · 1.58 KB
/
prism.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
pre {
background: #2a2929;
color: #f6f5f5;
line-height: 24px;
}
pre[data-line] {
position: relative;
}
.token.comment,
.token.block-comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #7a7373;
}
.token.punctuation,
.token.anchor {
color: #9b9b9b;
}
.token.tag,
.token.attr-name,
.token.namespace,
.token.deleted {
color: #ed4b35;
}
.token.function-name {
color: #4a90e2;
}
.token.boolean,
.token.number,
.token.function {
color: #f5a623;
}
.token.property,
.token.class-name,
.token.constant,
.token.symbol {
color: #f5a623;
}
.token.selector,
.token.important,
.token.atrule,
.token.keyword,
.token.builtin {
color: #4a90e2;
}
.token.string,
.token.char,
.token.attr-value,
.token.regex,
.token.variable {
color: #11c560;
}
.token.operator,
.token.entity,
.token.url {
color: #2d76cc;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
.token.inserted {
color: #11c560;
}
.line-highlight {
background: rgba(255, 255, 255, 0.1);
position: absolute;
left: 0;
right: 0;
margin-top: 0.5rem;
/* same as pre padding */
pointer-events: none;
line-height: inherit;
white-space: pre;
}
.line-highlight:before,
.line-highlight[data-end]:after {
content: attr(data-start);
position: absolute;
top: 0;
right: 0;
background-color: #1e1d1d;
color: #efeeee;
text-align: center;
width: 2em;
}
.line-highlight[data-end]:after {
content: attr(data-end);
top: auto;
bottom: 0;
}
.line-numbers .line-highlight:before,
.line-numbers .line-highlight:after {
content: none;
}