jekyll-text-theme-fork 2.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +235 -0
- data/LICENSE +21 -0
- data/README.md +89 -0
- data/_data/authors.yml +0 -0
- data/_data/licenses.yml +16 -0
- data/_data/locale.yml +169 -0
- data/_data/navigation.yml +52 -0
- data/_data/variables.yml +64 -0
- data/_includes/analytics-providers/custom.html +3 -0
- data/_includes/analytics-providers/google.html +14 -0
- data/_includes/analytics.html +7 -0
- data/_includes/article/footer/author-profile.html +47 -0
- data/_includes/article/footer/custom.html +3 -0
- data/_includes/article/footer/license.html +14 -0
- data/_includes/article/footer/subscribe.html +6 -0
- data/_includes/article/top/custom.html +3 -0
- data/_includes/article-footer.html +55 -0
- data/_includes/article-header.html +49 -0
- data/_includes/article-info.html +96 -0
- data/_includes/article-list.html +144 -0
- data/_includes/article-section-navigator.html +54 -0
- data/_includes/aside/toc.html +1 -0
- data/_includes/author-links.html +120 -0
- data/_includes/comments-providers/custom.html +3 -0
- data/_includes/comments-providers/disqus.html +22 -0
- data/_includes/comments-providers/gitalk.html +39 -0
- data/_includes/comments-providers/valine.html +46 -0
- data/_includes/comments.html +11 -0
- data/_includes/extensions/bilibili.html +5 -0
- data/_includes/extensions/codepen.html +4 -0
- data/_includes/extensions/netease-cloud-music.html +4 -0
- data/_includes/extensions/slideshare.html +6 -0
- data/_includes/extensions/soundcloud.html +4 -0
- data/_includes/extensions/ted.html +5 -0
- data/_includes/extensions/youtube.html +4 -0
- data/_includes/footer.html +37 -0
- data/_includes/head/custom.html +3 -0
- data/_includes/head/favicon.html +26 -0
- data/_includes/head.html +24 -0
- data/_includes/header.html +44 -0
- data/_includes/main/bottom/custom.html +3 -0
- data/_includes/main/top/custom.html +3 -0
- data/_includes/markdown-enhancements/chart.html +15 -0
- data/_includes/markdown-enhancements/mathjax.html +17 -0
- data/_includes/markdown-enhancements/mermaid.html +10 -0
- data/_includes/markdown-enhancements.html +17 -0
- data/_includes/pageview-providers/custom/home.html +3 -0
- data/_includes/pageview-providers/custom/post.html +3 -0
- data/_includes/pageview-providers/leancloud/home.html +35 -0
- data/_includes/pageview-providers/leancloud/leancloud.js +72 -0
- data/_includes/pageview-providers/leancloud/post.html +31 -0
- data/_includes/pageview.html +29 -0
- data/_includes/paginator.html +98 -0
- data/_includes/scripts/archieve.js +135 -0
- data/_includes/scripts/article.js +24 -0
- data/_includes/scripts/aside/affix.js +26 -0
- data/_includes/scripts/aside/toc.js +35 -0
- data/_includes/scripts/common.js +7 -0
- data/_includes/scripts/components/lightbox.js +49 -0
- data/_includes/scripts/components/search.js +86 -0
- data/_includes/scripts/components/sidebar.js +30 -0
- data/_includes/scripts/home.js +3 -0
- data/_includes/scripts/lib/affix.js +111 -0
- data/_includes/scripts/lib/gallery.js +192 -0
- data/_includes/scripts/lib/lazyload.js +143 -0
- data/_includes/scripts/lib/modal.js +64 -0
- data/_includes/scripts/lib/scroll-to.js +13 -0
- data/_includes/scripts/lib/swiper.js +203 -0
- data/_includes/scripts/lib/throttle.js +28 -0
- data/_includes/scripts/lib/toc.js +107 -0
- data/_includes/scripts/page.js +3 -0
- data/_includes/scripts/utils/imagesLoad.js +28 -0
- data/_includes/scripts/utils/utils.js +39 -0
- data/_includes/scripts/variables.html +35 -0
- data/_includes/search-providers/custom/search.html +3 -0
- data/_includes/search-providers/default/search-data.js +14 -0
- data/_includes/search-providers/default/search.html +18 -0
- data/_includes/search-providers/default/search.js +112 -0
- data/_includes/search-providers/google-custom-search-engine/search.html +21 -0
- data/_includes/search-providers/google-custom-search-engine/search.js +33 -0
- data/_includes/search.html +20 -0
- data/_includes/sharing-providers/addthis.html +9 -0
- data/_includes/sharing-providers/addtoany.html +10 -0
- data/_includes/sharing-providers/custom.html +3 -0
- data/_includes/sharing.html +7 -0
- data/_includes/sidebar/toc.html +25 -0
- data/_includes/snippets/assign.html +9 -0
- data/_includes/snippets/get-article-title.html +11 -0
- data/_includes/snippets/get-lang.html +6 -0
- data/_includes/snippets/get-locale-string.html +12 -0
- data/_includes/snippets/get-nav-url.html +8 -0
- data/_includes/snippets/get-sources.html +2 -0
- data/_includes/snippets/get-string-from-locale-config.html +7 -0
- data/_includes/snippets/is_collection.html +6 -0
- data/_includes/snippets/page-url.html +2 -0
- data/_includes/snippets/prepend-baseurl.html +4 -0
- data/_includes/snippets/prepend-path.html +1 -0
- data/_includes/svg/icon/social/behance.svg +3 -0
- data/_includes/svg/icon/social/douban.svg +5 -0
- data/_includes/svg/icon/social/facebook.svg +3 -0
- data/_includes/svg/icon/social/flicker.svg +5 -0
- data/_includes/svg/icon/social/github.svg +3 -0
- data/_includes/svg/icon/social/googleplus.svg +3 -0
- data/_includes/svg/icon/social/linkedin.svg +3 -0
- data/_includes/svg/icon/social/mail.svg +6 -0
- data/_includes/svg/icon/social/medium.svg +3 -0
- data/_includes/svg/icon/social/npm.svg +9 -0
- data/_includes/svg/icon/social/pinterest.svg +3 -0
- data/_includes/svg/icon/social/qq.svg +3 -0
- data/_includes/svg/icon/social/telegram.svg +4 -0
- data/_includes/svg/icon/social/twitter.svg +3 -0
- data/_includes/svg/icon/social/weibo.svg +6 -0
- data/_includes/svg/icon/social/weixin.svg +3 -0
- data/_includes/svg/icon/social/zhihu.svg +3 -0
- data/_includes/svg/logo.svg +8 -0
- data/_includes/tags.html +52 -0
- data/_layouts/404.html +13 -0
- data/_layouts/archive.html +40 -0
- data/_layouts/article.html +29 -0
- data/_layouts/articles.html +89 -0
- data/_layouts/base.html +25 -0
- data/_layouts/home.html +43 -0
- data/_layouts/landing.html +178 -0
- data/_layouts/none.html +1 -0
- data/_layouts/page.html +270 -0
- data/_sass/additional/_alert.scss +29 -0
- data/_sass/additional/_photo-frame.scss +17 -0
- data/_sass/additional/_tag.scss +21 -0
- data/_sass/animate/_fade-in-down.scss +10 -0
- data/_sass/animate/_fade-in-up.scss +10 -0
- data/_sass/animate/_fade-in.scss +8 -0
- data/_sass/common/_classes.scss +24 -0
- data/_sass/common/_function.scss +15 -0
- data/_sass/common/_print.scss +20 -0
- data/_sass/common/_reset.scss +174 -0
- data/_sass/common/_variables.scss +150 -0
- data/_sass/common/classes/_animation.scss +13 -0
- data/_sass/common/classes/_clearfix.scss +19 -0
- data/_sass/common/classes/_clickable.scss +159 -0
- data/_sass/common/classes/_display.scss +13 -0
- data/_sass/common/classes/_flex.scss +394 -0
- data/_sass/common/classes/_grid.scss +80 -0
- data/_sass/common/classes/_horizontal-rules.scss +14 -0
- data/_sass/common/classes/_link.scss +12 -0
- data/_sass/common/classes/_media.scss +17 -0
- data/_sass/common/classes/_overflow.scss +26 -0
- data/_sass/common/classes/_pseudo.scss +33 -0
- data/_sass/common/classes/_shadow.scss +22 -0
- data/_sass/common/classes/_spacing.scss +81 -0
- data/_sass/common/classes/_split-line.scss +24 -0
- data/_sass/common/classes/_text.scss +37 -0
- data/_sass/common/classes/_transform.scss +4 -0
- data/_sass/common/classes/_transition.scss +4 -0
- data/_sass/common/classes/_user-select.scss +6 -0
- data/_sass/common/components/_button.scss +163 -0
- data/_sass/common/components/_card.scss +103 -0
- data/_sass/common/components/_gallery.scss +21 -0
- data/_sass/common/components/_hero.scss +70 -0
- data/_sass/common/components/_image.scss +19 -0
- data/_sass/common/components/_item.scss +100 -0
- data/_sass/common/components/_menu.scss +67 -0
- data/_sass/common/components/_modal.scss +39 -0
- data/_sass/common/components/_swiper.scss +48 -0
- data/_sass/common/components/_toc.scss +124 -0
- data/_sass/components/_article-content.scss +221 -0
- data/_sass/components/_article-footer.scss +17 -0
- data/_sass/components/_article-header.scss +50 -0
- data/_sass/components/_article-info.scss +25 -0
- data/_sass/components/_article-list.scss +18 -0
- data/_sass/components/_author-links.scss +43 -0
- data/_sass/components/_author-profile.scss +26 -0
- data/_sass/components/_extensions.scss +35 -0
- data/_sass/components/_footer.scss +33 -0
- data/_sass/components/_header.scss +123 -0
- data/_sass/components/_lightbox.scss +7 -0
- data/_sass/components/_main.scss +28 -0
- data/_sass/components/_search.scss +186 -0
- data/_sass/components/_tags.scss +24 -0
- data/_sass/custom.scss +3 -0
- data/_sass/layout/_404.scss +14 -0
- data/_sass/layout/_archive.scss +5 -0
- data/_sass/layout/_article.scss +29 -0
- data/_sass/layout/_articles.scss +17 -0
- data/_sass/layout/_base.scss +6 -0
- data/_sass/layout/_home.scss +15 -0
- data/_sass/layout/_landing.scss +23 -0
- data/_sass/layout/_page.scss +165 -0
- data/_sass/skins/_chocolate.scss +74 -0
- data/_sass/skins/_dark.scss +74 -0
- data/_sass/skins/_default.scss +74 -0
- data/_sass/skins/_forest.scss +74 -0
- data/_sass/skins/_ocean.scss +74 -0
- data/_sass/skins/_orange.scss +74 -0
- data/_sass/skins/highlight/_default.scss +0 -0
- data/_sass/skins/highlight/_tomorrow-night-blue.scss +2 -0
- data/_sass/skins/highlight/_tomorrow-night-bright.scss +2 -0
- data/_sass/skins/highlight/_tomorrow-night-eighties.scss +2 -0
- data/_sass/skins/highlight/_tomorrow-night.scss +2 -0
- data/_sass/skins/highlight/_tomorrow.scss +2 -0
- data/_sass/skins/highlight/tomorrow/_default.scss +10 -0
- data/_sass/skins/highlight/tomorrow/_highlight.scss +74 -0
- data/_sass/skins/highlight/tomorrow/_night-blue.scss +10 -0
- data/_sass/skins/highlight/tomorrow/_night-bright.scss +10 -0
- data/_sass/skins/highlight/tomorrow/_night-eighties.scss +10 -0
- data/_sass/skins/highlight/tomorrow/_night.scss +10 -0
- data/assets/android-chrome-192x192.png +0 -0
- data/assets/android-chrome-512x512.png +0 -0
- data/assets/apple-touch-icon.png +0 -0
- data/assets/browserconfig.xml +9 -0
- data/assets/css/main.scss +74 -0
- data/assets/favicon-16x16.png +0 -0
- data/assets/favicon-32x32.png +0 -0
- data/assets/favicon.ico +0 -0
- data/assets/images/logo/logo.svg +8 -0
- data/assets/mstile-144x144.png +0 -0
- data/assets/mstile-150x150.png +0 -0
- data/assets/mstile-310x150.png +0 -0
- data/assets/mstile-310x310.png +0 -0
- data/assets/mstile-70x70.png +0 -0
- data/assets/safari-pinned-tab.svg +38 -0
- data/assets/search.js +3 -0
- data/assets/site.webmanifest +19 -0
- metadata +371 -0
@@ -0,0 +1,74 @@
|
|
1
|
+
///
|
2
|
+
// Skin: Default
|
3
|
+
// Author: Tian Qi
|
4
|
+
// Email: kitian616@outlook.com
|
5
|
+
///
|
6
|
+
|
7
|
+
// main colors
|
8
|
+
$main-color-1: #fc4d50;
|
9
|
+
$text-color-1: #fff;
|
10
|
+
|
11
|
+
$main-color-2: #fca24d;
|
12
|
+
$text-color-2: #fff;
|
13
|
+
|
14
|
+
$main-color-3: #f2f2f2;
|
15
|
+
$text-color-3: #333;
|
16
|
+
|
17
|
+
$main-color-theme-light: rgba(#000, .9);
|
18
|
+
$main-color-theme-dark: rgba(#fff, .9);
|
19
|
+
|
20
|
+
// page background
|
21
|
+
$background-color: #fff;
|
22
|
+
|
23
|
+
// text colors
|
24
|
+
$text-color-theme-light-d: #000;
|
25
|
+
$text-color-theme-light: #222;
|
26
|
+
$text-color-theme-light-l: #888;
|
27
|
+
|
28
|
+
$text-color-theme-dark-d: #fff;
|
29
|
+
$text-color-theme-dark: rgba(#fff, .95);
|
30
|
+
$text-color-theme-dark-l: rgba(#fff, .85);
|
31
|
+
|
32
|
+
$text-color-d: $text-color-theme-light-d;
|
33
|
+
$text-color: $text-color-theme-light;
|
34
|
+
$text-color-l: $text-color-theme-light-l;
|
35
|
+
|
36
|
+
$text-background-color: rgba(#000, .05);
|
37
|
+
|
38
|
+
// header and footer colors
|
39
|
+
$header-text-color: $text-color-3;
|
40
|
+
$header-background: $main-color-3;
|
41
|
+
|
42
|
+
$footer-text-color: $text-color-3;
|
43
|
+
$footer-background: $main-color-3;
|
44
|
+
|
45
|
+
// border and shadow colors
|
46
|
+
$border-color: mix(#000, $background-color, 20%);
|
47
|
+
$border-color-l: mix(#000, $background-color, 10%);
|
48
|
+
$decorate-color: rgba(#000, .1);
|
49
|
+
$mask-color: rgba(#000, .9);
|
50
|
+
$select-color: rgba($main-color-1, .5);
|
51
|
+
|
52
|
+
// function colors
|
53
|
+
$green: #52c41a;
|
54
|
+
$blue: #1890ff;
|
55
|
+
$yellow: #fa8c16;
|
56
|
+
$red: #f5222d;
|
57
|
+
$text-color-function: #fff;
|
58
|
+
|
59
|
+
// logo colors
|
60
|
+
$mail-color: #0072c5;
|
61
|
+
$facebook-color: #4267b2;
|
62
|
+
$twitter-color: #1da1f2;
|
63
|
+
$weibo-color: #e6162d;
|
64
|
+
$google-plus-color:#ea4335;
|
65
|
+
$telegram-color: #32afed;
|
66
|
+
$medium-color: #000;
|
67
|
+
$zhihu-color: #0084ff;
|
68
|
+
$douban-color: #42bd56;
|
69
|
+
$linkedin-color: #1074af;
|
70
|
+
$github-color: #000;
|
71
|
+
$npm-color: #fff;
|
72
|
+
|
73
|
+
// highlight colors
|
74
|
+
@import "skins/highlight/tomorrow";
|
@@ -0,0 +1,74 @@
|
|
1
|
+
///
|
2
|
+
// Skin: Forest
|
3
|
+
// Author: Tian Qi
|
4
|
+
// Email: kitian616@outlook.com
|
5
|
+
///
|
6
|
+
|
7
|
+
// main colors
|
8
|
+
$main-color-1: #bb6170;
|
9
|
+
$text-color-1: #fff;
|
10
|
+
|
11
|
+
$main-color-2: #f3c584;
|
12
|
+
$text-color-2: #fff;
|
13
|
+
|
14
|
+
$main-color-3: #7cc7bb;
|
15
|
+
$text-color-3: #fff;
|
16
|
+
|
17
|
+
$main-color-theme-light: rgba(#000, .9);
|
18
|
+
$main-color-theme-dark: rgba(#fff, .9);
|
19
|
+
|
20
|
+
// page background
|
21
|
+
$background-color: #f8fcfb;
|
22
|
+
|
23
|
+
// text colors
|
24
|
+
$text-color-theme-light-d: #325f74;
|
25
|
+
$text-color-theme-light: #3e758f;
|
26
|
+
$text-color-theme-light-l: #619dbb;
|
27
|
+
|
28
|
+
$text-color-theme-dark-d: #fff;
|
29
|
+
$text-color-theme-dark: rgba(#fff, .95);
|
30
|
+
$text-color-theme-dark-l: rgba(#fff, .85);
|
31
|
+
|
32
|
+
$text-color-d: $text-color-theme-light-d;
|
33
|
+
$text-color: $text-color-theme-light;
|
34
|
+
$text-color-l: $text-color-theme-light-l;
|
35
|
+
|
36
|
+
$text-background-color: rgba(#000, .05);
|
37
|
+
|
38
|
+
// header and footer colors
|
39
|
+
$header-text-color: $text-color-3;
|
40
|
+
$header-background: $main-color-3;
|
41
|
+
|
42
|
+
$footer-text-color: $text-color-3;
|
43
|
+
$footer-background: $main-color-3;
|
44
|
+
|
45
|
+
// border and shadow colors
|
46
|
+
$border-color: #3e758f;
|
47
|
+
$border-color-l: mix(#000, $background-color, 10%);
|
48
|
+
$decorate-color: rgba(#bb6170, .15);
|
49
|
+
$mask-color: rgba(#000, .9);
|
50
|
+
$select-color: rgba($main-color-1, .5);
|
51
|
+
|
52
|
+
// function colors
|
53
|
+
$green: #52c41a;
|
54
|
+
$blue: #1890ff;
|
55
|
+
$yellow: #fa8c16;
|
56
|
+
$red: #f5222d;
|
57
|
+
$text-color-function: #fff;
|
58
|
+
|
59
|
+
// logo colors
|
60
|
+
$mail-color: #0072c5;
|
61
|
+
$facebook-color: #4267b2;
|
62
|
+
$twitter-color: #1da1f2;
|
63
|
+
$weibo-color: #e6162d;
|
64
|
+
$google-plus-color:#ea4335;
|
65
|
+
$telegram-color: #32afed;
|
66
|
+
$medium-color: #000;
|
67
|
+
$zhihu-color: #0084ff;
|
68
|
+
$douban-color: #42bd56;
|
69
|
+
$linkedin-color: #1074af;
|
70
|
+
$github-color: #000;
|
71
|
+
$npm-color: #fff;
|
72
|
+
|
73
|
+
// highlight colors
|
74
|
+
@import "skins/highlight/tomorrow";
|
@@ -0,0 +1,74 @@
|
|
1
|
+
///
|
2
|
+
// Skin: Ocean
|
3
|
+
// Author: Tian Qi
|
4
|
+
// Email: kitian616@outlook.com
|
5
|
+
///
|
6
|
+
|
7
|
+
// main colors
|
8
|
+
$main-color-1: #0366d6;
|
9
|
+
$text-color-1: #fff;
|
10
|
+
|
11
|
+
$main-color-2: #a5917f;
|
12
|
+
$text-color-2: #fff;
|
13
|
+
|
14
|
+
$main-color-3: #f1f8ff;
|
15
|
+
$text-color-3: #0366d6;
|
16
|
+
|
17
|
+
$main-color-theme-light: rgba(#000, .9);
|
18
|
+
$main-color-theme-dark: rgba(#fff, .9);
|
19
|
+
|
20
|
+
// page background
|
21
|
+
$background-color: #fff;
|
22
|
+
|
23
|
+
// text colors
|
24
|
+
$text-color-theme-light-d: rgba(#000, .95);
|
25
|
+
$text-color-theme-light: rgba(#000, .85);
|
26
|
+
$text-color-theme-light-l: rgba(#000, .5);
|
27
|
+
|
28
|
+
$text-color-theme-dark-d: #fff;
|
29
|
+
$text-color-theme-dark: rgba(#fff, .95);
|
30
|
+
$text-color-theme-dark-l: rgba(#fff, .85);
|
31
|
+
|
32
|
+
$text-color-d: $text-color-theme-light-d;
|
33
|
+
$text-color: $text-color-theme-light;
|
34
|
+
$text-color-l: $text-color-theme-light-l;
|
35
|
+
|
36
|
+
$text-background-color: rgba(#000, .05);
|
37
|
+
|
38
|
+
// header and footer colors
|
39
|
+
$header-text-color: $text-color-3;
|
40
|
+
$header-background: $main-color-3;
|
41
|
+
|
42
|
+
$footer-text-color: $text-color-3;
|
43
|
+
$footer-background: $main-color-3;
|
44
|
+
|
45
|
+
// border and shadow colors
|
46
|
+
$border-color: mix(#000, $background-color, 20%);
|
47
|
+
$border-color-l: mix(#000, $background-color, 10%);
|
48
|
+
$decorate-color: rgba(#000, .1);
|
49
|
+
$mask-color: rgba(#000, .9);
|
50
|
+
$select-color: rgba($main-color-1, .5);
|
51
|
+
|
52
|
+
// function colors
|
53
|
+
$green: #52c41a;
|
54
|
+
$blue: #1890ff;
|
55
|
+
$yellow: #fa8c16;
|
56
|
+
$red: #f5222d;
|
57
|
+
$text-color-function: #fff;
|
58
|
+
|
59
|
+
// logo colors
|
60
|
+
$mail-color: #0072c5;
|
61
|
+
$facebook-color: #4267b2;
|
62
|
+
$twitter-color: #1da1f2;
|
63
|
+
$weibo-color: #e6162d;
|
64
|
+
$google-plus-color:#ea4335;
|
65
|
+
$telegram-color: #32afed;
|
66
|
+
$medium-color: #000;
|
67
|
+
$zhihu-color: #0084ff;
|
68
|
+
$douban-color: #42bd56;
|
69
|
+
$linkedin-color: #1074af;
|
70
|
+
$github-color: #000;
|
71
|
+
$npm-color: #fff;
|
72
|
+
|
73
|
+
// highlight colors
|
74
|
+
@import "skins/highlight/tomorrow-night-blue";
|
@@ -0,0 +1,74 @@
|
|
1
|
+
///
|
2
|
+
// Skin: Orange
|
3
|
+
// Author: Tian Qi
|
4
|
+
// Email: kitian616@outlook.com
|
5
|
+
///
|
6
|
+
|
7
|
+
// main colors
|
8
|
+
$main-color-1: #f92651;
|
9
|
+
$text-color-1: #fff;
|
10
|
+
|
11
|
+
$main-color-2: #fdb824;
|
12
|
+
$text-color-2: #fff;
|
13
|
+
|
14
|
+
$main-color-3: #ff8a64;
|
15
|
+
$text-color-3: #fff;
|
16
|
+
|
17
|
+
$main-color-theme-light: rgba(#000, .9);
|
18
|
+
$main-color-theme-dark: rgba(#fff, .9);
|
19
|
+
|
20
|
+
// page background
|
21
|
+
$background-color: #fffdfa;
|
22
|
+
|
23
|
+
// text colors
|
24
|
+
$text-color-theme-light-d: rgba(#000, .95);
|
25
|
+
$text-color-theme-light: rgba(#000, .85);
|
26
|
+
$text-color-theme-light-l: rgba(#000, .5);
|
27
|
+
|
28
|
+
$text-color-theme-dark-d: rgba(#fff, .95);
|
29
|
+
$text-color-theme-dark: rgba(#fff, .85);
|
30
|
+
$text-color-theme-dark-l: rgba(#fff, .65);
|
31
|
+
|
32
|
+
$text-color-d: $text-color-theme-light-d;
|
33
|
+
$text-color: $text-color-theme-light;
|
34
|
+
$text-color-l: $text-color-theme-light-l;
|
35
|
+
|
36
|
+
$text-background-color: rgba(#000, .05);
|
37
|
+
|
38
|
+
// header and footer colors
|
39
|
+
$header-text-color: $text-color-3;
|
40
|
+
$header-background: linear-gradient(60deg, #ffa650 0%, #ff7b50 100%);
|
41
|
+
|
42
|
+
$footer-text-color: $text-color-3;
|
43
|
+
$footer-background: linear-gradient(60deg, #ffa650 0%, #ff7b50 100%);
|
44
|
+
|
45
|
+
// border and shadow colors
|
46
|
+
$border-color: mix($main-color-1, $background-color, 50%);
|
47
|
+
$border-color-l: mix(#000, $background-color, 10%);
|
48
|
+
$decorate-color: rgba(#000, .1);
|
49
|
+
$mask-color: rgba(#000, .9);
|
50
|
+
$select-color: rgba($main-color-3, .5);
|
51
|
+
|
52
|
+
// function colors
|
53
|
+
$green: #52c41a;
|
54
|
+
$blue: #1890ff;
|
55
|
+
$yellow: #fa8c16;
|
56
|
+
$red: #f5222d;
|
57
|
+
$text-color-function: #fff;
|
58
|
+
|
59
|
+
// logo colors
|
60
|
+
$mail-color: #0072c5;
|
61
|
+
$facebook-color: #4267b2;
|
62
|
+
$twitter-color: #1da1f2;
|
63
|
+
$weibo-color: #e6162d;
|
64
|
+
$google-plus-color:#ea4335;
|
65
|
+
$telegram-color: #32afed;
|
66
|
+
$medium-color: #000;
|
67
|
+
$zhihu-color: #0084ff;
|
68
|
+
$douban-color: #42bd56;
|
69
|
+
$linkedin-color: #1074af;
|
70
|
+
$github-color: #000;
|
71
|
+
$npm-color: #fff;
|
72
|
+
|
73
|
+
// highlight colors
|
74
|
+
@import "skins/highlight/tomorrow-night-eighties";
|
File without changes
|
@@ -0,0 +1,10 @@
|
|
1
|
+
$highlight-background : #f7f7f7;
|
2
|
+
$highlight-foreground : #4d4d4c;
|
3
|
+
$highlight-comment : #8e908c;
|
4
|
+
$highlight-red : #c82829;
|
5
|
+
$highlight-orange : #f5871f;
|
6
|
+
$highlight-yellow : #eab700;
|
7
|
+
$highlight-green : #718c00;
|
8
|
+
$highlight-aqua : #3e999f;
|
9
|
+
$highlight-blue : #4271ae;
|
10
|
+
$highlight-purple : #8959a8;
|
@@ -0,0 +1,74 @@
|
|
1
|
+
figure.highlight::before {
|
2
|
+
color: $highlight-comment !important;
|
3
|
+
background-color: $highlight-background !important;
|
4
|
+
}
|
5
|
+
pre.lineno {
|
6
|
+
color: $highlight-comment !important;
|
7
|
+
}
|
8
|
+
.highlight > pre {
|
9
|
+
color: $highlight-foreground;
|
10
|
+
background-color: $highlight-background !important;
|
11
|
+
.c { color: $highlight-comment; } /* Comment */
|
12
|
+
.err { color: $highlight-red; } /* Error */
|
13
|
+
.k { color: $highlight-purple; } /* Keyword */
|
14
|
+
.l { color: $highlight-orange; } /* Literal */
|
15
|
+
.n { color: $highlight-foreground; } /* Name */
|
16
|
+
.o { color: $highlight-aqua; } /* Operator */
|
17
|
+
.p { color: $highlight-foreground; } /* Punctuation */
|
18
|
+
.cm { color: $highlight-comment; } /* Comment.Multiline */
|
19
|
+
.cp { color: $highlight-comment; } /* Comment.Preproc */
|
20
|
+
.c1 { color: $highlight-comment; } /* Comment.Single */
|
21
|
+
.cs { color: $highlight-comment; } /* Comment.Special */
|
22
|
+
.gd { color: $highlight-red; } /* Generic.Deleted */
|
23
|
+
.ge { font-style: italic; } /* Generic.Emph */
|
24
|
+
.gh { font-weight: bold; color: $highlight-foreground; } /* Generic.Heading */
|
25
|
+
.gi { color: $highlight-green; } /* Generic.Inserted */
|
26
|
+
.gp { font-weight: bold; color: $highlight-comment; } /* Generic.Prompt */
|
27
|
+
.gs { font-weight: bold; } /* Generic.Strong */
|
28
|
+
.gu { font-weight: bold; color: $highlight-aqua; } /* Generic.Subheading */
|
29
|
+
.kc { color: $highlight-purple; } /* Keyword.Constant */
|
30
|
+
.kd { color: $highlight-purple; } /* Keyword.Declaration */
|
31
|
+
.kn { color: $highlight-aqua; } /* Keyword.Namespace */
|
32
|
+
.kp { color: $highlight-purple; } /* Keyword.Pseudo */
|
33
|
+
.kr { color: $highlight-purple; } /* Keyword.Reserved */
|
34
|
+
.kt { color: $highlight-yellow; } /* Keyword.Type */
|
35
|
+
.ld { color: $highlight-green; } /* Literal.Date */
|
36
|
+
.m { color: $highlight-orange; } /* Literal.Number */
|
37
|
+
.s { color: $highlight-green; } /* Literal.String */
|
38
|
+
.na { color: $highlight-blue; } /* Name.Attribute */
|
39
|
+
.nb { color: $highlight-foreground; } /* Name.Builtin */
|
40
|
+
.nc { color: $highlight-yellow; } /* Name.Class */
|
41
|
+
.no { color: $highlight-red; } /* Name.Constant */
|
42
|
+
.nd { color: $highlight-aqua; } /* Name.Decorator */
|
43
|
+
.ni { color: $highlight-foreground; } /* Name.Entity */
|
44
|
+
.ne { color: $highlight-red; } /* Name.Exception */
|
45
|
+
.nf { color: $highlight-blue; } /* Name.Function */
|
46
|
+
.nl { color: $highlight-foreground; } /* Name.Label */
|
47
|
+
.nn { color: $highlight-yellow; } /* Name.Namespace */
|
48
|
+
.nx { color: $highlight-blue; } /* Name.Other */
|
49
|
+
.py { color: $highlight-foreground; } /* Name.Property */
|
50
|
+
.nt { color: $highlight-aqua; } /* Name.Tag */
|
51
|
+
.nv { color: $highlight-red; } /* Name.Variable */
|
52
|
+
.ow { color: $highlight-aqua; } /* Operator.Word */
|
53
|
+
.w { color: $highlight-foreground; } /* Text.Whitespace */
|
54
|
+
.mf { color: $highlight-orange; } /* Literal.Number.Float */
|
55
|
+
.mh { color: $highlight-orange; } /* Literal.Number.Hex */
|
56
|
+
.mi { color: $highlight-orange; } /* Literal.Number.Integer */
|
57
|
+
.mo { color: $highlight-orange; } /* Literal.Number.Oct */
|
58
|
+
.sb { color: $highlight-green; } /* Literal.String.Backtick */
|
59
|
+
.sc { color: $highlight-foreground; } /* Literal.String.Char */
|
60
|
+
.sd { color: $highlight-comment; } /* Literal.String.Doc */
|
61
|
+
.s2 { color: $highlight-green; } /* Literal.String.Double */
|
62
|
+
.se { color: $highlight-orange; } /* Literal.String.Escape */
|
63
|
+
.sh { color: $highlight-green; } /* Literal.String.Heredoc */
|
64
|
+
.si { color: $highlight-orange; } /* Literal.String.Interpol */
|
65
|
+
.sx { color: $highlight-green; } /* Literal.String.Other */
|
66
|
+
.sr { color: $highlight-green; } /* Literal.String.Regex */
|
67
|
+
.s1 { color: $highlight-green; } /* Literal.String.Single */
|
68
|
+
.ss { color: $highlight-green; } /* Literal.String.Symbol */
|
69
|
+
.bp { color: $highlight-foreground; } /* Name.Builtin.Pseudo */
|
70
|
+
.vc { color: $highlight-red; } /* Name.Variable.Class */
|
71
|
+
.vg { color: $highlight-red; } /* Name.Variable.Global */
|
72
|
+
.vi { color: $highlight-red; } /* Name.Variable.Instance */
|
73
|
+
.il { color: $highlight-orange; } /* Literal.Number.Integer.Long */
|
74
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
$highlight-background :#002451;
|
2
|
+
$highlight-foreground :#fff;
|
3
|
+
$highlight-comment :#7285b7;
|
4
|
+
$highlight-red :#ff9da4;
|
5
|
+
$highlight-orange :#ffc58f;
|
6
|
+
$highlight-yellow :#ffeead;
|
7
|
+
$highlight-green :#d1f1a9;
|
8
|
+
$highlight-aqua :#9ff;
|
9
|
+
$highlight-blue :#bbdaff;
|
10
|
+
$highlight-purple :#ebbbff;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
$highlight-background :#000;
|
2
|
+
$highlight-foreground :#eaeaea;
|
3
|
+
$highlight-comment :#969896;
|
4
|
+
$highlight-red :#d54e53;
|
5
|
+
$highlight-orange :#e78c45;
|
6
|
+
$highlight-yellow :#e7c547;
|
7
|
+
$highlight-green :#b9ca4a;
|
8
|
+
$highlight-aqua :#70c0b1;
|
9
|
+
$highlight-blue :#7aa6da;
|
10
|
+
$highlight-purple :#c397d8;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
$highlight-background :#2d2d2d;
|
2
|
+
$highlight-foreground :#ccc;
|
3
|
+
$highlight-comment :#999;
|
4
|
+
$highlight-red :#f2777a;
|
5
|
+
$highlight-orange :#f99157;
|
6
|
+
$highlight-yellow :#fc6;
|
7
|
+
$highlight-green :#9c9;
|
8
|
+
$highlight-aqua :#6cc;
|
9
|
+
$highlight-blue :#69c;
|
10
|
+
$highlight-purple :#c9c;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
$highlight-background : #1d1f21;
|
2
|
+
$highlight-foreground : #c5c8c6;
|
3
|
+
$highlight-comment : #969896;
|
4
|
+
$highlight-red : #c66;
|
5
|
+
$highlight-orange : #de935f;
|
6
|
+
$highlight-yellow : #f0c674;
|
7
|
+
$highlight-green : #b5bd68;
|
8
|
+
$highlight-aqua : #8abeb7;
|
9
|
+
$highlight-blue : #81a2be;
|
10
|
+
$highlight-purple : #b294bb;
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,74 @@
|
|
1
|
+
---
|
2
|
+
# Only the main Sass file needs front matter (the dashes are enough)
|
3
|
+
---
|
4
|
+
|
5
|
+
@import
|
6
|
+
|
7
|
+
"skins/{{ site.text_skin | default: site.data.variables.default.text_skin }}",
|
8
|
+
// "skins/chocolate",
|
9
|
+
// "skins/dark",
|
10
|
+
// "skins/default",
|
11
|
+
// "skins/forest",
|
12
|
+
// "skins/ocean",
|
13
|
+
// "skins/orange",
|
14
|
+
|
15
|
+
"skins/highlight/{{ site.highlight_theme | default: site.data.variables.default.highlight_theme }}",
|
16
|
+
// "skins/highlight/tomorrow",
|
17
|
+
// "skins/highlight/tomorrow-night",
|
18
|
+
// "skins/highlight/tomorrow-night-eighties",
|
19
|
+
// "skins/highlight/tomorrow-night-blue",
|
20
|
+
// "skins/highlight/tomorrow-night-bright",
|
21
|
+
|
22
|
+
|
23
|
+
"common/variables",
|
24
|
+
"common/function",
|
25
|
+
"common/classes",
|
26
|
+
"common/reset",
|
27
|
+
"common/print",
|
28
|
+
"common/components/button",
|
29
|
+
"common/components/image",
|
30
|
+
"common/components/card",
|
31
|
+
"common/components/gallery",
|
32
|
+
"common/components/hero",
|
33
|
+
"common/components/menu",
|
34
|
+
"common/components/modal",
|
35
|
+
"common/components/toc",
|
36
|
+
"common/components/item",
|
37
|
+
"common/components/swiper",
|
38
|
+
|
39
|
+
"animate/fade-in",
|
40
|
+
"animate/fade-in-down",
|
41
|
+
"animate/fade-in-up",
|
42
|
+
|
43
|
+
"components/main",
|
44
|
+
"components/header",
|
45
|
+
"components/footer",
|
46
|
+
"components/article-list",
|
47
|
+
"components/article-info",
|
48
|
+
"components/article-header",
|
49
|
+
"components/article-content",
|
50
|
+
"components/article-footer",
|
51
|
+
"components/author-links",
|
52
|
+
"components/author-profile",
|
53
|
+
"components/tags",
|
54
|
+
"components/search",
|
55
|
+
"components/lightbox",
|
56
|
+
"components/extensions",
|
57
|
+
|
58
|
+
|
59
|
+
"additional/alert",
|
60
|
+
"additional/tag",
|
61
|
+
"additional/photo-frame",
|
62
|
+
|
63
|
+
"layout/base",
|
64
|
+
"layout/page",
|
65
|
+
|
66
|
+
"layout/article",
|
67
|
+
"layout/articles",
|
68
|
+
"layout/archive",
|
69
|
+
"layout/home",
|
70
|
+
"layout/landing",
|
71
|
+
"layout/404",
|
72
|
+
|
73
|
+
"custom"
|
74
|
+
;
|
Binary file
|
Binary file
|
data/assets/favicon.ico
ADDED
Binary file
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
2
|
+
width="24px" height="24px" viewBox="0 0 24 24">
|
3
|
+
<style type="text/css">
|
4
|
+
.st0{fill:#515151;}
|
5
|
+
</style>
|
6
|
+
<path class="st0" d="M1.7,22.3c5.7-5.7,11.3-5.7,17,0c3.3-3.3,3.5-5.3,0.8-6c2.7,0.7,3.5-1.1,2.3-5.6s-3.3-5.2-6.3-2.1
|
7
|
+
c3-3,2.3-5.2-2.1-6.3S7,1.8,7.7,4.6C7,1.8,5,2.1,1.7,5.3C7.3,11,7.3,16.7,1.7,22.3"/>
|
8
|
+
</svg>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
3
|
+
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
4
|
+
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
5
|
+
width="700.000000pt" height="700.000000pt" viewBox="0 0 700.000000 700.000000"
|
6
|
+
preserveAspectRatio="xMidYMid meet">
|
7
|
+
<metadata>
|
8
|
+
Created by potrace 1.11, written by Peter Selinger 2001-2013
|
9
|
+
</metadata>
|
10
|
+
<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)"
|
11
|
+
fill="#000000" stroke="none">
|
12
|
+
<path d="M2735 6469 c-98 -14 -126 -21 -178 -38 -188 -66 -289 -166 -332 -327
|
13
|
+
-15 -58 -22 -232 -11 -284 3 -14 8 -41 11 -60 5 -32 4 -31 -10 10 -31 86 -104
|
14
|
+
227 -143 277 -51 64 -127 119 -199 144 -69 25 -189 31 -255 13 -27 -7 -48 -11
|
15
|
+
-48 -9 0 2 -33 -8 -72 -22 -193 -67 -452 -232 -702 -446 -27 -23 -60 -51 -73
|
16
|
+
-62 -14 -11 -70 -63 -126 -116 l-101 -96 66 -69 c90 -94 114 -121 178 -194 30
|
17
|
+
-35 60 -68 66 -74 5 -6 53 -65 105 -131 374 -471 603 -905 724 -1370 33 -127
|
18
|
+
37 -148 56 -270 24 -157 33 -457 17 -620 -54 -579 -307 -1149 -767 -1729 -98
|
19
|
+
-125 -114 -144 -196 -235 -54 -59 -60 -66 -120 -132 l-40 -44 50 46 c76 71
|
20
|
+
104 96 175 158 36 31 70 61 76 66 14 13 72 60 154 125 36 28 73 57 83 65 9 8
|
21
|
+
21 15 26 15 5 0 11 3 13 8 14 34 381 264 578 362 167 84 435 191 518 206 13 3
|
22
|
+
42 11 65 18 23 8 56 17 72 20 17 4 41 9 55 12 81 16 185 33 245 39 39 4 81 8
|
23
|
+
95 11 32 5 334 5 380 -1 19 -2 58 -7 86 -10 29 -3 62 -8 75 -10 13 -3 44 -8
|
24
|
+
69 -11 25 -3 53 -8 62 -10 10 -3 29 -7 42 -10 113 -20 342 -93 501 -159 112
|
25
|
+
-46 346 -164 406 -205 24 -16 48 -30 52 -30 20 0 346 -230 487 -343 173 -139
|
26
|
+
259 -215 403 -355 l99 -96 102 104 c55 58 128 136 161 174 33 37 65 73 70 80
|
27
|
+
32 36 129 163 181 236 301 423 344 745 130 953 -63 61 -216 145 -326 180 -8 2
|
28
|
+
-1 2 15 0 284 -42 449 -5 574 129 105 111 163 330 155 588 -3 110 -13 245 -19
|
29
|
+
275 -5 23 -14 82 -21 140 -3 22 -14 81 -24 130 -11 50 -21 101 -24 115 -6 36
|
30
|
+
-75 311 -85 340 -5 14 -19 59 -31 100 -24 82 -74 227 -95 275 -7 17 -26 62
|
31
|
+
-43 100 -147 339 -345 550 -573 610 -263 70 -586 -69 -944 -404 -57 -54 -54
|
32
|
+
-41 5 19 35 35 140 171 186 240 109 162 183 332 199 455 7 51 8 158 2 185 -2
|
33
|
+
8 -7 33 -12 55 -28 141 -168 324 -330 430 -47 31 -213 125 -221 125 -2 0 -32
|
34
|
+
13 -66 29 -134 61 -322 122 -543 178 -33 8 -67 16 -75 18 -25 7 -303 65 -330
|
35
|
+
70 -14 2 -45 7 -70 10 -25 3 -70 10 -100 15 -30 5 -80 12 -110 16 -79 9 -396
|
36
|
+
12 -455 3z"/>
|
37
|
+
</g>
|
38
|
+
</svg>
|
data/assets/search.js
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"name": "TeXt Theme",
|
3
|
+
"short_name": "TeXt Theme",
|
4
|
+
"icons": [
|
5
|
+
{
|
6
|
+
"src": "android-chrome-192x192.png",
|
7
|
+
"sizes": "192x192",
|
8
|
+
"type": "image/png"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"src": "android-chrome-512x512.png",
|
12
|
+
"sizes": "512x512",
|
13
|
+
"type": "image/png"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"theme_color": "#ffffff",
|
17
|
+
"background_color": "#ffffff",
|
18
|
+
"display": "standalone"
|
19
|
+
}
|