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,160 @@
|
|
1
|
+
.relatedPosts
|
2
|
+
margin-top: 2rem
|
3
|
+
-webkit-user-select: none
|
4
|
+
|
5
|
+
> .relatedPosts-list
|
6
|
+
> div
|
7
|
+
position: relative
|
8
|
+
display: inline-block
|
9
|
+
overflow: hidden
|
10
|
+
margin: 3px
|
11
|
+
width: calc(33.333% - 6px)
|
12
|
+
height: 200px
|
13
|
+
background: var(--sco-main)
|
14
|
+
vertical-align: bottom
|
15
|
+
|
16
|
+
.cover
|
17
|
+
width: 360px
|
18
|
+
min-width: 45%
|
19
|
+
height: 100%
|
20
|
+
transition: all .6s ease 0s
|
21
|
+
object-fit: cover
|
22
|
+
filter: brightness(.9)
|
23
|
+
max-width: 45%
|
24
|
+
|
25
|
+
&::after
|
26
|
+
content: ' '
|
27
|
+
display: block
|
28
|
+
position: absolute
|
29
|
+
z-index: 0
|
30
|
+
top: 0
|
31
|
+
left: 0
|
32
|
+
width: 100%
|
33
|
+
height: 100%
|
34
|
+
background: url(https://bu.dusays.com/2023/03/03/6401a79030db5.png) 50%
|
35
|
+
background-size: cover
|
36
|
+
|
37
|
+
.content
|
38
|
+
padding: 0 1rem
|
39
|
+
width: 100%
|
40
|
+
|
41
|
+
.date
|
42
|
+
color: var(--light-grey)
|
43
|
+
font-size: 90%
|
44
|
+
|
45
|
+
.title
|
46
|
+
color: var(--sco-white)
|
47
|
+
-webkit-line-clamp: 2
|
48
|
+
margin-right: auto
|
49
|
+
|
50
|
+
a
|
51
|
+
display: flex
|
52
|
+
width: 100%
|
53
|
+
height: 100%
|
54
|
+
|
55
|
+
> .headline
|
56
|
+
margin-bottom: .8rem
|
57
|
+
font-weight: 700
|
58
|
+
font-size: 20px
|
59
|
+
display: flex
|
60
|
+
align-items: center
|
61
|
+
|
62
|
+
span
|
63
|
+
margin-right: auto
|
64
|
+
margin-left: 8px
|
65
|
+
|
66
|
+
a
|
67
|
+
font-weight: 400
|
68
|
+
|
69
|
+
&-link
|
70
|
+
display: block
|
71
|
+
justify-content: space-between
|
72
|
+
margin-left: 8px
|
73
|
+
font-size: 13px
|
74
|
+
|
75
|
+
.relatedPosts-list
|
76
|
+
display: flex
|
77
|
+
flex-wrap: wrap
|
78
|
+
justify-content: space-between
|
79
|
+
flex-direction: column
|
80
|
+
|
81
|
+
@media screen and (max-width: 768px)
|
82
|
+
.relatedPosts
|
83
|
+
> .relatedPosts-list
|
84
|
+
> div
|
85
|
+
margin: 2px
|
86
|
+
width: calc(50% - 4px)
|
87
|
+
height: 150px
|
88
|
+
|
89
|
+
@media screen and (max-width: 600px)
|
90
|
+
.relatedPosts
|
91
|
+
> .relatedPosts-list
|
92
|
+
> div
|
93
|
+
width: calc(100% - 4px)
|
94
|
+
|
95
|
+
@media screen and (min-width: 768px)
|
96
|
+
#post
|
97
|
+
> div.relatedPosts
|
98
|
+
> div.relatedPosts-list
|
99
|
+
> div
|
100
|
+
-webkit-mask-image: -webkit-radial-gradient(center, #fff, #000)
|
101
|
+
border-radius: 12px
|
102
|
+
|
103
|
+
.relatedPosts
|
104
|
+
> .headline
|
105
|
+
font-size: .8em
|
106
|
+
|
107
|
+
@media screen and (max-width: 1300px)
|
108
|
+
#post
|
109
|
+
> div.relatedPosts
|
110
|
+
> div.relatedPosts-list
|
111
|
+
> div:nth-child(7)
|
112
|
+
display: none
|
113
|
+
|
114
|
+
> div:nth-child(8)
|
115
|
+
display: none
|
116
|
+
|
117
|
+
.relatedPosts
|
118
|
+
> .relatedPosts-list
|
119
|
+
> div
|
120
|
+
background: var(--sco-secondbg)
|
121
|
+
border: var(--style-border)
|
122
|
+
transition: .3s
|
123
|
+
cursor: pointer
|
124
|
+
overflow: hidden
|
125
|
+
width: 100%
|
126
|
+
margin-bottom: 8px
|
127
|
+
|
128
|
+
&:hover
|
129
|
+
background: var(--sco-main)
|
130
|
+
|
131
|
+
.content
|
132
|
+
.title
|
133
|
+
color: var(--sco-fontcolor)
|
134
|
+
font-weight: 700
|
135
|
+
line-height: 1.5
|
136
|
+
-webkit-line-clamp: 4
|
137
|
+
font-size: .9rem
|
138
|
+
text-align: left
|
139
|
+
overflow: hidden
|
140
|
+
|
141
|
+
.date
|
142
|
+
color: var(--sco-fontcolor)
|
143
|
+
display: none
|
144
|
+
|
145
|
+
&:hover
|
146
|
+
a
|
147
|
+
.title
|
148
|
+
color: var(--sco-white)
|
149
|
+
|
150
|
+
@media screen and (max-width: 768px)
|
151
|
+
.relatedPosts
|
152
|
+
display: none
|
153
|
+
|
154
|
+
> .relatedPosts-list
|
155
|
+
> div
|
156
|
+
border-radius: 4px
|
157
|
+
|
158
|
+
@media screen and (min-width: 768px)
|
159
|
+
.relatedPosts
|
160
|
+
margin-top: 1rem
|
@@ -0,0 +1,217 @@
|
|
1
|
+
.reward-main
|
2
|
+
animation: .3s ease .1s 1 normal both running donate_effcet
|
3
|
+
|
4
|
+
.post-reward
|
5
|
+
position: relative
|
6
|
+
margin-top: 4rem
|
7
|
+
text-align: center
|
8
|
+
|
9
|
+
&:hover
|
10
|
+
> .reward-main
|
11
|
+
display: block
|
12
|
+
|
13
|
+
.reward-main
|
14
|
+
position: absolute
|
15
|
+
bottom: 40px
|
16
|
+
left: -96px
|
17
|
+
z-index: 100
|
18
|
+
display: none
|
19
|
+
padding: 0 0 15px
|
20
|
+
width: fit-content
|
21
|
+
|
22
|
+
.reward-all
|
23
|
+
display: inline-block
|
24
|
+
margin: 0
|
25
|
+
padding: 1rem .5rem
|
26
|
+
border-radius: 4px
|
27
|
+
background: var(--sco-maskbgdeep)
|
28
|
+
|
29
|
+
&:before
|
30
|
+
position: absolute
|
31
|
+
bottom: -10px
|
32
|
+
left: 0
|
33
|
+
width: 100%
|
34
|
+
height: 20px
|
35
|
+
content: ""
|
36
|
+
|
37
|
+
&:after
|
38
|
+
position: absolute
|
39
|
+
right: 0
|
40
|
+
bottom: 2px
|
41
|
+
left: 0
|
42
|
+
margin: 0 auto
|
43
|
+
width: 0
|
44
|
+
height: 0
|
45
|
+
border-top: 13px solid var(--reward-pop)
|
46
|
+
border-right: 13px solid transparent
|
47
|
+
border-left: 13px solid transparent
|
48
|
+
content: ""
|
49
|
+
|
50
|
+
.reward-item
|
51
|
+
display: inline-block
|
52
|
+
padding: 0 8px
|
53
|
+
list-style-type: none
|
54
|
+
vertical-align: top
|
55
|
+
|
56
|
+
img
|
57
|
+
width: 130px
|
58
|
+
height: 130px
|
59
|
+
|
60
|
+
.post-qr-code-desc
|
61
|
+
padding-top: .4rem
|
62
|
+
width: 130px
|
63
|
+
color: #858585
|
64
|
+
|
65
|
+
.reward-button
|
66
|
+
background: var(--sco-red)
|
67
|
+
color: var(--sco-white)
|
68
|
+
padding: 0 16px
|
69
|
+
height: 40px
|
70
|
+
line-height: 39px
|
71
|
+
box-shadow: var(--sco-shadow-red)
|
72
|
+
display: inline-block
|
73
|
+
cursor: pointer
|
74
|
+
transition: all .4s ease 0s
|
75
|
+
|
76
|
+
&:hover
|
77
|
+
.reward-button
|
78
|
+
color: var(--sco-white)
|
79
|
+
background: var(--sco-theme)
|
80
|
+
box-shadow: none
|
81
|
+
|
82
|
+
.reward-main
|
83
|
+
.reward-all
|
84
|
+
.reward-item
|
85
|
+
.post-qr-code-desc
|
86
|
+
padding-top: 0
|
87
|
+
margin-top: -8px
|
88
|
+
margin-bottom: 8px
|
89
|
+
|
90
|
+
.reward-main
|
91
|
+
.reward-all
|
92
|
+
border-radius: 12px
|
93
|
+
background: var(--sco-card-bg)
|
94
|
+
border: var(--style-border-always)
|
95
|
+
padding: .8rem
|
96
|
+
display: flex
|
97
|
+
box-shadow: var(--sco-shadow-border)
|
98
|
+
flex-direction: column
|
99
|
+
align-items: center
|
100
|
+
|
101
|
+
.reward-dec
|
102
|
+
font-size: .6rem
|
103
|
+
|
104
|
+
.reward-text
|
105
|
+
margin-bottom: 0
|
106
|
+
font-weight: 700
|
107
|
+
|
108
|
+
a.reward-main-btn
|
109
|
+
background: var(--sco-secondbg)
|
110
|
+
color: var(--sco-fontcolor)
|
111
|
+
display: flex
|
112
|
+
flex-direction: column
|
113
|
+
border-radius: 12px
|
114
|
+
padding: 4px 0
|
115
|
+
border: var(--style-border-always)
|
116
|
+
margin: 8px
|
117
|
+
width: 100%
|
118
|
+
|
119
|
+
&:hover
|
120
|
+
color: var(--sco-white)
|
121
|
+
background: var(--sco-red)
|
122
|
+
background-image: url(https://bu.dusays.com/2023/11/01/6541f7aeb5752.gif)
|
123
|
+
box-shadow: var(--sco-shadow-red)
|
124
|
+
|
125
|
+
.reward-title
|
126
|
+
font-weight: 700
|
127
|
+
color: var(--sco-red)
|
128
|
+
|
129
|
+
.reward-link.mode
|
130
|
+
background: var(--sco-green)
|
131
|
+
color: var(--sco-white)
|
132
|
+
padding: 0 16px
|
133
|
+
height: 40px
|
134
|
+
line-height: 39px
|
135
|
+
box-shadow: var(--sco-shadow-green)
|
136
|
+
border-radius: 8px
|
137
|
+
margin-left: .5rem
|
138
|
+
text-align: center
|
139
|
+
transition: .3s
|
140
|
+
|
141
|
+
a
|
142
|
+
color: var(--sco-white)
|
143
|
+
|
144
|
+
i
|
145
|
+
margin-right: 4px
|
146
|
+
|
147
|
+
&:hover
|
148
|
+
background: var(--sco-theme)
|
149
|
+
box-shadow: none
|
150
|
+
|
151
|
+
.post-reward
|
152
|
+
margin-top: 0
|
153
|
+
display: flex
|
154
|
+
justify-content: center
|
155
|
+
|
156
|
+
&:hover
|
157
|
+
> .reward-main
|
158
|
+
display: none
|
159
|
+
|
160
|
+
.reward-main
|
161
|
+
z-index: 1003
|
162
|
+
|
163
|
+
@media screen and (min-width: 768px)
|
164
|
+
.post-reward:hover
|
165
|
+
> .reward-main
|
166
|
+
display: flex !important
|
167
|
+
justify-content: left
|
168
|
+
|
169
|
+
@media screen and (max-width: 768px)
|
170
|
+
.post-reward
|
171
|
+
.reward-main
|
172
|
+
justify-content: center !important
|
173
|
+
position: fixed
|
174
|
+
bottom: 0
|
175
|
+
left: 0
|
176
|
+
right: 0
|
177
|
+
z-index: 1003
|
178
|
+
width: 100%
|
179
|
+
margin: auto
|
180
|
+
padding: 0
|
181
|
+
|
182
|
+
.reward-main
|
183
|
+
.reward-all
|
184
|
+
width: 100%
|
185
|
+
display: flex
|
186
|
+
flex-wrap: wrap
|
187
|
+
justify-content: space-around
|
188
|
+
padding: 30px 0 60px 0
|
189
|
+
border-radius: 12px 12px 0 0
|
190
|
+
|
191
|
+
#post
|
192
|
+
.tag_share
|
193
|
+
.post-meta__tags
|
194
|
+
margin: 0 .5rem 0 0
|
195
|
+
|
196
|
+
a.reward-main-btn
|
197
|
+
margin: 4px auto
|
198
|
+
|
199
|
+
.post-reward
|
200
|
+
.reward-main
|
201
|
+
.reward-all:after
|
202
|
+
display: none
|
203
|
+
|
204
|
+
.reward-group
|
205
|
+
display: flex
|
206
|
+
margin-top: .5rem
|
207
|
+
|
208
|
+
.post-reward
|
209
|
+
.reward-main
|
210
|
+
.reward-all
|
211
|
+
.reward-item:first-child
|
212
|
+
img
|
213
|
+
border-color: var(--sco-green)
|
214
|
+
|
215
|
+
.reward-item:last-child
|
216
|
+
img
|
217
|
+
border-color: var(--sco-blue)
|
@@ -0,0 +1,206 @@
|
|
1
|
+
.search-dialog
|
2
|
+
position fixed
|
3
|
+
top 5rem
|
4
|
+
left 50%
|
5
|
+
z-index 1001
|
6
|
+
display none
|
7
|
+
margin-left -15rem
|
8
|
+
padding 1rem
|
9
|
+
width 30rem
|
10
|
+
box-shadow var(--sco-shadow-lightblack)
|
11
|
+
background var(--sco-card-bg)
|
12
|
+
border var(--style-border)
|
13
|
+
transition 0.3s
|
14
|
+
border-radius 12px
|
15
|
+
|
16
|
+
+maxWidth768()
|
17
|
+
top 0px
|
18
|
+
left 0px
|
19
|
+
margin 0px
|
20
|
+
width 100%
|
21
|
+
height 100%
|
22
|
+
|
23
|
+
.search-close-button
|
24
|
+
&:hover
|
25
|
+
color var(--sco-main)
|
26
|
+
|
27
|
+
.search-box
|
28
|
+
padding-top 8px
|
29
|
+
max-width 100%
|
30
|
+
|
31
|
+
input
|
32
|
+
height 100%
|
33
|
+
width 100%
|
34
|
+
padding 0.25rem 0.7rem
|
35
|
+
outline 0px
|
36
|
+
border var(--style-border)
|
37
|
+
border-radius 8px
|
38
|
+
background var(--sco-secondbg)
|
39
|
+
color var(--sco-fontcolor)
|
40
|
+
|
41
|
+
&:focus
|
42
|
+
border var(--style-border-hover)
|
43
|
+
|
44
|
+
.search-close-button
|
45
|
+
position absolute
|
46
|
+
top 0.8rem
|
47
|
+
right 1rem
|
48
|
+
color var(--sco-gray)
|
49
|
+
font-size 1.4em
|
50
|
+
line-height 1
|
51
|
+
cursor pointer
|
52
|
+
transition color .2s ease-in-out 0s
|
53
|
+
|
54
|
+
#search-mask
|
55
|
+
position fixed
|
56
|
+
inset 0px
|
57
|
+
z-index 1000
|
58
|
+
display none
|
59
|
+
background rgba(0, 0, 0, 0.6)
|
60
|
+
backdrop-filter blur(12px)
|
61
|
+
-webkit-backdrop-filter blur(12px)
|
62
|
+
transform translateZ(0)
|
63
|
+
background var(--sco-maskbgdeep)
|
64
|
+
|
65
|
+
.search-nav
|
66
|
+
display flex
|
67
|
+
align-items center
|
68
|
+
justify-content space-between
|
69
|
+
padding 0 0.2rem 0.7rem 0.2rem
|
70
|
+
|
71
|
+
.search-dialog-title
|
72
|
+
font-weight bold
|
73
|
+
color var(--sco-main)
|
74
|
+
font-size 1.4em
|
75
|
+
line-height 1
|
76
|
+
|
77
|
+
.search-box
|
78
|
+
input
|
79
|
+
&::placeholder
|
80
|
+
color var(--sco-gray)
|
81
|
+
|
82
|
+
#algolia-search
|
83
|
+
#search-results
|
84
|
+
padding 8px
|
85
|
+
max-height calc(80vh - 130px)
|
86
|
+
overflow-y auto
|
87
|
+
|
88
|
+
+maxWidth768()
|
89
|
+
max-height 80vh !important
|
90
|
+
|
91
|
+
.ais-Hits-list
|
92
|
+
padding 0
|
93
|
+
|
94
|
+
.ais-Hits-item
|
95
|
+
margin 10px 0
|
96
|
+
|
97
|
+
.algolia-hit-item-content
|
98
|
+
margin 0
|
99
|
+
padding-left 10px
|
100
|
+
font-size 14px
|
101
|
+
color var(--sco-gray)
|
102
|
+
|
103
|
+
.algolia-hit-item-link
|
104
|
+
width auto
|
105
|
+
max-width 100%
|
106
|
+
white-space nowrap
|
107
|
+
text-overflow ellipsis
|
108
|
+
overflow hidden
|
109
|
+
font-weight bold
|
110
|
+
|
111
|
+
mark
|
112
|
+
color var(--sco-theme)
|
113
|
+
font-style normal
|
114
|
+
background var(--sco-card-bg)
|
115
|
+
|
116
|
+
.ais-Hits--empty
|
117
|
+
text-align center
|
118
|
+
font-weight 600
|
119
|
+
|
120
|
+
.algolia-stats
|
121
|
+
color var(--sco-gray)
|
122
|
+
font-size .8rem
|
123
|
+
font-weight bold
|
124
|
+
|
125
|
+
.ais-SearchBox
|
126
|
+
padding-top: 8px
|
127
|
+
margin 0 auto
|
128
|
+
width 100%
|
129
|
+
min-width 100%
|
130
|
+
position relative
|
131
|
+
|
132
|
+
.ais-SearchBox-input
|
133
|
+
border-radius 8px
|
134
|
+
border var(--style-border)
|
135
|
+
padding 0.25rem 0.7rem
|
136
|
+
outline 0
|
137
|
+
background var(--sco-secondbg)
|
138
|
+
color var(--search-input-color)
|
139
|
+
width 100%
|
140
|
+
height 100%
|
141
|
+
|
142
|
+
.ais-Pagination-list.pagination
|
143
|
+
margin 0.2rem 0 0
|
144
|
+
padding 0
|
145
|
+
text-align center
|
146
|
+
|
147
|
+
.ais-Pagination-item.pagination-item
|
148
|
+
margin 0 0.2rem
|
149
|
+
padding 0
|
150
|
+
display inline-block
|
151
|
+
|
152
|
+
a
|
153
|
+
border-radius 4px
|
154
|
+
background var(--sco-main)
|
155
|
+
color var(--sco-white)
|
156
|
+
cursor pointer
|
157
|
+
display inline-block
|
158
|
+
min-width 1.2rem
|
159
|
+
text-align center
|
160
|
+
line-height 1.2rem
|
161
|
+
|
162
|
+
search-icon
|
163
|
+
animation sco-spin 1.2s linear infinite
|
164
|
+
opacity .6
|
165
|
+
font-size 2rem
|
166
|
+
|
167
|
+
#search-mask
|
168
|
+
backdrop-filter blur(12px)
|
169
|
+
-webkit-backdrop-filter blur(12px)
|
170
|
+
transform translateZ(0)
|
171
|
+
background var(--sco-maskbgdeep)
|
172
|
+
|
173
|
+
#algolia-input-panel
|
174
|
+
margin-bottom 8px
|
175
|
+
|
176
|
+
.search-dialog
|
177
|
+
border-radius 12px !important
|
178
|
+
box-shadow var(--sco-shadow-lightblack)
|
179
|
+
background var(--sco-card-bg)
|
180
|
+
border var(--style-border)
|
181
|
+
transition .3s
|
182
|
+
|
183
|
+
&:hover
|
184
|
+
border var(--style-border-hover)
|
185
|
+
box-shadow var(--sco-shadow-theme)
|
186
|
+
|
187
|
+
.search-dialog__title
|
188
|
+
padding 0 0 0.7rem
|
189
|
+
color var(--sco-main)
|
190
|
+
font-size 1.4em
|
191
|
+
line-height 1
|
192
|
+
|
193
|
+
#algolia-tips
|
194
|
+
padding-top 12px
|
195
|
+
color var(--sco-secondtext)
|
196
|
+
right 0
|
197
|
+
margin auto
|
198
|
+
|
199
|
+
i
|
200
|
+
font-size 22px
|
201
|
+
|
202
|
+
.algolia-tips-text
|
203
|
+
margin-left .4rem
|
204
|
+
|
205
|
+
#algolia-search-results
|
206
|
+
padding-top 8px
|
@@ -0,0 +1,112 @@
|
|
1
|
+
.search-dialog
|
2
|
+
position fixed
|
3
|
+
top 5rem
|
4
|
+
left 50%
|
5
|
+
z-index 1001
|
6
|
+
display none
|
7
|
+
margin-left -15rem
|
8
|
+
padding 1rem
|
9
|
+
width 30rem
|
10
|
+
box-shadow var(--sco-shadow-lightblack)
|
11
|
+
background var(--sco-card-bg)
|
12
|
+
border var(--style-border)
|
13
|
+
transition 0.3s
|
14
|
+
border-radius 12px
|
15
|
+
|
16
|
+
+maxWidth768()
|
17
|
+
top 0px
|
18
|
+
left 0px
|
19
|
+
margin 0px
|
20
|
+
width 100%
|
21
|
+
height 100%
|
22
|
+
|
23
|
+
.search-close-button
|
24
|
+
color var(--sco-main)
|
25
|
+
font-size 1.2em
|
26
|
+
line-height 1
|
27
|
+
cursor pointer
|
28
|
+
transition color 0.2s ease-in-out 0s
|
29
|
+
|
30
|
+
&:hover
|
31
|
+
color rgb(48, 122, 246)
|
32
|
+
|
33
|
+
.search-box
|
34
|
+
padding-top 8px
|
35
|
+
max-width 100%
|
36
|
+
|
37
|
+
input
|
38
|
+
height 100%
|
39
|
+
width 100%
|
40
|
+
padding 0.25rem 0.7rem
|
41
|
+
outline 0px
|
42
|
+
border var(--style-border)
|
43
|
+
border-radius 8px
|
44
|
+
background var(--sco-secondbg)
|
45
|
+
color var(--sco-fontcolor)
|
46
|
+
|
47
|
+
&:focus
|
48
|
+
border var(--style-border-hover)
|
49
|
+
|
50
|
+
#search-mask
|
51
|
+
position fixed
|
52
|
+
inset 0px
|
53
|
+
z-index 1000
|
54
|
+
display none
|
55
|
+
background rgba(0, 0, 0, 0.6)
|
56
|
+
backdrop-filter blur(12px)
|
57
|
+
-webkit-backdrop-filter blur(12px)
|
58
|
+
transform translateZ(0)
|
59
|
+
background var(--sco-maskbgdeep)
|
60
|
+
|
61
|
+
.search-wrap
|
62
|
+
display none
|
63
|
+
|
64
|
+
#loading-database,
|
65
|
+
#loading-status
|
66
|
+
text-align center
|
67
|
+
padding-top 10px
|
68
|
+
|
69
|
+
.search-nav
|
70
|
+
display flex
|
71
|
+
align-items center
|
72
|
+
justify-content space-between
|
73
|
+
padding 0 0.2rem 0.7rem 0.2rem
|
74
|
+
|
75
|
+
.search-dialog-title
|
76
|
+
font-weight bold
|
77
|
+
color var(--sco-main)
|
78
|
+
font-size 1.4em
|
79
|
+
line-height 1
|
80
|
+
|
81
|
+
#search-results
|
82
|
+
max-height calc(80vh - 130px)
|
83
|
+
overflow-y auto
|
84
|
+
|
85
|
+
+maxWidth768()
|
86
|
+
max-height 80vh !important
|
87
|
+
|
88
|
+
.search__hit-item
|
89
|
+
font-weight bold
|
90
|
+
margin 10px 0
|
91
|
+
|
92
|
+
.search-result
|
93
|
+
margin 0
|
94
|
+
font-weight 500
|
95
|
+
|
96
|
+
.search-keyword
|
97
|
+
color var(--sco-theme)
|
98
|
+
font-style normal
|
99
|
+
|
100
|
+
#search__hits-empty
|
101
|
+
text-align center
|
102
|
+
font-weight 600
|
103
|
+
|
104
|
+
.search__hits-count
|
105
|
+
color var(--sco-gray)
|
106
|
+
font-size .8rem
|
107
|
+
font-weight bold
|
108
|
+
|
109
|
+
.search-box
|
110
|
+
input
|
111
|
+
&::placeholder
|
112
|
+
color var(--sco-gray)
|