jekyll-theme-panda 0.2.2 → 0.2.3

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: f304b9318a60fe034bfe665ea67cc9ed91bd39219f8d7376d878c67248433877
4
- data.tar.gz: ed82b499e975bcdc4bd79574158a26c69643ac4af513459349029f4413033c73
3
+ metadata.gz: e59d404b286bd5fa89078133e278f69baa47e9ef51ac570dc11f1a9440ecad28
4
+ data.tar.gz: 59dc7f7b93d81f3f098646624b47b1a810ec05280002b4370db5b0602f134b81
5
5
  SHA512:
6
- metadata.gz: 3a0bf61e0cb3fd81f8e10a92fb866f1a5ee6b58521e0dad8a1d2c05442d4e6ce00f6f8e9e4daa959b940f6dc8cb5d59a25bf680cbf4ef1a9ef17d273b3b24bc8
7
- data.tar.gz: e6ca3016e06d8a8f5e4a803df30c64d3f6f7b7be7005e8864178cb4851f809302e24776938da2a685b58bdbdee6a8b39d1057e22879e47b9dc609dc8d718e4ae
6
+ metadata.gz: 33e397bc773129dd407c6938c351492c7d82b35cd0c153437633f42f311039a4513cc6cc2adc389479bd2734c29ce78af36468134010c97357488ec3ad0b3398
7
+ data.tar.gz: dceebe71a50e598e568c0f27f5138191eb30bd0f1619244b1f7edf3bc80964ee261d706cbabcda213c890e798ff90fb3ba015c1fa32ed6c0aaf495f096d79e65
data/README.md CHANGED
@@ -78,6 +78,7 @@ mathjax: true #default: true
78
78
  mermaid: true #default: true
79
79
  banner-title: THEME DOC #optional
80
80
  banner-subtitle: Readme.md #optional, must be with banner-title
81
+ never-expired: false #default fause, if ture , expired banner will not display
81
82
  # toc options: inline, true, false
82
83
  ---
