jekyll-theme-chirpy-birdly 6.1.1 → 6.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5b7326cc61aec502c3f5d200183c489b961cbf9575b23b3a3f537ac95a21a87
4
- data.tar.gz: 413f0f40bae808adcda5f95d35876f0f372b19c2240e966a06d36b507a51df52
3
+ metadata.gz: 5b1e8e25c01a1ce1819cf9a94cf41769a5862c3b4bce8b3d70ebf5fc0351d57b
4
+ data.tar.gz: dcdac5b51ae0ee3b0cf0dfcccc73d106b280ded05c802150fd971144e8bd329a
5
5
  SHA512:
6
- metadata.gz: 549462ff965c7777b7ef72b2df2620d1f7275660e5b7ad1edd2442c7408118858ad176dfa68d09c3cab10deb7560f40fe116c7f1a50c8b0ebfeec922364c926e
7
- data.tar.gz: c1b9c1313498f8cc9f8fcfdbd0c994b07c94147aa596012cf5f3aeb7c775bffd257149be3e61354cd63103e0d8493c80e136eb55e7c53868ced71775d8d907ba
6
+ metadata.gz: 32a8bc5b25fa199aba004f6c868c6e65ca8a225c7aee6f059156dc4cdf830d178cf28ccefab51a3782cfd228684b98313876e121fb0c8a3f090d106e2cd2d704
7
+ data.tar.gz: 7b11e0d052a31437339e4c68e123abdf024f9356dc31fdb95d0b24f9b1f6060eff9f8451f471766a76b2e01df29bff8817117ac5127367a2841ea2dfe863a8a0
data/README.md CHANGED
@@ -1,18 +1,18 @@
1
1
  <div align="center">
2
2
 
3
- # Chirpy-Birdly Jekyll Theme
3
+ # Chirpy Jekyll Theme
4
4
 
5
- A minimal, responsive and feature-rich Jekyll theme for technical writing.
5
+ A minimal, responsive and feature-rich Jekyll theme for technical writing.
6
6
 
