custom-chirpy 5.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +97 -0
- data/_data/assets/cross_origin.yml +62 -0
- data/_data/assets/self_host.yml +51 -0
- data/_data/authors.yml +17 -0
- data/_data/contact.yml +29 -0
- data/_data/locales/ar.yml +93 -0
- data/_data/locales/bg-BG.yml +83 -0
- data/_data/locales/cs-CZ.yml +91 -0
- data/_data/locales/de-DE.yml +82 -0
- data/_data/locales/el-GR.yml +93 -0
- data/_data/locales/en.yml +93 -0
- data/_data/locales/es-ES.yml +79 -0
- data/_data/locales/fi-FI.yml +92 -0
- data/_data/locales/fr-FR.yml +79 -0
- data/_data/locales/hu-HU.yml +81 -0
- data/_data/locales/id-ID.yml +79 -0
- data/_data/locales/it-IT.yml +93 -0
- data/_data/locales/ko-KR.yml +86 -0
- data/_data/locales/my-MM.yml +79 -0
- data/_data/locales/pt-BR.yml +79 -0
- data/_data/locales/ru-RU.yml +79 -0
- data/_data/locales/tr-TR.yml +79 -0
- data/_data/locales/uk-UA.yml +79 -0
- data/_data/locales/vi-VN.yml +77 -0
- data/_data/locales/zh-CN.yml +85 -0
- data/_data/share.yml +25 -0
- data/_includes/assets-origin.html +12 -0
- data/_includes/comments/disqus.html +54 -0
- data/_includes/comments/giscus.html +56 -0
- data/_includes/comments/utterances.html +51 -0
- data/_includes/comments.html +5 -0
- data/_includes/datetime.html +15 -0
- data/_includes/embed/twitch.html +4 -0
- data/_includes/embed/youtube.html +6 -0
- data/_includes/favicons.html +17 -0
- data/_includes/footer.html +36 -0
- data/_includes/google-analytics.html +14 -0
- data/_includes/head.html +115 -0
- data/_includes/js-selector.html +99 -0
- data/_includes/jsdelivr-combine.html +32 -0
- data/_includes/language-alias.html +70 -0
- data/_includes/mermaid.html +59 -0
- data/_includes/mode-toggle.html +129 -0
- data/_includes/no-linenos.html +10 -0
- data/_includes/post-nav.html +30 -0
- data/_includes/post-paginator.html +88 -0
- data/_includes/post-sharing.html +27 -0
- data/_includes/read-time.html +30 -0
- data/_includes/refactor-content.html +282 -0
- data/_includes/related-posts.html +103 -0
- data/_includes/search-loader.html +46 -0
- data/_includes/search-results.html +11 -0
- data/_includes/sidebar.html +106 -0
- data/_includes/toc.html +16 -0
- data/_includes/topbar.html +70 -0
- data/_includes/trending-tags.html +50 -0
- data/_includes/update-list.html +40 -0
- data/_layouts/archives.html +34 -0
- data/_layouts/categories.html +118 -0
- data/_layouts/category.html +22 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +71 -0
- data/_layouts/home.html +94 -0
- data/_layouts/page.html +63 -0
- data/_layouts/post.html +141 -0
- data/_layouts/tag.html +21 -0
- data/_layouts/tags.html +23 -0
- data/_sass/addon/commons.scss +1731 -0
- data/_sass/addon/module.scss +163 -0
- data/_sass/addon/syntax.scss +275 -0
- data/_sass/addon/variables.scss +30 -0
- data/_sass/colors/dark-syntax.scss +87 -0
- data/_sass/colors/dark-typography.scss +170 -0
- data/_sass/colors/light-syntax.scss +83 -0
- data/_sass/colors/light-typography.scss +104 -0
- data/_sass/jekyll-theme-chirpy.scss +24 -0
- data/_sass/layout/archives.scss +136 -0
- data/_sass/layout/categories.scss +66 -0
- data/_sass/layout/category-tag.scss +73 -0
- data/_sass/layout/home.scss +178 -0
- data/_sass/layout/post.scss +378 -0
- data/_sass/layout/tags.scss +19 -0
- data/_sass/variables-hook.scss +3 -0
- data/assets/404.html +14 -0
- data/assets/css/style.scss +12 -0
- data/assets/feed.xml +61 -0
- data/assets/img/favicons/android-chrome-192x192.png +0 -0
- data/assets/img/favicons/android-chrome-512x512.png +0 -0
- data/assets/img/favicons/apple-touch-icon.png +0 -0
- data/assets/img/favicons/browserconfig.xml +13 -0
- data/assets/img/favicons/favicon-16x16.png +0 -0
- data/assets/img/favicons/favicon-32x32.png +0 -0
- data/assets/img/favicons/favicon.ico +0 -0
- data/assets/img/favicons/mstile-150x150.png +0 -0
- data/assets/img/favicons/site.webmanifest +26 -0
- data/assets/js/data/search.json +20 -0
- data/assets/js/data/swcache.js +54 -0
- data/assets/js/dist/categories.min.js +6 -0
- data/assets/js/dist/commons.min.js +6 -0
- data/assets/js/dist/home.min.js +6 -0
- data/assets/js/dist/misc.min.js +6 -0
- data/assets/js/dist/page.min.js +6 -0
- data/assets/js/dist/post.min.js +6 -0
- data/assets/js/dist/pvreport.min.js +6 -0
- data/assets/js/pwa/app.js +47 -0
- data/assets/js/pwa/sw.js +90 -0
- data/assets/js/pwa/unregister.js +12 -0
- data/assets/robots.txt +10 -0
- metadata +236 -0
@@ -0,0 +1,163 @@
|
|
1
|
+
/*
|
2
|
+
* Mainly scss modules, only imported to `assets/css/main.scss`
|
3
|
+
*/
|
4
|
+
|
5
|
+
/* ---------- scss placeholder --------- */
|
6
|
+
|
7
|
+
%heading {
|
8
|
+
color: var(--heading-color);
|
9
|
+
font-weight: 400;
|
10
|
+
font-family: Lato, "Microsoft Yahei", sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
%section {
|
14
|
+
#core-wrapper & {
|
15
|
+
margin-top: 2.5rem;
|
16
|
+
margin-bottom: 1.25rem;
|
17
|
+
|
18
|
+
&:focus {
|
19
|
+
outline: none; /* avoid outline in Safari */
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
%anchor {
|
25
|
+
.anchor {
|
26
|
+
font-size: 80%;
|
27
|
+
}
|
28
|
+
|
29
|
+
@media (hover: hover) {
|
30
|
+
.anchor {
|
31
|
+
visibility: hidden;
|
32
|
+
opacity: 0;
|
33
|
+
transition: opacity 0.25s ease-in, visibility 0s ease-in 0.25s;
|
34
|
+
}
|
35
|
+
|
36
|
+
&:hover {
|
37
|
+
.anchor {
|
38
|
+
visibility: visible;
|
39
|
+
opacity: 1;
|
40
|
+
transition: opacity 0.25s ease-in, visibility 0s ease-in 0s;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
%tag-hover {
|
47
|
+
background: var(--tag-hover);
|
48
|
+
transition: background 0.35s ease-in-out;
|
49
|
+
}
|
50
|
+
|
51
|
+
%table-cell {
|
52
|
+
padding: 0.4rem 1rem;
|
53
|
+
font-size: 95%;
|
54
|
+
white-space: nowrap;
|
55
|
+
}
|
56
|
+
|
57
|
+
%link-hover {
|
58
|
+
color: #d2603a !important;
|
59
|
+
border-bottom: 1px solid #d2603a;
|
60
|
+
text-decoration: none;
|
61
|
+
}
|
62
|
+
|
63
|
+
%link-color {
|
64
|
+
color: var(--link-color);
|
65
|
+
}
|
66
|
+
|
67
|
+
%link-underline {
|
68
|
+
border-bottom: 1px solid var(--link-underline-color);
|
69
|
+
}
|
70
|
+
|
71
|
+
%clickable-transition {
|
72
|
+
transition: color 0.35s ease-in-out;
|
73
|
+
}
|
74
|
+
|
75
|
+
%no-cursor {
|
76
|
+
-webkit-user-select: none;
|
77
|
+
-moz-user-select: none;
|
78
|
+
user-select: none;
|
79
|
+
}
|
80
|
+
|
81
|
+
%no-bottom-border {
|
82
|
+
border-bottom: none;
|
83
|
+
}
|
84
|
+
|
85
|
+
%cursor-pointer {
|
86
|
+
cursor: pointer;
|
87
|
+
}
|
88
|
+
|
89
|
+
%normal-font-style {
|
90
|
+
font-style: normal;
|
91
|
+
}
|
92
|
+
|
93
|
+
%rounded {
|
94
|
+
border-radius: 6px;
|
95
|
+
}
|
96
|
+
|
97
|
+
%img-caption {
|
98
|
+
+ em {
|
99
|
+
display: block;
|
100
|
+
text-align: center;
|
101
|
+
font-style: normal;
|
102
|
+
font-size: 80%;
|
103
|
+
padding: 0;
|
104
|
+
color: #6d6c6c;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
%sidebar-links {
|
109
|
+
color: rgba(117, 117, 117, 0.9);
|
110
|
+
-webkit-user-select: none;
|
111
|
+
-moz-user-select: none;
|
112
|
+
user-select: none;
|
113
|
+
}
|
114
|
+
|
115
|
+
/* ---------- scss mixin --------- */
|
116
|
+
|
117
|
+
@mixin no-text-decoration {
|
118
|
+
text-decoration: none;
|
119
|
+
}
|
120
|
+
|
121
|
+
@mixin mt-mb($value) {
|
122
|
+
margin-top: $value;
|
123
|
+
margin-bottom: $value;
|
124
|
+
}
|
125
|
+
|
126
|
+
@mixin ml-mr($value) {
|
127
|
+
margin-left: $value;
|
128
|
+
margin-right: $value;
|
129
|
+
}
|
130
|
+
|
131
|
+
@mixin pl-pr($val) {
|
132
|
+
padding-left: $val;
|
133
|
+
padding-right: $val;
|
134
|
+
}
|
135
|
+
|
136
|
+
@mixin input-placeholder {
|
137
|
+
opacity: 0.6;
|
138
|
+
}
|
139
|
+
|
140
|
+
@mixin label($font-size: 1rem, $font-weight: 600, $color: var(--label-color)) {
|
141
|
+
color: $color;
|
142
|
+
font-size: $font-size;
|
143
|
+
font-weight: $font-weight;
|
144
|
+
}
|
145
|
+
|
146
|
+
@mixin align-center {
|
147
|
+
position: relative;
|
148
|
+
left: 50%;
|
149
|
+
-webkit-transform: translateX(-50%);
|
150
|
+
transform: translateX(-50%);
|
151
|
+
}
|
152
|
+
|
153
|
+
@mixin prompt($type, $fa-content, $fa-style: "solid") {
|
154
|
+
&.prompt-#{$type} {
|
155
|
+
background-color: var(--prompt-#{$type}-bg);
|
156
|
+
|
157
|
+
&::before {
|
158
|
+
content: $fa-content;
|
159
|
+
color: var(--prompt-#{$type}-icon-color);
|
160
|
+
font: var(--fa-font-#{$fa-style});
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
@@ -0,0 +1,275 @@
|
|
1
|
+
/*
|
2
|
+
* The syntax highlight.
|
3
|
+
*/
|
4
|
+
|
5
|
+
@import "colors/light-syntax";
|
6
|
+
@import "colors/dark-syntax";
|
7
|
+
|
8
|
+
html {
|
9
|
+
@media (prefers-color-scheme: light) {
|
10
|
+
&:not([data-mode]),
|
11
|
+
&[data-mode="light"] {
|
12
|
+
@include light-syntax;
|
13
|
+
}
|
14
|
+
|
15
|
+
&[data-mode="dark"] {
|
16
|
+
@include dark-syntax;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
@media (prefers-color-scheme: dark) {
|
21
|
+
&:not([data-mode]),
|
22
|
+
&[data-mode="dark"] {
|
23
|
+
@include dark-syntax;
|
24
|
+
}
|
25
|
+
|
26
|
+
&[data-mode="light"] {
|
27
|
+
@include light-syntax;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
/* -- code snippets -- */
|
33
|
+
|
34
|
+
%code-snippet-bg {
|
35
|
+
background: var(--highlight-bg-color);
|
36
|
+
}
|
37
|
+
|
38
|
+
%code-snippet-padding {
|
39
|
+
padding-left: 1rem;
|
40
|
+
padding-right: 1.5rem;
|
41
|
+
}
|
42
|
+
|
43
|
+
.highlighter-rouge {
|
44
|
+
@extend %code-snippet-bg;
|
45
|
+
@extend %rounded;
|
46
|
+
|
47
|
+
color: var(--highlighter-rouge-color);
|
48
|
+
margin-top: 0.5rem;
|
49
|
+
margin-bottom: 1.2em; /* Override BS Inline-code style */
|
50
|
+
}
|
51
|
+
|
52
|
+
.highlight {
|
53
|
+
@extend %rounded;
|
54
|
+
@extend %code-snippet-bg;
|
55
|
+
|
56
|
+
@at-root figure#{&} {
|
57
|
+
@extend %code-snippet-bg;
|
58
|
+
}
|
59
|
+
|
60
|
+
overflow: auto;
|
61
|
+
padding-top: 0.5rem;
|
62
|
+
padding-bottom: 1rem;
|
63
|
+
|
64
|
+
pre {
|
65
|
+
margin-bottom: 0;
|
66
|
+
font-size: $code-font-size;
|
67
|
+
line-height: 1.4rem;
|
68
|
+
word-wrap: normal; /* Fixed Safari overflow-x */
|
69
|
+
|
70
|
+
/* set the dollar sign to non-selectable */
|
71
|
+
>.gp:first-child {
|
72
|
+
-webkit-user-select: none;
|
73
|
+
-moz-user-select: none;
|
74
|
+
user-select: none;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
table {
|
79
|
+
td pre {
|
80
|
+
overflow: visible; /* Fixed iOS safari overflow-x */
|
81
|
+
word-break: normal; /* Fixed iOS safari linenos code break */
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
.lineno {
|
86
|
+
padding-right: 0.5rem;
|
87
|
+
min-width: 2.2rem;
|
88
|
+
text-align: right;
|
89
|
+
color: var(--highlight-lineno-color);
|
90
|
+
-webkit-user-select: none;
|
91
|
+
-moz-user-select: none;
|
92
|
+
-o-user-select: none;
|
93
|
+
user-select: none;
|
94
|
+
}
|
95
|
+
} /* .highlight */
|
96
|
+
|
97
|
+
code {
|
98
|
+
-webkit-hyphens: none;
|
99
|
+
hyphens: none;
|
100
|
+
|
101
|
+
&.highlighter-rouge {
|
102
|
+
font-size: $code-font-size;
|
103
|
+
padding: 3px 5px;
|
104
|
+
word-break: break-word;
|
105
|
+
border-radius: 4px;
|
106
|
+
background-color: var(--inline-code-bg);
|
107
|
+
}
|
108
|
+
|
109
|
+
&.filepath {
|
110
|
+
background-color: inherit;
|
111
|
+
color: var(--filepath-text-color);
|
112
|
+
font-weight: 600;
|
113
|
+
padding: 0;
|
114
|
+
}
|
115
|
+
|
116
|
+
a > &.highlighter-rouge {
|
117
|
+
padding-bottom: 0; /* show link's underlinke */
|
118
|
+
color: inherit;
|
119
|
+
}
|
120
|
+
|
121
|
+
a:hover > &.highlighter-rouge {
|
122
|
+
border-bottom: none;
|
123
|
+
}
|
124
|
+
|
125
|
+
blockquote & {
|
126
|
+
color: inherit;
|
127
|
+
}
|
128
|
+
|
129
|
+
.highlight > & {
|
130
|
+
color: transparent;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
td.rouge-code {
|
135
|
+
@extend %code-snippet-padding;
|
136
|
+
|
137
|
+
/*
|
138
|
+
Prevent some browser extends from
|
139
|
+
changing the URL string of code block.
|
140
|
+
*/
|
141
|
+
a {
|
142
|
+
color: inherit !important;
|
143
|
+
border-bottom: none !important;
|
144
|
+
pointer-events: none;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
/* Hide line numbers for default, console, and terminal code snippets */
|
149
|
+
div {
|
150
|
+
&[class^="highlighter-rouge"],
|
151
|
+
&.nolineno,
|
152
|
+
&.language-plaintext.highlighter-rouge,
|
153
|
+
&.language-console.highlighter-rouge,
|
154
|
+
&.language-terminal.highlighter-rouge {
|
155
|
+
pre.lineno {
|
156
|
+
display: none;
|
157
|
+
}
|
158
|
+
|
159
|
+
td.rouge-code {
|
160
|
+
padding-left: 1.5rem;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
164
|
+
|
165
|
+
.code-header {
|
166
|
+
@extend %no-cursor;
|
167
|
+
|
168
|
+
$code-header-height: 2.25rem;
|
169
|
+
|
170
|
+
display: flex;
|
171
|
+
justify-content: space-between;
|
172
|
+
align-items: center;
|
173
|
+
height: $code-header-height;
|
174
|
+
|
175
|
+
&::before {
|
176
|
+
$dot-size: 0.75rem;
|
177
|
+
$dot-margin: 0.5rem;
|
178
|
+
|
179
|
+
content: "";
|
180
|
+
display: inline-block;
|
181
|
+
margin-left: 1rem;
|
182
|
+
width: $dot-size;
|
183
|
+
height: $dot-size;
|
184
|
+
border-radius: 50%;
|
185
|
+
background-color: var(--code-header-muted-color);
|
186
|
+
box-shadow:
|
187
|
+
($dot-size + $dot-margin) 0 0 var(--code-header-muted-color),
|
188
|
+
($dot-size + $dot-margin) * 2 0 0 var(--code-header-muted-color);
|
189
|
+
}
|
190
|
+
|
191
|
+
/* the label block */
|
192
|
+
span {
|
193
|
+
/* label icon */
|
194
|
+
i {
|
195
|
+
font-size: 1rem;
|
196
|
+
margin-right: 0.4rem;
|
197
|
+
color: var(--code-header-icon-color);
|
198
|
+
|
199
|
+
&.small {
|
200
|
+
font-size: 70%;
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
@at-root [file] #{&} > i {
|
205
|
+
position: relative;
|
206
|
+
top: 1px; /* center the file icon */
|
207
|
+
}
|
208
|
+
|
209
|
+
/* label text */
|
210
|
+
&::after {
|
211
|
+
content: attr(data-label-text);
|
212
|
+
font-size: 0.85rem;
|
213
|
+
font-weight: 600;
|
214
|
+
color: var(--code-header-text-color);
|
215
|
+
}
|
216
|
+
}
|
217
|
+
|
218
|
+
/* clipboard */
|
219
|
+
button {
|
220
|
+
@extend %cursor-pointer;
|
221
|
+
@extend %rounded;
|
222
|
+
|
223
|
+
border: 1px solid transparent;
|
224
|
+
height: $code-header-height;
|
225
|
+
width: $code-header-height;
|
226
|
+
padding: 0;
|
227
|
+
background-color: inherit;
|
228
|
+
|
229
|
+
i {
|
230
|
+
color: var(--code-header-icon-color);
|
231
|
+
}
|
232
|
+
|
233
|
+
&[timeout] {
|
234
|
+
&:hover {
|
235
|
+
border-color: var(--clipboard-checked-color);
|
236
|
+
}
|
237
|
+
|
238
|
+
i {
|
239
|
+
color: var(--clipboard-checked-color);
|
240
|
+
}
|
241
|
+
}
|
242
|
+
|
243
|
+
&:focus {
|
244
|
+
outline: none;
|
245
|
+
}
|
246
|
+
|
247
|
+
&:not([timeout]):hover {
|
248
|
+
background-color: rgba(128, 128, 128, 0.37);
|
249
|
+
|
250
|
+
i {
|
251
|
+
color: white;
|
252
|
+
}
|
253
|
+
}
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
@media all and (max-width: 576px) {
|
258
|
+
.post-content {
|
259
|
+
> div[class^="language-"] {
|
260
|
+
@include ml-mr(-1.25rem);
|
261
|
+
|
262
|
+
border-radius: 0;
|
263
|
+
|
264
|
+
.highlight {
|
265
|
+
padding-left: 0.25rem;
|
266
|
+
}
|
267
|
+
|
268
|
+
.code-header {
|
269
|
+
border-radius: 0;
|
270
|
+
padding-left: 0.4rem;
|
271
|
+
padding-right: 0.5rem;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
}
|
275
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/*
|
2
|
+
* The SCSS variables
|
3
|
+
*/
|
4
|
+
|
5
|
+
/* sidebar */
|
6
|
+
|
7
|
+
$sidebar-width: 260px !default; /* the basic width */
|
8
|
+
$sidebar-width-small: 210px !default; /* screen width: >= 850px, <= 1199px (iPad landscape) */
|
9
|
+
$sidebar-width-large: 350px !default; /* screen width: >= 1650px */
|
10
|
+
|
11
|
+
/* tabs of sidebar */
|
12
|
+
|
13
|
+
$tab-count: 5 !default; /* backward compatible (version <= 4.0.2) */
|
14
|
+
$tab-height: 3rem !default;
|
15
|
+
$tab-cursor-height: 1.6rem !default;
|
16
|
+
$cursor-width: 2px !default; /* the cursor width of the selected tab */
|
17
|
+
|
18
|
+
/* other framework sizes */
|
19
|
+
|
20
|
+
$topbar-height: 3rem !default;
|
21
|
+
$search-max-width: 210px !default;
|
22
|
+
$footer-height: 5rem !default;
|
23
|
+
$footer-height-mobile: 6rem !default; /* screen width: <= 576px */
|
24
|
+
|
25
|
+
$main-content-max-width: 1250px !default;
|
26
|
+
$bottom-min-height: 35rem !default;
|
27
|
+
|
28
|
+
/* syntax highlight */
|
29
|
+
|
30
|
+
$code-font-size: 0.85rem !default;
|
@@ -0,0 +1,87 @@
|
|
1
|
+
/*
|
2
|
+
* The syntax dark mode styles.
|
3
|
+
*/
|
4
|
+
|
5
|
+
@mixin dark-syntax {
|
6
|
+
--highlight-bg-color: #252525;
|
7
|
+
--highlighter-rouge-color: #de6b18;
|
8
|
+
--highlight-lineno-color: #6c6c6d;
|
9
|
+
--inline-code-bg: #272822;
|
10
|
+
--code-header-text-color: #6a6a6a;
|
11
|
+
--code-header-muted-color: rgb(60, 60, 60);
|
12
|
+
--code-header-icon-color: rgb(86, 86, 86);
|
13
|
+
--clipboard-checked-color: #2bcc2b;
|
14
|
+
--filepath-text-color: #bdbdbd;
|
15
|
+
|
16
|
+
pre { color: #bfbfbf; } /* override Bootstrap */
|
17
|
+
|
18
|
+
.highlight {
|
19
|
+
.gp { color: #818c96; }
|
20
|
+
}
|
21
|
+
|
22
|
+
/* syntax highlight colors from https://raw.githubusercontent.com/jwarby/pygments-css/master/monokai.css */
|
23
|
+
|
24
|
+
.highlight pre { background-color: var(--highlight-bg-color); }
|
25
|
+
.highlight .hll { background-color: var(--highlight-bg-color); }
|
26
|
+
.highlight .c { color: #75715e; } /* Comment */
|
27
|
+
.highlight .err { color: #960050; background-color: #1e0010; } /* Error */
|
28
|
+
.highlight .k { color: #66d9ef; } /* Keyword */
|
29
|
+
.highlight .l { color: #ae81ff; } /* Literal */
|
30
|
+
.highlight .n { color: #f8f8f2; } /* Name */
|
31
|
+
.highlight .o { color: #f92672; } /* Operator */
|
32
|
+
.highlight .p { color: #f8f8f2; } /* Punctuation */
|
33
|
+
.highlight .cm { color: #75715e; } /* Comment.Multiline */
|
34
|
+
.highlight .cp { color: #75715e; } /* Comment.Preproc */
|
35
|
+
.highlight .c1 { color: #75715e; } /* Comment.Single */
|
36
|
+
.highlight .cs { color: #75715e; } /* Comment.Special */
|
37
|
+
.highlight .ge { color: inherit; font-style: italic; } /* Generic.Emph */
|
38
|
+
.highlight .gs { font-weight: bold; } /* Generic.Strong */
|
39
|
+
.highlight .kc { color: #66d9ef; } /* Keyword.Constant */
|
40
|
+
.highlight .kd { color: #66d9ef; } /* Keyword.Declaration */
|
41
|
+
.highlight .kn { color: #f92672; } /* Keyword.Namespace */
|
42
|
+
.highlight .kp { color: #66d9ef; } /* Keyword.Pseudo */
|
43
|
+
.highlight .kr { color: #66d9ef; } /* Keyword.Reserved */
|
44
|
+
.highlight .kt { color: #66d9ef; } /* Keyword.Type */
|
45
|
+
.highlight .ld { color: #e6db74; } /* Literal.Date */
|
46
|
+
.highlight .m { color: #ae81ff; } /* Literal.Number */
|
47
|
+
.highlight .s { color: #e6db74; } /* Literal.String */
|
48
|
+
.highlight .na { color: #a6e22e; } /* Name.Attribute */
|
49
|
+
.highlight .nb { color: #f8f8f2; } /* Name.Builtin */
|
50
|
+
.highlight .nc { color: #a6e22e; } /* Name.Class */
|
51
|
+
.highlight .no { color: #66d9ef; } /* Name.Constant */
|
52
|
+
.highlight .nd { color: #a6e22e; } /* Name.Decorator */
|
53
|
+
.highlight .ni { color: #f8f8f2; } /* Name.Entity */
|
54
|
+
.highlight .ne { color: #a6e22e; } /* Name.Exception */
|
55
|
+
.highlight .nf { color: #a6e22e; } /* Name.Function */
|
56
|
+
.highlight .nl { color: #f8f8f2; } /* Name.Label */
|
57
|
+
.highlight .nn { color: #f8f8f2; } /* Name.Namespace */
|
58
|
+
.highlight .nx { color: #a6e22e; } /* Name.Other */
|
59
|
+
.highlight .py { color: #f8f8f2; } /* Name.Property */
|
60
|
+
.highlight .nt { color: #f92672; } /* Name.Tag */
|
61
|
+
.highlight .nv { color: #f8f8f2; } /* Name.Variable */
|
62
|
+
.highlight .ow { color: #f92672; } /* Operator.Word */
|
63
|
+
.highlight .w { color: #f8f8f2; } /* Text.Whitespace */
|
64
|
+
.highlight .mf { color: #ae81ff; } /* Literal.Number.Float */
|
65
|
+
.highlight .mh { color: #ae81ff; } /* Literal.Number.Hex */
|
66
|
+
.highlight .mi { color: #ae81ff; } /* Literal.Number.Integer */
|
67
|
+
.highlight .mo { color: #ae81ff; } /* Literal.Number.Oct */
|
68
|
+
.highlight .sb { color: #e6db74; } /* Literal.String.Backtick */
|
69
|
+
.highlight .sc { color: #e6db74; } /* Literal.String.Char */
|
70
|
+
.highlight .sd { color: #e6db74; } /* Literal.String.Doc */
|
71
|
+
.highlight .s2 { color: #e6db74; } /* Literal.String.Double */
|
72
|
+
.highlight .se { color: #ae81ff; } /* Literal.String.Escape */
|
73
|
+
.highlight .sh { color: #e6db74; } /* Literal.String.Heredoc */
|
74
|
+
.highlight .si { color: #e6db74; } /* Literal.String.Interpol */
|
75
|
+
.highlight .sx { color: #e6db74; } /* Literal.String.Other */
|
76
|
+
.highlight .sr { color: #e6db74; } /* Literal.String.Regex */
|
77
|
+
.highlight .s1 { color: #e6db74; } /* Literal.String.Single */
|
78
|
+
.highlight .ss { color: #e6db74; } /* Literal.String.Symbol */
|
79
|
+
.highlight .bp { color: #f8f8f2; } /* Name.Builtin.Pseudo */
|
80
|
+
.highlight .vc { color: #f8f8f2; } /* Name.Variable.Class */
|
81
|
+
.highlight .vg { color: #f8f8f2; } /* Name.Variable.Global */
|
82
|
+
.highlight .vi { color: #f8f8f2; } /* Name.Variable.Instance */
|
83
|
+
.highlight .il { color: #ae81ff; } /* Literal.Number.Integer.Long */
|
84
|
+
.highlight .gu { color: #75715e; } /* Generic.Subheading & Diff Unified/Comment? */
|
85
|
+
.highlight .gd { color: #f92672; background-color: #561c08; } /* Generic.Deleted & Diff Deleted */
|
86
|
+
.highlight .gi { color: #a6e22e; background-color: #0b5858; } /* Generic.Inserted & Diff Inserted */
|
87
|
+
}
|