83
84
  ```
data/_config.yml CHANGED
@@ -10,13 +10,18 @@ twitter_username: twitter_name
10
10
  github_username: github_name
11
11
  github_url: https://github.com/sorphwer
12
12
  repo_url: https://github.com/sorphwer/jekyll-theme-panda
13
- theme_version: 0.1.1
13
+ theme_version: 0.2.2
14
14
  permalink: /:year-:month-:day-:title:output_ext
15
15
  # Build settings
16
+ # markdown: kramdown
17
+ # kramdown:
18
+ # input: GFM
19
+ # syntax_highlighter: rouge
20
+
16
21
  markdown: kramdown
17
22
  kramdown:
18
- input: GFM
19
- syntax_highlighter: rouge
23
+ syntax_highlighter_opts:
24
+ disable : true
20
25
  plugins:
21
26
  - jekyll-feed
22
27
  - jekyll-paginate
@@ -32,21 +37,21 @@ sass:
32
37
 
33
38
  navigation:
34
39
  - text: Blogs
35
- url: ./index.html
40
+ url: /index.html
36
41
  layout: home
37
42
  - text: Archive
38
- url: ./archive
43
+ url: /archive
39
44
  layout: forarchive
40
45
  - text: Albums
41
- url: ./albums
46
+ url: /albums
42
47
  layout: albumlist
43
48
  - text: Presets
44
- url: ./presets
49
+ url: /presets
45
50
  layout: presetlist
46
51
  # - text: Visios
47
52
  # url: ./visios
48
- - text: profile
49
- url: ./about/
53
+
54
+
50
55
 
51
56
  dropdown_header: Theme #will only exist if dropdown array below has item(s)
52
57
  dropdown:
@@ -1,8 +1,7 @@
1
1
  <footer class="js-fadein">
2
2
  <div class="footer__link">
3
3
  <p>
4
- <a href="{{ site.baseurl }}/feed.xml">RSS Subscribe</a><span>/</span><a href="{{ site.baseurl }}/policy/">Privacy
5
- Policy</a>
4
+ <a href="{{ site.baseurl }}/feed.xml">RSS Subscribe</a><span>/</span><a href="{{ site.baseurl }}/policy/">Policy</a>
6
5
  </p>
7
6
  </div>
8
7
  <!-- .footer__link -->
data/_includes/head.html CHANGED
@@ -38,6 +38,10 @@
38
38
  media="none"
39
39
  onload="this.media='print,screen'"
40
40
  href="{{ "/assets/css/font-awesome.min.css" | prepend: site.baseurl }}">
41
+ <link rel="stylesheet"
42
+ media="none"
43
+ onload="this.media='print,screen'"
44
+ href="{{ "/assets/fonts/amarillo/amarillo-font.css" | prepend: site.baseurl }}">
41
45
  <link rel="stylesheet"
42
46
  media="none"
43
47
  onload="this.media='print,screen'"
@@ -1 +1,15 @@
1
- Post your policy here
1
+ ## Policy
2
+
3
+ For more details, please visit https://github.com/sorphwer/jekyll-theme-panda
4
+
5
+
6
+ ## License
7
+
8
+ Copyright {{ "now" | date: "%Y" }} Riino Zhang
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15
+
@@ -1,9 +1,14 @@
1
- ## 隐私协议
1
+ ## 条款
2
2
 
3
- 本网站不会主动收集您的个人信息,包括访问IP,设备类型以及浏览器类型。
3
+ 请访问 https://github.com/sorphwer/jekyll-theme-panda 获取更多细节。
4
4
 
5
- 本网站通过 Jekyll 实现。
5
+ ## 协议
6
6
 
7
- 然而,请注意如果您使用任何嵌入的评论系统,则您的操作会受到所提供服务的第三方的服务器。
7
+ Copyright {{ "now" | date: "%Y" }} Riino Zhang
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8
14
 
9
- 除此之外,您的访问IP及其地理位置会被 DNS 服务器收集。
data/_layouts/post.html CHANGED
@@ -2,9 +2,14 @@
2
2
  layout: default
3
3
  ---
4
4
  {%if page.mathjax != false %}
5
- <script async src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
6
- <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
7
- <script>window.MathJax = {
5
+ <!-- <script type="text/javascript" id="MathJax-script" async
6
+ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.1/es5/tex-chtml-full.min.js">
7
+ </script> -->
8
+
9
+ <link rel="stylesheet" href="{{ "assets/css/prism.css" | prepend: site.baseurl }}">
10
+ <script src="{{ "assets/js/prism.js" | prepend: site.baseurl }}"></script>
11
+ <script type="text/javascript" id="MathJax-script" async src="{{ "assets/js/tex-chtml-full.min.js" | prepend: site.baseurl }}"></script>
12
+ <script>MathJax = {
8
13
  tex: {
9
14
  inlineMath: [['$', '$'], ['\\(', '\\)']]
10
15
  },
@@ -12,6 +17,14 @@ layout: default
12
17
  fontCache: 'global'
13
18
  }
14
19
  };</script>
20
+ <!-- <script type="text/x-mathjax-config">
21
+ MathJax.Hub.Config({
22
+ tex2jax: {
23
+ skipTags: ['script', 'noscript', 'style', 'textarea', 'pre'],
24
+ inlineMath: [ ['$','$'], ["\\(","\\)"] ],
25
+ }
26
+ });
27
+ </script> -->
15
28
  {%endif%}
16
29
  <!-- {%if page.mathjax != false %}
17
30
  <script
@@ -71,7 +84,7 @@ layout: default
71
84
  {% include toc.html html=content class='toc' h_max=3 %}
72
85
  </div>
73
86
  {% endif %}
74
- <div id="markdown-content">
87
+ <div id="markdown-content" class = "line-numbers">
75
88
 
76
89
  <!-- custom banner -->
77
90
  {% if page.banner-title%}
@@ -90,14 +103,16 @@ layout: default
90
103
  {% assign curr_date = curr_date | minus: post_date %}
91
104
  {% capture time %}{{curr_date|minus: post_date}}{%endcapture%}
92
105
  {% if curr_date>1 %}
93
- <div class="d-flex banner">
94
- <img src="/assets/img/banner.gif" class="warning-image p-2 flex-fill bd-highlight banner-image">
95
- <div class="p-2 flex-fill bd-highlight ">
96
- <h1 class="banner-text" style="color: #e83e8c !important;"><i class="fa fa-exclamation-triangle"
97
- style="color: #e83e8c !important;font-size: 2.5rem;" aria-hidden="true"></i> Expired</h1>
98
- <p class="banner-text">Post published over one year ago</p>
106
+ {% unless page.never-expired %}
107
+ <div class="d-flex banner">
108
+ <img src="/assets/img/banner.gif" class="warning-image p-2 flex-fill bd-highlight banner-image">
109
+ <div class="p-2 flex-fill bd-highlight ">
110
+ <h1 class="banner-text" style="color: #e83e8c !important;"><i class="fa fa-exclamation-triangle"
111
+ style="color: #e83e8c !important;font-size: 2.5rem;" aria-hidden="true"></i> Expired</h1>
112
+ <p class="banner-text">Post published over one year ago</p>
113
+ </div>
99
114
  </div>
100
- </div>
115
+ {% endunless %}
101
116
  {%endif%}
102
117
 
103
118
  <!-- expired banner -->
@@ -118,5 +133,85 @@ layout: default
118
133
  </div>
119
134
 
120
135
  </div>
121
-
136
+ <script type="text/javascript">
137
+ Prism.plugins.filterHighlightAll.add(function (env) {
138
+ return env.language !== 'mermaid';
139
+ });
140
+
141
+ function initSidebar() {
142
+ // var sidebarLength = $('.sidebar_catelog').width();
143
+ var titleHeight = $('.home-message__ttl').height();
144
+ //move sidebar to right:
145
+ $('.sidebar_catelog').css("margin-left", $('#markdown-content').width() + 50);
146
+ //for everything in this html will be in a layout with left/right marging, set negetive margin to let sidebar break this border.
147
+ $('.sidebar_catelog').css("margin-right", "-200px");
148
+ //replace content into toc.
149
+ $('.sidebar_catelog').html($('#table-of-contents').html());
150
+ //hide origin toc on the head of the article.
151
+ $('#table-of-contents').css("visibility", "hidden");
152
+ $('#markdown-content').css("margin-top", -$("#table-of-contents").height()*1);//###########################This is in experiment##############
153
+ //because sidebar is a stiky-top class,set a wedge to creat space between it to the top.
154
+ $('.sidebar_catelog').prepend("<div class='wedge'></div>")
155
+ $('.wedge').css("height", "250px");
156
+ //for the first wedge will create space for every component, use negetive margin to rise toe content:
157
+ $('.main-body').css("margin-top", -($("#table-of-contents").height()+250));
158
+ //for the last rising operation will make footer in wrong place, set another wedge to fix it.
159
+ $('.js-fadein').append("<section class='wedge-main'></section>");
160
+ $('.wedge-main').css("height", "250px");
161
+
162
+
163
+ //$('.sidebar_catelog').find("li").addClass('toc');
164
+ //alert($('#table-of-contents').find("a").html());
165
+
166
+ }
167
+
168
+ // function shiftBanner() {
169
+ // let shift = ($(".home-message").outerWidth(true) - $(".home-message").outerWidth()) / 2;
170
+ // $('#banner').css("left", -shift + "px");
171
+ // console.log("shift:" + shift);
172
+ // }
173
+
174
+ /*Riino learnt this from https://creeperdance.github.io/2017/05/jekyll-catalog.html
175
+ */
176
+ function locateCatelogList() {
177
+ var alis = $('#markdown-content :header');
178
+ var sidebar_alis = $('.sidebar_catelog').find('a');
179
+ var scroll_height = $(window).scrollTop();
180
+ for (var i = 0; i < alis.length; i++) {
181
+ var a_height = $(alis[i]).offset().top;
182
+ if (a_height < scroll_height) {
183
+ sidebar_alis.removeClass('list_click');
184
+
185
+ $(sidebar_alis[i]).addClass('list_click');
186
+
187
+ }
188
+ }
189
+ }
190
+
191
+ $(function () {
192
+ // $('img').css('width',$('#table-of-contents').width())
193
+ // shiftBanner();
194
+ $('#table-of-contents').find("li").addClass('toc');
195
+
196
+ if (typeof $('.sidebar_catelog').html() === 'undefined' || $(window).width() < 1000) {
197
+ console.log("[POST] toc disabled");
198
+ $('.container').prepend('<section style="height: 50px;"></section>');
199
+ $('#front-wedge').css('height', 100);
200
+ }
201
+ else {
202
+ initSidebar();
203
+
204
+ $(window).bind('scroll', locateCatelogList);
205
+ }
206
+ //$('#table-of-contents').find('a').css('color', 'black');
207
+
208
+ //marmaid
209
+ // mermaid.init(undefined, $('.language-mermaid'));
210
+ $('.language-mermaid').parent().css('text-align','center');
211
+
212
+
213
+ });
214
+
215
+
216
+ </script>
122
217
  </section>
data/_sass/post.scss CHANGED
@@ -222,7 +222,19 @@ p {
222
222
  background: var(--main-text-color);
223
223
  }
224
224
  }
225
-
225
+ .token.tag{
226
+ border: inherit;
227
+ border-radius: 0;
228
+ padding: 0;
229
+ color: inherit;
230
+ &:hover {
231
+ border: 0px solid;
232
+ border-radius: 0px;
233
+ padding: 0;
234
+ color: inherit;
235
+ background: inherit;
236
+ }
237
+ }
226
238
  .edit-button {
227
239
  color: black;
228
240
  font-size: 1rem;
@@ -1,14 +1,14 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
- <svg xmlns="http://www.w3.org/2000/svg">
4
- <metadata>Generated by Fontastic.me</metadata>
5
- <defs>
6
- <font id="slick" horiz-adv-x="512">
7
- <font-face font-family="slick" units-per-em="512" ascent="480" descent="-32"/>
8
- <missing-glyph horiz-adv-x="512" />
9
-
10
- <glyph unicode="&#8594;" d="M241 113l130 130c4 4 6 8 6 13 0 5-2 9-6 13l-130 130c-3 3-7 5-12 5-5 0-10-2-13-5l-29-30c-4-3-6-7-6-12 0-5 2-10 6-13l87-88-87-88c-4-3-6-8-6-13 0-5 2-9 6-12l29-30c3-3 8-5 13-5 5 0 9 2 12 5z m234 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
11
- <glyph unicode="&#8592;" d="M296 113l29 30c4 3 6 7 6 12 0 5-2 10-6 13l-87 88 87 88c4 3 6 8 6 13 0 5-2 9-6 12l-29 30c-3 3-8 5-13 5-5 0-9-2-12-5l-130-130c-4-4-6-8-6-13 0-5 2-9 6-13l130-130c3-3 7-5 12-5 5 0 10 2 13 5z m179 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
12
- <glyph unicode="&#8226;" d="M475 256c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
13
- <glyph unicode="&#97;" d="M475 439l0-128c0-5-1-9-5-13-4-4-8-5-13-5l-128 0c-8 0-13 3-17 11-3 7-2 14 4 20l40 39c-28 26-62 39-100 39-20 0-39-4-57-11-18-8-33-18-46-32-14-13-24-28-32-46-7-18-11-37-11-57 0-20 4-39 11-57 8-18 18-33 32-46 13-14 28-24 46-32 18-7 37-11 57-11 23 0 44 5 64 15 20 9 38 23 51 42 2 1 4 3 7 3 3 0 5-1 7-3l39-39c2-2 3-3 3-6 0-2-1-4-2-6-21-25-46-45-76-59-29-14-60-20-93-20-30 0-58 5-85 17-27 12-51 27-70 47-20 19-35 43-47 70-12 27-17 55-17 85 0 30 5 58 17 85 12 27 27 51 47 70 19 20 43 35 70 47 27 12 55 17 85 17 28 0 55-5 81-15 26-11 50-26 70-45l37 37c6 6 12 7 20 4 8-4 11-9 11-17z"/>
14
- </font></defs></svg>
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by Fontastic.me</metadata>
5
+ <defs>
6
+ <font id="slick" horiz-adv-x="512">
7
+ <font-face font-family="slick" units-per-em="512" ascent="480" descent="-32"/>
8
+ <missing-glyph horiz-adv-x="512" />
9
+
10
+ <glyph unicode="&#8594;" d="M241 113l130 130c4 4 6 8 6 13 0 5-2 9-6 13l-130 130c-3 3-7 5-12 5-5 0-10-2-13-5l-29-30c-4-3-6-7-6-12 0-5 2-10 6-13l87-88-87-88c-4-3-6-8-6-13 0-5 2-9 6-12l29-30c3-3 8-5 13-5 5 0 9 2 12 5z m234 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
11
+ <glyph unicode="&#8592;" d="M296 113l29 30c4 3 6 7 6 12 0 5-2 10-6 13l-87 88 87 88c4 3 6 8 6 13 0 5-2 9-6 12l-29 30c-3 3-8 5-13 5-5 0-9-2-12-5l-130-130c-4-4-6-8-6-13 0-5 2-9 6-13l130-130c3-3 7-5 12-5 5 0 10 2 13 5z m179 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
12
+ <glyph unicode="&#8226;" d="M475 256c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
13
+ <glyph unicode="&#97;" d="M475 439l0-128c0-5-1-9-5-13-4-4-8-5-13-5l-128 0c-8 0-13 3-17 11-3 7-2 14 4 20l40 39c-28 26-62 39-100 39-20 0-39-4-57-11-18-8-33-18-46-32-14-13-24-28-32-46-7-18-11-37-11-57 0-20 4-39 11-57 8-18 18-33 32-46 13-14 28-24 46-32 18-7 37-11 57-11 23 0 44 5 64 15 20 9 38 23 51 42 2 1 4 3 7 3 3 0 5-1 7-3l39-39c2-2 3-3 3-6 0-2-1-4-2-6-21-25-46-45-76-59-29-14-60-20-93-20-30 0-58 5-85 17-27 12-51 27-70 47-20 19-35 43-47 70-12 27-17 55-17 85 0 30 5 58 17 85 12 27 27 51 47 70 19 20 43 35 70 47 27 12 55 17 85 17 28 0 55-5 81-15 26-11 50-26 70-45l37 37c6 6 12 7 20 4 8-4 11-9 11-17z"/>
14
+ </font></defs></svg>
@@ -0,0 +1,11 @@
1
+ /* PrismJS 1.28.0
2
+ https://prismjs.com/download.html#themes=prism-okaidia&languages=markup+css+clike+javascript+bash+c+csharp+cpp+css-extras+csv+diff+docker+git+go+http+hpkp+java+json+lisp+powershell+python+r+ruby+rust+sass+scss+shell-session+sql+swift+yaml&plugins=line-numbers+autolinker+show-language+inline-color+command-line+toolbar+copy-to-clipboard+download-button+match-braces+diff-highlight+filter-highlight-all+treeview */
3
+ code[class*=language-],pre[class*=language-]{color:#f8f8f2;background:0 0;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#272822}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#8292a2}.token.punctuation{color:#f8f8f2}.token.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#f92672}.token.boolean,.token.number{color:#ae81ff}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#a6e22e}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.class-name,.token.function{color:#e6db74}.token.keyword{color:#66d9ef}.token.important,.token.regex{color:#fd971f}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}
4
+ pre[class*=language-].line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber}pre[class*=language-].line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.line-numbers-rows>span{display:block;counter-increment:linenumber}.line-numbers-rows>span:before{content:counter(linenumber);color:#999;display:block;padding-right:.8em;text-align:right}
5
+ .token a{color:inherit}
6
+ div.code-toolbar{position:relative}div.code-toolbar>.toolbar{position:absolute;z-index:10;top:.3em;right:.2em;transition:opacity .3s ease-in-out;opacity:0}div.code-toolbar:hover>.toolbar{opacity:1}div.code-toolbar:focus-within>.toolbar{opacity:1}div.code-toolbar>.toolbar>.toolbar-item{display:inline-block}div.code-toolbar>.toolbar>.toolbar-item>a{cursor:pointer}div.code-toolbar>.toolbar>.toolbar-item>button{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}div.code-toolbar>.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar>.toolbar-item>span{color:#bbb;font-size:.8em;padding:0 .5em;background:#f5f2f0;background:rgba(224,224,224,.2);box-shadow:0 2px 0 0 rgba(0,0,0,.2);border-radius:.5em}div.code-toolbar>.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar>.toolbar-item>span:focus,div.code-toolbar>.toolbar>.toolbar-item>span:hover{color:inherit;text-decoration:none}
7
+ span.inline-color-wrapper{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyIDIiPjxwYXRoIGZpbGw9ImdyYXkiIGQ9Ik0wIDBoMnYySDB6Ii8+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik0wIDBoMXYxSDB6TTEgMWgxdjFIMXoiLz48L3N2Zz4=);background-position:center;background-size:110%;display:inline-block;height:1.333ch;width:1.333ch;margin:0 .333ch;box-sizing:border-box;border:1px solid #fff;outline:1px solid rgba(0,0,0,.5);overflow:hidden}span.inline-color{display:block;height:120%;width:120%}
8
+ .command-line-prompt{border-right:1px solid #999;display:block;float:left;font-size:100%;letter-spacing:-1px;margin-right:1em;pointer-events:none;text-align:right;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.command-line-prompt>span:before{opacity:.7;content:' ';display:block;padding-right:.8em}.command-line-prompt>span[data-user]:before{content:"[" attr(data-user) "@" attr(data-host) "] $"}.command-line-prompt>span[data-user=root]:before{content:"[" attr(data-user) "@" attr(data-host) "] #"}.command-line-prompt>span[data-prompt]:before{content:attr(data-prompt)}.command-line-prompt>span[data-continuation-prompt]:before{content:attr(data-continuation-prompt)}.command-line span.token.output{opacity:.7}
9
+ .token.punctuation.brace-hover,.token.punctuation.brace-selected{outline:solid 1px}.rainbow-braces .token.punctuation.brace-level-1,.rainbow-braces .token.punctuation.brace-level-5,.rainbow-braces .token.punctuation.brace-level-9{color:#e50;opacity:1}.rainbow-braces .token.punctuation.brace-level-10,.rainbow-braces .token.punctuation.brace-level-2,.rainbow-braces .token.punctuation.brace-level-6{color:#0b3;opacity:1}.rainbow-braces .token.punctuation.brace-level-11,.rainbow-braces .token.punctuation.brace-level-3,.rainbow-braces .token.punctuation.brace-level-7{color:#26f;opacity:1}.rainbow-braces .token.punctuation.brace-level-12,.rainbow-braces .token.punctuation.brace-level-4,.rainbow-braces .token.punctuation.brace-level-8{color:#e0e;opacity:1}
10
+ pre.diff-highlight>code .token.deleted:not(.prefix),pre>code.diff-highlight .token.deleted:not(.prefix){background-color:rgba(255,0,0,.1);color:inherit;display:block}pre.diff-highlight>code .token.inserted:not(.prefix),pre>code.diff-highlight .token.inserted:not(.prefix){background-color:rgba(0,255,128,.1);color:inherit;display:block}
11
+ .token.treeview-part .entry-line{position:relative;text-indent:-99em;display:inline-block;vertical-align:top;width:1.2em}.token.treeview-part .entry-line:before,.token.treeview-part .line-h:after{content:"";position:absolute;top:0;left:50%;width:50%;height:100%}.token.treeview-part .line-h:before,.token.treeview-part .line-v:before{border-left:1px solid #ccc}.token.treeview-part .line-v-last:before{height:50%;border-left:1px solid #ccc;border-bottom:1px solid #ccc}.token.treeview-part .line-h:after{height:50%;border-bottom:1px solid #ccc}.token.treeview-part .entry-name{position:relative;display:inline-block;vertical-align:top}.token.treeview-part .entry-name.dotfile{opacity:.5}@font-face{font-family:PrismTreeview;src:url(data:application/font-woff;base64,d09GRgABAAAAAAgYAAsAAAAAEGAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAPwAAAFY1UkH9Y21hcAAAAYQAAAB/AAACCtvO7yxnbHlmAAACBAAAA+MAAAlACm1VqmhlYWQAAAXoAAAAKgAAADZfxj5jaGh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Uv903CKfHbfxgC/HHerfjrtYen3HPTx7ambiIl0YKQ+xPM5ltE9CU9NqxVKaItaZGPqDmj6VmTShlRuxOoniEI2sVUIZnYqJzqxMEi1yo3dybf2ttfk4CJTT/bVOMYNBjAIpFiTJOLCWOGLOHGGPBCE7l32XO0tmw04MjQwCQ7774B//lDmrZkJY3hvOrHBiLuiJMKJqoVgrejQ3CP5Yubt0JwxNJa96Oypr6j621VSOMQKG+uP36eKmHylcb0MAeJxtwdEOgjAMBdBeWEFR/Mdl7bTJtMsygc/nwVfPoYF+QP+tGDAigDFhxgVXLLjhjhUPCtmKTtmLaGN7x6dy/Io5bybqoevRQ3LRObb0sk3HKpn1SFqW6ru26vbpYfcmRCccJhqsAAA=) format("woff")}.token.treeview-part .entry-name:before{content:"\ea01";font-family:PrismTreeview;font-size:inherit;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:2.5ex;display:inline-block}.token.treeview-part .entry-name.dir:before{content:"\ea02"}.token.treeview-part .entry-name.ext-bmp:before,.token.treeview-part .entry-name.ext-eps:before,.token.treeview-part .entry-name.ext-gif:before,.token.treeview-part .entry-name.ext-jpe:before,.token.treeview-part .entry-name.ext-jpeg:before,.token.treeview-part .entry-name.ext-jpg:before,.token.treeview-part .entry-name.ext-png:before,.token.treeview-part .entry-name.ext-svg:before,.token.treeview-part .entry-name.ext-tiff:before{content:"\ea03"}.token.treeview-part .entry-name.ext-cfg:before,.token.treeview-part .entry-name.ext-conf:before,.token.treeview-part .entry-name.ext-config:before,.token.treeview-part .entry-name.ext-csv:before,.token.treeview-part .entry-name.ext-ini:before,.token.treeview-part .entry-name.ext-log:before,.token.treeview-part .entry-name.ext-md:before,.token.treeview-part .entry-name.ext-nfo:before,.token.treeview-part .entry-name.ext-txt:before{content:"\ea06"}.token.treeview-part .entry-name.ext-asp:before,.token.treeview-part .entry-name.ext-aspx:before,.token.treeview-part .entry-name.ext-c:before,.token.treeview-part .entry-name.ext-cc:before,.token.treeview-part .entry-name.ext-cpp:before,.token.treeview-part .entry-name.ext-cs:before,.token.treeview-part .entry-name.ext-css:before,.token.treeview-part .entry-name.ext-h:before,.token.treeview-part .entry-name.ext-hh:before,.token.treeview-part .entry-name.ext-htm:before,.token.treeview-part .entry-name.ext-html:before,.token.treeview-part .entry-name.ext-jav:before,.token.treeview-part .entry-name.ext-java:before,.token.treeview-part .entry-name.ext-js:before,.token.treeview-part .entry-name.ext-php:before,.token.treeview-part .entry-name.ext-rb:before,.token.treeview-part .entry-name.ext-xml:before{content:"\ea07"}.token.treeview-part .entry-name.ext-7z:before,.token.treeview-part .entry-name.ext-bz2:before,.token.treeview-part .entry-name.ext-bz:before,.token.treeview-part .entry-name.ext-gz:before,.token.treeview-part .entry-name.ext-rar:before,.token.treeview-part .entry-name.ext-tar:before,.token.treeview-part .entry-name.ext-tgz:before,.token.treeview-part .entry-name.ext-zip:before{content:"\ea08"}.token.treeview-part .entry-name.ext-aac:before,.token.treeview-part .entry-name.ext-au:before,.token.treeview-part .entry-name.ext-cda:before,.token.treeview-part .entry-name.ext-flac:before,.token.treeview-part .entry-name.ext-mp3:before,.token.treeview-part .entry-name.ext-oga:before,.token.treeview-part .entry-name.ext-ogg:before,.token.treeview-part .entry-name.ext-wav:before,.token.treeview-part .entry-name.ext-wma:before{content:"\ea04"}.token.treeview-part .entry-name.ext-avi:before,.token.treeview-part .entry-name.ext-flv:before,.token.treeview-part .entry-name.ext-mkv:before,.token.treeview-part .entry-name.ext-mov:before,.token.treeview-part .entry-name.ext-mp4:before,.token.treeview-part .entry-name.ext-mpeg:before,.token.treeview-part .entry-name.ext-mpg:before,.token.treeview-part .entry-name.ext-ogv:before,.token.treeview-part .entry-name.ext-webm:before{content:"\ea05"}.token.treeview-part .entry-name.ext-pdf:before{content:"\ea09"}.token.treeview-part .entry-name.ext-xls:before,.token.treeview-part .entry-name.ext-xlsx:before{content:"\ea0a"}.token.treeview-part .entry-name.ext-doc:before,.token.treeview-part .entry-name.ext-docm:before,.token.treeview-part .entry-name.ext-docx:before{content:"\ea0c"}.token.treeview-part .entry-name.ext-pps:before,.token.treeview-part .entry-name.ext-ppt:before,.token.treeview-part .entry-name.ext-pptx:before{content:"\ea0b"}
data/assets/css/slick.css CHANGED
@@ -1,121 +1,121 @@
1
- /* Slider */
2
- .slick-slider
3
- {
4
- position: relative;
5
-
6
- display: block;
7
- box-sizing: border-box;
8
-
9
- -webkit-user-select: none;
10
- -moz-user-select: none;
11
- -ms-user-select: none;
12
- user-select: none;
13
-
14
- -webkit-touch-callout: none;
15
- -khtml-user-select: none;
16
- -ms-touch-action: pan-y;
17
- touch-action: pan-y;
18
- -webkit-tap-highlight-color: transparent;
19
- }
20
-
21
- .slick-list
22
- {
23
- position: relative;
24
-
25
- display: block;
26
- overflow: hidden;
27
-
28
- margin: 0;
29
- padding: 0;
30
- }
31
- .slick-list:focus
32
- {
33
- outline: none;
34
- }
35
- .slick-list.dragging
36
- {
37
- cursor: pointer;
38
- cursor: hand;
39
- }
40
-
41
- .slick-slider .slick-track,
42
- .slick-slider .slick-list
43
- {
44
- -webkit-transform: translate3d(0, 0, 0);
45
- -moz-transform: translate3d(0, 0, 0);
46
- -ms-transform: translate3d(0, 0, 0);
47
- -o-transform: translate3d(0, 0, 0);
48
- transform: translate3d(0, 0, 0);
49
- }
50
-
51
- .slick-track
52
- {
53
- position: relative;
54
- top: 0;
55
- left: 0;
56
-
57
- display: block;
58
- margin-left: auto;
59
- margin-right: auto;
60
- }
61
- .slick-track:before,
62
- .slick-track:after
63
- {
64
- display: table;
65
-
66
- content: '';
67
- }
68
- .slick-track:after
69
- {
70
- clear: both;
71
- }
72
- .slick-loading .slick-track
73
- {
74
- visibility: hidden;
75
- }
76
-
77
- .slick-slide
78
- {
79
- display: none;
80
- float: left;
81
-
82
- height: 100%;
83
- min-height: 1px;
84
- }
85
- [dir='rtl'] .slick-slide
86
- {
87
- float: right;
88
- }
89
- .slick-slide img
90
- {
91
- display: block;
92
- }
93
- .slick-slide.slick-loading img
94
- {
95
- display: none;
96
- }
97
- .slick-slide.dragging img
98
- {
99
- pointer-events: none;
100
- }
101
- .slick-initialized .slick-slide
102
- {
103
- display: block;
104
- }
105
- .slick-loading .slick-slide
106
- {
107
- visibility: hidden;
108
- }
109
- .slick-vertical .slick-slide
110
- {
111
- display: block;
112
-
113
- height: auto;
114
-
115
- border: 1px solid transparent;
116
- }
117
- .slick-arrow.slick-hidden {
118
- display: none;
119
- }
120
-
121
-
1
+ /* Slider */
2
+ .slick-slider
3
+ {
4
+ position: relative;
5
+
6
+ display: block;
7
+ box-sizing: border-box;
8
+
9
+ -webkit-user-select: none;
10
+ -moz-user-select: none;
11
+ -ms-user-select: none;
12
+ user-select: none;
13
+
14
+ -webkit-touch-callout: none;
15
+ -khtml-user-select: none;
16
+ -ms-touch-action: pan-y;
17
+ touch-action: pan-y;
18
+ -webkit-tap-highlight-color: transparent;
19
+ }
20
+
21
+ .slick-list
22
+ {
23
+ position: relative;
24
+
25
+ display: block;
26
+ overflow: hidden;
27
+
28
+ margin: 0;
29
+ padding: 0;
30
+ }
31
+ .slick-list:focus
32
+ {
33
+ outline: none;
34
+ }
35
+ .slick-list.dragging
36
+ {
37
+ cursor: pointer;
38
+ cursor: hand;
39
+ }
40
+
41
+ .slick-slider .slick-track,
42
+ .slick-slider .slick-list
43
+ {
44
+ -webkit-transform: translate3d(0, 0, 0);
45
+ -moz-transform: translate3d(0, 0, 0);
46
+ -ms-transform: translate3d(0, 0, 0);
47
+ -o-transform: translate3d(0, 0, 0);
48
+ transform: translate3d(0, 0, 0);
49
+ }
50
+
51
+ .slick-track
52
+ {
53
+ position: relative;
54
+ top: 0;
55
+ left: 0;
56
+
57
+ display: block;
58
+ margin-left: auto;
59
+ margin-right: auto;
60
+ }
61
+ .slick-track:before,
62
+ .slick-track:after
63
+ {
64
+ display: table;
65
+
66
+ content: '';
67
+ }
68
+ .slick-track:after
69
+ {
70
+ clear: both;
71
+ }
72
+ .slick-loading .slick-track
73
+ {
74
+ visibility: hidden;
75
+ }
76
+
77
+ .slick-slide
78
+ {
79
+ display: none;
80
+ float: left;
81
+
82
+ height: 100%;
83
+ min-height: 1px;
84
+ }
85
+ [dir='rtl'] .slick-slide
86
+ {
87
+ float: right;
88
+ }
89
+ .slick-slide img
90
+ {
91
+ display: block;
92
+ }
93
+ .slick-slide.slick-loading img
94
+ {
95
+ display: none;
96
+ }
97
+ .slick-slide.dragging img
98
+ {
99
+ pointer-events: none;
100
+ }
101
+ .slick-initialized .slick-slide
102
+ {
103
+ display: block;
104
+ }
105
+ .slick-loading .slick-slide
106
+ {
107
+ visibility: hidden;
108
+ }
109
+ .slick-vertical .slick-slide
110
+ {
111
+ display: block;
112
+
113
+ height: auto;
114
+
115
+ border: 1px solid transparent;
116
+ }
117
+ .slick-arrow.slick-hidden {
118
+ display: none;
119
+ }
120
+
121
+
@@ -2,5 +2,4 @@
2
2
  ---
3
3
  @import "post";
4
4
  @import "common";
5
- @import "syntax";
6
5
  @import "header";