forked from docsifyjs/docsify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_syntax.css
84 lines (71 loc) · 1.21 KB
/
_syntax.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
/* Syntax Highlighting */
/* See: https://prismjs.com */
/* ========================================================================== */
pre[data-lang] {
background: var(--codeblock-bg);
color: var(--codeblock-color);
}
.namespace {
opacity: 0.7;
}
.token {
&.boolean,
&.constant,
&.deleted,
&.number,
&.property,
&.symbol,
&.tag {
color: var(--codeblock-tag);
}
&.attr-name,
&.builtin,
&.char,
&.inserted,
&.selector,
&.string {
color: var(--codeblock-selector);
}
&.entity,
&.operator,
&.url,
.language-css &.string,
.style &.string {
color: var(--codeblock-operator);
}
&.cdata,
&.comment,
&.doctype,
&.prolog {
color: var(--codeblock-comment);
}
&.atrule,
&.attr-value,
&.keyword {
color: var(--codeblock-keyword);
}
&.important,
&.regex,
&.variable {
color: var(--codeblock-variable);
}
&.bold,
&.important {
font-weight: var(--strong-font-weight);
}
&.entity {
cursor: help;
}
&.function {
color: var(--codeblock-function);
}
&.important {
color: var(--codeblock-important);
}
&.italic {
font-style: italic;
}
&.punctuation {
color: var(--codeblock-punctuation);
}
}