jekyll-theme-chirpy 6.1.0 → 6.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -23
- data/_data/locales/tr-TR.yml +4 -4
- data/_data/origin/cors.yml +11 -11
- data/_includes/comments/disqus.html +2 -1
- data/_includes/datetime.html +5 -4
- data/_includes/footer.html +30 -28
- data/_includes/head.html +1 -1
- data/_includes/notification.html +24 -0
- data/_includes/post-nav.html +9 -12
- data/_includes/post-paginator.html +77 -75
- data/_includes/post-sharing.html +6 -4
- data/_includes/related-posts.html +31 -39
- data/_includes/search-loader.html +10 -8
- data/_includes/search-results.html +1 -1
- data/_includes/sidebar.html +63 -60
- data/_includes/toc.html +3 -3
- data/_includes/topbar.html +17 -10
- data/_includes/trending-tags.html +3 -3
- data/_includes/update-list.html +4 -4
- data/_layouts/archives.html +18 -19
- data/_layouts/category.html +2 -2
- data/_layouts/default.html +51 -32
- data/_layouts/home.html +12 -11
- data/_layouts/page.html +21 -63
- data/_layouts/post.html +72 -70
- data/_layouts/tag.html +2 -2
- data/_sass/addon/commons.scss +118 -149
- data/_sass/addon/module.scss +12 -3
- data/_sass/addon/syntax.scss +51 -29
- data/_sass/addon/variables.scss +10 -5
- data/_sass/colors/syntax-dark.scss +138 -0
- data/_sass/colors/syntax-light.scss +179 -0
- data/_sass/colors/{dark-typography.scss → typography-dark.scss} +18 -19
- data/_sass/colors/{light-typography.scss → typography-light.scss} +17 -16
- data/_sass/layout/category-tag.scss +0 -5
- data/_sass/layout/home.scss +18 -35
- data/_sass/layout/post.scss +46 -51
- data/_sass/{jekyll-theme-chirpy.scss → main.scss} +2 -8
- data/assets/404.html +1 -3
- data/assets/css/{style.scss → jekyll-theme-chirpy.scss} +1 -1
- data/assets/js/data/swcache.js +32 -33
- data/assets/js/dist/categories.min.js +2 -4
- data/assets/js/dist/commons.min.js +2 -4
- data/assets/js/dist/home.min.js +2 -4
- data/assets/js/dist/misc.min.js +2 -4
- data/assets/js/dist/page.min.js +2 -4
- data/assets/js/dist/post.min.js +2 -4
- data/assets/js/pwa/sw.js +56 -57
- metadata +9 -11
- data/_data/authors.yml +0 -17
- data/_data/contact.yml +0 -28
- data/_data/share.yml +0 -25
- data/_sass/colors/dark-syntax.scss +0 -91
- data/_sass/colors/light-syntax.scss +0 -83
data/assets/js/pwa/sw.js
CHANGED
@@ -9,82 +9,81 @@ self.importScripts('{{ "/assets/js/data/swcache.js" | relative_url }}');
|
|
9
9
|
const cacheName = 'chirpy-{{ "now" | date: "%Y%m%d.%H%M%S" }}';
|
10
10
|
|
11
11
|
function verifyDomain(url) {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
}
|
12
|
+
for (const domain of allowedDomains) {
|
13
|
+
const regex = RegExp(`^http(s)?:\/\/${domain}\/`);
|
14
|
+
if (regex.test(url)) {
|
15
|
+
return true;
|
17
16
|
}
|
17
|
+
}
|
18
18
|
|
19
|
-
|
19
|
+
return false;
|
20
20
|
}
|
21
21
|
|
22
22
|
function isExcluded(url) {
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
}
|
23
|
+
for (const item of denyUrls) {
|
24
|
+
if (url === item) {
|
25
|
+
return true;
|
27
26
|
}
|
28
|
-
|
27
|
+
}
|
28
|
+
return false;
|
29
29
|
}
|
30
30
|
|
31
|
-
self.addEventListener('install', event => {
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
31
|
+
self.addEventListener('install', (event) => {
|
32
|
+
event.waitUntil(
|
33
|
+
caches.open(cacheName).then((cache) => {
|
34
|
+
return cache.addAll(resource);
|
35
|
+
})
|
36
|
+
);
|
37
37
|
});
|
38
38
|
|
39
|
-
self.addEventListener('activate', event => {
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
})
|
48
|
-
);
|
39
|
+
self.addEventListener('activate', (event) => {
|
40
|
+
event.waitUntil(
|
41
|
+
caches.keys().then((keyList) => {
|
42
|
+
return Promise.all(
|
43
|
+
keyList.map((key) => {
|
44
|
+
if (key !== cacheName) {
|
45
|
+
return caches.delete(key);
|
46
|
+
}
|
49
47
|
})
|
50
|
-
|
48
|
+
);
|
49
|
+
})
|
50
|
+
);
|
51
51
|
});
|
52
52
|
|
53
53
|
self.addEventListener('message', (event) => {
|
54
|
-
|
55
|
-
|
56
|
-
|
54
|
+
if (event.data === 'SKIP_WAITING') {
|
55
|
+
self.skipWaiting();
|
56
|
+
}
|
57
57
|
});
|
58
58
|
|
59
|
-
self.addEventListener('fetch', event => {
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
59
|
+
self.addEventListener('fetch', (event) => {
|
60
|
+
event.respondWith(
|
61
|
+
caches.match(event.request).then((response) => {
|
62
|
+
if (response) {
|
63
|
+
return response;
|
64
|
+
}
|
65
65
|
|
66
|
-
|
67
|
-
|
66
|
+
return fetch(event.request).then((response) => {
|
67
|
+
const url = event.request.url;
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
if (
|
70
|
+
event.request.method !== 'GET' ||
|
71
|
+
!verifyDomain(url) ||
|
72
|
+
isExcluded(url)
|
73
|
+
) {
|
74
|
+
return response;
|
75
|
+
}
|
74
76
|
|
75
|
-
|
76
|
-
|
77
|
-
*/
|
78
|
-
let responseToCache = response.clone();
|
77
|
+
/* see: <https://developers.google.com/web/fundamentals/primers/service-workers#cache_and_return_requests> */
|
78
|
+
let responseToCache = response.clone();
|
79
79
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
80
|
+
caches.open(cacheName).then((cache) => {
|
81
|
+
/* console.log('[sw] Caching new resource: ' + event.request.url); */
|
82
|
+
cache.put(event.request, responseToCache);
|
83
|
+
});
|
84
84
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
85
|
+
return response;
|
86
|
+
});
|
87
|
+
})
|
88
|
+
);
|
89
89
|
});
|
90
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-chirpy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.1
|
4
|
+
version: 6.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cotes Chung
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -117,8 +117,6 @@ extra_rdoc_files: []
|
|
117
117
|
files:
|
118
118
|
- LICENSE
|
119
119
|
- README.md
|
120
|
-
- _data/authors.yml
|
121
|
-
- _data/contact.yml
|
122
120
|
- _data/locales/ar.yml
|
123
121
|
- _data/locales/bg-BG.yml
|
124
122
|
- _data/locales/cs-CZ.yml
|
@@ -145,7 +143,6 @@ files:
|
|
145
143
|
- _data/locales/zh-TW.yml
|
146
144
|
- _data/origin/basic.yml
|
147
145
|
- _data/origin/cors.yml
|
148
|
-
- _data/share.yml
|
149
146
|
- _includes/comments.html
|
150
147
|
- _includes/comments/disqus.html
|
151
148
|
- _includes/comments/giscus.html
|
@@ -165,6 +162,7 @@ files:
|
|
165
162
|
- _includes/metadata-hook.html
|
166
163
|
- _includes/mode-toggle.html
|
167
164
|
- _includes/no-linenos.html
|
165
|
+
- _includes/notification.html
|
168
166
|
- _includes/origin-type.html
|
169
167
|
- _includes/post-nav.html
|
170
168
|
- _includes/post-paginator.html
|
@@ -193,20 +191,20 @@ files:
|
|
193
191
|
- _sass/addon/module.scss
|
194
192
|
- _sass/addon/syntax.scss
|
195
193
|
- _sass/addon/variables.scss
|
196
|
-
- _sass/colors/dark
|
197
|
-
- _sass/colors/
|
198
|
-
- _sass/colors/
|
199
|
-
- _sass/colors/light
|
200
|
-
- _sass/jekyll-theme-chirpy.scss
|
194
|
+
- _sass/colors/syntax-dark.scss
|
195
|
+
- _sass/colors/syntax-light.scss
|
196
|
+
- _sass/colors/typography-dark.scss
|
197
|
+
- _sass/colors/typography-light.scss
|
201
198
|
- _sass/layout/archives.scss
|
202
199
|
- _sass/layout/categories.scss
|
203
200
|
- _sass/layout/category-tag.scss
|
204
201
|
- _sass/layout/home.scss
|
205
202
|
- _sass/layout/post.scss
|
206
203
|
- _sass/layout/tags.scss
|
204
|
+
- _sass/main.scss
|
207
205
|
- _sass/variables-hook.scss
|
208
206
|
- assets/404.html
|
209
|
-
- assets/css/
|
207
|
+
- assets/css/jekyll-theme-chirpy.scss
|
210
208
|
- assets/feed.xml
|
211
209
|
- assets/img/favicons/android-chrome-192x192.png
|
212
210
|
- assets/img/favicons/android-chrome-512x512.png
|
data/_data/authors.yml
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
## Template › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/advanced-usage.md#setting-author-url
|
2
|
-
# -------------------------------------
|
3
|
-
# {author_id}:
|
4
|
-
# name: {full name}
|
5
|
-
# twitter: {twitter_of_author}
|
6
|
-
# url: {homepage_of_author}
|
7
|
-
# -------------------------------------
|
8
|
-
|
9
|
-
cotes:
|
10
|
-
name: Cotes Chung
|
11
|
-
twitter: cotes2020
|
12
|
-
url: https://github.com/cotes2020/
|
13
|
-
|
14
|
-
sille_bille:
|
15
|
-
name: Dinesh Prasanth Moluguwan Krishnamoorthy
|
16
|
-
twitter: dinesh_MKD
|
17
|
-
url: https://github.com/SilleBille/
|
data/_data/contact.yml
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
# The contact options.
|
2
|
-
|
3
|
-
- type: github
|
4
|
-
icon: "fab fa-github"
|
5
|
-
|
6
|
-
- type: twitter
|
7
|
-
icon: "fab fa-twitter"
|
8
|
-
|
9
|
-
- type: email
|
10
|
-
icon: "fas fa-envelope"
|
11
|
-
noblank: true # open link in current tab
|
12
|
-
|
13
|
-
- type: rss
|
14
|
-
icon: "fas fa-rss"
|
15
|
-
noblank: true
|
16
|
-
# Uncomment and complete the url below to enable more contact options
|
17
|
-
#
|
18
|
-
# - type: mastodon
|
19
|
-
# icon: 'fab fa-mastodon' # icons powered by <https://fontawesome.com/>
|
20
|
-
# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
|
21
|
-
#
|
22
|
-
# - type: linkedin
|
23
|
-
# icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/>
|
24
|
-
# url: '' # Fill with your Linkedin homepage
|
25
|
-
#
|
26
|
-
# - type: stack-overflow
|
27
|
-
# icon: 'fab fa-stack-overflow'
|
28
|
-
# url: '' # Fill with your stackoverflow homepage
|
data/_data/share.yml
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# Sharing options at the bottom of the post.
|
2
|
-
# Icons from <https://fontawesome.com/>
|
3
|
-
|
4
|
-
platforms:
|
5
|
-
- type: Twitter
|
6
|
-
icon: "fab fa-twitter"
|
7
|
-
link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
|
8
|
-
|
9
|
-
- type: Facebook
|
10
|
-
icon: "fab fa-facebook-square"
|
11
|
-
link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
|
12
|
-
|
13
|
-
- type: Telegram
|
14
|
-
icon: "fab fa-telegram"
|
15
|
-
link: "https://t.me/share/url?url=URL&text=TITLE"
|
16
|
-
|
17
|
-
# Uncomment below if you need to.
|
18
|
-
#
|
19
|
-
# - type: Linkedin
|
20
|
-
# icon: "fab fa-linkedin"
|
21
|
-
# link: "https://www.linkedin.com/sharing/share-offsite/?url=URL"
|
22
|
-
#
|
23
|
-
# - type: Weibo
|
24
|
-
# icon: "fab fa-weibo"
|
25
|
-
# link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"
|
@@ -1,91 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* The syntax dark mode styles.
|
3
|
-
*/
|
4
|
-
|
5
|
-
@mixin dark-syntax {
|
6
|
-
--language-border-color: rgba(84, 83, 83, 0.27);
|
7
|
-
--highlight-bg-color: #252525;
|
8
|
-
--highlighter-rouge-color: #de6b18;
|
9
|
-
--highlight-lineno-color: #6c6c6d;
|
10
|
-
--inline-code-bg: #272822;
|
11
|
-
--code-header-text-color: #6a6a6a;
|
12
|
-
--code-header-muted-color: rgb(60, 60, 60);
|
13
|
-
--code-header-icon-color: rgb(86, 86, 86);
|
14
|
-
--clipboard-checked-color: #2bcc2b;
|
15
|
-
--filepath-text-color: #bdbdbd;
|
16
|
-
|
17
|
-
/* override Bootstrap */
|
18
|
-
pre {
|
19
|
-
color: #bfbfbf;
|
20
|
-
}
|
21
|
-
|
22
|
-
.highlight .gp {
|
23
|
-
color: #818c96;
|
24
|
-
}
|
25
|
-
|
26
|
-
/* syntax highlight colors from https://raw.githubusercontent.com/jwarby/pygments-css/master/monokai.css */
|
27
|
-
|
28
|
-
.highlight pre { background-color: var(--highlight-bg-color); }
|
29
|
-
.highlight .hll { background-color: var(--highlight-bg-color); }
|
30
|
-
.highlight .c { color: #75715e; } /* Comment */
|
31
|
-
.highlight .err { color: #960050; background-color: #1e0010; } /* Error */
|
32
|
-
.highlight .k { color: #66d9ef; } /* Keyword */
|
33
|
-
.highlight .l { color: #ae81ff; } /* Literal */
|
34
|
-
.highlight .n { color: #f8f8f2; } /* Name */
|
35
|
-
.highlight .o { color: #f92672; } /* Operator */
|
36
|
-
.highlight .p { color: #f8f8f2; } /* Punctuation */
|
37
|
-
.highlight .cm { color: #75715e; } /* Comment.Multiline */
|
38
|
-
.highlight .cp { color: #75715e; } /* Comment.Preproc */
|
39
|
-
.highlight .c1 { color: #75715e; } /* Comment.Single */
|
40
|
-
.highlight .cs { color: #75715e; } /* Comment.Special */
|
41
|
-
.highlight .ge { color: inherit; font-style: italic; } /* Generic.Emph */
|
42
|
-
.highlight .gs { font-weight: bold; } /* Generic.Strong */
|
43
|
-
.highlight .kc { color: #66d9ef; } /* Keyword.Constant */
|
44
|
-
.highlight .kd { color: #66d9ef; } /* Keyword.Declaration */
|
45
|
-
.highlight .kn { color: #f92672; } /* Keyword.Namespace */
|
46
|
-
.highlight .kp { color: #66d9ef; } /* Keyword.Pseudo */
|
47
|
-
.highlight .kr { color: #66d9ef; } /* Keyword.Reserved */
|
48
|
-
.highlight .kt { color: #66d9ef; } /* Keyword.Type */
|
49
|
-
.highlight .ld { color: #e6db74; } /* Literal.Date */
|
50
|
-
.highlight .m { color: #ae81ff; } /* Literal.Number */
|
51
|
-
.highlight .s { color: #e6db74; } /* Literal.String */
|
52
|
-
.highlight .na { color: #a6e22e; } /* Name.Attribute */
|
53
|
-
.highlight .nb { color: #f8f8f2; } /* Name.Builtin */
|
54
|
-
.highlight .nc { color: #a6e22e; } /* Name.Class */
|
55
|
-
.highlight .no { color: #66d9ef; } /* Name.Constant */
|
56
|
-
.highlight .nd { color: #a6e22e; } /* Name.Decorator */
|
57
|
-
.highlight .ni { color: #f8f8f2; } /* Name.Entity */
|
58
|
-
.highlight .ne { color: #a6e22e; } /* Name.Exception */
|
59
|
-
.highlight .nf { color: #a6e22e; } /* Name.Function */
|
60
|
-
.highlight .nl { color: #f8f8f2; } /* Name.Label */
|
61
|
-
.highlight .nn { color: #f8f8f2; } /* Name.Namespace */
|
62
|
-
.highlight .nx { color: #a6e22e; } /* Name.Other */
|
63
|
-
.highlight .py { color: #f8f8f2; } /* Name.Property */
|
64
|
-
.highlight .nt { color: #f92672; } /* Name.Tag */
|
65
|
-
.highlight .nv { color: #f8f8f2; } /* Name.Variable */
|
66
|
-
.highlight .ow { color: #f92672; } /* Operator.Word */
|
67
|
-
.highlight .w { color: #f8f8f2; } /* Text.Whitespace */
|
68
|
-
.highlight .mf { color: #ae81ff; } /* Literal.Number.Float */
|
69
|
-
.highlight .mh { color: #ae81ff; } /* Literal.Number.Hex */
|
70
|
-
.highlight .mi { color: #ae81ff; } /* Literal.Number.Integer */
|
71
|
-
.highlight .mo { color: #ae81ff; } /* Literal.Number.Oct */
|
72
|
-
.highlight .sb { color: #e6db74; } /* Literal.String.Backtick */
|
73
|
-
.highlight .sc { color: #e6db74; } /* Literal.String.Char */
|
74
|
-
.highlight .sd { color: #e6db74; } /* Literal.String.Doc */
|
75
|
-
.highlight .s2 { color: #e6db74; } /* Literal.String.Double */
|
76
|
-
.highlight .se { color: #ae81ff; } /* Literal.String.Escape */
|
77
|
-
.highlight .sh { color: #e6db74; } /* Literal.String.Heredoc */
|
78
|
-
.highlight .si { color: #e6db74; } /* Literal.String.Interpol */
|
79
|
-
.highlight .sx { color: #e6db74; } /* Literal.String.Other */
|
80
|
-
.highlight .sr { color: #e6db74; } /* Literal.String.Regex */
|
81
|
-
.highlight .s1 { color: #e6db74; } /* Literal.String.Single */
|
82
|
-
.highlight .ss { color: #e6db74; } /* Literal.String.Symbol */
|
83
|
-
.highlight .bp { color: #f8f8f2; } /* Name.Builtin.Pseudo */
|
84
|
-
.highlight .vc { color: #f8f8f2; } /* Name.Variable.Class */
|
85
|
-
.highlight .vg { color: #f8f8f2; } /* Name.Variable.Global */
|
86
|
-
.highlight .vi { color: #f8f8f2; } /* Name.Variable.Instance */
|
87
|
-
.highlight .il { color: #ae81ff; } /* Literal.Number.Integer.Long */
|
88
|
-
.highlight .gu { color: #75715e; } /* Generic.Subheading & Diff Unified/Comment? */
|
89
|
-
.highlight .gd { color: #f92672; background-color: #561c08; } /* Generic.Deleted & Diff Deleted */
|
90
|
-
.highlight .gi { color: #a6e22e; background-color: #0b5858; } /* Generic.Inserted & Diff Inserted */
|
91
|
-
}
|
@@ -1,83 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* The syntax light mode code snippet colors.
|
3
|
-
*/
|
4
|
-
|
5
|
-
@mixin light-syntax {
|
6
|
-
/* see: <https://raw.githubusercontent.com/jwarby/pygments-css/master/github.css> */
|
7
|
-
.highlight .hll { background-color: #ffffcc; }
|
8
|
-
.highlight .c { color: #999988; font-style: italic; } /* Comment */
|
9
|
-
.highlight .err { color: #a61717; background-color: #e3d2d2; } /* Error */
|
10
|
-
.highlight .k { color: #000000; font-weight: bold; } /* Keyword */
|
11
|
-
.highlight .o { color: #000000; font-weight: bold; } /* Operator */
|
12
|
-
.highlight .cm { color: #999988; font-style: italic; } /* Comment.Multiline */
|
13
|
-
.highlight .cp { color: #999999; font-weight: bold; font-style: italic; } /* Comment.Preproc */
|
14
|
-
.highlight .c1 { color: #999988; font-style: italic; } /* Comment.Single */
|
15
|
-
.highlight .cs { color: #999999; font-weight: bold; font-style: italic; } /* Comment.Special */
|
16
|
-
.highlight .gd { color: #d01040; background-color: #ffdddd; } /* Generic.Deleted */
|
17
|
-
.highlight .ge { color: #000000; font-style: italic; } /* Generic.Emph */
|
18
|
-
.highlight .gr { color: #aa0000; } /* Generic.Error */
|
19
|
-
.highlight .gh { color: #999999; } /* Generic.Heading */
|
20
|
-
.highlight .gi { color: #008080; background-color: #ddffdd; } /* Generic.Inserted */
|
21
|
-
.highlight .go { color: #888888; } /* Generic.Output */
|
22
|
-
.highlight .gp { color: #555555; } /* Generic.Prompt */
|
23
|
-
.highlight .gs { font-weight: bold; } /* Generic.Strong */
|
24
|
-
.highlight .gu { color: #aaaaaa; } /* Generic.Subheading */
|
25
|
-
.highlight .gt { color: #aa0000; } /* Generic.Traceback */
|
26
|
-
.highlight .kc { color: #000000; font-weight: bold; } /* Keyword.Constant */
|
27
|
-
.highlight .kd { color: #000000; font-weight: bold; } /* Keyword.Declaration */
|
28
|
-
.highlight .kn { color: #000000; font-weight: bold; } /* Keyword.Namespace */
|
29
|
-
.highlight .kp { color: #000000; font-weight: bold; } /* Keyword.Pseudo */
|
30
|
-
.highlight .kr { color: #000000; font-weight: bold; } /* Keyword.Reserved */
|
31
|
-
.highlight .kt { color: #445588; font-weight: bold; } /* Keyword.Type */
|
32
|
-
.highlight .m { color: #009999; } /* Literal.Number */
|
33
|
-
.highlight .s { color: #d01040; } /* Literal.String */
|
34
|
-
.highlight .na { color: #008080; } /* Name.Attribute */
|
35
|
-
.highlight .nb { color: #0086b3; } /* Name.Builtin */
|
36
|
-
.highlight .nc { color: #445588; font-weight: bold; } /* Name.Class */
|
37
|
-
.highlight .no { color: #008080; } /* Name.Constant */
|
38
|
-
.highlight .nd { color: #3c5d5d; font-weight: bold; } /* Name.Decorator */
|
39
|
-
.highlight .ni { color: #800080; } /* Name.Entity */
|
40
|
-
.highlight .ne { color: #990000; font-weight: bold; } /* Name.Exception */
|
41
|
-
.highlight .nf { color: #990000; font-weight: bold; } /* Name.Function */
|
42
|
-
.highlight .nl { color: #990000; font-weight: bold; } /* Name.Label */
|
43
|
-
.highlight .nn { color: #555555; } /* Name.Namespace */
|
44
|
-
.highlight .nt { color: #000080; } /* Name.Tag */
|
45
|
-
.highlight .nv { color: #008080; } /* Name.Variable */
|
46
|
-
.highlight .ow { color: #000000; font-weight: bold; } /* Operator.Word */
|
47
|
-
.highlight .w { color: #bbbbbb; } /* Text.Whitespace */
|
48
|
-
.highlight .mf { color: #009999; } /* Literal.Number.Float */
|
49
|
-
.highlight .mh { color: #009999; } /* Literal.Number.Hex */
|
50
|
-
.highlight .mi { color: #009999; } /* Literal.Number.Integer */
|
51
|
-
.highlight .mo { color: #009999; } /* Literal.Number.Oct */
|
52
|
-
.highlight .sb { color: #d01040; } /* Literal.String.Backtick */
|
53
|
-
.highlight .sc { color: #d01040; } /* Literal.String.Char */
|
54
|
-
.highlight .sd { color: #d01040; } /* Literal.String.Doc */
|
55
|
-
.highlight .s2 { color: #d01040; } /* Literal.String.Double */
|
56
|
-
.highlight .se { color: #d01040; } /* Literal.String.Escape */
|
57
|
-
.highlight .sh { color: #d01040; } /* Literal.String.Heredoc */
|
58
|
-
.highlight .si { color: #d01040; } /* Literal.String.Interpol */
|
59
|
-
.highlight .sx { color: #d01040; } /* Literal.String.Other */
|
60
|
-
.highlight .sr { color: #009926; } /* Literal.String.Regex */
|
61
|
-
.highlight .s1 { color: #d01040; } /* Literal.String.Single */
|
62
|
-
.highlight .ss { color: #990073; } /* Literal.String.Symbol */
|
63
|
-
.highlight .bp { color: #999999; } /* Name.Builtin.Pseudo */
|
64
|
-
.highlight .vc { color: #008080; } /* Name.Variable.Class */
|
65
|
-
.highlight .vg { color: #008080; } /* Name.Variable.Global */
|
66
|
-
.highlight .vi { color: #008080; } /* Name.Variable.Instance */
|
67
|
-
.highlight .il { color: #009999; } /* Literal.Number.Integer.Long */
|
68
|
-
|
69
|
-
/* --- custom light colors --- */
|
70
|
-
--language-border-color: rgba(172, 169, 169, 0.2);
|
71
|
-
--highlight-bg-color: #f7f7f7;
|
72
|
-
--highlighter-rouge-color: #3f596f;
|
73
|
-
--highlight-lineno-color: #c2c6cc;
|
74
|
-
--inline-code-bg: #f6f6f7;
|
75
|
-
--code-header-text-color: #a3a3b1;
|
76
|
-
--code-header-muted-color: #ebebeb;
|
77
|
-
--code-header-icon-color: #d1d1d1;
|
78
|
-
--clipboard-checked-color: #43c743;
|
79
|
-
|
80
|
-
[class^='prompt-'] {
|
81
|
-
--inline-code-bg: #fbfafa;
|
82
|
-
}
|
83
|
-
} /* light-syntax */
|