-
-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathpreview.css
More file actions
70 lines (69 loc) · 1.85 KB
/
preview.css
File metadata and controls
70 lines (69 loc) · 1.85 KB
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
img, picture, audio, video, iframe, pre, table {max-width: 100%; height: auto; }
pre { overflow: auto; }
* { -webkit-hyphens: auto; hyphens: auto; }
pre > code { -webkit-hyphens: none; hyphens: none; }
code{
&.txp-sanitized { color: var(--txp-demoted-text); /*opacity: 0.6;*/ text-decoration-line: line-through; }
&.-comment::before { content: "<!--"; }
&.-comment::after { content: "-->"; }
&.-cdata::before { content: "<!"; }
&.-cdata::after { content: ">"; }
&.txp-tag { color: var(--txp-demoted-text); /*opacity: 0.6;*/ }
}
/* PrismJS 1.29.0 */
code[class*=language-],pre[class*=language-]{direction:ltr;margin:0;padding:0;-webkit-hyphens:none;hyphens:none;text-align:left;word-wrap:normal;white-space:break-spaces;word-break:normal;word-spacing:normal}
:not(pre)>code[class*=language-]{white-space:normal}
.token{
&.bold,
&.important{font-weight:700}
&.italic{font-style:italic}
&.entity{cursor:help}
&.namespace {opacity: 0.7;}
&.cdata,
&.comment,
&.doctype,
&.prolog {
color: var(--txp-prism-token-1, #708090);
}
&.punctuation {
color: var(--txp-prism-token-1, #708090);
}
&.property,
&.symbol,
&.tag {
color: var(--txp-prism-token-2, #905);
}
&.attr-name,
&.builtin,
&.char,
&.inserted,
&.selector,
&.string {
color: var(--txp-prism-token-3, #690);
}
&.boolean,
&.constant,
&.entity,
&.number,
&.operator,
&.url {
color: var(--txp-prism-token-4, #a67f59);
}
&.atrule,
&.attr-value,
&.keyword {
color: var(--txp-prism-token-5, #07a);
}
&.function {
color: var(--txp-prism-token-6, #dd4a68);
}
&.deleted,
&.important,
&.regex,
&.variable {
color: var(--txp-prism-token-7, #e90);
}
&.txp > .token.tag {
color: var(--txp-prism-token-8, rebeccapurple);
}
}