hexo-theme-solitude 1.1.3 → 1.2.2

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.
Files changed (254) hide show
  1. package/LICENSE +674 -19
  2. package/_config.yml +244 -193
  3. package/languages/en-US.yml +1 -0
  4. package/languages/zh-CN.yml +8 -8
  5. package/layout/404.pug +24 -0
  6. package/layout/archive.pug +11 -0
  7. package/layout/category.pug +16 -0
  8. package/layout/includes/console.pug +42 -0
  9. package/layout/includes/footer.pug +71 -0
  10. package/layout/includes/head/config.pug +79 -0
  11. package/layout/includes/head/pwa.pug +59 -0
  12. package/layout/includes/head.pug +29 -0
  13. package/layout/includes/header.pug +4 -0
  14. package/layout/includes/inject/body.pug +68 -0
  15. package/layout/{partial/compoment/inject/head.ejs → includes/inject/head.pug} +61 -35
  16. package/layout/includes/layout.pug +35 -0
  17. package/layout/{partial/loading.ejs → includes/loading.pug} +19 -17
  18. package/layout/includes/mixins/articleSort.pug +14 -0
  19. package/layout/includes/mixins/pagination.pug +8 -0
  20. package/layout/includes/nav.pug +22 -0
  21. package/layout/includes/page/about.pug +10 -0
  22. package/layout/includes/page/categories.pug +8 -0
  23. package/layout/includes/page/default.pug +2 -0
  24. package/layout/includes/page/echarts.pug +7 -0
  25. package/layout/includes/page/equipment.pug +3 -0
  26. package/layout/includes/page/links.pug +35 -0
  27. package/layout/includes/page/moments.pug +5 -0
  28. package/layout/includes/page/rss.pug +22 -0
  29. package/layout/includes/page/says.pug +20 -0
  30. package/layout/includes/page/tags.pug +8 -0
  31. package/layout/includes/page/tlink.pug +9 -0
  32. package/layout/includes/recent-posts.pug +9 -0
  33. package/layout/includes/sidebar.pug +17 -0
  34. package/layout/includes/widgets/aside/aside.pug +18 -0
  35. package/layout/includes/widgets/aside/asideAllInfo.pug +8 -0
  36. package/layout/includes/widgets/aside/asideArchive.pug +9 -0
  37. package/layout/includes/widgets/aside/asideFlipCard.pug +5 -0
  38. package/layout/includes/widgets/aside/asideHistory.pug +8 -0
  39. package/layout/includes/widgets/aside/asideInfoCard.pug +22 -0
  40. package/layout/includes/widgets/aside/asideNewestPost.pug +16 -0
  41. package/layout/includes/widgets/aside/asidePower.pug +19 -0
  42. package/layout/includes/widgets/aside/asideSwitch.pug +26 -0
  43. package/layout/includes/widgets/aside/asideTag.pug +11 -0
  44. package/layout/includes/widgets/aside/asideToc.pug +5 -0
  45. package/layout/includes/widgets/aside/asideWebInfo.pug +40 -0
  46. package/layout/includes/widgets/aside/asideWelcome.pug +12 -0
  47. package/layout/includes/widgets/home/banner.pug +16 -0
  48. package/layout/includes/widgets/home/bbTimeList.pug +8 -0
  49. package/layout/includes/widgets/home/categoryBar.pug +10 -0
  50. package/layout/includes/widgets/home/categoryGroup.pug +9 -0
  51. package/layout/includes/widgets/home/hometop.pug +9 -0
  52. package/layout/includes/widgets/home/postList.pug +26 -0
  53. package/layout/includes/widgets/home/rencentPost.pug +26 -0
  54. package/layout/includes/widgets/home/topGroup.pug +27 -0
  55. package/layout/includes/widgets/nav/left.pug +10 -0
  56. package/layout/includes/widgets/nav/menu.pug +16 -0
  57. package/layout/includes/widgets/nav/right.pug +23 -0
  58. package/layout/includes/widgets/page/about/authorinfo.pug +12 -0
  59. package/layout/includes/widgets/page/about/award.pug +34 -0
  60. package/layout/includes/widgets/page/about/contentinfo.pug +38 -0
  61. package/layout/includes/widgets/page/about/hobbies.pug +33 -0
  62. package/layout/includes/widgets/page/about/motto.pug +19 -0
  63. package/layout/includes/widgets/page/about/other.pug +61 -0
  64. package/layout/includes/widgets/page/about/personalities.pug +16 -0
  65. package/layout/includes/widgets/page/about/skillsinfo.pug +41 -0
  66. package/layout/includes/widgets/page/banner.pug +14 -0
  67. package/layout/includes/widgets/page/equipment/content.pug +23 -0
  68. package/layout/includes/widgets/page/links/banner.pug +30 -0
  69. package/layout/includes/widgets/page/links/linksCard.pug +18 -0
  70. package/layout/includes/widgets/page/links/linksItem.pug +14 -0
  71. package/layout/includes/widgets/page/moments/angle.pug +24 -0
  72. package/layout/includes/widgets/page/moments/index.pug +18 -0
  73. package/layout/includes/widgets/page/says/saysBottom.pug +11 -0
  74. package/layout/includes/widgets/page/says/saysContent.pug +6 -0
  75. package/layout/includes/widgets/page/says/saysFunction.pug +10 -0
  76. package/layout/includes/widgets/page/says/saysMeta.pug +7 -0
  77. package/layout/includes/widgets/post/award.pug +48 -0
  78. package/layout/includes/widgets/post/copyright.pug +27 -0
  79. package/layout/includes/widgets/post/postMeta.pug +55 -0
  80. package/layout/includes/widgets/post/postNav.pug +25 -0
  81. package/layout/includes/widgets/post/wave.pug +9 -0
  82. package/layout/includes/widgets/randomlink.pug +32 -0
  83. package/layout/includes/widgets/rightside/index.pug +74 -0
  84. package/layout/includes/widgets/third-party/comments/comment.pug +14 -0
  85. package/layout/includes/widgets/third-party/comments/gitalk.pug +0 -0
  86. package/layout/{partial/compoment/third-party/comments/twikoo.ejs → includes/widgets/third-party/comments/twikoo.pug} +8 -9
  87. package/layout/includes/widgets/third-party/comments/valine.pug +0 -0
  88. package/layout/includes/widgets/third-party/music.pug +3 -0
  89. package/layout/includes/widgets/third-party/pjax.pug +30 -0
  90. package/layout/includes/widgets/third-party/search/algolia-search.pug +14 -0
  91. package/layout/includes/widgets/third-party/search/index.pug +7 -0
  92. package/layout/includes/widgets/third-party/search/local-search.pug +13 -0
  93. package/layout/index.pug +20 -0
  94. package/layout/page.pug +32 -0
  95. package/layout/post.pug +43 -0
  96. package/layout/tag.pug +19 -0
  97. package/package.json +4 -4
  98. package/scripts/event/page.js +20 -2
  99. package/scripts/filter/checkThemeConfig.js +0 -1
  100. package/scripts/filter/randomPosts.js +0 -1
  101. package/scripts/helper/{charts.js → echarts.js} +27 -28
  102. package/scripts/helper/stylus.js +23 -0
  103. package/scripts/tags/bvideo.js +1 -36
  104. package/source/css/_comment/index.styl +121 -0
  105. package/source/css/_comment/twikoo.styl +515 -0
  106. package/source/css/_extra/console.styl +354 -0
  107. package/source/css/_extra/rightmenu.styl +83 -0
  108. package/source/css/_global/animation.css +756 -0
  109. package/source/css/_global/function.styl +83 -0
  110. package/source/css/_global/index.styl +120 -0
  111. package/source/css/_global/var.styl +1 -0
  112. package/source/css/_layout/articleSort.styl +199 -0
  113. package/source/css/_layout/base.styl +392 -0
  114. package/source/css/_layout/footer.styl +359 -0
  115. package/source/css/_layout/header.styl +1331 -0
  116. package/source/css/_layout/index.styl +293 -0
  117. package/source/css/_layout/sidebar.styl +226 -0
  118. package/source/css/_mode/index.styl +52 -0
  119. package/source/css/_page/about.styl +835 -0
  120. package/source/css/_page/category.styl +141 -0
  121. package/source/css/_page/equipment.styl +101 -0
  122. package/source/css/_page/error.styl +161 -0
  123. package/source/css/_page/home.styl +58 -0
  124. package/source/css/_page/homeTop.styl +1035 -0
  125. package/source/css/_page/index.styl +131 -0
  126. package/source/css/_page/link.styl +433 -0
  127. package/source/css/_page/moment.styl +179 -0
  128. package/source/css/_page/rss.styl +87 -0
  129. package/source/css/_page/says.styl +347 -0
  130. package/source/css/_page/tag.styl +56 -0
  131. package/source/css/_post/commentBarrage.styl +149 -0
  132. package/source/css/_post/externalTags.styl +694 -0
  133. package/source/css/_post/highlight.styl +96 -0
  134. package/source/css/_post/index.styl +935 -0
  135. package/source/css/_post/pagination.styl +467 -0
  136. package/source/css/_post/postContent.styl +957 -0
  137. package/source/css/_post/relatedPost.styl +160 -0
  138. package/source/css/_post/reward.styl +217 -0
  139. package/source/css/_search/algolia-search.styl +154 -0
  140. package/source/css/_search/local-search.styl +131 -0
  141. package/source/css/_widgets/aside/allinfo.styl +134 -0
  142. package/source/css/_widgets/aside/flip.styl +68 -0
  143. package/source/css/_widgets/aside/history.styl +35 -0
  144. package/source/css/_widgets/aside/index.styl +156 -0
  145. package/source/css/_widgets/aside/info.styl +263 -0
  146. package/source/css/_widgets/aside/newPost.styl +55 -0
  147. package/source/css/_widgets/aside/power.styl +90 -0
  148. package/source/css/_widgets/aside/toc.styl +85 -0
  149. package/source/css/_widgets/aside/welcome.styl +14 -0
  150. package/source/css/_widgets/index.styl +3 -0
  151. package/source/css/index.styl +40 -0
  152. package/source/js/commentBarrage.js +8 -5
  153. package/source/js/extend/console/comment.js +60 -63
  154. package/source/js/extend/covercolor/local.js +1 -1
  155. package/source/js/extend/search/algolia-search.js +151 -134
  156. package/source/js/extend/search/local-search.js +137 -162
  157. package/source/js/main.js +655 -505
  158. package/source/js/utils.js +168 -145
  159. package/layout/404.ejs +0 -34
  160. package/layout/archive.ejs +0 -10
  161. package/layout/category.ejs +0 -18
  162. package/layout/index.ejs +0 -20
  163. package/layout/layout.ejs +0 -30
  164. package/layout/page/about.ejs +0 -15
  165. package/layout/page/categories.ejs +0 -12
  166. package/layout/page/circle.ejs +0 -5
  167. package/layout/page/echarts.ejs +0 -1
  168. package/layout/page/equipment.ejs +0 -2
  169. package/layout/page/links.ejs +0 -46
  170. package/layout/page/page.ejs +0 -3
  171. package/layout/page/rss.ejs +0 -39
  172. package/layout/page/says.ejs +0 -17
  173. package/layout/page/tags.ejs +0 -12
  174. package/layout/page/tlink.ejs +0 -11
  175. package/layout/page.ejs +0 -45
  176. package/layout/partial/body.ejs +0 -7
  177. package/layout/partial/compoment/about/authorinfo.ejs +0 -18
  178. package/layout/partial/compoment/about/award.ejs +0 -59
  179. package/layout/partial/compoment/about/contentinfo.ejs +0 -33
  180. package/layout/partial/compoment/about/hobbies.ejs +0 -53
  181. package/layout/partial/compoment/about/motto.ejs +0 -17
  182. package/layout/partial/compoment/about/other.ejs +0 -76
  183. package/layout/partial/compoment/about/personalities.ejs +0 -11
  184. package/layout/partial/compoment/about/skillsinfo.ejs +0 -62
  185. package/layout/partial/compoment/aside/aside.ejs +0 -28
  186. package/layout/partial/compoment/aside/asideAllInfo.ejs +0 -6
  187. package/layout/partial/compoment/aside/asideArchive.ejs +0 -11
  188. package/layout/partial/compoment/aside/asideFlipCard.ejs +0 -72
  189. package/layout/partial/compoment/aside/asideHistory.ejs +0 -49
  190. package/layout/partial/compoment/aside/asideInfoCard.ejs +0 -39
  191. package/layout/partial/compoment/aside/asideNewestPost.ejs +0 -31
  192. package/layout/partial/compoment/aside/asidePower.ejs +0 -31
  193. package/layout/partial/compoment/aside/asideSwitch.ejs +0 -41
  194. package/layout/partial/compoment/aside/asideTag.ejs +0 -5
  195. package/layout/partial/compoment/aside/asideToc.ejs +0 -11
  196. package/layout/partial/compoment/aside/asideWebInfo.ejs +0 -60
  197. package/layout/partial/compoment/aside/asideWelcome.ejs +0 -33
  198. package/layout/partial/compoment/circle/angle.ejs +0 -26
  199. package/layout/partial/compoment/circle/banner.ejs +0 -11
  200. package/layout/partial/compoment/circle/content.ejs +0 -19
  201. package/layout/partial/compoment/dorakika/rightmenu.ejs +0 -100
  202. package/layout/partial/compoment/equipment/list.ejs +0 -37
  203. package/layout/partial/compoment/home/homeCategoryBar.ejs +0 -11
  204. package/layout/partial/compoment/home/postList.ejs +0 -37
  205. package/layout/partial/compoment/hometop/bbTimeList.ejs +0 -15
  206. package/layout/partial/compoment/hometop/categoryGroup.ejs +0 -19
  207. package/layout/partial/compoment/hometop/groupTag.ejs +0 -30
  208. package/layout/partial/compoment/hometop/topGroup.ejs +0 -41
  209. package/layout/partial/compoment/inject/body.ejs +0 -70
  210. package/layout/partial/compoment/links/angle.ejs +0 -26
  211. package/layout/partial/compoment/links/banner.ejs +0 -42
  212. package/layout/partial/compoment/links/linksCard.ejs +0 -27
  213. package/layout/partial/compoment/links/linksItem.ejs +0 -21
  214. package/layout/partial/compoment/mixins/articleSort.ejs +0 -26
  215. package/layout/partial/compoment/mixins/pagination.ejs +0 -11
  216. package/layout/partial/compoment/nav/left.ejs +0 -22
  217. package/layout/partial/compoment/nav/menu.ejs +0 -25
  218. package/layout/partial/compoment/nav/right.ejs +0 -42
  219. package/layout/partial/compoment/post/award.ejs +0 -60
  220. package/layout/partial/compoment/post/copyright.ejs +0 -39
  221. package/layout/partial/compoment/post/postMeta.ejs +0 -85
  222. package/layout/partial/compoment/post/postNav.ejs +0 -41
  223. package/layout/partial/compoment/post/wave.ejs +0 -14
  224. package/layout/partial/compoment/says/banner.ejs +0 -10
  225. package/layout/partial/compoment/says/saysBottom.ejs +0 -18
  226. package/layout/partial/compoment/says/saysContent.ejs +0 -10
  227. package/layout/partial/compoment/says/saysFunction.ejs +0 -15
  228. package/layout/partial/compoment/third-party/comments/comment.ejs +0 -12
  229. package/layout/partial/compoment/third-party/comments/twikoo_k.ejs +0 -29
  230. package/layout/partial/compoment/third-party/music.ejs +0 -5
  231. package/layout/partial/compoment/third-party/pjax.ejs +0 -31
  232. package/layout/partial/compoment/third-party/search/algolia-search.ejs +0 -20
  233. package/layout/partial/compoment/third-party/search/index.ejs +0 -10
  234. package/layout/partial/compoment/third-party/search/local-search.ejs +0 -22
  235. package/layout/partial/compoment/tlink/banner.ejs +0 -10
  236. package/layout/partial/console.ejs +0 -68
  237. package/layout/partial/footer.ejs +0 -109
  238. package/layout/partial/head.ejs +0 -37
  239. package/layout/partial/header.ejs +0 -6
  240. package/layout/partial/hometop.ejs +0 -15
  241. package/layout/partial/nav.ejs +0 -34
  242. package/layout/partial/pwa.ejs +0 -40
  243. package/layout/partial/sidebar.ejs +0 -31
  244. package/layout/post.ejs +0 -52
  245. package/layout/tag.ejs +0 -19
  246. package/scripts/helper/randomLinks.js +0 -16
  247. package/scripts/helper/themeJsExport.js +0 -79
  248. package/source/css/commentBarrage.css +0 -174
  249. package/source/css/custom.css +0 -901
  250. package/source/css/main.css +0 -16285
  251. package/source/css/search/algolia-search.css +0 -141
  252. package/source/css/search/local-search.css +0 -138
  253. package/source/css/var.css +0 -189
  254. /package/source/js/{rightmenu.js → rightside.js} +0 -0
