1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | code[class*="language-"],
|
10 | pre[class*="language-"] {
|
11 | font-family: Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace;
|
12 | font-size: 14px;
|
13 | line-height: 1.375;
|
14 | direction: ltr;
|
15 | text-align: left;
|
16 | white-space: pre;
|
17 | word-spacing: normal;
|
18 | word-break: normal;
|
19 |
|
20 | -moz-tab-size: 4;
|
21 | -o-tab-size: 4;
|
22 | tab-size: 4;
|
23 |
|
24 | -webkit-hyphens: none;
|
25 | -moz-hyphens: none;
|
26 | -ms-hyphens: none;
|
27 | hyphens: none;
|
28 | background: #2a2d2a;
|
29 | color: #687d68;
|
30 | }
|
31 |
|
32 | pre > code[class*="language-"] {
|
33 | font-size: 1em;
|
34 | }
|
35 |
|
36 | pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
|
37 | code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
|
38 | text-shadow: none;
|
39 | background: #435643;
|
40 | }
|
41 |
|
42 | pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
|
43 | code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
44 | text-shadow: none;
|
45 | background: #435643;
|
46 | }
|
47 |
|
48 |
|
49 | pre[class*="language-"] {
|
50 | padding: 1em;
|
51 | margin: .5em 0;
|
52 | overflow: auto;
|
53 | }
|
54 |
|
55 |
|
56 | :not(pre) > code[class*="language-"] {
|
57 | padding: .1em;
|
58 | border-radius: .3em;
|
59 | }
|
60 |
|
61 | .token.comment,
|
62 | .token.prolog,
|
63 | .token.doctype,
|
64 | .token.cdata {
|
65 | color: #535f53;
|
66 | }
|
67 |
|
68 | .token.punctuation {
|
69 | color: #535f53;
|
70 | }
|
71 |
|
72 | .token.namespace {
|
73 | opacity: .7;
|
74 | }
|
75 |
|
76 | .token.tag,
|
77 | .token.operator,
|
78 | .token.number {
|
79 | color: #a2b34d;
|
80 | }
|
81 |
|
82 | .token.property,
|
83 | .token.function {
|
84 | color: #687d68;
|
85 | }
|
86 |
|
87 | .token.tag-id,
|
88 | .token.selector,
|
89 | .token.atrule-id {
|
90 | color: #f0fff0;
|
91 | }
|
92 |
|
93 | code.language-javascript,
|
94 | .token.attr-name {
|
95 | color: #b3d6b3;
|
96 | }
|
97 |
|
98 | code.language-css,
|
99 | code.language-scss,
|
100 | .token.boolean,
|
101 | .token.string,
|
102 | .token.entity,
|
103 | .token.url,
|
104 | .language-css .token.string,
|
105 | .language-scss .token.string,
|
106 | .style .token.string,
|
107 | .token.attr-value,
|
108 | .token.keyword,
|
109 | .token.control,
|
110 | .token.directive,
|
111 | .token.unit,
|
112 | .token.statement,
|
113 | .token.regex,
|
114 | .token.atrule {
|
115 | color: #e5fb79;
|
116 | }
|
117 |
|
118 | .token.placeholder,
|
119 | .token.variable {
|
120 | color: #e5fb79;
|
121 | }
|
122 |
|
123 | .token.deleted {
|
124 | text-decoration: line-through;
|
125 | }
|
126 |
|
127 | .token.inserted {
|
128 | border-bottom: 1px dotted #f0fff0;
|
129 | text-decoration: none;
|
130 | }
|
131 |
|
132 | .token.italic {
|
133 | font-style: italic;
|
134 | }
|
135 |
|
136 | .token.important,
|
137 | .token.bold {
|
138 | font-weight: bold;
|
139 | }
|
140 |
|
141 | .token.important {
|
142 | color: #b3d6b3;
|
143 | }
|
144 |
|
145 | .token.entity {
|
146 | cursor: help;
|
147 | }
|
148 |
|
149 | pre > code.highlight {
|
150 | outline: .4em solid #5c705c;
|
151 | outline-offset: .4em;
|
152 | }
|
153 |
|
154 |
|
155 |
|
156 |
|
157 | .line-numbers.line-numbers .line-numbers-rows {
|
158 | border-right-color: #2c302c;
|
159 | }
|
160 |
|
161 | .line-numbers .line-numbers-rows > span:before {
|
162 | color: #3b423b;
|
163 | }
|
164 |
|
165 |
|
166 |
|
167 |
|
168 | .line-highlight.line-highlight {
|
169 | background: rgba(162, 179, 77, 0.2);
|
170 | background: -webkit-linear-gradient(left, rgba(162, 179, 77, 0.2) 70%, rgba(162, 179, 77, 0));
|
171 | background: linear-gradient(to right, rgba(162, 179, 77, 0.2) 70%, rgba(162, 179, 77, 0));
|
172 | }
|