hexo-theme-solitude 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -19
- package/README.md +56 -19
- package/README_EN.md +98 -0
- package/_config.yml +274 -224
- package/languages/en-US.yml +1 -0
- package/languages/zh-CN.yml +8 -8
- package/layout/404.pug +24 -0
- package/layout/archive.pug +11 -0
- package/layout/category.pug +16 -0
- package/layout/includes/console.pug +42 -0
- package/layout/includes/footer.pug +71 -0
- package/layout/includes/head/config.pug +79 -0
- package/layout/includes/head/pwa.pug +59 -0
- package/layout/includes/head.pug +29 -0
- package/layout/includes/header.pug +4 -0
- package/layout/includes/inject/body.pug +68 -0
- package/layout/{partial/compoment/inject/head.ejs → includes/inject/head.pug} +60 -37
- package/layout/includes/layout.pug +35 -0
- package/layout/{partial/loading.ejs → includes/loading.pug} +19 -17
- package/layout/includes/mixins/articleSort.pug +14 -0
- package/layout/includes/mixins/pagination.pug +8 -0
- package/layout/includes/nav.pug +22 -0
- package/layout/includes/page/about.pug +10 -0
- package/layout/includes/page/categories.pug +8 -0
- package/layout/includes/page/default.pug +2 -0
- package/layout/includes/page/echarts.pug +7 -0
- package/layout/includes/page/equipment.pug +3 -0
- package/layout/includes/page/links.pug +35 -0
- package/layout/includes/page/moments.pug +5 -0
- package/layout/includes/page/rss.pug +22 -0
- package/layout/includes/page/says.pug +20 -0
- package/layout/includes/page/tags.pug +8 -0
- package/layout/includes/page/tlink.pug +9 -0
- package/layout/includes/recent-posts.pug +9 -0
- package/layout/includes/sidebar.pug +17 -0
- package/layout/includes/widgets/aside/aside.pug +18 -0
- package/layout/includes/widgets/aside/asideAllInfo.pug +8 -0
- package/layout/includes/widgets/aside/asideArchive.pug +9 -0
- package/layout/includes/widgets/aside/asideFlipCard.pug +5 -0
- package/layout/includes/widgets/aside/asideHistory.pug +8 -0
- package/layout/includes/widgets/aside/asideInfoCard.pug +22 -0
- package/layout/includes/widgets/aside/asideNewestPost.pug +16 -0
- package/layout/includes/widgets/aside/asidePower.pug +19 -0
- package/layout/includes/widgets/aside/asideSwitch.pug +26 -0
- package/layout/includes/widgets/aside/asideTag.pug +11 -0
- package/layout/includes/widgets/aside/asideToc.pug +5 -0
- package/layout/includes/widgets/aside/asideWebInfo.pug +40 -0
- package/layout/includes/widgets/aside/asideWelcome.pug +12 -0
- package/layout/includes/widgets/home/banner.pug +16 -0
- package/layout/includes/widgets/home/bbTimeList.pug +8 -0
- package/layout/includes/widgets/home/categoryBar.pug +10 -0
- package/layout/includes/widgets/home/categoryGroup.pug +9 -0
- package/layout/includes/widgets/home/hometop.pug +9 -0
- package/layout/includes/widgets/home/postList.pug +26 -0
- package/layout/includes/widgets/home/rencentPost.pug +26 -0
- package/layout/includes/widgets/home/topGroup.pug +27 -0
- package/layout/includes/widgets/nav/left.pug +10 -0
- package/layout/includes/widgets/nav/menu.pug +16 -0
- package/layout/includes/widgets/nav/right.pug +23 -0
- package/layout/includes/widgets/page/about/authorinfo.pug +12 -0
- package/layout/includes/widgets/page/about/award.pug +34 -0
- package/layout/includes/widgets/page/about/contentinfo.pug +38 -0
- package/layout/includes/widgets/page/about/hobbies.pug +33 -0
- package/layout/includes/widgets/page/about/motto.pug +19 -0
- package/layout/includes/widgets/page/about/other.pug +61 -0
- package/layout/includes/widgets/page/about/personalities.pug +16 -0
- package/layout/includes/widgets/page/about/skillsinfo.pug +41 -0
- package/layout/includes/widgets/page/banner.pug +14 -0
- package/layout/includes/widgets/page/equipment/content.pug +23 -0
- package/layout/includes/widgets/page/links/banner.pug +30 -0
- package/layout/includes/widgets/page/links/linksCard.pug +18 -0
- package/layout/includes/widgets/page/links/linksItem.pug +14 -0
- package/layout/includes/widgets/page/moments/angle.pug +24 -0
- package/layout/includes/widgets/page/moments/index.pug +18 -0
- package/layout/includes/widgets/page/says/saysBottom.pug +11 -0
- package/layout/includes/widgets/page/says/saysContent.pug +6 -0
- package/layout/includes/widgets/page/says/saysFunction.pug +10 -0
- package/layout/includes/widgets/page/says/saysMeta.pug +7 -0
- package/layout/includes/widgets/post/award.pug +48 -0
- package/layout/includes/widgets/post/copyright.pug +27 -0
- package/layout/includes/widgets/post/postMeta.pug +55 -0
- package/layout/includes/widgets/post/postNav.pug +25 -0
- package/layout/includes/widgets/post/wave.pug +9 -0
- package/layout/includes/widgets/randomlink.pug +32 -0
- package/layout/includes/widgets/rightside/index.pug +74 -0
- package/layout/includes/widgets/third-party/comments/comment.pug +14 -0
- package/layout/includes/widgets/third-party/comments/gitalk.pug +0 -0
- package/layout/{partial/compoment/third-party/comments/twikoo.ejs → includes/widgets/third-party/comments/twikoo.pug} +8 -9
- package/layout/includes/widgets/third-party/comments/valine.pug +0 -0
- package/layout/includes/widgets/third-party/music.pug +3 -0
- package/layout/includes/widgets/third-party/pjax.pug +30 -0
- package/layout/includes/widgets/third-party/search/algolia-search.pug +16 -0
- package/layout/includes/widgets/third-party/search/index.pug +7 -0
- package/layout/includes/widgets/third-party/search/local-search.pug +15 -0
- package/layout/index.pug +20 -0
- package/layout/page.pug +32 -0
- package/layout/post.pug +43 -0
- package/layout/tag.pug +19 -0
- package/package.json +3 -3
- package/scripts/event/page.js +20 -2
- package/scripts/filter/checkThemeConfig.js +0 -1
- package/scripts/filter/randomPosts.js +0 -1
- package/scripts/helper/{charts.js → echarts.js} +21 -11
- package/scripts/helper/related_post.js +10 -3
- package/scripts/helper/stylus.js +23 -0
- package/scripts/tags/bvideo.js +1 -36
- package/scripts/tags/fold.js +2 -3
- package/scripts/tags/note.js +6 -2
- package/scripts/tags/tabs.js +1 -1
- package/source/css/_comment/index.styl +121 -0
- package/source/css/_comment/twikoo.styl +515 -0
- package/source/css/_extra/console.styl +354 -0
- package/source/css/_extra/rightmenu.styl +83 -0
- package/source/css/_global/animation.css +756 -0
- package/source/css/_global/function.styl +83 -0
- package/source/css/_global/index.styl +120 -0
- package/source/css/_global/var.styl +1 -0
- package/source/css/_layout/articleSort.styl +199 -0
- package/source/css/_layout/base.styl +392 -0
- package/source/css/_layout/footer.styl +359 -0
- package/source/css/_layout/header.styl +1331 -0
- package/source/css/_layout/index.styl +293 -0
- package/source/css/_layout/sidebar.styl +226 -0
- package/source/css/_mode/index.styl +52 -0
- package/source/css/_page/about.styl +944 -0
- package/source/css/_page/category.styl +141 -0
- package/source/css/_page/equipment.styl +108 -0
- package/source/css/_page/error.styl +161 -0
- package/source/css/_page/home.styl +58 -0
- package/source/css/_page/homeTop.styl +1035 -0
- package/source/css/_page/index.styl +22 -0
- package/source/css/_page/link.styl +433 -0
- package/source/css/_page/moment.styl +186 -0
- package/source/css/_page/rss.styl +87 -0
- package/source/css/_page/says.styl +353 -0
- package/source/css/_page/tag.styl +56 -0
- package/source/css/_post/commentBarrage.styl +149 -0
- package/source/css/_post/externalTags.styl +694 -0
- package/source/css/_post/highlight.styl +96 -0
- package/source/css/_post/index.styl +935 -0
- package/source/css/_post/pagination.styl +467 -0
- package/source/css/_post/postContent.styl +957 -0
- package/source/css/_post/relatedPost.styl +160 -0
- package/source/css/_post/reward.styl +217 -0
- package/source/css/_search/algolia-search.styl +206 -0
- package/source/css/_search/local-search.styl +112 -0
- package/source/css/_widgets/aside/allinfo.styl +134 -0
- package/source/css/_widgets/aside/flip.styl +68 -0
- package/source/css/_widgets/aside/history.styl +35 -0
- package/source/css/_widgets/aside/index.styl +156 -0
- package/source/css/_widgets/aside/info.styl +263 -0
- package/source/css/_widgets/aside/newPost.styl +55 -0
- package/source/css/_widgets/aside/power.styl +90 -0
- package/source/css/_widgets/aside/toc.styl +85 -0
- package/source/css/_widgets/aside/welcome.styl +14 -0
- package/source/css/_widgets/index.styl +3 -0
- package/source/css/index.styl +40 -0
- package/source/img/default.png +0 -0
- package/source/img/logo-horizontal_version.png +0 -0
- package/source/img/pwa/16.png +0 -0
- package/source/img/pwa/180.png +0 -0
- package/source/img/pwa/192.png +0 -0
- package/source/img/pwa/32.png +0 -0
- package/source/img/pwa/512.png +0 -0
- package/source/img/pwa/logo.png +0 -0
- package/source/img/pwa/siteicon/splash-1125x2436.png +0 -0
- package/source/img/pwa/siteicon/splash-1136x640.png +0 -0
- package/source/img/pwa/siteicon/splash-1170x2532.png +0 -0
- package/source/img/pwa/siteicon/splash-1179x2556.png +0 -0
- package/source/img/pwa/siteicon/splash-1242x2208.png +0 -0
- package/source/img/pwa/siteicon/splash-1242x2688.png +0 -0
- package/source/img/pwa/siteicon/splash-1248x2778.png +0 -0
- package/source/img/pwa/siteicon/splash-1290x2796.png +0 -0
- package/source/img/pwa/siteicon/splash-1334x750.png +0 -0
- package/source/img/pwa/siteicon/splash-1536x2048.png +0 -0
- package/source/img/pwa/siteicon/splash-1620x2160.png +0 -0
- package/source/img/pwa/siteicon/splash-1668x2224.png +0 -0
- package/source/img/pwa/siteicon/splash-1668x2388.png +0 -0
- package/source/img/pwa/siteicon/splash-1792x828.png +0 -0
- package/source/img/pwa/siteicon/splash-2048x1536.png +0 -0
- package/source/img/pwa/siteicon/splash-2048x2732.png +0 -0
- package/source/img/pwa/siteicon/splash-2160x1620.png +0 -0
- package/source/img/pwa/siteicon/splash-2208x1242.png +0 -0
- package/source/img/pwa/siteicon/splash-2224x1668.png +0 -0
- package/source/img/pwa/siteicon/splash-2388x1668.png +0 -0
- package/source/img/pwa/siteicon/splash-2436x1125.png +0 -0
- package/source/img/pwa/siteicon/splash-2532x1170.png +0 -0
- package/source/img/pwa/siteicon/splash-2556x1179.png +0 -0
- package/source/img/pwa/siteicon/splash-2688x1242.png +0 -0
- package/source/img/pwa/siteicon/splash-2732x2048.png +0 -0
- package/source/img/pwa/siteicon/splash-2778x1248.png +0 -0
- package/source/img/pwa/siteicon/splash-2796x1290.png +0 -0
- package/source/img/pwa/siteicon/splash-640x1136.png +0 -0
- package/source/img/pwa/siteicon/splash-750x1334.png +0 -0
- package/source/img/pwa/siteicon/splash-828x1792.png +0 -0
- package/source/img/solitude-show.jpg +0 -0
- package/source/js/commentBarrage.js +8 -5
- package/source/js/extend/console/comment.js +60 -63
- package/source/js/extend/covercolor/local.js +105 -95
- package/source/js/extend/search/algolia-search.js +104 -111
- package/source/js/extend/search/local-search.js +7 -7
- package/source/js/main.js +673 -520
- package/source/js/utils.js +131 -137
- package/source/lib/chuckle-post-ai.js +1 -1
- package/layout/404.ejs +0 -34
- package/layout/archive.ejs +0 -10
- package/layout/category.ejs +0 -18
- package/layout/index.ejs +0 -20
- package/layout/layout.ejs +0 -30
- package/layout/page/about.ejs +0 -13
- package/layout/page/categories.ejs +0 -12
- package/layout/page/circle.ejs +0 -5
- package/layout/page/echarts.ejs +0 -14
- package/layout/page/equipment.ejs +0 -2
- package/layout/page/links.ejs +0 -46
- package/layout/page/page.ejs +0 -3
- package/layout/page/rss.ejs +0 -37
- package/layout/page/says.ejs +0 -17
- package/layout/page/tags.ejs +0 -12
- package/layout/page/tlink.ejs +0 -11
- package/layout/page.ejs +0 -45
- package/layout/partial/body.ejs +0 -7
- package/layout/partial/compoment/about/authorinfo.ejs +0 -18
- package/layout/partial/compoment/about/award.ejs +0 -59
- package/layout/partial/compoment/about/contentinfo.ejs +0 -33
- package/layout/partial/compoment/about/hobbies.ejs +0 -53
- package/layout/partial/compoment/about/motto.ejs +0 -17
- package/layout/partial/compoment/about/other.ejs +0 -76
- package/layout/partial/compoment/about/personalities.ejs +0 -11
- package/layout/partial/compoment/about/skillsinfo.ejs +0 -62
- package/layout/partial/compoment/aside/aside.ejs +0 -28
- package/layout/partial/compoment/aside/asideAllInfo.ejs +0 -6
- package/layout/partial/compoment/aside/asideArchive.ejs +0 -11
- package/layout/partial/compoment/aside/asideFlipCard.ejs +0 -72
- package/layout/partial/compoment/aside/asideHistory.ejs +0 -49
- package/layout/partial/compoment/aside/asideInfoCard.ejs +0 -39
- package/layout/partial/compoment/aside/asideNewestPost.ejs +0 -31
- package/layout/partial/compoment/aside/asidePower.ejs +0 -31
- package/layout/partial/compoment/aside/asideSwitch.ejs +0 -41
- package/layout/partial/compoment/aside/asideTag.ejs +0 -5
- package/layout/partial/compoment/aside/asideToc.ejs +0 -11
- package/layout/partial/compoment/aside/asideWebInfo.ejs +0 -60
- package/layout/partial/compoment/aside/asideWelcome.ejs +0 -33
- package/layout/partial/compoment/circle/angle.ejs +0 -26
- package/layout/partial/compoment/circle/banner.ejs +0 -11
- package/layout/partial/compoment/circle/content.ejs +0 -19
- package/layout/partial/compoment/dorakika/rightmenu.ejs +0 -100
- package/layout/partial/compoment/equipment/list.ejs +0 -37
- package/layout/partial/compoment/home/homeCategoryBar.ejs +0 -11
- package/layout/partial/compoment/home/postList.ejs +0 -37
- package/layout/partial/compoment/hometop/bbTimeList.ejs +0 -15
- package/layout/partial/compoment/hometop/categoryGroup.ejs +0 -19
- package/layout/partial/compoment/hometop/groupTag.ejs +0 -30
- package/layout/partial/compoment/hometop/topGroup.ejs +0 -41
- package/layout/partial/compoment/inject/body.ejs +0 -72
- package/layout/partial/compoment/links/angle.ejs +0 -26
- package/layout/partial/compoment/links/banner.ejs +0 -42
- package/layout/partial/compoment/links/linksCard.ejs +0 -27
- package/layout/partial/compoment/links/linksItem.ejs +0 -21
- package/layout/partial/compoment/mixins/articleSort.ejs +0 -26
- package/layout/partial/compoment/mixins/pagination.ejs +0 -11
- package/layout/partial/compoment/nav/left.ejs +0 -22
- package/layout/partial/compoment/nav/menu.ejs +0 -25
- package/layout/partial/compoment/nav/right.ejs +0 -42
- package/layout/partial/compoment/post/award.ejs +0 -52
- package/layout/partial/compoment/post/copyright.ejs +0 -37
- package/layout/partial/compoment/post/postMeta.ejs +0 -83
- package/layout/partial/compoment/post/postNav.ejs +0 -41
- package/layout/partial/compoment/post/wave.ejs +0 -14
- package/layout/partial/compoment/says/banner.ejs +0 -10
- package/layout/partial/compoment/says/saysBottom.ejs +0 -18
- package/layout/partial/compoment/says/saysContent.ejs +0 -10
- package/layout/partial/compoment/says/saysFunction.ejs +0 -15
- package/layout/partial/compoment/third-party/comments/comment.ejs +0 -12
- package/layout/partial/compoment/third-party/comments/twikoo_k.ejs +0 -29
- package/layout/partial/compoment/third-party/music.ejs +0 -5
- package/layout/partial/compoment/third-party/pjax.ejs +0 -31
- package/layout/partial/compoment/third-party/search/algolia-search.ejs +0 -20
- package/layout/partial/compoment/third-party/search/index.ejs +0 -10
- package/layout/partial/compoment/third-party/search/local-search.ejs +0 -22
- package/layout/partial/compoment/tlink/banner.ejs +0 -10
- package/layout/partial/console.ejs +0 -68
- package/layout/partial/footer.ejs +0 -104
- package/layout/partial/head.ejs +0 -37
- package/layout/partial/header.ejs +0 -6
- package/layout/partial/hometop.ejs +0 -15
- package/layout/partial/nav.ejs +0 -34
- package/layout/partial/pwa.ejs +0 -40
- package/layout/partial/sidebar.ejs +0 -31
- package/layout/post.ejs +0 -52
- package/layout/tag.ejs +0 -19
- package/scripts/filter/katex.js +0 -25
- package/scripts/helper/randomLinks.js +0 -16
- package/scripts/helper/themeJsExport.js +0 -79
- package/scripts/tags/expand.js +0 -4
- package/scripts/tags/hide.js +0 -70
- package/source/css/commentBarrage.css +0 -174
- package/source/css/custom.css +0 -901
- package/source/css/main.css +0 -16420
- package/source/css/search/algolia-search.css +0 -141
- package/source/css/search/local-search.css +0 -138
- package/source/css/var.css +0 -189
- package/source/js/extend/covercolor/web.js +0 -137
- /package/source/js/{rightmenu.js → rightside.js} +0 -0
@@ -0,0 +1,83 @@
|
|
1
|
+
maxWidth600()
|
2
|
+
@media screen and (max-width: 600px)
|
3
|
+
{block}
|
4
|
+
|
5
|
+
maxWidth768()
|
6
|
+
@media screen and (max-width: 768px)
|
7
|
+
{block}
|
8
|
+
|
9
|
+
minWidth768()
|
10
|
+
@media screen and (min-width: 768px)
|
11
|
+
{block}
|
12
|
+
|
13
|
+
maxWidth798()
|
14
|
+
@media screen and (max-width: 798px)
|
15
|
+
{block}
|
16
|
+
|
17
|
+
minWidth798()
|
18
|
+
@media screen and (min-width: 798px)
|
19
|
+
{block}
|
20
|
+
|
21
|
+
maxWidth899()
|
22
|
+
@media screen and (max-width: 899px)
|
23
|
+
{block}
|
24
|
+
|
25
|
+
minWidth899()
|
26
|
+
@media screen and (min-width: 899px)
|
27
|
+
{block}
|
28
|
+
|
29
|
+
maxWidth900()
|
30
|
+
@media screen and (max-width: 900px)
|
31
|
+
{block}
|
32
|
+
|
33
|
+
minWidth900()
|
34
|
+
@media screen and (min-width: 900px)
|
35
|
+
{block}
|
36
|
+
|
37
|
+
maxWidth1300()
|
38
|
+
@media screen and (max-width: 1300px)
|
39
|
+
{block}
|
40
|
+
|
41
|
+
minWidth1300()
|
42
|
+
@media screen and (min-width: 1300px)
|
43
|
+
{block}
|
44
|
+
|
45
|
+
maxWidth1400()
|
46
|
+
@media screen and (max-width: 1400px)
|
47
|
+
{block}
|
48
|
+
|
49
|
+
minWidth1400()
|
50
|
+
@media screen and (min-width: 1400px)
|
51
|
+
{block}
|
52
|
+
|
53
|
+
maxWidth1200()
|
54
|
+
@media screen and (max-width: 1200px)
|
55
|
+
{block}
|
56
|
+
|
57
|
+
minWidth1200()
|
58
|
+
@media screen and (min-width: 1200px)
|
59
|
+
{block}
|
60
|
+
|
61
|
+
maxWidth1024()
|
62
|
+
@media screen and (max-width: 1024px)
|
63
|
+
{block}
|
64
|
+
|
65
|
+
maxWidth900()
|
66
|
+
@media screen and (max-width: 900px)
|
67
|
+
{block}
|
68
|
+
|
69
|
+
minWidth901()
|
70
|
+
@media screen and (min-width: 901px)
|
71
|
+
{block}
|
72
|
+
|
73
|
+
minWidth900()
|
74
|
+
@media screen and (min-width: 900px)
|
75
|
+
{block}
|
76
|
+
|
77
|
+
minWidth2000()
|
78
|
+
@media screen and (min-width: 2000px)
|
79
|
+
{block}
|
80
|
+
|
81
|
+
maxHeight800()
|
82
|
+
@media screen and (max-height: 800px)
|
83
|
+
{block}
|
@@ -0,0 +1,120 @@
|
|
1
|
+
:root
|
2
|
+
--sco-white #fff
|
3
|
+
--sco-white-op rgba(255, 255, 255, 0.2)
|
4
|
+
--sco-black #000
|
5
|
+
--sco-black-op rgba(0, 0, 0, 0.2)
|
6
|
+
--sco-none #00000000
|
7
|
+
--sco-gray #999999
|
8
|
+
--sco-gray-op #9999992b
|
9
|
+
--sco-vip #e5a80d
|
10
|
+
--sco-main var(--sco-theme)
|
11
|
+
--sco-main-op var(--sco-theme-op)
|
12
|
+
--sco-main-op-deep var(--sco-theme-op-deep)
|
13
|
+
--sco-main-op-light var(--sco-theme-op-light)
|
14
|
+
--sco-main-none var(--sco-theme-none)
|
15
|
+
--sco-shadow-theme 0 8px 12px -3px var(--sco-theme-op)
|
16
|
+
--sco-shadow-blackdeep 0 2px 16px -3px rgba(0, 0, 0, .15)
|
17
|
+
--sco-shadow-main 0 8px 12px -3px var(--sco-main-op)
|
18
|
+
--sco-shadow-blue 0 8px 12px -3px rgba(40, 109, 234, .20)
|
19
|
+
--sco-shadow-white 0 8px 12px -3px rgba(255, 255, 255, .20)
|
20
|
+
--sco-shadow-black 0 0 12px 4px rgba(0, 0, 0, .05)
|
21
|
+
--sco-shadow-yellow 0px 38px 77px -26px rgba(255, 201, 62, .12)
|
22
|
+
--sco-shadow-red 0 8px 12px -3px #ee7d7936
|
23
|
+
--sco-shadow-green 0 8px 12px -3px #87ee7936
|
24
|
+
--sco-logo-color linear-gradient(215deg, #4584ff 0%, #cf0db9 100%)
|
25
|
+
--sco-snackbar-time 5s
|
26
|
+
--global-font-size 14px
|
27
|
+
--global-bg #fff
|
28
|
+
--hr-border #97bcfb
|
29
|
+
--hr-before-color #6ea2f9
|
30
|
+
--search-bg #f6f8fa
|
31
|
+
--search-input-color #4c4948
|
32
|
+
--search-result-title #4c4948
|
33
|
+
--preloader-bg #37474f
|
34
|
+
--preloader-color #fff
|
35
|
+
--tab-border-color #f0f0f0
|
36
|
+
--tab-botton-bg #f0f0f0
|
37
|
+
--tab-botton-color #1f2d3d
|
38
|
+
--tab-button-hover-bg #dcdcdc
|
39
|
+
--tab-button-active-bg #fff
|
40
|
+
--sidebar-bg #f6f8fa
|
41
|
+
--btn-hover-color #ff7242
|
42
|
+
--btn-color #fff
|
43
|
+
--btn-bg #307af6
|
44
|
+
--text-bg-hover #307af6
|
45
|
+
--light-grey #eee
|
46
|
+
--text-highlight-color #1f2d3d
|
47
|
+
--blockquote-color #6a737d
|
48
|
+
--blockquote-bg rgba(73, 177, 245, 0.1)
|
49
|
+
--reward-pop #f5f5f5
|
50
|
+
--toc-link-color #666261
|
51
|
+
--card-box-shadow 0 3px 8px 6px rgba(7, 17, 27, 0.06)
|
52
|
+
--card-hover-box-shadow 0 3px 8px 6px rgba(7, 17, 27, 0.15)
|
53
|
+
--offset 0px
|
54
|
+
|
55
|
+
// highlight
|
56
|
+
--hl-color #eff
|
57
|
+
--hl-bg #212121
|
58
|
+
--hltools-bg #1c1c1c
|
59
|
+
--hltools-color rgba(238, 255, 255, 0.8)
|
60
|
+
--hlnumber-bg #212121
|
61
|
+
--hlnumber-color rgba(238, 255, 255, 0.5)
|
62
|
+
--hlscrollbar-bg #121212
|
63
|
+
--hlexpand-bg linear-gradient(180deg, rgba(33, 33, 33, 0.6), rgba(33, 33, 33, 0.9))
|
64
|
+
|
65
|
+
// ai摘要
|
66
|
+
--ai-post-bg rgba(255, 255, 255, 0.32)
|
67
|
+
--ai-border 1px solid #e3e8f7bd
|
68
|
+
--ai-tag-bg rgba(48, 52, 63, 0.86)
|
69
|
+
--ai-cursor #333
|
70
|
+
|
71
|
+
// 个性定位
|
72
|
+
--icat-card-welcome #49b1f5
|
73
|
+
|
74
|
+
+maxWidth768()
|
75
|
+
--style-border 0px solid var(--sco-none) !important
|
76
|
+
--style-border-hover 0px solid var(--sco-main) !important
|
77
|
+
|
78
|
+
[data-theme=light]
|
79
|
+
--sco-theme #bdbdf0
|
80
|
+
--sco-theme-op #4259ef23
|
81
|
+
--sco-theme-op-deep #eccec5
|
82
|
+
--sco-theme-op-light #4259ef0d
|
83
|
+
--sco-theme-none #4259ef01
|
84
|
+
--sco-blue #425aef
|
85
|
+
--sco-red #f04a63
|
86
|
+
--sco-pink #ff7c7c
|
87
|
+
--sco-green #57bd6a
|
88
|
+
--sco-yellow #c28b00
|
89
|
+
--sco-yellow-op #d99c001a
|
90
|
+
--sco-orange #e38100
|
91
|
+
--sco-purple #7a60d2
|
92
|
+
--sco-fontcolor #363636
|
93
|
+
--sco-background #f7f9fe
|
94
|
+
--sco-reverse #000
|
95
|
+
--sco-maskbg rgba(255, 255, 255, 0.6)
|
96
|
+
--sco-maskbgdeep rgba(255, 255, 255, 0.85)
|
97
|
+
--sco-hovertext var(--sco-main)
|
98
|
+
--sco-ahoverbg #f7f7fa
|
99
|
+
--sco-lighttext var(--sco-main)
|
100
|
+
--sco-secondtext rgba(60, 60, 67, 0.8)
|
101
|
+
--sco-scrollbar rgba(60, 60, 67, 0.4)
|
102
|
+
--sco-card-btn-bg #edf0f7
|
103
|
+
--sco-post-blockquote-bg #fafcff
|
104
|
+
--sco-post-tabs-bg #f2f5f8
|
105
|
+
--sco-secondbg #f7f7f9
|
106
|
+
--sco-shadow-nav 0 5px 12px -5px rgba(102, 68, 68, 0.05)
|
107
|
+
--sco-card-bg #fff
|
108
|
+
--sco-card-bg-op var(--sco-black-op)
|
109
|
+
--sco-card-bg-none rgba(255, 255, 255, 0)
|
110
|
+
--sco-shadow-lightblack 0 5px 12px -5px rgba(102, 68, 68, 0.00)
|
111
|
+
--sco-shadow-light2black 0 5px 12px -5px rgba(102, 68, 68, 0.00)
|
112
|
+
--sco-card-border #e3e8f7
|
113
|
+
--sco-shadow-border 0 8px 16px -4px #2c2d300c
|
114
|
+
--style-border 1px solid var(--sco-card-border)
|
115
|
+
--style-border-always 1px solid var(--sco-card-border)
|
116
|
+
--style-border-hover 1px solid var(--sco-main)
|
117
|
+
--style-border-hover-always 1px solid var(--sco-main)
|
118
|
+
--style-border-dashed 1px dashed var(--sco-theme-op)
|
119
|
+
--style-border-forever 2px solid var(--sco-main)
|
120
|
+
--sco-navbg var(--sco-theme-op)
|
@@ -0,0 +1 @@
|
|
1
|
+
error_img = hexo-config('errorpage.img')
|
@@ -0,0 +1,199 @@
|
|
1
|
+
.article-sort-title:before
|
2
|
+
display none
|
3
|
+
|
4
|
+
.article-sort-title:after
|
5
|
+
display none
|
6
|
+
|
7
|
+
.article-sort-title
|
8
|
+
margin-left 0
|
9
|
+
padding-bottom 0
|
10
|
+
padding-left 0
|
11
|
+
font-weight 700
|
12
|
+
font-size 2em
|
13
|
+
|
14
|
+
.article-sort-title sup
|
15
|
+
margin-left 4px
|
16
|
+
font-size 16px
|
17
|
+
font-weight 700
|
18
|
+
opacity .4
|
19
|
+
top -1em
|
20
|
+
|
21
|
+
.article-sort-item-title
|
22
|
+
line-height 1.3
|
23
|
+
-webkit-line-clamp 1
|
24
|
+
|
25
|
+
@media screen and (max-width: 768px)
|
26
|
+
.article-sort-item-title
|
27
|
+
-webkit-line-clamp 2
|
28
|
+
|
29
|
+
.article-sort .article-sort-item .article-sort-item-img
|
30
|
+
border-radius 12px
|
31
|
+
min-width 151px
|
32
|
+
min-height 80px
|
33
|
+
background var(--sco-secondbg)
|
34
|
+
-webkit-mask-image -webkit-radial-gradient(center, #fff, #000)
|
35
|
+
|
36
|
+
@media screen and (max-width: 768px)
|
37
|
+
.article-sort .article-sort-item .article-sort-item-img
|
38
|
+
min-width 80px
|
39
|
+
|
40
|
+
.article-sort-item:before
|
41
|
+
display none
|
42
|
+
|
43
|
+
@media screen and (max-width: 768px)
|
44
|
+
.article-sort-item-info a
|
45
|
+
white-space inherit !important
|
46
|
+
|
47
|
+
.article-sort-item.year
|
48
|
+
font-size .8rem
|
49
|
+
color var(--sco-secondtext)
|
50
|
+
margin-bottom .2rem
|
51
|
+
|
52
|
+
.article-sort-item-img img:hover
|
53
|
+
transform scale(1)
|
54
|
+
|
55
|
+
.article-sort-item-info
|
56
|
+
padding 0 .8rem
|
57
|
+
display flex
|
58
|
+
flex-direction column
|
59
|
+
-webkit-box-flex 1
|
60
|
+
flex 1 1 0
|
61
|
+
|
62
|
+
.article-sort-item-time
|
63
|
+
order 1
|
64
|
+
margin-top 4px
|
65
|
+
color var(--sco-secondtext)
|
66
|
+
display none
|
67
|
+
|
68
|
+
.article-sort-item-title
|
69
|
+
order 0
|
70
|
+
font-weight 700
|
71
|
+
|
72
|
+
.article-sort-item-info a
|
73
|
+
margin-right auto
|
74
|
+
overflow hidden
|
75
|
+
text-overflow ellipsis
|
76
|
+
|
77
|
+
.article-sort-item-info-more
|
78
|
+
display flex
|
79
|
+
font-size .7rem
|
80
|
+
margin-right auto
|
81
|
+
|
82
|
+
.article-sort-item-tags
|
83
|
+
margin-top 8px
|
84
|
+
white-space nowrap
|
85
|
+
overflow hidden
|
86
|
+
display inline-block
|
87
|
+
text-overflow ellipsis
|
88
|
+
width 100%
|
89
|
+
font-size .7rem
|
90
|
+
max-height 50px
|
91
|
+
|
92
|
+
.article-sort-item-tags a
|
93
|
+
color var(--sco-fontcolor)
|
94
|
+
transition .3s
|
95
|
+
|
96
|
+
.article-sort-item-tags a:hover
|
97
|
+
color var(--sco-theme)
|
98
|
+
transition .3s
|
99
|
+
|
100
|
+
.article-sort-item-tags a .tags-punctuation
|
101
|
+
font-size 12px
|
102
|
+
margin-right 1px
|
103
|
+
|
104
|
+
.article-sort
|
105
|
+
margin-left 0
|
106
|
+
padding-left 0
|
107
|
+
|
108
|
+
.article-sort-title::before
|
109
|
+
position absolute
|
110
|
+
top calc((100% - 1.8rem) / 2)
|
111
|
+
left -.45rem
|
112
|
+
z-index 1
|
113
|
+
width .5rem
|
114
|
+
height .5rem
|
115
|
+
border .25rem solid #307af6
|
116
|
+
border-radius .5rem
|
117
|
+
background var(--sco-card-bg)
|
118
|
+
content ""
|
119
|
+
line-height .5rem
|
120
|
+
transition all .2s ease-in-out 0s
|
121
|
+
|
122
|
+
.article-sort-title::after
|
123
|
+
position absolute
|
124
|
+
bottom 0
|
125
|
+
left 0
|
126
|
+
z-index 0
|
127
|
+
width .1rem
|
128
|
+
height 1.5em
|
129
|
+
background #92b9fa
|
130
|
+
content ""
|
131
|
+
|
132
|
+
.article-sort-item
|
133
|
+
position relative
|
134
|
+
display flex
|
135
|
+
-webkit-box-align center
|
136
|
+
align-items center
|
137
|
+
margin 0 0 1rem .5rem
|
138
|
+
transition all .2s ease-in-out 0s
|
139
|
+
overflow hidden
|
140
|
+
border-radius 12px
|
141
|
+
|
142
|
+
|
143
|
+
.article-sort-item:hover::before
|
144
|
+
border-color #ff7242
|
145
|
+
|
146
|
+
.article-sort-item::before
|
147
|
+
position absolute
|
148
|
+
left calc(-1rem - 17px)
|
149
|
+
width .3rem
|
150
|
+
height .3rem
|
151
|
+
border .15rem solid #307af6
|
152
|
+
border-radius .3rem
|
153
|
+
background var(--sco-card-bg)
|
154
|
+
content ""
|
155
|
+
transition all .2s ease-in-out 0s
|
156
|
+
|
157
|
+
.article-sort-item.no-article-cover
|
158
|
+
height 80px
|
159
|
+
|
160
|
+
.article-sort-item.no-article-cover .article-sort-item-info
|
161
|
+
padding 0
|
162
|
+
|
163
|
+
.article-sort-item.year:hover::before
|
164
|
+
border-color #307af6
|
165
|
+
|
166
|
+
.article-sort-item.year::before
|
167
|
+
border-color #ff7242
|
168
|
+
|
169
|
+
.article-sort-item-time
|
170
|
+
color #858585
|
171
|
+
font-size 95%
|
172
|
+
|
173
|
+
.article-sort-item-time time
|
174
|
+
padding-left .3rem
|
175
|
+
cursor default
|
176
|
+
|
177
|
+
.article-sort-item-title
|
178
|
+
color var(--sco-fontcolor)
|
179
|
+
font-size 1.1em
|
180
|
+
transition all .3s ease 0s
|
181
|
+
-webkit-line-clamp 2
|
182
|
+
|
183
|
+
.article-sort-item-title:hover
|
184
|
+
color var(sco-main)
|
185
|
+
transform all .3s
|
186
|
+
|
187
|
+
.article-sort-item-img
|
188
|
+
overflow hidden
|
189
|
+
width 80px
|
190
|
+
height 80px
|
191
|
+
|
192
|
+
.article-sort-item-img img
|
193
|
+
width 100%
|
194
|
+
height 100%
|
195
|
+
transition all .6s ease 0s
|
196
|
+
object-fit cover
|
197
|
+
|
198
|
+
.article-sort-item-img img:hover
|
199
|
+
transform scale(1.1)
|