this repo has no description
1code.language-css,
2code.language-scss,
3.token.boolean,
4.token.string,
5.token.entity,
6.token.url,
7.language-css .token.string,
8.language-scss .token.string,
9.style .token.string,
10.token.attr-value,
11.token.keyword,
12.token.control,
13.token.directive,
14.token.statement,
15.token.regex,
16.token.atrule,
17.token.number {
18 color: var(--accent);
19}
20
21.token.tag-id,
22.token.atrule-id,
23.token.operator,
24.token.unit,
25.token.placeholder,
26.token.variable,
27.token.attr-name {
28 color: color-mod(var(--accent) a(70%));
29}
30
31.token.property,
32.token.function,
33code.language-javascript,
34code.language-html {
35 color: color-mod(var(--accent) blend(#999 90%));
36}
37
38.token.selector,
39.token.tag,
40.token.punctuation {
41 color: white;
42}
43
44.token.comment,
45.token.prolog,
46.token.doctype,
47.token.cdata {
48 color: rgba(255, 255, 255, .3);
49}
50
51.token.namespace {
52 opacity: .7;
53}
54
55pre[data-line] {
56 position: relative;
57 padding: 1em 0 1em 3em;
58}
59
60.line-highlight {
61 position: absolute;
62 left: 0;
63 right: 0;
64 padding: inherit 0;
65 margin-top: 1em;
66 /* Same as .prism’s padding-top */
67 background: hsla(24, 20%, 50%, .08);
68 background: linear-gradient(to right, hsla(24, 20%, 50%, .1) 70%, hsla(24, 20%, 50%, 0));
69 pointer-events: none;
70 line-height: inherit;
71 white-space: pre;
72}
73
74.line-highlight:before,
75.line-highlight[data-end]:after {
76 content: attr(data-start);
77 position: absolute;
78 top: .4em;
79 left: .6em;
80 min-width: 1em;
81 padding: 0 .5em;
82 background-color: hsla(24, 20%, 50%, .4);
83 color: hsl(24, 20%, 95%);
84 font: bold 65%/1.5 sans-serif;
85 text-align: center;
86 vertical-align: .3em;
87 border-radius: 999px;
88 text-shadow: none;
89 box-shadow: 0 1px white;
90}
91
92.line-highlight[data-end]:after {
93 content: attr(data-end);
94 top: auto;
95 bottom: .4em;
96}
97
98.line-numbers .line-highlight:before,
99.line-numbers .line-highlight:after {
100 content: none;
101}