@@ -1,901 +0,0 @@
1
- @media screen and (min-width: 900px) {
2
- #page-header #nav a:hover .heoicon {
3
- transition: .3s;
4
- opacity: 0;
5
- }
6
- }
7
-
8
- #sidebar-menus .menus_item .not-child {
9
- padding: 4px 8px !important;
10
- width: 100%;
11
- background: var(--sco-card-bg);
12
- border-radius: 8px;
13
- border: var(--style-border-always);
14
- align-items: center;
15
- font-size: 14px !important;
16
- margin: 10px 0;
17
- justify-content: center;
18
- }
19
-
20
- #sidebar-menus .menus_item .not-child span {
21
- color: var(--sco-fontcolor) !important;
22
- }
23
-
24
- .meta-secondline > span {
25
- opacity: .6;
26
- transition: .3s;
27
- margin-right: 1.1rem;
28
- }
29
-
30
- #category #category-bar {
31
- border-radius: 0;
32
- }
33
-
34
- /* 侧公众号卡片 */
35
- #flip-wrapper .left {
36
- height: 100%;
37
- display: flex;
38
- flex-direction: column;
39
- justify-content: center;
40
- line-height: 1.3;
41
- color: white;
42
- }
43
-
44
- #flip-wrapper .left .title {
45
- font-size: 1.35rem;
46
- font-weight: 700;
47
- }
48
-
49
- #flip-wrapper .left .desc {
50
- font-size: small;
51
- font-weight: 600;
52
- }
53
-
54
- #article-container .highlight-tools {
55
- position: relative;
56
- display: flex;
57
- -webkit-box-align: center;
58
- align-items: center;
59
- overflow: hidden;
60
- min-height: 1.2rem;
61
- height: 2.15em;
62
- background: var(--sco-secondbg);
63
- border-bottom: var(--style-border-always);
64
- color: var(--sco-fontcolor);
65
- font-size: var(--global-font-size);
66
- }
67
-
68
- #article-container .highlight-tools .copy-button {
69
- position: absolute;
70
- right: 0.7rem;
71
- cursor: pointer;
72
- transition: color .2s;
73
- font-size: 18px;
74
- }
75
-
76
- #article-container .highlight-tools .code-lang {
77
- position: absolute;
78
- font-weight: 700;
79
- font-size: 1.15em;
80
- user-select: none;
81
- left: 0.6rem;
82
- }
83
-
84
- #article-container .code-expand-btn.expand-done {
85
- display: none !important;
86
- }
87
-
88
-
89
- #article-container .bilibili_box {
90
- display: -webkit-box;
91
- display: -moz-box;
92
- display: -webkit-flex;
93
- display: -ms-flexbox;
94
- display: flex;
95
- background: var(--sco-card-bg);
96
- border: var(--style-border-always);
97
- border-radius: 10px;
98
- overflow: hidden;
99
- color: var(--sco-fontcolor) !important;
100
- text-decoration: none !important;
101
- -webkit-transition: .3s;
102
- -moz-transition: .3s;
103
- -o-transition: .3s;
104
- -ms-transition: .3s;
105
- transition: .3s
106
- }
107
-
108
- #article-container .bilibili_box:hover {
109
- border-color: var(--sco-theme)
110
- }
111
-
112
- @media screen and (max-width: 768px) {
113
- #article-container .bilibili_box {
114
- -webkit-box-orient: vertical;
115
- -moz-box-orient: vertical;
116
- -o-box-orient: vertical;
117
- -webkit-flex-direction: column;
118
- -ms-flex-direction: column;
119
- flex-direction: column
120
- }
121
- }
122
-
123
- #article-container .bilibili_box .bilibili_cover {
124
- width: 200px;
125
- position: relative
126
- }
127
-
128
- @media screen and (max-width: 768px) {
129
- #article-container .bilibili_box .bilibili_cover {
130
- width: 100%
131
- }
132
- }
133
-
134
- #article-container .bilibili_box .bilibili_cover img {
135
- width: 100%;
136
- filter: none;
137
- margin: 0 !important;
138
- border-radius: 0 !important
139
- }
140
-
141
- #article-container .bilibili_box .bilibili_cover .play_icon {
142
- position: absolute;
143
- width: 45px;
144
- height: 45px;
145
- opacity: .8;
146
- top: 50%;
147
- left: 50%;
148
- -webkit-transform: translate(-50%, -50%);
149
- -moz-transform: translate(-50%, -50%);
150
- -o-transform: translate(-50%, -50%);
151
- -ms-transform: translate(-50%, -50%);
152
- transform: translate(-50%, -50%)
153
- }
154
-
155
- #article-container .bilibili_box .bilibili_cover span {
156
- position: absolute;
157
- bottom: 0;
158
- right: 5px;
159
- color: #fff;
160
- }
161
-
162
- #article-container .bilibili_box .bilibili_info {
163
- padding: 10px 10px 10px 18px;
164
- width: calc(100% - 200px);
165
- display: -webkit-box;
166
- display: -moz-box;
167
- display: -webkit-flex;
168
- display: -ms-flexbox;
169
- display: flex;
170
- -webkit-box-orient: vertical;
171
- -moz-box-orient: vertical;
172
- -o-box-orient: vertical;
173
- -webkit-flex-direction: column;
174
- -ms-flex-direction: column;
175
- flex-direction: column;
176
- -webkit-box-pack: distribute;
177
- -moz-box-pack: distribute;
178
- -o-box-pack: distribute;
179
- -ms-flex-pack: distribute;
180
- -webkit-justify-content: space-around;
181
- justify-content: space-around
182
- }
183
-
184
- @media screen and (max-width: 768px) {
185
- #article-container .bilibili_box .bilibili_info {
186
- width: 100%;
187
- padding-bottom: 25px
188
- }
189
- }
190
-
191
- #article-container .bilibili_box .bilibili_info .title {
192
- font-size: 1.2rem;
193
- font-weight: 700;
194
- white-space: nowrap;
195
- overflow: hidden;
196
- -o-text-overflow: ellipsis;
197
- text-overflow: ellipsis;
198
- line-height: 1.7
199
- }
200
-
201
- #article-container .bilibili_box .bilibili_info .stat {
202
- font-size: 15px
203
- }
204
-
205
- #article-container .bilibili_box .bilibili_info .stat svg {
206
- margin-right: 3px;
207
- font-size: 18px;
208
- vertical-align: -0.15em;
209
- }
210
-
211
- #article-container .bilibili_box .bilibili_info .stat svg path {
212
- fill: #99a9bf
213
- }
214
-
215
- #article-container .bilibili_box .bilibili_info .stat span {
216
- margin-right: 10px
217
- }
218
-
219
- #article-container .bilibili_box .bilibili_info .owner {
220
- display: -webkit-box;
221
- display: -moz-box;
222
- display: -webkit-flex;
223
- display: -ms-flexbox;
224
- display: flex;
225
- -webkit-box-align: center;
226
- -moz-box-align: center;
227
- -o-box-align: center;
228
- -ms-flex-align: center;
229
- -webkit-align-items: center;
230
- align-items: center;
231
- line-height: 1;
232
- font-size: 15px;
233
- margin-top: 3px
234
- }
235
-
236
- #article-container .bilibili_box .bilibili_info .owner .tip {
237
- color: #f69;
238
- border: 1px solid;
239
- padding: 4px 7px;
240
- font-size: 13px;
241
- border-radius: 5px;
242
- margin-right: 10px
243
- }
244
-
245
- #article-container .bilibili_box .bilibili_info .owner img {
246
- width: 25px;
247
- height: 25px;
248
- border-radius: 50% !important;
249
- object-fit: cover;
250
- margin: 0 5px 0 0 !important
251
- }
252
-
253
- [data-theme=dark] #article-container .bilibili_box .bilibili_cover,
254
- [data-theme=light] #article-container .bilibili_box .bilibili_info .stat svg {
255
- opacity: .8
256
- }
257
-
258
- /* 配置相册界面album的CSS */
259
- /* 相册顶部那一坨 */
260
- .author-content.author-content-item.album {
261
- height: 19rem;
262
- color: var(--sco-white);
263
- overflow: hidden;
264
- margin-top: 0;
265
- }
266
-
267
- /* 移动端那一坨 */
268
- @media screen and (max-width: 768px) {
269
- .author-content.author-content-item.album {
270
- height: 9rem;
271
- }
272
- }
273
-
274
- #album .card-album {
275
- width: 100%;
276
- display: flex;
277
- flex-wrap: wrap;
278
- justify-content: space-around;
279
- margin: var(--album-spacing-xxl) 0 0;
280
- }
281
-
282
- #album .card-album .album-content-nocover {
283
- width: calc(100% / 4 - 40px);
284
- }
285
-
286
- #album .card-album .card {
287
- list-style: none;
288
- position: relative;
289
- display: flex;
290
- width: calc(100% / 4 - 10px);
291
- padding: 10px;
292
- }
293
-
294
- #album .card-album .card:hover {
295
- cursor: pointer;
296
- }
297
-
298
- #album .card_cover {
299
- border-radius: var(--album-spacing-l);
300
- filter: brightness(0.75) saturate(1.2) contrast(0.85);
301
- transform-origin: center;
302
- transform: scale(1) translateZ(0);
303
- transition: filter 200ms linear, transform 200ms linear;
304
- max-width: 100%;
305
- overflow: hidden;
306
- height: 550px;
307
- width: 100%;
308
- max-width: 100%;
309
- object-fit: cover;
310
- border-radius: var(--album-spacing-l);
311
- }
312
-
313
- #album .card:hover .card_cover {
314
- transform: scale(1.05) translateZ(0);
315
- filter: brightness(0.9) saturate(1.2) contrast(1);
316
- }
317
-
318
- #album .card-album:hover > .card:not(:hover) .card_cover {
319
- filter: brightness(0.5) saturate(0.9) contrast(1.2) blur(20px);
320
- }
321
-
322
- #album .card__content {
323
- left: 0;
324
- padding: var(--album-spacing-l);
325
- position: absolute;
326
- top: 0;
327
- }
328
-
329
- #album .card__category {
330
- color: var(--album-text-light);
331
- font-size: 0.9rem;
332
- margin-bottom: var(--album-spacing-s);
333
- text-transform: uppercase;
334
- }
335
-
336
- #album .card__heading {
337
- color: var(--album-text-lighter);
338
- font-size: 1.9rem;
339
- text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
340
- line-height: 1.4;
341
- word-spacing: 100vw;
342
- }
343
-
344
- @media (min-width: 1300px) {
345
- #album img.card_cover {
346
- height: 600px;
347
- }
348
- }
349
-
350
- @media (max-width: 960px) {
351
- #album .card-album .card {
352
- width: calc(100% / 2 - 40px);
353
- }
354
- }
355
-
356
- @media (max-width: 540px) {
357
- #album .card-album .card {
358
- width: calc(100%);
359
- }
360
- }
361
-
362
- /* 配置相册界面album_detail的CSS */
363
- /* 处理页面样式 */
364
- #album_detail .album-container-img {
365
- display: flex;
366
- align-items: center;
367
- justify-content: space-around;
368
- width: 100%;
369
- height: 100%;
370
- flex-wrap: wrap;
371
- margin-bottom: 0.3rem;
372
- }
373
-
374
- #album_detail .album-container-img .album-content-noimg {
375
- width: calc(100% / 2 - 5px);
376
- }
377
-
378
- #album_detail .album-container-img img {
379
- object-fit: cover;
380
- max-width: 100%;
381
- max-height: 150px;
382
- border-radius: 12px;
383
- margin: 0 10px 0 0;
384
- }
385
-
386
- #album_detail .album-container-img {
387
- height: 100%;
388
- border-radius: 12px;
389
- overflow: hidden;
390
- display: flex;
391
- justify-content: flex-start;
392
- position: relative;
393
- }
394
-
395
- #album_detail .album-content .datacont {
396
- order: 0;
397
- font-size: 0.8rem;
398
- font-weight: 700;
399
- color: var(--sco-fontcolor);
400
- width: 100%;
401
- line-height: 1.38;
402
- border-radius: 12px;
403
- margin-bottom: 0.5rem;
404
- display: flex;
405
- flex-direction: column;
406
- text-align: justify;
407
- }
408
-
409
- #album_detail p {
410
- margin: 0;
411
- }
412
-
413
- #album_detail div.album-content {
414
- display: flex;
415
- flex-flow: wrap;
416
- border-radius: 12px;
417
- width: 100%;
418
- height: 100%;
419
- }
420
-
421
- #album_detail .timeline ul li.album-item {
422
- position: relative;
423
- width: 32%;
424
- border: var(--style-border-always);
425
- border-radius: 12px;
426
- padding: 1rem 1rem 0.5rem;
427
- transition: all 0.3s ease 0s;
428
- display: flex;
429
- flex-flow: column nowrap;
430
- justify-content: start;
431
- align-items: flex-start;
432
- background: var(--sco-card-bg);
433
- box-shadow: var(--sco-shadow-border);
434
- margin-right: 2%;
435
- }
436
-
437
- #album_detail .timeline #waterfall.show {
438
- opacity: 1;
439
- }
440
-
441
- #album_detail .timeline #waterfall {
442
- opacity: 0;
443
- transition: all 0.3s ease 0s;
444
- }
445
-
446
- #album_detail ul.list {
447
- display: flex;
448
- flex-flow: row wrap;
449
- justify-content: space-between;
450
- }
451
-
452
- #album_detail {
453
- margin-top: 1rem;
454
- width: 100%;
455
- }
456
-
457
- #album_detail > section > ul > li.album-item {
458
- margin-bottom: 1rem;
459
- }
460
-
461
- #album-tips {
462
- font-size: 14px;
463
- display: flex;
464
- justify-content: center;
465
- margin-top: 1rem;
466
- }
467
-
468
- #album_detail .timeline ul li.album-item hr {
469
- display: flex;
470
- position: relative;
471
- margin: 8px 0px;
472
- border: 1px dashed var(--sco-theme-op);
473
- width: 100%;
474
- }
475
-
476
- #album_detail .album-info {
477
- display: flex;
478
- align-items: center;
479
- }
480
-
481
- #album_detail > section > ul > li > div .album-info-time,
482
- #album_detail > section > ul > li > div .album-info-address,
483
- #album_detail > section > ul > li > div .album-info-from {
484
- color: var(--sco-fontcolor);
485
- font-size: 0.7rem;
486
- background-color: var(--sco-gray-op);
487
- padding: 0 8px;
488
- border-radius: 20px;
489
- cursor: default;
490
- display: flex;
491
- align-items: center;
492
- }
493
-
494
- #album_detail > section > ul > li > div .album-info-address,
495
- #album_detail > section > ul > li > div .album-info-from {
496
- margin-left: 4px;
497
- }
498
-
499
- #album_detail > section > ul > li > div .album-info-address span,
500
- #album_detail > section > ul > li > div .album-info-from span {
501
- margin-left: 4px;
502
- }
503
-
504
- #album_detail .album-info .fa-brands.fa-instagram {
505
- margin-right: 8px;
506
- }
507
-
508
- #album_detail .album-bottom {
509
- display: flex;
510
- justify-content: space-between;
511
- width: 100%;
512
- margin-top: 10px;
513
- }
514
-
515
- #album_detail .album-bottom .album-reply {
516
- cursor: pointer;
517
- }
518
-
519
- #album_detail .timeline ul li.album-item:hover {
520
- border: var(--style-border-hover);
521
- }
522
-
523
- #album_detail .album-content-link {
524
- display: flex;
525
- margin-left: 0.5rem;
526
- font-size: 0.7rem;
527
- align-items: center;
528
- background-color: rgba(245, 108, 108, 0.13);
529
- color: rgb(245, 108, 108);
530
- padding: 0 8px;
531
- border-radius: 20px;
532
- }
533
-
534
- #album_detail .album-content-link i {
535
- margin-right: 3px;
536
- }
537
-
538
- #album_detail .album-content-link:hover {
539
- background-color: var(--sco-main);
540
- color: var(--sco-white);
541
- }
542
-
543
- body[data-type="album_detail"] #page .author-content-item .card-content .banner-button-group .banner-button:hover {
544
- color: var(--sco-white);
545
- border-radius: 20px !important;
546
- }
547
-
548
- /* 响应式 */
549
- @media screen and (max-width: 1300px) {
550
- #album_detail .timeline ul li.album-item {
551
- width: 49%;
552
- margin-right: 1%;
553
- }
554
- }
555
-
556
- @media screen and (max-width: 768px) {
557
- #album_detail .timeline ul li.album-item {
558
- width: 100%;
559
- margin-right: 0;
560
- }
561
- }
562
-
563
- /* 我的装备 */
564
- .equipment-item-content {
565
- display: flex;
566
- flex-direction: row;
567
- flex-wrap: wrap;
568
- margin: 0 -8px;
569
- }
570
-
571
- .equipment-item-content-item {
572
- width: calc(25% - 12px);
573
- border-radius: 12px;
574
- border: var(--style-border-always);
575
- overflow: hidden;
576
- margin: 8px 6px;
577
- background: var(--sco-card-bg);
578
- box-shadow: var(--sco-shadow-border);
579
- min-height: 400px;
580
- position: relative;
581
- }
582
-
583
- @media screen and (max-width: 1200px) {
584
- .equipment-item-content-item {
585
- width: calc(50% - 12px);
586
- }
587
- }
588
-
589
- @media screen and (max-width: 768px) {
590
- .equipment-item-content-item {
591
- width: 100%;
592
- }
593
- }
594
-
595
- .equipment-item-content-item-info {
596
- padding: 8px 16px 16px 16px;
597
- margin-top: 12px;
598
- }
599
-
600
- .equipment-item-content-item-name {
601
- font-size: 18px;
602
- font-weight: bold;
603
- line-height: 1;
604
- margin-bottom: 8px;
605
- white-space: nowrap;
606
- overflow: hidden;
607
- text-overflow: ellipsis;
608
- width: fit-content;
609
- }
610
-
611
- .equipment-item-content-item-specification {
612
- font-size: 12px;
613
- color: var(--sco-secondtext);
614
- line-height: 1;
615
- margin-bottom: 12px;
616
- white-space: nowrap;
617
- overflow: hidden;
618
- text-overflow: ellipsis;
619
- }
620
-
621
- .equipment-item-content-item-description {
622
- line-height: 20px;
623
- color: var(--sco-secondtext);
624
- height: 60px;
625
- display: -webkit-box;
626
- overflow: hidden;
627
- -webkit-line-clamp: 3;
628
- -webkit-box-orient: vertical;
629
- font-size: 14px;
630
- }
631
-
632
- a.equipment-item-content-item-link {
633
- font-size: 12px;
634
- background: var(--sco-gray-op);
635
- padding: 4px 8px;
636
- border-radius: 8px;
637
- cursor: pointer;
638
- }
639
-
640
- a.equipment-item-content-item-link:hover {
641
- background: var(--sco-main);
642
- color: var(--sco-white);
643
- }
644
-
645
- h2.equipment-item-title {
646
- line-height: 1;
647
- }
648
-
649
- .equipment-item-description {
650
- line-height: 1;
651
- margin: 4px 0 8px 0;
652
- color: var(--sco-secondtext);
653
- }
654
-
655
- .equipment-item-content-item-cover {
656
- width: 100%;
657
- height: 200px;
658
- background: var(--sco-secondbg);
659
- display: flex;
660
- justify-content: center;
661
- }
662
-
663
- img.equipment-item-content-item-image {
664
- object-fit: cover;
665
- height: 100%;
666
- }
667
-
668
- div#equipment {
669
- margin-top: 26px;
670
- }
671
-
672
- .equipment-item-content-item-toolbar {
673
- display: flex;
674
- justify-content: space-between;
675
- position: absolute;
676
- bottom: 12px;
677
- left: 0;
678
- width: 100%;
679
- padding: 0 16px;
680
- }
681
-
682
- a.bber-reply {
683
- cursor: pointer;
684
- }
685
-
686
- /*
687
- * twikoo
688
- */
689
-
690
- .tk-footer {
691
- display: none;
692
- }
693
-
694
-
695
- /* TAG Link */
696
-
697
- #post a.link-card {
698
- text-decoration: none;
699
- margin: 0.2rem auto;
700
- background: var(--tab-botton-bg);
701
- display: -ms-inline-flexbox;
702
- display: inline-flex;
703
- -ms-flex-align: center;
704
- align-items: center;
705
- cursor: pointer;
706
- text-align: left;
707
- font-size: 0.575rem;
708
- min-width: 200px;
709
- max-width: 361px;
710
- color: var(--tab-botton-color);
711
- border-radius: 8px;
712
- }
713
-
714
- @media screen and (max-width: 425px) {
715
- #post a.link-card {
716
- max-width: 100%;
717
- }
718
- }
719
-
720
- @media screen and (max-width: 375px) {
721
- #post a.link-card {
722
- width: 100%;
723
- }
724
- }
725
-
726
- #post a.link-card:hover {
727
- box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.1);
728
- }
729
-
730
- #post a.link-card div.left,
731
- #post a.link-card div.right {
732
- pointer-events: none;
733
- }
734
-
735
- #post a.link-card div.left {
736
- width: 48px;
737
- height: 48px;
738
- margin: 12px;
739
- overflow: hidden;
740
- -ms-flex-negative: 0;
741
- flex-shrink: 0;
742
- position: relative;
743
- }
744
-
745
- #post a.link-card div.left i {
746
- font-size: 32px;
747
- line-height: 48px;
748
- margin-left: 4px;
749
- }
750
-
751
- #post a.link-card div.left img {
752
- display: block;
753
- position: absolute;
754
- border-radius: 8px;
755
- top: 50%;
756
- left: 50%;
757
- transform: translate(-50%, -50%);
758
- }
759
-
760
- #post a.link-card div.right {
761
- overflow: hidden;
762
- margin-right: 12px;
763
- }
764
-
765
- #post a.link-card p {
766
- margin: 0;
767
- white-space: nowrap;
768
- overflow: hidden;
769
- text-overflow: ellipsis;
770
- }
771
-
772
- #post a.link-card p.text {
773
- font-weight: bold;
774
- }
775
-
776
- #post a.link-card p.url {
777
- -ms-flex-negative: 0;
778
- flex-shrink: 0;
779
- color: var(--search-input-color);
780
- font-size: 0.7125rem;
781
- }
782
-
783
-
784
- /* TAG 时间线 */
785
- span.p.h2,
786
- p.p.h2 {
787
- font-size: 1.375rem;
788
- color: var(--sco-fontcolor);
789
- padding-top: 0.8rem;
790
- border-bottom: 1px solid var(--hr-border);
791
- }
792
-
793
- div.timenode {
794
- position: relative;
795
- }
796
-
797
- div.timenode:before,
798
- div.timenode:after {
799
- content: "";
800
- z-index: 1;
801
- position: absolute;
802
- background: var(--sco-theme);
803
- width: 2px;
804
- left: 7px;
805
- }
806
-
807
- div.timenode:before {
808
- top: 0px;
809
- height: 6px;
810
- }
811
-
812
- div.timenode:after {
813
- top: 26px;
814
- height: 100%;
815
- }
816
-
817
- div.timenode:last-child:after {
818
- height: calc(100% - 26px - 16px);
819
- border-bottom-left-radius: 2px;
820
- border-bottom-right-radius: 2px;
821
- }
822
-
823
- div.timenode .meta {
824
- position: relative;
825
- color: var(--tab-botton-color);
826
- font-size: 0.375rem;
827
- line-height: 32px;
828
- height: 32px;
829
- left: 27px;
830
- }
831
-
832
- div.timenode .meta:before,
833
- div.timenode .meta:after {
834
- content: "";
835
- position: absolute;
836
- top: 8px;
837
- z-index: 2;
838
- left: -27px;
839
- }
840
-
841
- div.timenode .meta:before {
842
- background: var(--sco-theme);
843
- width: 16px;
844
- height: 16px;
845
- border-radius: 8px;
846
- }
847
-
848
- div.timenode .meta:after {
849
- background: var(--sco-theme);
850
- margin-left: 2px;
851
- margin-top: 2px;
852
- width: 12px;
853
- height: 12px;
854
- border-radius: 6px;
855
- transform: scale(0.5);
856
- transition: all 0.28s ease;
857
- -moz-transition: all 0.28s ease;
858
- -webkit-transition: all 0.28s ease;
859
- -o-transition: all 0.28s ease;
860
- }
861
-
862
- div.timenode .meta p {
863
- font-weight: bold;
864
- margin: 0 0 0 24px;
865
- }
866
-
867
- div.timenode .body {
868
- margin: 4px 0 16px 24px;
869
- padding: 16px;
870
- border-radius: 8px;
871
- background: var(--blockquote-bg);
872
- }
873
-
874
- div.timenode .body p:first-child {
875
- margin-top: 0;
876
- }
877
-
878
- div.timenode .body p:last-child {
879
- margin-bottom: 0;
880
- }
881
-
882
- div.timenode:hover .meta {
883
- color: var(--sco-theme);
884
- }
885
-
886
- div.timenode:hover .meta:before {
887
- background: rgba(255, 87, 34, 0.5);
888
- }
889
-
890
- div.timenode:hover .meta:after {
891
- background: #ff5722;
892
- transform: scale(1);
893
- }
894
-
895
- /*
896
- * home list
897
- */
898
- .recent-post-item .recent-post-info .recent-post-info-top #post-list-tips {
899
- font-size: 15px;
900
- color: #555535;
901
- }