hexo-theme-solitude 1.2.6 → 1.3.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/CONTRIBUTING.md +41 -0
- package/README.md +8 -8
- package/README_EN.md +6 -6
- package/_config.yml +502 -297
- package/languages/en-US.yml +105 -8
- package/languages/zh-CN.yml +98 -1
- package/layout/archive.pug +4 -5
- package/layout/category.pug +4 -5
- package/layout/includes/body/mode.pug +40 -0
- package/layout/includes/console.pug +15 -16
- package/layout/includes/footer.pug +26 -28
- package/layout/includes/head/config.pug +27 -8
- package/layout/includes/head/fest.pug +22 -0
- package/layout/includes/head/opengraph.pug +11 -0
- package/layout/includes/head.pug +1 -3
- package/layout/includes/header.pug +1 -1
- package/layout/includes/inject/body.pug +36 -13
- package/layout/includes/inject/head.pug +30 -20
- package/layout/includes/layout.pug +12 -8
- package/layout/includes/loading.pug +1 -64
- package/layout/includes/mixins/articleSort.pug +4 -4
- package/layout/includes/mixins/pagination.pug +1 -1
- package/layout/includes/nav.pug +10 -10
- package/layout/includes/page/about.pug +1 -0
- package/layout/includes/page/categories.pug +3 -3
- package/layout/includes/page/default.pug +1 -1
- package/layout/includes/page/echarts.pug +3 -3
- package/layout/includes/page/equipment.pug +0 -1
- package/layout/includes/page/links.pug +5 -26
- package/layout/includes/page/moments.pug +0 -1
- package/layout/includes/page/music.pug +19 -0
- package/layout/includes/page/not_configured.pug +18 -0
- package/layout/includes/page/rss.pug +20 -22
- package/layout/includes/page/says.pug +1 -2
- package/layout/includes/page/tags.pug +3 -3
- package/layout/includes/page/tlink.pug +0 -1
- package/layout/includes/sidebar.pug +7 -7
- package/layout/includes/widgets/aside/aside.pug +13 -1
- package/layout/includes/widgets/aside/asideArchive.pug +5 -3
- package/layout/includes/widgets/aside/asideCustom.pug +6 -0
- package/layout/includes/widgets/aside/asideHistory.pug +3 -3
- package/layout/includes/widgets/aside/asideInfoCard.pug +4 -6
- package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
- package/layout/includes/widgets/aside/asideSwitch.pug +0 -11
- package/layout/includes/widgets/aside/asideTag.pug +2 -2
- package/layout/includes/widgets/aside/asideToc.pug +1 -1
- package/layout/includes/widgets/aside/asideWebInfo.pug +6 -6
- package/layout/includes/widgets/aside/asideWelcome.pug +1 -1
- package/layout/includes/widgets/home/banner.pug +2 -2
- package/layout/includes/widgets/home/bbTimeList.pug +3 -3
- package/layout/includes/widgets/home/categoryBar.pug +3 -3
- package/layout/includes/widgets/home/categoryGroup.pug +2 -2
- package/layout/includes/widgets/home/hometop.pug +7 -7
- package/layout/includes/widgets/home/postList.pug +12 -8
- package/layout/includes/widgets/home/topGroup.pug +17 -13
- package/layout/includes/widgets/nav/left.pug +6 -6
- package/layout/includes/widgets/nav/menu.pug +4 -4
- package/layout/includes/widgets/nav/right.pug +14 -14
- package/layout/includes/widgets/page/about/authorinfo.pug +1 -1
- package/layout/includes/widgets/page/about/award.pug +11 -9
- package/layout/includes/widgets/page/about/contentinfo.pug +7 -7
- package/layout/includes/widgets/page/about/hobbies.pug +1 -1
- package/layout/includes/widgets/page/about/motto.pug +2 -2
- package/layout/includes/widgets/page/about/other.pug +10 -9
- package/layout/includes/widgets/page/about/personalities.pug +2 -2
- package/layout/includes/widgets/page/about/skillsinfo.pug +10 -12
- package/layout/includes/widgets/page/about/tenyear.pug +48 -0
- package/layout/includes/widgets/page/banner.pug +2 -2
- package/layout/includes/widgets/page/links/banner.pug +12 -14
- package/layout/includes/widgets/page/links/linksItem.pug +0 -1
- package/layout/includes/widgets/page/moments/angle.pug +7 -12
- package/layout/includes/widgets/page/moments/index.pug +7 -2
- package/layout/includes/widgets/post/award.pug +12 -8
- package/layout/includes/widgets/post/copyright.pug +16 -14
- package/layout/includes/widgets/post/postMeta.pug +36 -25
- package/layout/includes/widgets/post/postNav.pug +15 -15
- package/layout/includes/widgets/randomlink.pug +10 -5
- package/layout/includes/widgets/rightside/index.pug +9 -8
- package/layout/includes/widgets/third-party/ai/index.pug +12 -0
- package/layout/includes/widgets/third-party/comments/comment.pug +6 -1
- package/layout/includes/widgets/third-party/comments/twikoo.pug +5 -4
- package/layout/includes/widgets/third-party/comments/waline.pug +4 -5
- package/layout/includes/widgets/third-party/music.pug +1 -1
- package/layout/includes/widgets/third-party/pjax.pug +6 -1
- package/layout/includes/widgets/third-party/search/algolia-search.pug +4 -3
- package/layout/includes/widgets/third-party/search/index.pug +2 -2
- package/layout/includes/widgets/third-party/search/local-search.pug +3 -3
- package/layout/index.pug +5 -6
- package/layout/page.pug +34 -29
- package/layout/post.pug +3 -23
- package/layout/tag.pug +3 -3
- package/package.json +2 -2
- package/scripts/filter/checkThemeConfig.js +0 -5
- package/scripts/helper/cdn.js +12 -0
- package/scripts/helper/page.js +13 -0
- package/scripts/helper/related_post.js +0 -1
- package/scripts/tags/button.js +21 -0
- package/scripts/tags/card.js +9 -0
- package/scripts/tags/checkbox.js +51 -0
- package/scripts/tags/fold.js +0 -5
- package/scripts/tags/image.js +75 -0
- package/scripts/tags/inline-image.js +12 -0
- package/scripts/tags/label.js +10 -0
- package/scripts/tags/link.js +2 -0
- package/scripts/tags/media.js +29 -0
- package/scripts/tags/span.js +17 -0
- package/scripts/tags/timeline.js +2 -15
- package/scripts/tags/u.js +7 -0
- package/source/css/_global/animation.css +57 -0
- package/source/css/_global/index.styl +5 -20
- package/source/css/_global/var.styl +16 -1
- package/source/css/_layout/{base.styl → basic.styl} +24 -116
- package/source/css/_layout/header.styl +204 -616
- package/source/css/_layout/index.styl +29 -271
- package/source/css/_mode/index.styl +102 -93
- package/source/css/_page/_home/category-bar.styl +74 -0
- package/source/css/_page/_home/home-top.styl +541 -0
- package/source/css/_page/_home/index.styl +15 -0
- package/source/css/_page/_home/pagination.styl +176 -0
- package/source/css/_page/_home/recent-post.styl +204 -0
- package/source/css/_page/about/index.styl +1 -0
- package/source/css/_page/about/tenyear.styl +56 -0
- package/source/css/_page/about.styl +555 -626
- package/source/css/_page/category.styl +95 -119
- package/source/css/_page/douban.styl +126 -0
- package/source/css/_page/equipment.styl +100 -99
- package/source/css/_page/error.styl +130 -146
- package/source/css/_page/home.styl +41 -50
- package/source/css/_page/index.styl +42 -10
- package/source/css/_page/links.styl +306 -0
- package/source/css/_page/moment.styl +51 -51
- package/source/css/_page/music.styl +506 -0
- package/source/css/_page/rss.styl +62 -67
- package/source/css/_page/says.styl +375 -344
- package/source/css/_page/tag.styl +15 -13
- package/source/css/_widgets/{aside → _aside}/flip.styl +7 -5
- package/source/css/_widgets/{aside → _aside}/history.styl +9 -2
- package/source/css/_widgets/_aside/index.styl +96 -0
- package/source/css/_widgets/{aside → _aside}/info.styl +86 -89
- package/source/css/_widgets/{aside → _aside}/newPost.styl +7 -1
- package/source/css/_widgets/{aside → _aside}/toc.styl +28 -5
- package/source/css/_widgets/{comment → _comment}/index.styl +4 -12
- package/source/css/_widgets/{comment → _comment}/twikoo.styl +5 -2
- package/source/css/_widgets/{comment → _comment}/waline.styl +21 -5
- package/source/css/{_extra → _widgets/_extra}/console.styl +33 -10
- package/source/css/_widgets/_extra/fullpage.styl +46 -0
- package/source/css/_widgets/_extra/music.styl +218 -0
- package/source/css/_widgets/_extra/pace.styl +39 -0
- package/source/css/_widgets/_extra/rightmenu.styl +78 -0
- package/source/css/_widgets/_mixins/article-sort.styl +93 -0
- package/source/css/_widgets/_mixins/footer.styl +273 -0
- package/source/css/_widgets/_mixins/other.styl +34 -0
- package/source/css/_widgets/_mixins/sidebar.styl +230 -0
- package/source/css/_widgets/_post/_highlight/diff.styl +75 -0
- package/source/css/_widgets/_post/_highlight/index.styl +144 -0
- package/source/css/_widgets/_post/_highlight/theme/default.styl +12 -0
- package/source/css/_widgets/_post/_highlight/theme/mac.styl +25 -0
- package/source/css/_widgets/_post/_highlight/theme.styl +68 -0
- package/source/css/_widgets/_post/commentBarrage.styl +144 -0
- package/source/css/_widgets/_post/content.styl +152 -0
- package/source/css/_widgets/_post/copyright.styl +98 -0
- package/source/css/_widgets/_post/index.styl +20 -0
- package/source/css/_widgets/_post/meta.styl +420 -0
- package/source/css/_widgets/_post/pagination.styl +177 -0
- package/source/css/_widgets/_post/postAI.styl +131 -0
- package/source/css/{_post → _widgets/_post}/relatedPost.styl +4 -1
- package/source/css/_widgets/_post/tools.styl +249 -0
- package/source/css/{_search → _widgets/_search}/algolia-search.styl +4 -0
- package/source/css/{_search → _widgets/_search}/local-search.styl +15 -5
- package/source/css/_widgets/_tags/button.styl +60 -0
- package/source/css/_widgets/_tags/bvideo.styl +8 -0
- package/source/css/_widgets/_tags/card.styl +52 -0
- package/source/css/_widgets/_tags/checkbox.styl +85 -0
- package/source/css/_widgets/_tags/fold.styl +79 -0
- package/source/css/_widgets/_tags/image.styl +10 -0
- package/source/css/_widgets/_tags/index.styl +61 -0
- package/source/css/_widgets/_tags/inline-image.styl +6 -0
- package/source/css/_widgets/_tags/label.styl +3 -0
- package/source/css/_widgets/_tags/link.styl +80 -0
- package/source/css/_widgets/_tags/note.styl +101 -0
- package/source/css/_widgets/_tags/span.styl +61 -0
- package/source/css/_widgets/_tags/tabs.styl +105 -0
- package/source/css/_widgets/_tags/timeline.styl +80 -0
- package/source/css/_widgets/index.styl +50 -1
- package/source/css/index.styl +0 -25
- package/source/js/{commentBarrage.js → extend/comment/twikoo/commentBarrage.js} +0 -4
- package/source/js/extend/comment/{twikoo.js → twikoo/twikoo.js} +12 -40
- package/source/js/extend/comment/waline/commentBarrage.js +155 -0
- package/source/js/extend/comment/{waline.js → waline/waline.js} +10 -11
- package/source/js/extend/search/algolia-search.js +1 -5
- package/source/js/extend/search/local-search.js +33 -13
- package/source/js/main.js +135 -171
- package/source/js/music.js +129 -0
- package/source/js/utils.js +4 -7
- package/source/lib/cover-color.min.js +7 -0
- package/source/lib/rightside.min.js +1 -0
- package/source/lib/sco-ai.min.js +8 -0
- package/source/lib/snackbar.min.css +1 -1
- package/source/lib/txmap.min.js +1 -0
- package/source/lib/universe.min.js +1 -0
- package/source/lib/view-image.min.js +1 -1
- package/layout/includes/widgets/aside/asidePower.pug +0 -19
- package/layout/includes/widgets/home/rencentPost.pug +0 -26
- package/source/css/_extra/rightmenu.styl +0 -83
- package/source/css/_layout/articleSort.styl +0 -199
- package/source/css/_layout/footer.styl +0 -359
- package/source/css/_layout/sidebar.styl +0 -226
- package/source/css/_page/homeTop.styl +0 -1035
- package/source/css/_page/link.styl +0 -433
- package/source/css/_post/commentBarrage.styl +0 -149
- package/source/css/_post/externalTags.styl +0 -694
- package/source/css/_post/highlight.styl +0 -96
- package/source/css/_post/index.styl +0 -935
- package/source/css/_post/pagination.styl +0 -467
- package/source/css/_post/postContent.styl +0 -957
- package/source/css/_post/reward.styl +0 -217
- package/source/css/_widgets/aside/index.styl +0 -156
- package/source/css/_widgets/aside/power.styl +0 -90
- 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/extend/covercolor/local.js +0 -160
- package/source/js/rightside.js +0 -402
- package/source/js/txmap.js +0 -236
- package/source/lib/chuckle-post-ai.js +0 -1
- /package/source/css/_widgets/{aside → _aside}/allinfo.styl +0 -0
- /package/source/css/_widgets/{aside → _aside}/welcome.styl +0 -0
- /package/source/img/{theme/avatar.png → avatar.png} +0 -0
@@ -1,141 +1,117 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
// categories view
|
2
|
+
#category
|
3
|
+
#category-bar
|
4
|
+
padding 0
|
5
|
+
border none
|
6
|
+
height auto
|
7
|
+
box-shadow none
|
8
|
+
|
9
|
+
+maxWidth768()
|
10
|
+
border-radius 0
|
11
|
+
background var(--sco-background)
|
12
|
+
margin-bottom 0
|
13
|
+
position -webkit-sticky
|
14
|
+
position sticky
|
15
|
+
z-index 1
|
16
|
+
padding 0
|
17
|
+
height 50px
|
18
|
+
margin-top 0
|
19
|
+
align-items center
|
20
|
+
|
21
|
+
// category view
|
8
22
|
#page
|
9
23
|
.category-lists
|
10
|
-
padding
|
24
|
+
padding 1rem 0 1.5rem
|
25
|
+
|
26
|
+
+maxWidth768()
|
27
|
+
padding 0
|
11
28
|
|
12
29
|
ul
|
13
|
-
display
|
14
|
-
|
15
|
-
flex-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
counter-reset: li 0
|
30
|
+
display flex
|
31
|
+
flex-wrap wrap
|
32
|
+
flex-direction row
|
33
|
+
margin-top .4rem
|
34
|
+
padding 0 0 0 1rem
|
35
|
+
list-style none
|
36
|
+
counter-reset li 0
|
21
37
|
|
22
38
|
ul
|
23
|
-
padding-left
|
39
|
+
padding-left .2rem
|
24
40
|
|
25
41
|
li
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
42
|
+
position relative
|
43
|
+
margin .3rem 0
|
44
|
+
padding 4px 16px
|
45
|
+
width 200px
|
46
|
+
border-radius 12px
|
47
|
+
background var(--sco-card-bg)
|
48
|
+
border var(--style-border-always)
|
30
49
|
|
31
50
|
&::before
|
32
|
-
display
|
33
|
-
position
|
34
|
-
left
|
35
|
-
cursor
|
36
|
-
transition
|
37
|
-
top
|
38
|
-
width
|
39
|
-
height
|
40
|
-
border
|
41
|
-
border-radius
|
42
|
-
background
|
43
|
-
content
|
51
|
+
display none
|
52
|
+
position absolute
|
53
|
+
left 0
|
54
|
+
cursor pointer
|
55
|
+
transition all .3s ease-out 0s
|
56
|
+
top .7em
|
57
|
+
width .43em
|
58
|
+
height .43em
|
59
|
+
border .215em solid #307af6
|
60
|
+
border-radius .43em
|
61
|
+
background 0 0
|
62
|
+
content ""
|
44
63
|
|
45
64
|
&:hover::before
|
46
|
-
border-color
|
47
|
-
|
48
|
-
padding: 4px 16px
|
49
|
-
width: 200px
|
50
|
-
border-radius: 12px
|
51
|
-
background: var(--sco-card-bg)
|
52
|
-
border: var(--style-border-always)
|
65
|
+
border-color #ff7242
|
53
66
|
|
54
67
|
.category-title
|
55
|
-
font-size
|
68
|
+
font-size 2.57em
|
69
|
+
|
70
|
+
+maxWidth768()
|
71
|
+
font-size 2em
|
56
72
|
|
57
|
-
.
|
73
|
+
.tag-cloud-list
|
58
74
|
a
|
59
|
-
|
75
|
+
display flex
|
76
|
+
width fit-content
|
77
|
+
color var(--sco-fontcolor)
|
78
|
+
font-size 1.4em
|
79
|
+
padding 0.2em 0.5em
|
80
|
+
background var(--sco-card-bg)
|
81
|
+
margin 0.5em 0.5em
|
82
|
+
border-radius 12px
|
83
|
+
border var(--style-border-always)
|
84
|
+
box-shadow var(--sco-shadow-border)
|
85
|
+
align-items center
|
86
|
+
transition all .3s ease 0s
|
87
|
+
|
88
|
+
+maxWidth768()
|
89
|
+
zoom .85
|
90
|
+
|
91
|
+
span.tags-punctuation
|
92
|
+
transition none
|
60
93
|
|
61
94
|
&:hover
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
&::before
|
69
|
-
content: "("
|
70
|
-
|
71
|
-
&::after
|
72
|
-
content: ")"
|
73
|
-
|
74
|
-
.tag-cloud-list
|
75
|
-
a
|
76
|
-
display: flex
|
77
|
-
width: fit-content
|
78
|
-
color: var(--sco-fontcolor) !important
|
79
|
-
font-size: 1.4em !important
|
80
|
-
padding: .2em .5em
|
81
|
-
background: var(--sco-card-bg)
|
82
|
-
margin: .5em .5em
|
83
|
-
border-radius: 12px
|
84
|
-
-webkit-backface-visibility: hidden
|
85
|
-
-webkit-transform-style: preserve-3d
|
86
|
-
border: var(--style-border-always)
|
87
|
-
box-shadow: var(--sco-shadow-border)
|
88
|
-
align-items: center
|
89
|
-
|
90
|
-
&:hover
|
91
|
-
transform scale(1.1)
|
92
|
-
background var(--sco-main) !important
|
93
|
-
box-shadow var(--sco-shadow-blue)
|
94
|
-
color var(--sco-white) !important
|
95
|
-
border var(--style-border-hover)
|
96
|
-
|
97
|
-
span.tagsPageCount
|
98
|
-
color: var(--sco-lighttext)
|
99
|
-
|
100
|
-
+maxWidth768()
|
101
|
-
zoom .85
|
102
|
-
|
103
|
-
.tags-name
|
104
|
-
margin-left: 2px
|
95
|
+
transform scale(1.1)
|
96
|
+
background var(--sco-main) !important
|
97
|
+
box-shadow var(--sco-shadow-blue)
|
98
|
+
color var(--sco-white) !important
|
99
|
+
border var(--style-border-hover)
|
105
100
|
|
106
|
-
|
107
|
-
|
108
|
-
.category-lists
|
109
|
-
padding: 0
|
101
|
+
span.tagsPageCount
|
102
|
+
color var(--sco-lighttext)
|
110
103
|
|
111
|
-
|
112
|
-
|
104
|
+
span.tags-punctuation
|
105
|
+
color inherit
|
113
106
|
|
114
107
|
span.tagsPageCount
|
115
|
-
background
|
116
|
-
padding
|
117
|
-
border-radius
|
118
|
-
color
|
119
|
-
line-height
|
120
|
-
text-align
|
121
|
-
min-width
|
122
|
-
display
|
123
|
-
font-size
|
124
|
-
margin-left
|
125
|
-
|
126
|
-
#category #category-bar
|
127
|
-
padding 0
|
128
|
-
border none
|
129
|
-
box-shadow none
|
130
|
-
|
131
|
-
+maxWidth768()
|
132
|
-
border-radius: 0;
|
133
|
-
background: var(--sco-background);
|
134
|
-
margin-bottom: 0;
|
135
|
-
position: -webkit-sticky;
|
136
|
-
position: sticky;
|
137
|
-
z-index: 1;
|
138
|
-
padding: 0;
|
139
|
-
height: 50px;
|
140
|
-
margin-top: 0;
|
141
|
-
align-items: center;
|
108
|
+
background var(--sco-secondbg)
|
109
|
+
padding 4px 4px
|
110
|
+
border-radius 8px
|
111
|
+
color var(--sco-secondtext)
|
112
|
+
line-height 1
|
113
|
+
text-align center
|
114
|
+
min-width 35px
|
115
|
+
display inline-block
|
116
|
+
font-size 1rem
|
117
|
+
margin-left 4px
|
@@ -0,0 +1,126 @@
|
|
1
|
+
#article-container
|
2
|
+
.hexo-douban-items
|
3
|
+
display flex
|
4
|
+
flex-wrap wrap
|
5
|
+
gap 12px
|
6
|
+
flex-direction row
|
7
|
+
|
8
|
+
.hexo-douban-item
|
9
|
+
position relative
|
10
|
+
width calc(100% / 4 - 9px)
|
11
|
+
border-radius 12px
|
12
|
+
border var(--style-border)
|
13
|
+
box-shadow var(--sco-shadow-border)
|
14
|
+
background var(--sco-card-bg)
|
15
|
+
transition .3s
|
16
|
+
animation slide-in 0.6s 0.3s backwards
|
17
|
+
border-bottom: none !important
|
18
|
+
border var(--style-border)
|
19
|
+
margin 8px 0
|
20
|
+
height 160px
|
21
|
+
min-height 160px !important
|
22
|
+
overflow hidden
|
23
|
+
|
24
|
+
+maxWidth1200()
|
25
|
+
width calc(100% / 3 - 9px)
|
26
|
+
|
27
|
+
+maxWidth899()
|
28
|
+
width calc(100% / 2 - 9px)
|
29
|
+
|
30
|
+
+maxWidth600()
|
31
|
+
width 100%
|
32
|
+
|
33
|
+
&:hover
|
34
|
+
border-color var(--sco-main)
|
35
|
+
|
36
|
+
.hexo-douban-picture
|
37
|
+
width 120px
|
38
|
+
height 100%
|
39
|
+
top 0
|
40
|
+
padding 10px
|
41
|
+
|
42
|
+
img
|
43
|
+
margin 0
|
44
|
+
height 100%
|
45
|
+
max-width 100%
|
46
|
+
border-radius 6px
|
47
|
+
|
48
|
+
.hexo-douban-info
|
49
|
+
display flex
|
50
|
+
flex-wrap wrap
|
51
|
+
align-content flex-start
|
52
|
+
height 100%
|
53
|
+
position relative
|
54
|
+
|
55
|
+
.hexo-douban-rating
|
56
|
+
position absolute
|
57
|
+
bottom 5px
|
58
|
+
line-height 16px
|
59
|
+
|
60
|
+
.hexo-douban-meta
|
61
|
+
display -webkit-box
|
62
|
+
overflow hidden
|
63
|
+
-webkit-box-orient vertical
|
64
|
+
|
65
|
+
+maxWidth1300()
|
66
|
+
-webkit-line-clamp 3!important
|
67
|
+
|
68
|
+
+maxWidth899()
|
69
|
+
-webkit-line-clamp 4!important
|
70
|
+
|
71
|
+
.hexo-douban-title
|
72
|
+
transition all .2s ease 0s
|
73
|
+
white-space nowrap
|
74
|
+
overflow hidden
|
75
|
+
text-overflow ellipsis
|
76
|
+
width 100%
|
77
|
+
|
78
|
+
a
|
79
|
+
border-bottom 0
|
80
|
+
|
81
|
+
&:hover
|
82
|
+
background none
|
83
|
+
color var(--sco-main)
|
84
|
+
|
85
|
+
.hexo-douban-pagination
|
86
|
+
margin-top 1.25rem
|
87
|
+
animation slide-in 0.6s 0.3s backwards
|
88
|
+
|
89
|
+
.hexo-douban-button
|
90
|
+
background var(--sco-card-bg)
|
91
|
+
height 2rem
|
92
|
+
line-height calc(2rem - 2px)
|
93
|
+
border-radius 8px !important
|
94
|
+
margin 0 0.3rem
|
95
|
+
padding 6px 12px
|
96
|
+
box-shadow var(--sco-shadow-border)
|
97
|
+
border var(--style-border)
|
98
|
+
transition 0.3s
|
99
|
+
display inline-flex
|
100
|
+
align-items center
|
101
|
+
|
102
|
+
&:hover
|
103
|
+
background var(--sco-main)
|
104
|
+
|
105
|
+
.hexo-douban-tabs
|
106
|
+
white-space nowrap
|
107
|
+
overflow hidden
|
108
|
+
display flex
|
109
|
+
padding 0.4rem 1rem 0.4rem 1rem
|
110
|
+
background var(--sco-card-bg)
|
111
|
+
border-radius 12px
|
112
|
+
border var(--style-border)
|
113
|
+
animation slide-in 0.6s 0.3s backwards
|
114
|
+
|
115
|
+
&:hover
|
116
|
+
border-color var(--sco-main)
|
117
|
+
|
118
|
+
a
|
119
|
+
padding 0.1rem 0.5rem
|
120
|
+
margin-right 6px
|
121
|
+
font-weight 700
|
122
|
+
border-radius 8px !important
|
123
|
+
border-bottom 0
|
124
|
+
|
125
|
+
.hexo-douban-tab-active
|
126
|
+
background var(--sco-main)
|
@@ -1,101 +1,102 @@
|
|
1
|
-
|
2
|
-
display flex
|
3
|
-
flex-direction row
|
4
|
-
flex-wrap wrap
|
5
|
-
margin 0 -8px
|
6
|
-
|
7
|
-
.equipment-item-content-item
|
8
|
-
width calc(25% - 12px)
|
9
|
-
border-radius 12px
|
10
|
-
border var(--style-border-always)
|
11
|
-
overflow hidden
|
12
|
-
margin 8px 6px
|
13
|
-
background var(--sco-card-bg)
|
14
|
-
box-shadow var(--sco-shadow-border)
|
15
|
-
min-height 400px
|
16
|
-
position relative
|
17
|
-
|
18
|
-
+maxWidth1200()
|
19
|
-
width calc(50% - 12px)
|
20
|
-
|
21
|
-
+maxWidth768()
|
22
|
-
width 100%
|
23
|
-
|
24
|
-
.equipment-item-content-item-info
|
25
|
-
padding 8px 16px 16px 16px
|
26
|
-
margin-top 12px
|
27
|
-
|
28
|
-
.equipment-item-content-item-name
|
29
|
-
font-size 18px
|
30
|
-
font-weight 700
|
31
|
-
line-height 1
|
32
|
-
margin-bottom 8px
|
33
|
-
white-space nowrap
|
34
|
-
overflow hidden
|
35
|
-
text-overflow ellipsis
|
36
|
-
cursor pointer
|
37
|
-
width fit-content
|
38
|
-
|
39
|
-
&:hover
|
40
|
-
color var(--sco-main)
|
41
|
-
|
42
|
-
.equipment-item-content-item-specification
|
43
|
-
font-size 12px
|
44
|
-
color var(--sco-secondtext)
|
45
|
-
line-height 1
|
46
|
-
margin-bottom 12px
|
47
|
-
white-space nowrap
|
48
|
-
overflow hidden
|
49
|
-
text-overflow ellipsis
|
50
|
-
|
51
|
-
.equipment-item-content-item-description
|
52
|
-
line-height 20px
|
53
|
-
color var(--sco-secondtext)
|
54
|
-
height 60px
|
55
|
-
display -webkit-box
|
56
|
-
overflow hidden
|
57
|
-
-webkit-line-clamp 3
|
58
|
-
-webkit-box-orient vertical
|
59
|
-
font-size 14px
|
60
|
-
|
61
|
-
a.equipment-item-content-item-link
|
62
|
-
font-size 12px
|
63
|
-
background var(--sco-gray-op)
|
64
|
-
padding 4px 8px
|
65
|
-
border-radius 8px
|
66
|
-
cursor pointer
|
67
|
-
|
68
|
-
&:hover
|
69
|
-
background var(--sco-main)
|
70
|
-
color var(--sco-white)
|
71
|
-
|
72
|
-
h2.equipment-item-title
|
73
|
-
line-height 1
|
74
|
-
|
75
|
-
.equipment-item-description
|
76
|
-
line-height 1
|
77
|
-
margin 4px 0 8px 0
|
78
|
-
color var(--sco-secondtext)
|
79
|
-
|
80
|
-
.equipment-item-content-item-cover
|
81
|
-
width 100%
|
82
|
-
height 200px
|
83
|
-
background var(--sco-secondbg)
|
84
|
-
display flex
|
85
|
-
justify-content center
|
86
|
-
|
87
|
-
img.equipment-item-content-item-image
|
88
|
-
object-fit cover
|
89
|
-
height 100%
|
90
|
-
|
91
|
-
div#equipment
|
1
|
+
#equipment
|
92
2
|
margin-top 26px
|
93
3
|
|
94
|
-
.equipment-item
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
4
|
+
.equipment-item
|
5
|
+
.equipment-item-title
|
6
|
+
line-height 1
|
7
|
+
|
8
|
+
.equipment-item-description
|
9
|
+
line-height 1
|
10
|
+
margin 4px 0 8px 0
|
11
|
+
color var(--sco-secondtext)
|
12
|
+
|
13
|
+
.equipment-item-content
|
14
|
+
display flex
|
15
|
+
flex-direction row
|
16
|
+
flex-wrap wrap
|
17
|
+
margin 0 -8px
|
18
|
+
|
19
|
+
.equipment-item-content-item
|
20
|
+
width calc(25% - 12px)
|
21
|
+
border-radius 12px
|
22
|
+
border var(--style-border-always)
|
23
|
+
overflow hidden
|
24
|
+
margin 8px 6px
|
25
|
+
background var(--sco-card-bg)
|
26
|
+
box-shadow var(--sco-shadow-border)
|
27
|
+
min-height 400px
|
28
|
+
position relative
|
29
|
+
|
30
|
+
+maxWidth1200()
|
31
|
+
width calc(50% - 12px)
|
32
|
+
|
33
|
+
+maxWidth768()
|
34
|
+
width 100%
|
35
|
+
|
36
|
+
.equipment-item-content-item-cover
|
37
|
+
width 100%
|
38
|
+
height 200px
|
39
|
+
background var(--sco-secondbg)
|
40
|
+
display flex
|
41
|
+
justify-content center
|
42
|
+
|
43
|
+
.equipment-item-content-item-image
|
44
|
+
object-fit cover
|
45
|
+
height 100%
|
46
|
+
|
47
|
+
.equipment-item-content-item-info
|
48
|
+
padding 8px 16px 16px 16px
|
49
|
+
margin-top 12px
|
50
|
+
|
51
|
+
.equipment-item-content-item-name
|
52
|
+
font-size 18px
|
53
|
+
font-weight 700
|
54
|
+
line-height 1
|
55
|
+
margin-bottom 8px
|
56
|
+
white-space nowrap
|
57
|
+
overflow hidden
|
58
|
+
text-overflow ellipsis
|
59
|
+
cursor pointer
|
60
|
+
width fit-content
|
61
|
+
|
62
|
+
&:hover
|
63
|
+
color var(--sco-main)
|
64
|
+
|
65
|
+
.equipment-item-content-item-specification
|
66
|
+
font-size 12px
|
67
|
+
color var(--sco-secondtext)
|
68
|
+
line-height 1
|
69
|
+
margin-bottom 12px
|
70
|
+
white-space nowrap
|
71
|
+
overflow hidden
|
72
|
+
text-overflow ellipsis
|
73
|
+
|
74
|
+
.equipment-item-content-item-description
|
75
|
+
line-height 20px
|
76
|
+
color var(--sco-secondtext)
|
77
|
+
height 60px
|
78
|
+
display -webkit-box
|
79
|
+
overflow hidden
|
80
|
+
-webkit-line-clamp 3
|
81
|
+
-webkit-box-orient vertical
|
82
|
+
font-size 14px
|
83
|
+
|
84
|
+
.equipment-item-content-item-toolbar
|
85
|
+
display flex
|
86
|
+
justify-content space-between
|
87
|
+
position absolute
|
88
|
+
bottom 12px
|
89
|
+
left 0
|
90
|
+
width 100%
|
91
|
+
padding 0 16px
|
92
|
+
|
93
|
+
.equipment-item-content-item-link
|
94
|
+
font-size 12px
|
95
|
+
background var(--sco-gray-op)
|
96
|
+
padding 4px 8px
|
97
|
+
border-radius 8px
|
98
|
+
cursor pointer
|
99
|
+
|
100
|
+
&:hover
|
101
|
+
background var(--sco-main)
|
102
|
+
color var(--sco-white)
|