7
- [![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy-birdly?color=brightgreen)](https://rubygems.org/gems/jekyll-theme-chirpy-birdly)
8
- [![CI](https://github.com/jelilio/jekyll-theme-chirpy-birdly/actions/workflows/ci.yml/badge.svg)](https://github.com/jelilio/jekyll-theme-chirpy/actions/workflows/ci.yml)
9
- [![Codacy Badge](https://app.codacy.com/project/badge/Grade/4e556876a3c54d5e8f2d2857c4f43894)](https://www.codacy.com/gh/cotes2020/jekyll-theme-chirpy/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jelilio/jekyll-theme-chirpy-birldy&utm_campaign=Badge_Grade)
10
- [![GitHub license](https://img.shields.io/github/license/jelilio/jekyll-theme-chirpy-birdly.svg)](https://github.com/jelilio/jekyll-theme-chirpy-birdly/blob/master/LICENSE)
11
- [![996.icu](https://img.shields.io/badge/link-996.icu-%23FF4D5B.svg)](https://996.icu)
7
+ [![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy?color=brightgreen)][gem]&nbsp;
8
+ [![CI](https://github.com/cotes2020/jekyll-theme-chirpy/actions/workflows/ci.yml/badge.svg?branch=master&event=push)][ci]&nbsp;
9
+ [![Codacy Badge](https://app.codacy.com/project/badge/Grade/4e556876a3c54d5e8f2d2857c4f43894)][codacy]&nbsp;
10
+ [![GitHub license](https://img.shields.io/github/license/cotes2020/jekyll-theme-chirpy.svg)][license]&nbsp;
11
+ [![996.icu](https://img.shields.io/badge/link-996.icu-%23FF4D5B.svg)](https://996.icu)
12
12
 
13
- [**Live Demo →**][demo]
13
+ [**Live Demo →**][demo]
14
14
 
15
- [![Devices Mockup](https://chirpy-img.netlify.app/commons/devices-mockup.png)][demo]
15
+ [![Devices Mockup](https://chirpy-img.netlify.app/commons/devices-mockup.png)][demo]
16
16
 
17
17
  </div>
18
18
 
@@ -24,37 +24,34 @@ A minimal, responsive and feature-rich Jekyll theme for technical writing.
24
24
  </summary>
25
25
  <p>
26
26
 
27
- - Dark / Light Theme Mode
28
- - Localized UI language
29
- - Pinned Posts
30
- - Hierarchical Categories
31
- - Trending Tags
32
- - Table of Contents
33
- - Last Modified Date of Posts
34
- - Syntax Highlighting
35
- - Mathematical Expressions
36
- - Mermaid Diagram & Flowchart
37
- - Dark / Light Mode Images
38
- - Embed Videos
39
- - Disqus / Utterances / Giscus Comments
40
- - Search
41
- - Atom Feeds
42
- - Google Analytics
43
- - Page Views Reporting
44
- - SEO & Performance Optimization
27
+ - Dark / Light Theme Mode
28
+ - Localized UI language
29
+ - Pinned Posts on Home Page
30
+ - Hierarchical Categories
31
+ - Trending Tags
32
+ - Table of Contents
33
+ - Last Modified Date
34
+ - Syntax Highlighting
35
+ - Mathematical Expressions
36
+ - Mermaid Diagrams & Flowcharts
37
+ - Dark / Light Mode Images
38
+ - Embed Videos
39
+ - Disqus / Utterances / Giscus Comments
40
+ - Built-in Search
41
+ - Atom Feeds
42
+ - Google Analytics
43
+ - SEO & Performance Optimization
45
44
 
46
45
  </p>
47
46
  </details>
48
47
 
49
48
  ## Documentation
50
49
 
51
- To explore usage, development, and upgrade guide of the project, please refer to
52
- the [Wiki][wiki].
50
+ To explore usage, development, and upgrade guide of the project, please refer to the [**Wiki**][wiki].
53
51
 
54
52
  ## Contributing
55
53
 
56
- Welcome to report bugs, help improve the code or submit new features.
57
- For more information, please see the ["Contributing Guidelines"][contribute-guide].
54
+ Contributions (Issues/PRs/Discussions) are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. For details, see the "[Contributing Guidelines][contribute-guide]".
58
55
 
59
56
  ## Credits
60
57
 
@@ -62,34 +59,36 @@ This theme is mainly built with [Jekyll][jekyllrb] ecosystem,
62
59
  [Bootstrap][bootstrap], [Font Awesome][icons] and some other [wonderful tools][lib].
63
60
  The avatar and favicon design come from [Clipart Max][image].
64
61
 
65
- Thanks to all the [contributors][contributors]. Also, folks who submitted issues
66
- or unmerged PRs should not be forgotten. Because they reported bugs, shared ideas,
67
- or inspired me to write more readable documentation.
62
+ Many thanks to the [contributors][contributors] who participated in the development
63
+ and to the folks who reported bugs or shared ideas.
68
64
 
69
- Last but not least, thanks to [JetBrains][jetbrains] for providing the
70
- _Open Source Development_ license.
65
+ Last but not least, thanks to [JetBrains][jetbrains] for providing the _Open Source License_.
71
66
 
72
67
  ## Sponsoring
73
68
 
74
69
  If you'd like to sponsor this project, the following options are available.
75
70
 
76
- [![Ko-fi](https://img.shields.io/badge/-Buy%20Me%20a%20Coffee-ff5f5f?logo=ko-fi&logoColor=white)](https://ko-fi.com/coteschung)
77
- [![Wechat Pay](https://img.shields.io/badge/-Tip%20Me%20on%20WeChat-brightgreen?logo=wechat&logoColor=white)][donation]
78
- [![Alipay](https://img.shields.io/badge/-Tip%20Me%20on%20Alipay-blue?logo=alipay&logoColor=white)][donation]
71
+ [![Ko-fi](https://img.shields.io/badge/Support_Me_on_Ko--fi-ff5e5b?logo=ko-fi&logoColor=white)][ko-fi]&nbsp;
72
+ [![Wechat Pay](https://img.shields.io/badge/Tip_Me_on_WeChat-brightgreen?logo=wechat&logoColor=white)][donation]&nbsp;
73
+ [![Alipay](https://img.shields.io/badge/Tip_Me_on_Alipay-blue?logo=alipay&logoColor=white)][donation]
79
74
 
80
75
  ## License
81
76
 
82
- This work is published under [MIT][mit] License.
77
+ This work is published under [MIT License][license].
83
78
 
79
+ [gem]: https://rubygems.org/gems/jekyll-theme-chirpy
80
+ [ci]: https://github.com/cotes2020/jekyll-theme-chirpy/actions/workflows/ci.yml?query=event%3Apush+branch%3Amaster
81
+ [codacy]: https://app.codacy.com/gh/cotes2020/jekyll-theme-chirpy/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade
82
+ [license]: https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/LICENSE
84
83
  [jekyllrb]: https://jekyllrb.com/
85
84
  [bootstrap]: https://getbootstrap.com/
86
85
  [icons]: https://fontawesome.com/
87
86
  [image]: https://www.clipartmax.com/middle/m2i8b1m2K9Z5m2K9_ant-clipart-childrens-ant-cute/
88
- [demo]: https://jelilio.github.io/chirpy-birdly-demo/
89
- [wiki]: https://github.com/jelilio/jekyll-theme-chirpy-birdly/wiki
90
- [contribute-guide]: https://github.com/jelilio/jekyll-theme-chirpy-birdly/blob/master/.github/CONTRIBUTING.md
91
- [contributors]: https://github.com/jelilio/jekyll-theme-chirpy-birdly/graphs/contributors
92
- [lib]: https://github.com/jelilio/chirpy-static-assets
93
- [jetbrains]: https://www.jetbrains.com/?from=jekyll-theme-chirpy-birdly
87
+ [demo]: https://cotes2020.github.io/chirpy-demo/
88
+ [wiki]: https://github.com/cotes2020/jekyll-theme-chirpy/wiki
89
+ [contribute-guide]: https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/docs/CONTRIBUTING.md
90
+ [contributors]: https://github.com/cotes2020/jekyll-theme-chirpy/graphs/contributors
91
+ [lib]: https://github.com/cotes2020/chirpy-static-assets
92
+ [jetbrains]: https://www.jetbrains.com/?from=jekyll-theme-chirpy
93
+ [ko-fi]: https://ko-fi.com/coteschung/
94
94
  [donation]: https://sponsor.cotes.page/
95
- [mit]: https://github.com/jelilio/jekyll-theme-chirpy/blob/master/LICENSE
@@ -23,7 +23,7 @@ search:
23
23
  no_results: Hop! Öyle bir şey bulamadım.
24
24
 
25
25
  panel:
26
- lastmod: Yeni Güncellendi
26
+ lastmod: Son Güncellenenler
27
27
  trending_tags: Yükselen Etiketler
28
28
  toc: İçindekiler
29
29
 
@@ -38,7 +38,7 @@ copyright:
38
38
  brief: Bazı hakları saklıdır.
39
39
  verbose: >-
40
40
  Aksi belirtilmediği sürece, bu sitedeki gönderiler Creative Commons Atıf 4.0 Uluslararası (CC BY 4.0) Lisansı altındadır.
41
- Kısaca sayfa linkini de vererek paylaşabilir veya düzenleyip paylaşabilirsin.
41
+ Kısaca sayfa linkini vererek değiştirebilir / paylaşabilirsiniz.
42
42
 
43
43
  meta: :PLATFORM ve :THEME teması
44
44
 
@@ -53,8 +53,8 @@ notification:
53
53
 
54
54
  post:
55
55
  written_by: Yazan
56
- posted: Gönderilme Tarihi
57
- updated: Güncellenme Tarihi
56
+ posted: Gönderim
57
+ updated: Güncelleme
58
58
  words: sözcük
59
59
  pageview_measure: görüntülenme
60
60
  read_time:
@@ -9,7 +9,7 @@
9
9
  {%- endcapture -%}
10
10
 
11
11
  {%- capture _theme -%}
12
- <a href="https://github.com/jelilio/jekyll-theme-chirpy-birdly" target="_blank" rel="noopener">Chirpy-Birdly</a>
12
+ <a href="https://github.com/cotes2020/jekyll-theme-chirpy" target="_blank" rel="noopener">Chirpy</a>
13
13
  {%- endcapture -%}
14
14
 
15
15
  {{ site.data.locales[include.lang].meta | replace: ':PLATFORM', _platform | replace: ':THEME', _theme }}
@@ -22,14 +22,16 @@
22
22
  </a>
23
23
  {% endfor %}
24
24
 
25
- <i
25
+ <button
26
26
  id="copy-link"
27
- class="fa-fw fas fa-link small"
27
+ aria-label="Copy link"
28
+ class="btn small"
28
29
  data-bs-toggle="tooltip"
29
30
  data-bs-placement="top"
30
31
  title="{{ site.data.locales[include.lang].post.button.share_link.title }}"
31
32
  data-title-succeed="{{ site.data.locales[include.lang].post.button.share_link.succeed }}"
32
33
  >
33
- </i>
34
+ <i class="fa-fw fas fa-link pe-none"></i>
35
+ </button>
34
36
  </span>
35
37
  </div>
@@ -1,7 +1,4 @@
1
- <!--
2
- Recommend the other 3 posts according to the tags and categories of the current post,
3
- if the number is not enough, use the other latest posts to supplement.
4
- -->
1
+ <!-- Recommend the other 3 posts according to the tags and categories of the current post. -->
5
2
 
6
3
  <!-- The total size of related posts -->
7
4
  {% assign TOTAL_SIZE = 3 %}
@@ -14,11 +11,21 @@
14
11
 
15
12
  {% assign SEPARATOR = ':' %}
16
13
 
14
+ {% assign match_posts = '' | split: '' %}
15
+
16
+ {% for category in page.categories %}
17
+ {% assign match_posts = match_posts | push: site.categories[category] | uniq %}
18
+ {% endfor %}
19
+
20
+ {% for tag in page.tags %}
21
+ {% assign match_posts = match_posts | push: site.tags[tag] | uniq %}
22
+ {% endfor %}
23
+
24
+ {% assign last_index = match_posts.size | minus: 1 %}
17
25
  {% assign score_list = '' | split: '' %}
18
- {% assign last_index = site.posts.size | minus: 1 %}
19
26
 
20
27
  {% for i in (0..last_index) %}
21
- {% assign post = site.posts[i] %}
28
+ {% assign post = match_posts[i] %}
22
29
 
23
30
  {% if post.url == page.url %}
24
31
  {% continue %}
@@ -54,34 +61,20 @@
54
61
  {% endfor %}
55
62
  {% endif %}
56
63
 
57
- <!-- Fill with the other newlest posts -->
58
- {% assign less = TOTAL_SIZE | minus: index_list.size %}
59
-
60
- {% if less > 0 %}
61
- {% for i in (0..last_index) %}
62
- {% assign post = site.posts[i] %}
63
- {% if post.url != page.url %}
64
- {% capture cur_index %}{{ i }}{% endcapture %}
65
- {% unless index_list contains cur_index %}
66
- {% assign index_list = index_list | push: cur_index %}
67
- {% assign less = less | minus: 1 %}
68
- {% if less <= 0 %}
69
- {% break %}
70
- {% endif %}
71
- {% endunless %}
72
- {% endif %}
73
- {% endfor %}
74
- {% endif %}
64
+ {% assign relate_posts = '' | split: '' %}
65
+
66
+ {% for index in index_list %}
67
+ {% assign i = index | to_integer %}
68
+ {% assign relate_posts = relate_posts | push: match_posts[i] %}
69
+ {% endfor %}
75
70
 
76
- {% if index_list.size > 0 %}
71
+ {% if relate_posts.size > 0 %}
77
72
  <div id="related-posts" class="mb-2 mb-sm-4">
78
73
  <h3 class="pt-2 mb-4 ms-1" data-toc-skip>
79
74
  {{ site.data.locales[include.lang].post.relate_posts }}
80
75
  </h3>
81
76
  <div class="row row-cols-1 row-cols-md-2 row-cols-xl-3 g-4 mb-4">
82
- {% for entry in index_list %}
83
- {% assign index = entry | plus: 0 %}
84
- {% assign post = site.posts[index] %}
77
+ {% for post in relate_posts %}
85
78
  <div class="col">
86
79
  <a href="{{ post.url | relative_url }}" class="card post-preview h-100">
87
80
  <div class="card-body">
@@ -176,6 +176,8 @@ footer {
176
176
  font-size: 0.8rem;
177
177
  background-color: var(--main-bg);
178
178
 
179
+ @extend %text-color;
180
+
179
181
  div.d-flex {
180
182
  height: $footer-height;
181
183
  line-height: 1.2rem;
@@ -185,7 +187,7 @@ footer {
185
187
  }
186
188
 
187
189
  a {
188
- @extend %text-color;
190
+ @extend %text-highlight;
189
191
 
190
192
  &:hover {
191
193
  @extend %link-hover;
@@ -243,7 +245,6 @@ i {
243
245
  .post-tag {
244
246
  line-height: 1.05rem;
245
247
  font-size: 0.85rem;
246
- border: 1px solid var(--btn-border-color);
247
248
  border-radius: 0.8rem;
248
249
  padding: 0.3rem 0.5rem;
249
250
  margin: 0 0.35rem 0.5rem 0;
@@ -494,9 +495,10 @@ i {
494
495
  display: inline-block;
495
496
  min-width: 2rem;
496
497
  text-align: center;
497
- border-radius: 0.3rem;
498
+ border-radius: 0.5rem;
499
+ border: 1px solid var(--btn-border-color);
498
500
  padding: 0 0.4rem;
499
- color: inherit;
501
+ color: var(--text-muted-color);
500
502
  line-height: 1.3rem;
501
503
 
502
504
  &:not(:last-child) {
@@ -715,7 +717,6 @@ $btn-mb: 0.5rem;
715
717
  }
716
718
 
717
719
  #avatar {
718
- margin: auto;
719
720
  display: block;
720
721
  width: 7rem;
721
722
  height: 7rem;
@@ -746,19 +747,20 @@ $btn-mb: 0.5rem;
746
747
  font-size: 1.75rem;
747
748
  line-height: 1.2;
748
749
  letter-spacing: 0.25px;
749
- color: rgba(134, 133, 133, 0.99);
750
750
  margin-top: 1.25rem;
751
751
  margin-bottom: 0.5rem;
752
752
 
753
753
  a {
754
754
  @extend %clickable-transition;
755
755
  @extend %sidebar-link-hover;
756
+
757
+ color: var(--site-title-color);
756
758
  }
757
759
  }
758
760
 
759
761
  .site-subtitle {
760
762
  font-size: 95%;
761
- color: var(--sidebar-muted-color);
763
+ color: var(--site-subtitle-color);
762
764
  margin-top: 0.25rem;
763
765
  word-spacing: 1px;
764
766
  -webkit-user-select: none;
@@ -916,7 +918,7 @@ $btn-mb: 0.5rem;
916
918
 
917
919
  #breadcrumb {
918
920
  font-size: 1rem;
919
- color: gray;
921
+ color: var(--text-muted-color);
920
922
  padding-left: 0.5rem;
921
923
 
922
924
  a:hover {
@@ -1103,7 +1105,6 @@ $btn-mb: 0.5rem;
1103
1105
  /* --- main wrapper --- */
1104
1106
 
1105
1107
  #main-wrapper {
1106
- background-color: var(--main-bg);
1107
1108
  position: relative;
1108
1109
  min-height: calc(100vh - $footer-height-mobile);
1109
1110
 
@@ -1550,11 +1551,9 @@ $btn-mb: 0.5rem;
1550
1551
  $icon-gap: 1rem; // for the bottom icons
1551
1552
 
1552
1553
  .profile-wrapper {
1553
- text-align: center;
1554
1554
  margin-top: 3.5rem;
1555
1555
  margin-bottom: 2.5rem;
1556
1556
  padding-left: 3.5rem;
1557
- padding-right: 3.5rem;
1558
1557
  }
1559
1558
 
1560
1559
  ul {
@@ -107,7 +107,7 @@
107
107
  }
108
108
 
109
109
  %sidebar-links {
110
- color: rgba(117, 117, 117, 0.9);
110
+ color: var(--sidebar-muted-color);
111
111
  -webkit-user-select: none;
112
112
  -moz-user-select: none;
113
113
  -ms-user-select: none;
@@ -122,6 +122,11 @@
122
122
  -webkit-box-orient: vertical;
123
123
  }
124
124
 
125
+ %text-highlight {
126
+ color: inherit;
127
+ font-weight: 600;
128
+ }
129
+
125
130
  /* ---------- scss mixin --------- */
126
131
 
127
132
  @mixin mt-mb($value) {
@@ -63,6 +63,7 @@ html {
63
63
  font-size: $code-font-size;
64
64
  line-height: 1.4rem;
65
65
  word-wrap: normal; /* Fixed Safari overflow-x */
66
+ color: var(--code-snippets-color);
66
67
  }
67
68
 
68
69
  table {
@@ -5,44 +5,40 @@
5
5
  @mixin dark-syntax {
6
6
  --language-border-color: rgba(84, 83, 83, 0.27);
7
7
  --highlight-bg-color: #252525;
8
- --highlighter-rouge-color: #de6b18;
9
- --highlight-lineno-color: #6c6c6d;
8
+ --highlighter-rouge-color: #ff6e4e;
9
+ --highlight-lineno-color: #666666;
10
10
  --inline-code-bg: #272822;
11
11
  --code-header-text-color: #6a6a6a;
12
12
  --code-header-muted-color: rgb(60, 60, 60);
13
13
  --code-header-icon-color: rgb(86, 86, 86);
14
14
  --clipboard-checked-color: #2bcc2b;
15
- --filepath-text-color: #bdbdbd;
16
-
17
- /* override Bootstrap */
18
- pre {
19
- color: #bfbfbf;
20
- }
15
+ --filepath-text-color: #cacaca;
16
+ --code-snippets-color: #c2c2c2;
21
17
 
22
18
  .highlight .gp {
23
- color: #818c96;
19
+ color: #87939d;
24
20
  }
25
21
 
26
22
  /* syntax highlight colors from https://raw.githubusercontent.com/jwarby/pygments-css/master/monokai.css */
27
23
 
28
24
  .highlight pre { background-color: var(--highlight-bg-color); }
29
25
  .highlight .hll { background-color: var(--highlight-bg-color); }
30
- .highlight .c { color: #75715e; } /* Comment */
26
+ .highlight .c { color: #938d75; } /* Comment */
31
27
  .highlight .err { color: #960050; background-color: #1e0010; } /* Error */
32
28
  .highlight .k { color: #66d9ef; } /* Keyword */
33
29
  .highlight .l { color: #ae81ff; } /* Literal */
34
30
  .highlight .n { color: #f8f8f2; } /* Name */
35
- .highlight .o { color: #f92672; } /* Operator */
31
+ .highlight .o { color: #ff329c; } /* Operator */
36
32
  .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 */
33
+ .highlight .cm { color: #938d75; } /* Comment.Multiline */
34
+ .highlight .cp { color: #938d75; } /* Comment.Preproc */
35
+ .highlight .c1 { color: #938d75; } /* Comment.Single */
36
+ .highlight .cs { color: #938d75; } /* Comment.Special */
41
37
  .highlight .ge { color: inherit; font-style: italic; } /* Generic.Emph */
42
38
  .highlight .gs { font-weight: bold; } /* Generic.Strong */
43
39
  .highlight .kc { color: #66d9ef; } /* Keyword.Constant */
44
40
  .highlight .kd { color: #66d9ef; } /* Keyword.Declaration */
45
- .highlight .kn { color: #f92672; } /* Keyword.Namespace */
41
+ .highlight .kn { color: #ff329c; } /* Keyword.Namespace */
46
42
  .highlight .kp { color: #66d9ef; } /* Keyword.Pseudo */
47
43
  .highlight .kr { color: #66d9ef; } /* Keyword.Reserved */
48
44
  .highlight .kt { color: #66d9ef; } /* Keyword.Type */
@@ -61,9 +57,9 @@
61
57
  .highlight .nn { color: #f8f8f2; } /* Name.Namespace */
62
58
  .highlight .nx { color: #a6e22e; } /* Name.Other */
63
59
  .highlight .py { color: #f8f8f2; } /* Name.Property */
64
- .highlight .nt { color: #f92672; } /* Name.Tag */
60
+ .highlight .nt { color: #ff329c; } /* Name.Tag */
65
61
  .highlight .nv { color: #f8f8f2; } /* Name.Variable */
66
- .highlight .ow { color: #f92672; } /* Operator.Word */
62
+ .highlight .ow { color: #ff329c; } /* Operator.Word */
67
63
  .highlight .w { color: #f8f8f2; } /* Text.Whitespace */
68
64
  .highlight .mf { color: #ae81ff; } /* Literal.Number.Float */
69
65
  .highlight .mh { color: #ae81ff; } /* Literal.Number.Hex */
@@ -85,7 +81,7 @@
85
81
  .highlight .vg { color: #f8f8f2; } /* Name.Variable.Global */
86
82
  .highlight .vi { color: #f8f8f2; } /* Name.Variable.Instance */
87
83
  .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 */
84
+ .highlight .gu { color: #938d75; } /* Generic.Subheading & Diff Unified/Comment? */
85
+ .highlight .gd { color: #ff329c; background-color: #561c08; } /* Generic.Deleted & Diff Deleted */
90
86
  .highlight .gi { color: #a6e22e; background-color: #0b5858; } /* Generic.Inserted & Diff Inserted */
91
87
  }
@@ -10,10 +10,11 @@
10
10
 
11
11
  /* Common color */
12
12
  --text-color: rgb(175, 176, 177);
13
- --text-muted-color: rgb(107, 116, 124);
13
+ --text-muted-color: rgb(125, 136, 146);
14
14
  --heading-color: #cccccc;
15
+ --label-color: #a4a4c2;
15
16
  --blockquote-border-color: rgb(66, 66, 66);
16
- --blockquote-text-color: rgb(117, 117, 117);
17
+ --blockquote-text-color: #868686;
17
18
  --link-color: rgb(138, 180, 248);
18
19
  --link-underline-color: rgb(82, 108, 150);
19
20
  --button-bg: rgb(39, 40, 43);
@@ -22,7 +23,6 @@
22
23
  --btn-backtotop-border-color: var(--btn-border-color);
23
24
  --btn-box-shadow: var(--main-bg);
24
25
  --card-header-bg: rgb(48, 48, 48);
25
- --label-color: rgb(108, 117, 125);
26
26
  --checkbox-color: rgb(118, 120, 121);
27
27
  --checkbox-checked-color: var(--link-color);
28
28
  --img-bg: radial-gradient(circle, rgb(22, 22, 24) 0%, rgb(32, 32, 32) 100%);
@@ -34,6 +34,8 @@
34
34
  );
35
35
 
36
36
  /* Sidebar */
37
+ --site-title-color: #717070;
38
+ --site-subtitle-color: #6d6c6b;
37
39
  --sidebar-bg: radial-gradient(circle, #242424 0%, #1d1f27 100%);
38
40
  --sidebar-muted-color: #6d6c6b;
39
41
  --sidebar-active-color: rgb(255, 255, 255, 0.95);
@@ -58,7 +60,6 @@
58
60
 
59
61
  /* Posts */
60
62
  --toc-highlight: rgb(116, 178, 243);
61
- --tag-bg: rgb(41, 40, 40);
62
63
  --tag-hover: rgb(43, 56, 62);
63
64
  --tb-odd-bg: rgba(42, 47, 53, 0.52); /* odd rows of the posts' table */
64
65
  --tb-even-bg: rgb(31, 31, 34); /* even rows of the posts' table */
@@ -66,7 +67,6 @@
66
67
  --footnote-target-bg: rgb(63, 81, 181);
67
68
  --btn-share-color: #6c757d;
68
69
  --btn-share-hover-color: #bfc1ca;
69
- --relate-post-date: var(--text-muted-color);
70
70
  --card-bg: #1e1e1e;
71
71
  --card-hovor-bg: #464d51;
72
72
  --card-shadow: rgb(21, 21, 21, 0.72) 0 6px 18px 0,
@@ -3,22 +3,22 @@
3
3
  */
4
4
 
5
5
  @mixin light-syntax {
6
- /* see: <https://raw.githubusercontent.com/jwarby/pygments-css/master/github.css> */
6
+ /* based on: <https://raw.githubusercontent.com/jwarby/pygments-css/master/github.css> */
7
7
  .highlight .hll { background-color: #ffffcc; }
8
- .highlight .c { color: #999988; font-style: italic; } /* Comment */
8
+ .highlight .c { color: #717165; font-style: italic; } /* Comment */
9
9
  .highlight .err { color: #a61717; background-color: #e3d2d2; } /* Error */
10
10
  .highlight .k { color: #000000; font-weight: bold; } /* Keyword */
11
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 */
12
+ .highlight .cm { color: #717165; font-style: italic; } /* Comment.Multiline */
13
+ .highlight .cp { color: #707070; font-style: italic; } /* Comment.Preproc */
14
+ .highlight .c1 { color: #717165; font-style: italic; } /* Comment.Single */
15
+ .highlight .cs { color: #707070; font-weight: bold; font-style: italic; } /* Comment.Special */
16
16
  .highlight .gd { color: #d01040; background-color: #ffdddd; } /* Generic.Deleted */
17
17
  .highlight .ge { color: #000000; font-style: italic; } /* Generic.Emph */
18
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 */
19
+ .highlight .gh { color: #707070; } /* Generic.Heading */
20
+ .highlight .gi { color: #005e5e; background-color: #ddffdd; } /* Generic.Inserted */
21
+ .highlight .go { color: #707070; } /* Generic.Output */
22
22
  .highlight .gp { color: #555555; } /* Generic.Prompt */
23
23
  .highlight .gs { font-weight: bold; } /* Generic.Strong */
24
24
  .highlight .gu { color: #aaaaaa; } /* Generic.Subheading */
@@ -31,10 +31,10 @@
31
31
  .highlight .kt { color: #445588; font-weight: bold; } /* Keyword.Type */
32
32
  .highlight .m { color: #009999; } /* Literal.Number */
33
33
  .highlight .s { color: #d01040; } /* Literal.String */
34
- .highlight .na { color: #008080; } /* Name.Attribute */
35
- .highlight .nb { color: #0086b3; } /* Name.Builtin */
34
+ .highlight .na { color: #005e5e; } /* Name.Attribute */
35
+ .highlight .nb { color: #0078a1; } /* Name.Builtin */
36
36
  .highlight .nc { color: #445588; font-weight: bold; } /* Name.Class */
37
- .highlight .no { color: #008080; } /* Name.Constant */
37
+ .highlight .no { color: #005e5e; } /* Name.Constant */
38
38
  .highlight .nd { color: #3c5d5d; font-weight: bold; } /* Name.Decorator */
39
39
  .highlight .ni { color: #800080; } /* Name.Entity */
40
40
  .highlight .ne { color: #990000; font-weight: bold; } /* Name.Exception */
@@ -42,7 +42,7 @@
42
42
  .highlight .nl { color: #990000; font-weight: bold; } /* Name.Label */
43
43
  .highlight .nn { color: #555555; } /* Name.Namespace */
44
44
  .highlight .nt { color: #000080; } /* Name.Tag */
45
- .highlight .nv { color: #008080; } /* Name.Variable */
45
+ .highlight .nv { color: #005e5e; } /* Name.Variable */
46
46
  .highlight .ow { color: #000000; font-weight: bold; } /* Operator.Word */
47
47
  .highlight .w { color: #bbbbbb; } /* Text.Whitespace */
48
48
  .highlight .mf { color: #009999; } /* Literal.Number.Float */
@@ -60,22 +60,23 @@
60
60
  .highlight .sr { color: #009926; } /* Literal.String.Regex */
61
61
  .highlight .s1 { color: #d01040; } /* Literal.String.Single */
62
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 */
63
+ .highlight .bp { color: #707070; } /* Name.Builtin.Pseudo */
64
+ .highlight .vc { color: #005e5e; } /* Name.Variable.Class */
65
+ .highlight .vg { color: #005e5e; } /* Name.Variable.Global */
66
+ .highlight .vi { color: #005e5e; } /* Name.Variable.Instance */
67
67
  .highlight .il { color: #009999; } /* Literal.Number.Integer.Long */
68
68
 
69
69
  /* --- custom light colors --- */
70
70
  --language-border-color: rgba(172, 169, 169, 0.2);
71
- --highlight-bg-color: #f7f7f7;
71
+ --highlight-bg-color: #fcfcfc;
72
72
  --highlighter-rouge-color: #3f596f;
73
- --highlight-lineno-color: #c2c6cc;
73
+ --highlight-lineno-color: #959595;
74
74
  --inline-code-bg: #f6f6f7;
75
- --code-header-text-color: #a3a3b1;
76
- --code-header-muted-color: #ebebeb;
77
- --code-header-icon-color: #d1d1d1;
75
+ --code-header-text-color: #a3a3a3;
76
+ --code-header-muted-color: #e2e1e1;
77
+ --code-header-icon-color: #c9c8c8;
78
78
  --clipboard-checked-color: #43c743;
79
+ --code-snippets-color: #b01662;
79
80
 
80
81
  [class^='prompt-'] {
81
82
  --inline-code-bg: #fbfafa;
@@ -10,10 +10,11 @@
10
10
 
11
11
  /* Common color */
12
12
  --text-color: #34343c;
13
- --text-muted-color: #8e8e8e;
13
+ --text-muted-color: #757575;
14
14
  --heading-color: black;
15
+ --label-color: #4d4d5b;
15
16
  --blockquote-border-color: #eeeeee;
16
- --blockquote-text-color: #9a9a9a;
17
+ --blockquote-text-color: #757575;
17
18
  --link-color: #0153ab;
18
19
  --link-underline-color: #dee2e6;
19
20
  --button-bg: #ffffff;
@@ -36,8 +37,10 @@
36
37
  );
37
38
 
38
39
  /* Sidebar */
40
+ --site-title-color: rgb(113, 113, 113);
41
+ --site-subtitle-color: #717171;
39
42
  --sidebar-bg: #f6f8fa;
40
- --sidebar-muted-color: #a2a19f;
43
+ --sidebar-muted-color: #545454;
41
44
  --sidebar-active-color: #1d1d1d;
42
45
  --sidebar-hover-bg: rgb(223, 233, 241, 0.64);
43
46
  --sidebar-btn-bg: white;
@@ -60,16 +63,13 @@
60
63
  --btn-text-color: #676666;
61
64
 
62
65
  /* Posts */
63
- --toc-highlight: #563d7c;
66
+ --toc-highlight: #47566c;
64
67
  --btn-share-hover-color: var(--link-color);
65
68
  --card-bg: white;
66
69
  --card-hovor-bg: #e2e2e2;
67
70
  --card-shadow: rgb(104, 104, 104, 0.05) 0 2px 6px 0,
68
71
  rgba(211, 209, 209, 0.15) 0 0 0 1px;
69
- --label-color: #616161;
70
- --relate-post-date: rgba(30, 55, 70, 0.4);
71
72
  --footnote-target-bg: lightcyan;
72
- --tag-bg: rgba(0, 0, 0, 0.075);
73
73
  --tag-border: #dee2e6;
74
74
  --tag-shadow: var(--btn-border-color);
75
75
  --tag-hover: rgb(222, 226, 230);
@@ -52,10 +52,10 @@ h1 + .post-meta {
52
52
  }
53
53
 
54
54
  em {
55
- @extend %text-color;
55
+ color: var(--text-color);
56
56
 
57
57
  a {
58
- @extend %text-color;
58
+ color: inherit;
59
59
  }
60
60
  }
61
61
  }
@@ -73,7 +73,7 @@ h1 + .post-meta {
73
73
  line-height: 1.2rem;
74
74
 
75
75
  > a {
76
- color: var(--text-color);
76
+ @extend %text-highlight;
77
77
 
78
78
  &:hover {
79
79
  @extend %link-hover;
@@ -99,15 +99,18 @@ h1 + .post-meta {
99
99
  .share-icons {
100
100
  font-size: 1.2rem;
101
101
 
102
- > i {
102
+ > *:hover {
103
+ i {
104
+ @extend %btn-share-hovor;
105
+ }
106
+ }
107
+
108
+ button {
103
109
  position: relative;
104
- bottom: 1px;
110
+ bottom: 2px;
111
+ padding: 0;
105
112
 
106
113
  @extend %cursor-pointer;
107
-
108
- &:hover {
109
- @extend %btn-share-hovor;
110
- }
111
114
  }
112
115
 
113
116
  a {
@@ -117,10 +120,6 @@ h1 + .post-meta {
117
120
 
118
121
  &:hover {
119
122
  text-decoration: none;
120
-
121
- > i {
122
- @extend %btn-share-hovor;
123
- }
124
123
  }
125
124
  }
126
125
 
@@ -157,8 +156,6 @@ h1 + .post-meta {
157
156
  line-height: 2rem;
158
157
 
159
158
  .post-tag {
160
- background: var(--tag-bg);
161
-
162
159
  &:hover {
163
160
  @extend %link-hover;
164
161
  @extend %tag-hover;
@@ -334,7 +331,7 @@ h1 + .post-meta {
334
331
  em {
335
332
  @extend %normal-font-style;
336
333
 
337
- color: var(--relate-post-date);
334
+ color: var(--text-muted-color);
338
335
  }
339
336
 
340
337
  p {
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Chirpy v6.1.0 (https://github.com/cotes2020/jekyll-theme-chirpy/)
3
+ * © 2019 Cotes Chung
4
+ * MIT Licensed
5
+ */
6
+ !function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,l(o.key),o)}}function r(e,r,o){return r&&t(e.prototype,r),o&&t(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function l(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var i=$(".mode-toggle");var s=$("body"),u="sidebar-display",c=function(){function t(){e(this,t)}return r(t,null,[{key:"toggle",value:function(){!1===t.isExpanded?s.attr(u,""):s.removeAttr(u),t.isExpanded=!t.isExpanded}}]),t}();o(c,"isExpanded",!1);var f=$("#sidebar-trigger"),d=$("#search-trigger"),p=$("#search-cancel"),b=$("#main>.row"),v=$("#topbar-title"),m=$("#search-wrapper"),g=$("#search-result-wrapper"),y=$("#search-results"),h=$("#search-input"),C=$("#search-hints"),w=$("html,body"),k="loaded",A="unloaded",S="input-focus",T="d-flex",j=function(){function t(){e(this,t)}return r(t,null,[{key:"on",value:function(){t.offset=window.scrollY,w.scrollTop(0)}},{key:"off",value:function(){w.scrollTop(t.offset)}}]),t}();o(j,"offset",0),o(j,"resultVisible",!1);var E=function(){function t(){e(this,t)}return r(t,null,[{key:"on",value:function(){f.addClass(A),v.addClass(A),d.addClass(A),m.addClass(T),p.addClass(k)}},{key:"off",value:function(){p.removeClass(k),m.removeClass(T),f.removeClass(A),v.removeClass(A),d.removeClass(A)}}]),t}(),O=function(){function t(){e(this,t)}return r(t,null,[{key:"on",value:function(){j.resultVisible||(j.on(),g.removeClass(A),b.addClass(A),j.resultVisible=!0)}},{key:"off",value:function(){j.resultVisible&&(y.empty(),C.hasClass(A)&&C.removeClass(A),g.addClass(A),b.removeClass(A),j.off(),h.val(""),j.resultVisible=!1)}}]),t}();function x(){return p.hasClass(k)}var P=$(".collapse");var V,I;$(".code-header>button").children().attr("class"),V=$(window),I=$("#back-to-top"),V.on("scroll",(function(){V.scrollTop()>50?I.fadeIn():I.fadeOut()})),I.on("click",(function(){V.scrollTop(0)})),n(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map((function(e){return new bootstrap.Tooltip(e)})),0!==i.length&&i.off().on("click",(function(e){var t=$(e.target),r=t.prop("tagName")==="button".toUpperCase()?t:t.parent();modeToggle.flipMode(),r.trigger("blur")})),$("#sidebar-trigger").on("click",c.toggle),$("#mask").on("click",c.toggle),d.on("click",(function(){E.on(),O.on(),h.trigger("focus")})),p.on("click",(function(){E.off(),O.off()})),h.on("focus",(function(){m.addClass(S)})),h.on("focusout",(function(){m.removeClass(S)})),h.on("input",(function(){""===h.val()?x()?C.removeClass(A):O.off():(O.on(),x()&&C.addClass(A))})),P.on("hide.bs.collapse",(function(){var e="h_"+$(this).attr("id").substring(2);e&&($("#".concat(e," .far.fa-folder-open")).attr("class","far fa-folder fa-fw"),$("#".concat(e," i.fas")).addClass("rotate"),$("#".concat(e)).removeClass("hide-border-bottom"))})),P.on("show.bs.collapse",(function(){var e="h_"+$(this).attr("id").substring(2);e&&($("#".concat(e," .far.fa-folder")).attr("class","far fa-folder-open fa-fw"),$("#".concat(e," i.fas")).removeClass("rotate"),$("#".concat(e)).addClass("hide-border-bottom"))}))}();
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Chirpy v6.1.0 (https://github.com/cotes2020/jekyll-theme-chirpy/)
3
+ * © 2019 Cotes Chung
4
+ * MIT Licensed
5
+ */
6
+ !function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function r(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function n(e,t,r){return(t=i(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var l=$(".mode-toggle");var s=$("body"),u="sidebar-display",f=function(){function t(){e(this,t)}return r(t,null,[{key:"toggle",value:function(){!1===t.isExpanded?s.attr(u,""):s.removeAttr(u),t.isExpanded=!t.isExpanded}}]),t}();n(f,"isExpanded",!1);var c=$("#sidebar-trigger"),d=$("#search-trigger"),p=$("#search-cancel"),b=$("#main>.row"),m=$("#topbar-title"),v=$("#search-wrapper"),y=$("#search-result-wrapper"),g=$("#search-results"),h=$("#search-input"),C=$("#search-hints"),w=$("html,body"),k="loaded",A="unloaded",S="input-focus",T="d-flex",j=function(){function t(){e(this,t)}return r(t,null,[{key:"on",value:function(){t.offset=window.scrollY,w.scrollTop(0)}},{key:"off",value:function(){w.scrollTop(t.offset)}}]),t}();n(j,"offset",0),n(j,"resultVisible",!1);var E,O,x=function(){function t(){e(this,t)}return r(t,null,[{key:"on",value:function(){c.addClass(A),m.addClass(A),d.addClass(A),v.addClass(T),p.addClass(k)}},{key:"off",value:function(){p.removeClass(k),v.removeClass(T),c.removeClass(A),m.removeClass(A),d.removeClass(A)}}]),t}(),P=function(){function t(){e(this,t)}return r(t,null,[{key:"on",value:function(){j.resultVisible||(j.on(),y.removeClass(A),b.addClass(A),j.resultVisible=!0)}},{key:"off",value:function(){j.resultVisible&&(g.empty(),C.hasClass(A)&&C.removeClass(A),y.addClass(A),b.removeClass(A),j.off(),h.val(""),j.resultVisible=!1)}}]),t}();function V(){return p.hasClass(k)}E=$(window),O=$("#back-to-top"),E.on("scroll",(function(){E.scrollTop()>50?O.fadeIn():O.fadeOut()})),O.on("click",(function(){E.scrollTop(0)})),o(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map((function(e){return new bootstrap.Tooltip(e)})),0!==l.length&&l.off().on("click",(function(e){var t=$(e.target),r=t.prop("tagName")==="button".toUpperCase()?t:t.parent();modeToggle.flipMode(),r.trigger("blur")})),$("#sidebar-trigger").on("click",f.toggle),$("#mask").on("click",f.toggle),d.on("click",(function(){x.on(),P.on(),h.trigger("focus")})),p.on("click",(function(){x.off(),P.off()})),h.on("focus",(function(){v.addClass(S)})),h.on("focusout",(function(){v.removeClass(S)})),h.on("input",(function(){""===h.val()?V()?C.removeClass(A):P.off():(P.on(),V()&&C.addClass(A))}))}();
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Chirpy v6.1.0 (https://github.com/cotes2020/jekyll-theme-chirpy/)
3
+ * © 2019 Cotes Chung
4
+ * MIT Licensed
5
+ */
6
+ !function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,i(n.key),n)}}function r(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function n(t,e,r){return(e=i(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function i(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}var l=$(".mode-toggle");var s=$("body"),u="sidebar-display",c=function(){function e(){t(this,e)}return r(e,null,[{key:"toggle",value:function(){!1===e.isExpanded?s.attr(u,""):s.removeAttr(u),e.isExpanded=!e.isExpanded}}]),e}();n(c,"isExpanded",!1);var f=$("#sidebar-trigger"),d=$("#search-trigger"),m=$("#search-cancel"),p=$("#main>.row"),g=$("#topbar-title"),v=$("#search-wrapper"),y=$("#search-result-wrapper"),b=$("#search-results"),h=$("#search-input"),C=$("#search-hints"),w=$("html,body"),k="loaded",T="unloaded",j="input-focus",A="d-flex",S=function(){function e(){t(this,e)}return r(e,null,[{key:"on",value:function(){e.offset=window.scrollY,w.scrollTop(0)}},{key:"off",value:function(){w.scrollTop(e.offset)}}]),e}();n(S,"offset",0),n(S,"resultVisible",!1);var x=function(){function e(){t(this,e)}return r(e,null,[{key:"on",value:function(){f.addClass(T),g.addClass(T),d.addClass(T),v.addClass(A),m.addClass(k)}},{key:"off",value:function(){m.removeClass(k),v.removeClass(A),f.removeClass(T),g.removeClass(T),d.removeClass(T)}}]),e}(),E=function(){function e(){t(this,e)}return r(e,null,[{key:"on",value:function(){S.resultVisible||(S.on(),y.removeClass(T),p.addClass(T),S.resultVisible=!0)}},{key:"off",value:function(){S.resultVisible&&(b.empty(),C.hasClass(T)&&C.removeClass(T),y.addClass(T),p.removeClass(T),S.off(),h.val(""),S.resultVisible=!1)}}]),e}();function F(){return m.hasClass(k)}$(".collapse");function O(t){t.parent().removeClass("shimmer")}$(".code-header>button").children().attr("class");var D,P,V,I=function(){function e(){t(this,e)}return r(e,null,[{key:"attrTimestamp",get:function(){return"data-ts"}},{key:"attrDateFormat",get:function(){return"data-df"}},{key:"locale",get:function(){return $("html").attr("lang").substring(0,2)}},{key:"getTimestamp",value:function(t){return Number(t.attr(e.attrTimestamp))}},{key:"getDateFormat",value:function(t){return t.attr(e.attrDateFormat)}}]),e}();D=$(window),P=$("#back-to-top"),D.on("scroll",(function(){D.scrollTop()>50?P.fadeIn():P.fadeOut()})),P.on("click",(function(){D.scrollTop(0)})),o(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map((function(t){return new bootstrap.Tooltip(t)})),0!==l.length&&l.off().on("click",(function(t){var e=$(t.target),r=e.prop("tagName")==="button".toUpperCase()?e:e.parent();modeToggle.flipMode(),r.trigger("blur")})),$("#sidebar-trigger").on("click",c.toggle),$("#mask").on("click",c.toggle),d.on("click",(function(){x.on(),E.on(),h.trigger("focus")})),m.on("click",(function(){x.off(),E.off()})),h.on("focus",(function(){v.addClass(j)})),h.on("focusout",(function(){v.removeClass(j)})),h.on("input",(function(){""===h.val()?F()?C.removeClass(T):E.off():(E.on(),F()&&C.addClass(T))})),dayjs.locale(I.locale),dayjs.extend(window.dayjs_plugin_localizedFormat),$("[".concat(I.attrTimestamp,"]")).each((function(){var t=dayjs.unix(I.getTimestamp($(this))),e=t.format(I.getDateFormat($(this)));$(this).text(e),$(this).removeAttr(I.attrTimestamp),$(this).removeAttr(I.attrDateFormat);var r=$(this).attr("data-bs-toggle");if(void 0!==r&&"tooltip"===r){var n=t.format("llll");$(this).attr("data-bs-title",n),new bootstrap.Tooltip($(this))}})),(V=$("#core-wrapper img[data-src]")).length<=0||(document.addEventListener("lazyloaded",(function(t){O($(t.target))})),V.each((function(){$(this).hasClass("ls-is-cached")&&O($(this))})))}();
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Chirpy v6.1.0 (https://github.com/cotes2020/jekyll-theme-chirpy/)
3
+ * © 2019 Cotes Chung
4
+ * MIT Licensed
5
+ */
6
+ !function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,i(n.key),n)}}function r(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function n(t,e,r){return(e=i(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function i(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}var l=$(".mode-toggle");var s=$("body"),u="sidebar-display",c=function(){function e(){t(this,e)}return r(e,null,[{key:"toggle",value:function(){!1===e.isExpanded?s.attr(u,""):s.removeAttr(u),e.isExpanded=!e.isExpanded}}]),e}();n(c,"isExpanded",!1);var f=$("#sidebar-trigger"),d=$("#search-trigger"),m=$("#search-cancel"),p=$("#main>.row"),v=$("#topbar-title"),g=$("#search-wrapper"),y=$("#search-result-wrapper"),b=$("#search-results"),h=$("#search-input"),C=$("#search-hints"),k=$("html,body"),w="loaded",T="unloaded",j="input-focus",A="d-flex",S=function(){function e(){t(this,e)}return r(e,null,[{key:"on",value:function(){e.offset=window.scrollY,k.scrollTop(0)}},{key:"off",value:function(){k.scrollTop(e.offset)}}]),e}();n(S,"offset",0),n(S,"resultVisible",!1);var x=function(){function e(){t(this,e)}return r(e,null,[{key:"on",value:function(){f.addClass(T),v.addClass(T),d.addClass(T),g.addClass(A),m.addClass(w)}},{key:"off",value:function(){m.removeClass(w),g.removeClass(A),f.removeClass(T),v.removeClass(T),d.removeClass(T)}}]),e}(),E=function(){function e(){t(this,e)}return r(e,null,[{key:"on",value:function(){S.resultVisible||(S.on(),y.removeClass(T),p.addClass(T),S.resultVisible=!0)}},{key:"off",value:function(){S.resultVisible&&(b.empty(),C.hasClass(T)&&C.removeClass(T),y.addClass(T),p.removeClass(T),S.off(),h.val(""),S.resultVisible=!1)}}]),e}();function F(){return m.hasClass(w)}$(".collapse");$(".code-header>button").children().attr("class");var O,D,P=function(){function e(){t(this,e)}return r(e,null,[{key:"attrTimestamp",get:function(){return"data-ts"}},{key:"attrDateFormat",get:function(){return"data-df"}},{key:"locale",get:function(){return $("html").attr("lang").substring(0,2)}},{key:"getTimestamp",value:function(t){return Number(t.attr(e.attrTimestamp))}},{key:"getDateFormat",value:function(t){return t.attr(e.attrDateFormat)}}]),e}();O=$(window),D=$("#back-to-top"),O.on("scroll",(function(){O.scrollTop()>50?D.fadeIn():D.fadeOut()})),D.on("click",(function(){O.scrollTop(0)})),o(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map((function(t){return new bootstrap.Tooltip(t)})),0!==l.length&&l.off().on("click",(function(t){var e=$(t.target),r=e.prop("tagName")==="button".toUpperCase()?e:e.parent();modeToggle.flipMode(),r.trigger("blur")})),$("#sidebar-trigger").on("click",c.toggle),$("#mask").on("click",c.toggle),d.on("click",(function(){x.on(),E.on(),h.trigger("focus")})),m.on("click",(function(){x.off(),E.off()})),h.on("focus",(function(){g.addClass(j)})),h.on("focusout",(function(){g.removeClass(j)})),h.on("input",(function(){""===h.val()?F()?C.removeClass(T):E.off():(E.on(),F()&&C.addClass(T))})),dayjs.locale(P.locale),dayjs.extend(window.dayjs_plugin_localizedFormat),$("[".concat(P.attrTimestamp,"]")).each((function(){var t=dayjs.unix(P.getTimestamp($(this))),e=t.format(P.getDateFormat($(this)));$(this).text(e),$(this).removeAttr(P.attrTimestamp),$(this).removeAttr(P.attrDateFormat);var r=$(this).attr("data-bs-toggle");if(void 0!==r&&"tooltip"===r){var n=t.format("llll");$(this).attr("data-bs-title",n),new bootstrap.Tooltip($(this))}}))}();
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Chirpy v6.1.0 (https://github.com/cotes2020/jekyll-theme-chirpy/)
3
+ * © 2019 Cotes Chung
4
+ * MIT Licensed
5
+ */
6
+ !function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}function n(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function r(t,e,n){return(e=i(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function i(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}var l=$(".mode-toggle");var u=$("body"),s="sidebar-display",c=function(){function e(){t(this,e)}return n(e,null,[{key:"toggle",value:function(){!1===e.isExpanded?u.attr(s,""):u.removeAttr(s),e.isExpanded=!e.isExpanded}}]),e}();r(c,"isExpanded",!1);var f=$("#sidebar-trigger"),d=$("#search-trigger"),p=$("#search-cancel"),m=$("#main>.row"),v=$("#topbar-title"),g=$("#search-wrapper"),b=$("#search-result-wrapper"),h=$("#search-results"),y=$("#search-input"),C=$("#search-hints"),w=$("html,body"),k="loaded",S="unloaded",A="input-focus",T="d-flex",E=function(){function e(){t(this,e)}return n(e,null,[{key:"on",value:function(){e.offset=window.scrollY,w.scrollTop(0)}},{key:"off",value:function(){w.scrollTop(e.offset)}}]),e}();r(E,"offset",0),r(E,"resultVisible",!1);var j=function(){function e(){t(this,e)}return n(e,null,[{key:"on",value:function(){f.addClass(S),v.addClass(S),d.addClass(S),g.addClass(T),p.addClass(k)}},{key:"off",value:function(){p.removeClass(k),g.removeClass(T),f.removeClass(S),v.removeClass(S),d.removeClass(S)}}]),e}(),x=function(){function e(){t(this,e)}return n(e,null,[{key:"on",value:function(){E.resultVisible||(E.on(),b.removeClass(S),m.addClass(S),E.resultVisible=!0)}},{key:"off",value:function(){E.resultVisible&&(h.empty(),C.hasClass(S)&&C.removeClass(S),b.addClass(S),m.removeClass(S),E.off(),y.val(""),E.resultVisible=!1)}}]),e}();function O(){return p.hasClass(k)}$(".collapse");var P=".code-header>button",V="fas fa-check",I="timeout",N="data-title-succeed",q="data-bs-original-title",z=2e3;function D(t){if($(t)[0].hasAttribute(I)){var e=$(t).attr(I);if(Number(e)>Date.now())return!0}return!1}function M(t){$(t).attr(I,Date.now()+z)}function U(t){$(t).removeAttr(I)}var B,J,L,Y=$(P).children().attr("class");function F(t){t.parent().removeClass("shimmer")}B=$(window),J=$("#back-to-top"),B.on("scroll",(function(){B.scrollTop()>50?J.fadeIn():J.fadeOut()})),J.on("click",(function(){B.scrollTop(0)})),o(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map((function(t){return new bootstrap.Tooltip(t)})),0!==l.length&&l.off().on("click",(function(t){var e=$(t.target),n=e.prop("tagName")==="button".toUpperCase()?e:e.parent();modeToggle.flipMode(),n.trigger("blur")})),$("#sidebar-trigger").on("click",c.toggle),$("#mask").on("click",c.toggle),d.on("click",(function(){j.on(),x.on(),y.trigger("focus")})),p.on("click",(function(){j.off(),x.off()})),y.on("focus",(function(){g.addClass(A)})),y.on("focusout",(function(){g.removeClass(A)})),y.on("input",(function(){""===y.val()?O()?C.removeClass(S):x.off():(x.on(),O()&&C.addClass(S))})),(L=$("#core-wrapper img[data-src]")).length<=0||(document.addEventListener("lazyloaded",(function(t){F($(t.target))})),L.each((function(){$(this).hasClass("ls-is-cached")&&F($(this))}))),$(".popup")<=0||$(".popup").magnificPopup({type:"image",closeOnContentClick:!0,showCloseBtn:!1,zoom:{enabled:!0,duration:300,easing:"ease-in-out"}}),function(){if($(P).length){var t=new ClipboardJS(P,{target:function(t){return t.parentNode.nextElementSibling.querySelector("code .rouge-code")}});o(document.querySelectorAll(P)).map((function(t){return new bootstrap.Tooltip(t,{placement:"left"})})),t.on("success",(function(t){t.clearSelection();var e=t.trigger;D(e)||(!function(t){$(t).children().attr("class",V)}(e),function(t){var e=$(t).attr(N);$(t).attr(q,e).tooltip("show")}(e),M(e),setTimeout((function(){!function(t){$(t).tooltip("hide").removeAttr(q)}(e),function(t){$(t).children().attr("class",Y)}(e),U(e)}),z))}))}$("#copy-link").on("click",(function(t){var e=$(t.target);D(e)||navigator.clipboard.writeText(window.location.href).then((function(){var t=e.attr(q),n=e.attr(N);e.attr(q,n).tooltip("show"),M(e),setTimeout((function(){e.attr(q,t),U(e)}),z)}))}))}()}();
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Chirpy v6.1.0 (https://github.com/cotes2020/jekyll-theme-chirpy/)
3
+ * © 2019 Cotes Chung
4
+ * MIT Licensed
5
+ */
6
+ !function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,i(n.key),n)}}function r(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function n(t,e,r){return(e=i(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function i(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}var l=$(".mode-toggle");var s=$("body"),c="sidebar-display",u=function(){function e(){t(this,e)}return r(e,null,[{key:"toggle",value:function(){!1===e.isExpanded?s.attr(c,""):s.removeAttr(c),e.isExpanded=!e.isExpanded}}]),e}();n(u,"isExpanded",!1);var f=$("#sidebar-trigger"),d=$("#search-trigger"),p=$("#search-cancel"),m=$("#main>.row"),g=$("#topbar-title"),v=$("#search-wrapper"),h=$("#search-result-wrapper"),b=$("#search-results"),y=$("#search-input"),w=$("#search-hints"),C=$("html,body"),k="loaded",S="unloaded",T="input-focus",A="d-flex",j=function(){function e(){t(this,e)}return r(e,null,[{key:"on",value:function(){e.offset=window.scrollY,C.scrollTop(0)}},{key:"off",value:function(){C.scrollTop(e.offset)}}]),e}();n(j,"offset",0),n(j,"resultVisible",!1);var x=function(){function e(){t(this,e)}return r(e,null,[{key:"on",value:function(){f.addClass(S),g.addClass(S),d.addClass(S),v.addClass(A),p.addClass(k)}},{key:"off",value:function(){p.removeClass(k),v.removeClass(A),f.removeClass(S),g.removeClass(S),d.removeClass(S)}}]),e}(),E=function(){function e(){t(this,e)}return r(e,null,[{key:"on",value:function(){j.resultVisible||(j.on(),h.removeClass(S),m.addClass(S),j.resultVisible=!0)}},{key:"off",value:function(){j.resultVisible&&(b.empty(),w.hasClass(S)&&w.removeClass(S),h.addClass(S),m.removeClass(S),j.off(),y.val(""),j.resultVisible=!1)}}]),e}();function D(){return p.hasClass(k)}$(".collapse");var O=".code-header>button",F="fas fa-check",P="timeout",N="data-title-succeed",V="data-bs-original-title",q=2e3;function I(t){if($(t)[0].hasAttribute(P)){var e=$(t).attr(P);if(Number(e)>Date.now())return!0}return!1}function z(t){$(t).attr(P,Date.now()+q)}function L(t){$(t).removeAttr(P)}var M=$(O).children().attr("class");function U(t){t.parent().removeClass("shimmer")}var _,B,J,Y=function(){function e(){t(this,e)}return r(e,null,[{key:"attrTimestamp",get:function(){return"data-ts"}},{key:"attrDateFormat",get:function(){return"data-df"}},{key:"locale",get:function(){return $("html").attr("lang").substring(0,2)}},{key:"getTimestamp",value:function(t){return Number(t.attr(e.attrTimestamp))}},{key:"getDateFormat",value:function(t){return t.attr(e.attrDateFormat)}}]),e}();_=$(window),B=$("#back-to-top"),_.on("scroll",(function(){_.scrollTop()>50?B.fadeIn():B.fadeOut()})),B.on("click",(function(){_.scrollTop(0)})),o(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map((function(t){return new bootstrap.Tooltip(t)})),0!==l.length&&l.off().on("click",(function(t){var e=$(t.target),r=e.prop("tagName")==="button".toUpperCase()?e:e.parent();modeToggle.flipMode(),r.trigger("blur")})),$("#sidebar-trigger").on("click",u.toggle),$("#mask").on("click",u.toggle),d.on("click",(function(){x.on(),E.on(),y.trigger("focus")})),p.on("click",(function(){x.off(),E.off()})),y.on("focus",(function(){v.addClass(T)})),y.on("focusout",(function(){v.removeClass(T)})),y.on("input",(function(){""===y.val()?D()?w.removeClass(S):E.off():(E.on(),D()&&w.addClass(S))})),(J=$("#core-wrapper img[data-src]")).length<=0||(document.addEventListener("lazyloaded",(function(t){U($(t.target))})),J.each((function(){$(this).hasClass("ls-is-cached")&&U($(this))}))),$(".popup")<=0||$(".popup").magnificPopup({type:"image",closeOnContentClick:!0,showCloseBtn:!1,zoom:{enabled:!0,duration:300,easing:"ease-in-out"}}),dayjs.locale(Y.locale),dayjs.extend(window.dayjs_plugin_localizedFormat),$("[".concat(Y.attrTimestamp,"]")).each((function(){var t=dayjs.unix(Y.getTimestamp($(this))),e=t.format(Y.getDateFormat($(this)));$(this).text(e),$(this).removeAttr(Y.attrTimestamp),$(this).removeAttr(Y.attrDateFormat);var r=$(this).attr("data-bs-toggle");if(void 0!==r&&"tooltip"===r){var n=t.format("llll");$(this).attr("data-bs-title",n),new bootstrap.Tooltip($(this))}})),function(){if($(O).length){var t=new ClipboardJS(O,{target:function(t){return t.parentNode.nextElementSibling.querySelector("code .rouge-code")}});o(document.querySelectorAll(O)).map((function(t){return new bootstrap.Tooltip(t,{placement:"left"})})),t.on("success",(function(t){t.clearSelection();var e=t.trigger;I(e)||(!function(t){$(t).children().attr("class",F)}(e),function(t){var e=$(t).attr(N);$(t).attr(V,e).tooltip("show")}(e),z(e),setTimeout((function(){!function(t){$(t).tooltip("hide").removeAttr(V)}(e),function(t){$(t).children().attr("class",M)}(e),L(e)}),q))}))}$("#copy-link").on("click",(function(t){var e=$(t.target);I(e)||navigator.clipboard.writeText(window.location.href).then((function(){var t=e.attr(V),r=e.attr(N);e.attr(V,r).tooltip("show"),z(e),setTimeout((function(){e.attr(V,t),L(e)}),q)}))}))}(),document.querySelector("#core-wrapper h2,#core-wrapper h3")&&tocbot.init({tocSelector:"#toc",contentSelector:".post-content",ignoreSelector:"[data-toc-skip]",headingSelector:"h2, h3",orderedList:!1,scrollSmooth:!1})}();
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-chirpy-birdly
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.1
4
+ version: 6.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jelili Adesina
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-18 00:00:00.000000000 Z
11
+ date: 2023-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -197,7 +197,7 @@ files:
197
197
  - _sass/colors/dark-typography.scss
198
198
  - _sass/colors/light-syntax.scss
199
199
  - _sass/colors/light-typography.scss
200
- - _sass/jekyll-theme-chirpy-birdly.scss
200
+ - _sass/jekyll-theme-chirpy.scss
201
201
  - _sass/layout/archives.scss
202
202
  - _sass/layout/categories.scss
203
203
  - _sass/layout/category-tag.scss
@@ -219,11 +219,17 @@ files:
219
219
  - assets/img/favicons/site.webmanifest
220
220
  - assets/js/data/search.json
221
221
  - assets/js/data/swcache.js
222
+ - assets/js/dist/categories.min.js
223
+ - assets/js/dist/commons.min.js
224
+ - assets/js/dist/home.min.js
225
+ - assets/js/dist/misc.min.js
226
+ - assets/js/dist/page.min.js
227
+ - assets/js/dist/post.min.js
222
228
  - assets/js/pwa/app.js
223
229
  - assets/js/pwa/sw.js
224
230
  - assets/js/pwa/unregister.js
225
231
  - assets/robots.txt
226
- homepage: https://github.com/jelilio/jekyll-theme-chirpy-birdly
232
+ homepage: https://github.com/cotes2020/jekyll-theme-chirpy
227
233
  licenses:
228
234
  - MIT
229
235
  metadata: