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.
Files changed (263) hide show
  1. package/CONTRIBUTING.md +41 -0
  2. package/README.md +8 -8
  3. package/README_EN.md +6 -6
  4. package/_config.yml +502 -297
  5. package/languages/en-US.yml +105 -8
  6. package/languages/zh-CN.yml +98 -1
  7. package/layout/archive.pug +4 -5
  8. package/layout/category.pug +4 -5
  9. package/layout/includes/body/mode.pug +40 -0
  10. package/layout/includes/console.pug +15 -16
  11. package/layout/includes/footer.pug +26 -28
  12. package/layout/includes/head/config.pug +27 -8
  13. package/layout/includes/head/fest.pug +22 -0
  14. package/layout/includes/head/opengraph.pug +11 -0
  15. package/layout/includes/head.pug +1 -3
  16. package/layout/includes/header.pug +1 -1
  17. package/layout/includes/inject/body.pug +36 -13
  18. package/layout/includes/inject/head.pug +30 -20
  19. package/layout/includes/layout.pug +12 -8
  20. package/layout/includes/loading.pug +1 -64
  21. package/layout/includes/mixins/articleSort.pug +4 -4
  22. package/layout/includes/mixins/pagination.pug +1 -1
  23. package/layout/includes/nav.pug +10 -10
  24. package/layout/includes/page/about.pug +1 -0
  25. package/layout/includes/page/categories.pug +3 -3
  26. package/layout/includes/page/default.pug +1 -1
  27. package/layout/includes/page/echarts.pug +3 -3
  28. package/layout/includes/page/equipment.pug +0 -1
  29. package/layout/includes/page/links.pug +5 -26
  30. package/layout/includes/page/moments.pug +0 -1
  31. package/layout/includes/page/music.pug +19 -0
  32. package/layout/includes/page/not_configured.pug +18 -0
  33. package/layout/includes/page/rss.pug +20 -22
  34. package/layout/includes/page/says.pug +1 -2
  35. package/layout/includes/page/tags.pug +3 -3
  36. package/layout/includes/page/tlink.pug +0 -1
  37. package/layout/includes/sidebar.pug +7 -7
  38. package/layout/includes/widgets/aside/aside.pug +13 -1
  39. package/layout/includes/widgets/aside/asideArchive.pug +5 -3
  40. package/layout/includes/widgets/aside/asideCustom.pug +6 -0
  41. package/layout/includes/widgets/aside/asideHistory.pug +3 -3
  42. package/layout/includes/widgets/aside/asideInfoCard.pug +4 -6
  43. package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
  44. package/layout/includes/widgets/aside/asideSwitch.pug +0 -11
  45. package/layout/includes/widgets/aside/asideTag.pug +2 -2
  46. package/layout/includes/widgets/aside/asideToc.pug +1 -1
  47. package/layout/includes/widgets/aside/asideWebInfo.pug +6 -6
  48. package/layout/includes/widgets/aside/asideWelcome.pug +1 -1
  49. package/layout/includes/widgets/home/banner.pug +2 -2
  50. package/layout/includes/widgets/home/bbTimeList.pug +3 -3
  51. package/layout/includes/widgets/home/categoryBar.pug +3 -3
  52. package/layout/includes/widgets/home/categoryGroup.pug +2 -2
  53. package/layout/includes/widgets/home/hometop.pug +7 -7
  54. package/layout/includes/widgets/home/postList.pug +12 -8
  55. package/layout/includes/widgets/home/topGroup.pug +17 -13
  56. package/layout/includes/widgets/nav/left.pug +6 -6
  57. package/layout/includes/widgets/nav/menu.pug +4 -4
  58. package/layout/includes/widgets/nav/right.pug +14 -14
  59. package/layout/includes/widgets/page/about/authorinfo.pug +1 -1
  60. package/layout/includes/widgets/page/about/award.pug +11 -9
  61. package/layout/includes/widgets/page/about/contentinfo.pug +7 -7
  62. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  63. package/layout/includes/widgets/page/about/motto.pug +2 -2
  64. package/layout/includes/widgets/page/about/other.pug +10 -9
  65. package/layout/includes/widgets/page/about/personalities.pug +2 -2
  66. package/layout/includes/widgets/page/about/skillsinfo.pug +10 -12
  67. package/layout/includes/widgets/page/about/tenyear.pug +48 -0
  68. package/layout/includes/widgets/page/banner.pug +2 -2
  69. package/layout/includes/widgets/page/links/banner.pug +12 -14
  70. package/layout/includes/widgets/page/links/linksItem.pug +0 -1
  71. package/layout/includes/widgets/page/moments/angle.pug +7 -12
  72. package/layout/includes/widgets/page/moments/index.pug +7 -2
  73. package/layout/includes/widgets/post/award.pug +12 -8
  74. package/layout/includes/widgets/post/copyright.pug +16 -14
  75. package/layout/includes/widgets/post/postMeta.pug +36 -25
  76. package/layout/includes/widgets/post/postNav.pug +15 -15
  77. package/layout/includes/widgets/randomlink.pug +10 -5
  78. package/layout/includes/widgets/rightside/index.pug +9 -8
  79. package/layout/includes/widgets/third-party/ai/index.pug +12 -0
  80. package/layout/includes/widgets/third-party/comments/comment.pug +6 -1
  81. package/layout/includes/widgets/third-party/comments/twikoo.pug +5 -4
  82. package/layout/includes/widgets/third-party/comments/waline.pug +4 -5
  83. package/layout/includes/widgets/third-party/music.pug +1 -1
  84. package/layout/includes/widgets/third-party/pjax.pug +6 -1
  85. package/layout/includes/widgets/third-party/search/algolia-search.pug +4 -3
  86. package/layout/includes/widgets/third-party/search/index.pug +2 -2
  87. package/layout/includes/widgets/third-party/search/local-search.pug +3 -3
  88. package/layout/index.pug +5 -6
  89. package/layout/page.pug +34 -29
  90. package/layout/post.pug +3 -23
  91. package/layout/tag.pug +3 -3
  92. package/package.json +2 -2
  93. package/scripts/filter/checkThemeConfig.js +0 -5
  94. package/scripts/helper/cdn.js +12 -0
  95. package/scripts/helper/page.js +13 -0
  96. package/scripts/helper/related_post.js +0 -1
  97. package/scripts/tags/button.js +21 -0
  98. package/scripts/tags/card.js +9 -0
  99. package/scripts/tags/checkbox.js +51 -0
  100. package/scripts/tags/fold.js +0 -5
  101. package/scripts/tags/image.js +75 -0
  102. package/scripts/tags/inline-image.js +12 -0
  103. package/scripts/tags/label.js +10 -0
  104. package/scripts/tags/link.js +2 -0
  105. package/scripts/tags/media.js +29 -0
  106. package/scripts/tags/span.js +17 -0
  107. package/scripts/tags/timeline.js +2 -15
  108. package/scripts/tags/u.js +7 -0
  109. package/source/css/_global/animation.css +57 -0
  110. package/source/css/_global/index.styl +5 -20
  111. package/source/css/_global/var.styl +16 -1
  112. package/source/css/_layout/{base.styl → basic.styl} +24 -116
  113. package/source/css/_layout/header.styl +204 -616
  114. package/source/css/_layout/index.styl +29 -271
  115. package/source/css/_mode/index.styl +102 -93
  116. package/source/css/_page/_home/category-bar.styl +74 -0
  117. package/source/css/_page/_home/home-top.styl +541 -0
  118. package/source/css/_page/_home/index.styl +15 -0
  119. package/source/css/_page/_home/pagination.styl +176 -0
  120. package/source/css/_page/_home/recent-post.styl +204 -0
  121. package/source/css/_page/about/index.styl +1 -0
  122. package/source/css/_page/about/tenyear.styl +56 -0
  123. package/source/css/_page/about.styl +555 -626
  124. package/source/css/_page/category.styl +95 -119
  125. package/source/css/_page/douban.styl +126 -0
  126. package/source/css/_page/equipment.styl +100 -99
  127. package/source/css/_page/error.styl +130 -146
  128. package/source/css/_page/home.styl +41 -50
  129. package/source/css/_page/index.styl +42 -10
  130. package/source/css/_page/links.styl +306 -0
  131. package/source/css/_page/moment.styl +51 -51
  132. package/source/css/_page/music.styl +506 -0
  133. package/source/css/_page/rss.styl +62 -67
  134. package/source/css/_page/says.styl +375 -344
  135. package/source/css/_page/tag.styl +15 -13
  136. package/source/css/_widgets/{aside → _aside}/flip.styl +7 -5
  137. package/source/css/_widgets/{aside → _aside}/history.styl +9 -2
  138. package/source/css/_widgets/_aside/index.styl +96 -0
  139. package/source/css/_widgets/{aside → _aside}/info.styl +86 -89
  140. package/source/css/_widgets/{aside → _aside}/newPost.styl +7 -1
  141. package/source/css/_widgets/{aside → _aside}/toc.styl +28 -5
  142. package/source/css/_widgets/{comment → _comment}/index.styl +4 -12
  143. package/source/css/_widgets/{comment → _comment}/twikoo.styl +5 -2
  144. package/source/css/_widgets/{comment → _comment}/waline.styl +21 -5
  145. package/source/css/{_extra → _widgets/_extra}/console.styl +33 -10
  146. package/source/css/_widgets/_extra/fullpage.styl +46 -0
  147. package/source/css/_widgets/_extra/music.styl +218 -0
  148. package/source/css/_widgets/_extra/pace.styl +39 -0
  149. package/source/css/_widgets/_extra/rightmenu.styl +78 -0
  150. package/source/css/_widgets/_mixins/article-sort.styl +93 -0
  151. package/source/css/_widgets/_mixins/footer.styl +273 -0
  152. package/source/css/_widgets/_mixins/other.styl +34 -0
  153. package/source/css/_widgets/_mixins/sidebar.styl +230 -0
  154. package/source/css/_widgets/_post/_highlight/diff.styl +75 -0
  155. package/source/css/_widgets/_post/_highlight/index.styl +144 -0
  156. package/source/css/_widgets/_post/_highlight/theme/default.styl +12 -0
  157. package/source/css/_widgets/_post/_highlight/theme/mac.styl +25 -0
  158. package/source/css/_widgets/_post/_highlight/theme.styl +68 -0
  159. package/source/css/_widgets/_post/commentBarrage.styl +144 -0
  160. package/source/css/_widgets/_post/content.styl +152 -0
  161. package/source/css/_widgets/_post/copyright.styl +98 -0
  162. package/source/css/_widgets/_post/index.styl +20 -0
  163. package/source/css/_widgets/_post/meta.styl +420 -0
  164. package/source/css/_widgets/_post/pagination.styl +177 -0
  165. package/source/css/_widgets/_post/postAI.styl +131 -0
  166. package/source/css/{_post → _widgets/_post}/relatedPost.styl +4 -1
  167. package/source/css/_widgets/_post/tools.styl +249 -0
  168. package/source/css/{_search → _widgets/_search}/algolia-search.styl +4 -0
  169. package/source/css/{_search → _widgets/_search}/local-search.styl +15 -5
  170. package/source/css/_widgets/_tags/button.styl +60 -0
  171. package/source/css/_widgets/_tags/bvideo.styl +8 -0
  172. package/source/css/_widgets/_tags/card.styl +52 -0
  173. package/source/css/_widgets/_tags/checkbox.styl +85 -0
  174. package/source/css/_widgets/_tags/fold.styl +79 -0
  175. package/source/css/_widgets/_tags/image.styl +10 -0
  176. package/source/css/_widgets/_tags/index.styl +61 -0
  177. package/source/css/_widgets/_tags/inline-image.styl +6 -0
  178. package/source/css/_widgets/_tags/label.styl +3 -0
  179. package/source/css/_widgets/_tags/link.styl +80 -0
  180. package/source/css/_widgets/_tags/note.styl +101 -0
  181. package/source/css/_widgets/_tags/span.styl +61 -0
  182. package/source/css/_widgets/_tags/tabs.styl +105 -0
  183. package/source/css/_widgets/_tags/timeline.styl +80 -0
  184. package/source/css/_widgets/index.styl +50 -1
  185. package/source/css/index.styl +0 -25
  186. package/source/js/{commentBarrage.js → extend/comment/twikoo/commentBarrage.js} +0 -4
  187. package/source/js/extend/comment/{twikoo.js → twikoo/twikoo.js} +12 -40
  188. package/source/js/extend/comment/waline/commentBarrage.js +155 -0
  189. package/source/js/extend/comment/{waline.js → waline/waline.js} +10 -11
  190. package/source/js/extend/search/algolia-search.js +1 -5
  191. package/source/js/extend/search/local-search.js +33 -13
  192. package/source/js/main.js +135 -171
  193. package/source/js/music.js +129 -0
  194. package/source/js/utils.js +4 -7
  195. package/source/lib/cover-color.min.js +7 -0
  196. package/source/lib/rightside.min.js +1 -0
  197. package/source/lib/sco-ai.min.js +8 -0
  198. package/source/lib/snackbar.min.css +1 -1
  199. package/source/lib/txmap.min.js +1 -0
  200. package/source/lib/universe.min.js +1 -0
  201. package/source/lib/view-image.min.js +1 -1
  202. package/layout/includes/widgets/aside/asidePower.pug +0 -19
  203. package/layout/includes/widgets/home/rencentPost.pug +0 -26
  204. package/source/css/_extra/rightmenu.styl +0 -83
  205. package/source/css/_layout/articleSort.styl +0 -199
  206. package/source/css/_layout/footer.styl +0 -359
  207. package/source/css/_layout/sidebar.styl +0 -226
  208. package/source/css/_page/homeTop.styl +0 -1035
  209. package/source/css/_page/link.styl +0 -433
  210. package/source/css/_post/commentBarrage.styl +0 -149
  211. package/source/css/_post/externalTags.styl +0 -694
  212. package/source/css/_post/highlight.styl +0 -96
  213. package/source/css/_post/index.styl +0 -935
  214. package/source/css/_post/pagination.styl +0 -467
  215. package/source/css/_post/postContent.styl +0 -957
  216. package/source/css/_post/reward.styl +0 -217
  217. package/source/css/_widgets/aside/index.styl +0 -156
  218. package/source/css/_widgets/aside/power.styl +0 -90
  219. package/source/img/logo-horizontal_version.png +0 -0
  220. package/source/img/pwa/16.png +0 -0
  221. package/source/img/pwa/180.png +0 -0
  222. package/source/img/pwa/192.png +0 -0
  223. package/source/img/pwa/32.png +0 -0
  224. package/source/img/pwa/512.png +0 -0
  225. package/source/img/pwa/logo.png +0 -0
  226. package/source/img/pwa/siteicon/splash-1125x2436.png +0 -0
  227. package/source/img/pwa/siteicon/splash-1136x640.png +0 -0
  228. package/source/img/pwa/siteicon/splash-1170x2532.png +0 -0
  229. package/source/img/pwa/siteicon/splash-1179x2556.png +0 -0
  230. package/source/img/pwa/siteicon/splash-1242x2208.png +0 -0
  231. package/source/img/pwa/siteicon/splash-1242x2688.png +0 -0
  232. package/source/img/pwa/siteicon/splash-1248x2778.png +0 -0
  233. package/source/img/pwa/siteicon/splash-1290x2796.png +0 -0
  234. package/source/img/pwa/siteicon/splash-1334x750.png +0 -0
  235. package/source/img/pwa/siteicon/splash-1536x2048.png +0 -0
  236. package/source/img/pwa/siteicon/splash-1620x2160.png +0 -0
  237. package/source/img/pwa/siteicon/splash-1668x2224.png +0 -0
  238. package/source/img/pwa/siteicon/splash-1668x2388.png +0 -0
  239. package/source/img/pwa/siteicon/splash-1792x828.png +0 -0
  240. package/source/img/pwa/siteicon/splash-2048x1536.png +0 -0
  241. package/source/img/pwa/siteicon/splash-2048x2732.png +0 -0
  242. package/source/img/pwa/siteicon/splash-2160x1620.png +0 -0
  243. package/source/img/pwa/siteicon/splash-2208x1242.png +0 -0
  244. package/source/img/pwa/siteicon/splash-2224x1668.png +0 -0
  245. package/source/img/pwa/siteicon/splash-2388x1668.png +0 -0
  246. package/source/img/pwa/siteicon/splash-2436x1125.png +0 -0
  247. package/source/img/pwa/siteicon/splash-2532x1170.png +0 -0
  248. package/source/img/pwa/siteicon/splash-2556x1179.png +0 -0
  249. package/source/img/pwa/siteicon/splash-2688x1242.png +0 -0
  250. package/source/img/pwa/siteicon/splash-2732x2048.png +0 -0
  251. package/source/img/pwa/siteicon/splash-2778x1248.png +0 -0
  252. package/source/img/pwa/siteicon/splash-2796x1290.png +0 -0
  253. package/source/img/pwa/siteicon/splash-640x1136.png +0 -0
  254. package/source/img/pwa/siteicon/splash-750x1334.png +0 -0
  255. package/source/img/pwa/siteicon/splash-828x1792.png +0 -0
  256. package/source/img/solitude-show.jpg +0 -0
  257. package/source/js/extend/covercolor/local.js +0 -160
  258. package/source/js/rightside.js +0 -402
  259. package/source/js/txmap.js +0 -236
  260. package/source/lib/chuckle-post-ai.js +0 -1
  261. /package/source/css/_widgets/{aside → _aside}/allinfo.styl +0 -0
  262. /package/source/css/_widgets/{aside → _aside}/welcome.styl +0 -0
  263. /package/source/img/{theme/avatar.png → avatar.png} +0 -0
@@ -1,433 +0,0 @@
1
- // link and tlink
2
- .flink#article-container
3
- .flink-desc
4
- margin .2rem 0 .5rem
5
-
6
- .flink-list
7
- overflow auto
8
- padding 10px 10px 0
9
- text-align center
10
-
11
- > .flink-list-item
12
- position relative
13
- float left
14
- overflow hidden
15
- margin 15px 7px
16
- width calc(25% - 12px)
17
- height 90px
18
- border-radius 5px
19
- line-height 17px
20
- transform translateZ(0)
21
- transition all .3s ease 0s
22
-
23
- &:hover
24
- background #006cf2
25
- transform scale(1.05)
26
-
27
- a
28
- color var(--sco-fontcolor)
29
- text-decoration none
30
-
31
- img
32
- float left
33
- margin 15px 10px
34
- width 60px
35
- height 60px
36
- border-radius 35px
37
- transition all .3s ease 0s
38
-
39
- .img-alt
40
- display none
41
-
42
- .flink-item-name
43
- display block
44
- padding 0 10px 0 0
45
- font-weight 700
46
- font-size 1.43em
47
- max-width calc(100% - 12px)
48
- overflow hidden
49
- text-overflow ellipsis
50
- white-space nowrap
51
-
52
- .flink-item-desc
53
- display block
54
- padding 4px 10px 0 0
55
- height 50px
56
- font-size .93em
57
-
58
- &.mini
59
- > .flink-list-item
60
- height 60px
61
-
62
- a
63
- img
64
- width 30px
65
- height 30px
66
- min-width 30px
67
- min-height 30px
68
-
69
- @media screen and (max-width: 1200px)
70
- .flink#article-container .flink-list > .flink-list-item
71
- width calc(25% - 12px) !important
72
-
73
- +maxWidth1024()
74
- .flink#article-container .flink-list > .flink-list-item
75
- width calc(33.3333% - 12px) !important
76
-
77
- +maxWidth768()
78
- .flink#article-container .flink-list > .flink-list-item
79
- width calc(50% - 12px) !important
80
-
81
- +maxWidth600()
82
- .flink#article-container .flink-list > .flink-list-item
83
- width calc(100% - 12px) !important
84
-
85
-
86
- .flink#article-container
87
- .flink-list.mini
88
- > .flink-list-item a .flink-item-desc
89
- display none
90
-
91
- .site-card-group
92
- display flex
93
- flex-wrap wrap
94
- justify-content flex-start
95
- margin -8px
96
- align-items stretch
97
-
98
- .site-card
99
- margin 8px
100
- width calc(20% - 16px)
101
- display block
102
- line-height 1.4
103
- height 100%
104
-
105
- .img
106
- width 100%
107
- height 120px
108
- overflow hidden
109
- border-radius 12px 12px 0 0
110
- background #f6f6f6
111
- transition all .3s ease 0s
112
-
113
- img
114
- width 100%
115
- height 100%
116
- transition transform 2s ease 0s
117
- object-fit cover
118
-
119
- .info
120
- margin-top 8px
121
-
122
- img
123
- width 32px
124
- height 32px
125
- border-radius 16px
126
- float left
127
- margin-right 8px
128
- margin-top 2px
129
-
130
- span
131
- display block
132
-
133
- .title
134
- font-weight 600
135
- color #444
136
- display -webkit-box
137
- overflow hidden
138
- -webkit-line-clamp 1
139
- transition all .3s ease 0s
140
-
141
- .desc
142
- overflow-wrap break-word
143
- line-height 1.2
144
- color #888
145
- display -webkit-box
146
- -webkit-box-orient vertical
147
- overflow hidden
148
- -webkit-line-clamp 2
149
-
150
- .img-alt
151
- display none
152
-
153
- &:hover .info .title
154
- color #ff5722
155
-
156
- @media screen and (max-width: 1200px)
157
- .flink#article-container .site-card
158
- width calc(20% - 16px) !important
159
-
160
- +maxWidth1024()
161
- .flink#article-container .site-card
162
- width calc(25% - 16px) !important
163
-
164
- +maxWidth768()
165
- .flink#article-container .site-card
166
- width calc(33.3333% - 16px) !important
167
-
168
- +maxWidth600()
169
- .flink#article-container .site-card
170
- width calc(50% - 16px) !important
171
-
172
- @media screen and (max-width: 500px)
173
- .flink#article-container .site-card .img
174
- height 100px
175
-
176
- .flink#article-container
177
- .flink-list
178
- padding 0
179
- margin .5rem -6px 1rem -6px
180
- overflow-x hidden
181
-
182
- .flink-desc
183
- margin 0
184
- color var(--sco-secondtext)
185
-
186
- .flink-list > .flink-list-item a .flink-item-desc
187
- white-space normal
188
- padding 5px 10px 16px 0
189
- color var(--sco-fontcolor)
190
- text-align left
191
- height 40px
192
- text-overflow ellipsis
193
- opacity .7
194
- display -webkit-box
195
- overflow hidden
196
- -webkit-box-orient vertical
197
- -webkit-line-clamp 2
198
-
199
- .flink-list > .flink-list-item:hover a .flink-item-desc
200
- color var(--sco-white)
201
-
202
- .flink-list > .flink-list-item a .flink-item-name
203
- text-align left
204
- font-size 19px
205
- line-height 20px
206
- color var(--sco-fontcolor)
207
-
208
- .flink-list > .flink-list-item:hover a .flink-item-name
209
- color var(--sco-white)
210
-
211
- .flink-list > .flink-list-item a
212
- display flex
213
- border none
214
- width 100%
215
- height 100%
216
- align-items center
217
-
218
- .flink-list > .flink-list-item a:hover
219
- background 0 0
220
-
221
- .flink-list > .flink-list-item a img
222
- border-radius 32px
223
- margin 15px 20px 15px 15px
224
- transition .3s
225
- background var(--sco-background)
226
- min-width 60px
227
- min-height 60px
228
-
229
- .flink-list > .flink-list-item:hover a img
230
- transition .6s
231
- width 0
232
- height 0
233
- opacity 0
234
- margin .5rem
235
- min-width 0
236
- min-height 0
237
-
238
- .flink-list > .flink-list-item a span
239
- transition .3s
240
-
241
- .flink-list > .flink-list-item:hover a .flink-item-desc
242
- overflow hidden
243
- width 100%
244
-
245
- .flink-list > .flink-list-item
246
- margin 6px 6px
247
- transition .3s
248
- border-radius 12px
249
- transition-timing-function ease-in-out
250
- position relative
251
- width calc(20% - 12px)
252
- border var(--style-border)
253
- box-shadow var(--sco-shadow-border)
254
- background var(--sco-card-bg)
255
- display flex
256
-
257
- .flink-list-item
258
- .flink-item-info
259
- display flex
260
- flex-direction column
261
- justify-content center
262
- width calc(100% - 90px)
263
- height fit-content
264
-
265
- &:hover .flink-item-info
266
- min-width calc(100% - 20px)
267
-
268
-
269
- .flink#article-container
270
- .flink-list > .flink-list-item:hover
271
- transform scale(1)
272
- background var(--sco-theme)
273
- border var(--style-border-hover)
274
- box-shadow var(--sco-shadow-main)
275
-
276
- .site-card
277
- .info .title
278
- color var(--sco-fontcolor)
279
- text-align left
280
-
281
- &:hover .info .title
282
- color var(--sco-white)
283
-
284
- &:hover .info
285
- height 120px
286
-
287
- .site-card-text
288
- display flex
289
- flex-direction column
290
- align-items flex-start
291
-
292
- .info .desc
293
- font-size .7rem
294
- color var(--sco-fontcolor)
295
- opacity .7
296
- transition .3s
297
- text-align left
298
-
299
- &:hover .info .desc
300
- color var(--sco-white)
301
-
302
- border var(--style-border)
303
- border-radius 12px
304
- transition .3s
305
- transition-timing-function ease-in-out
306
- overflow hidden
307
- height 200px
308
- position relative
309
- width calc(100% / 7 - 16px)
310
- background var(--sco-card-bg)
311
- box-shadow var(--sco-shadow-border)
312
-
313
- &:hover .site-card-tag
314
- left -50px
315
-
316
- .info
317
- display flex
318
- border none
319
- padding .5rem
320
- width 100%
321
- height 90px
322
- margin 0
323
- border-radius 0 0 12px 12px
324
-
325
- .img img
326
- border-radius 0
327
- transform scale(1.03)
328
- transition .3s
329
- margin 0
330
- max-width 100%
331
-
332
- .site-card-tag
333
- position absolute
334
- top 0
335
- left 0
336
- padding 4px 8px
337
- background-color var(--sco-blue)
338
- box-shadow var(--sco-shadow-blue)
339
- color var(--sco-white)
340
- z-index 1
341
- border-radius 12px 0 12px 0
342
- transition .3s
343
- font-size .6rem
344
-
345
- &.vip
346
- background -moz-linear-gradient(38deg, #e5b085 0, #d48f16 100%)
347
- background -webkit-linear-gradient(38deg, #e5b085 0, #d48f16 100%)
348
- background linear-gradient(38deg, #e5b085 0, #d48f16 100%)
349
- overflow hidden
350
- box-shadow var(--sco-shadow-yellow)
351
-
352
- &.power
353
- background-color var(--sco-purple)
354
-
355
- &.speed
356
- background var(--sco-green)
357
- box-shadow var(--sco-shadow-green)
358
-
359
- .light
360
- cursor pointer
361
- position absolute
362
- top 0
363
- width 100px
364
- height 50px
365
- background-image -moz-linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0))
366
- background-image -webkit-linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0))
367
- -webkit-animation light_tag 4s both infinite
368
- -moz-animation light_tag 4s both infinite
369
- -ms-animation light_tag 4s both infinite
370
- animation light_tag 4s both infinite
371
-
372
- .flink-list-item:hover .site-card-tag
373
- left -70px
374
-
375
- +minWidth768()
376
- .flink#article-container
377
- .site-card:hover
378
- .info .desc
379
- -webkit-line-clamp 4
380
- transition .3s
381
- color var(--sco-white)
382
- width 100%
383
-
384
- .info
385
- background var(--sco-theme)
386
-
387
-
388
- +minWidth768()
389
- .flink#article-container
390
- .site-card:hover
391
- .img img
392
- transform scale(1.1)
393
- filter brightness(.3)
394
-
395
- .img
396
- height 80px
397
-
398
- .flink#article-container
399
- .site-card
400
- .img
401
- -webkit-mask-image -webkit-radial-gradient(center, #fff, #000)
402
- border-radius 0
403
- height 120px
404
- width 100%
405
- display flex
406
- border none
407
- padding 0 !important
408
-
409
- .info img
410
- border-radius 32px
411
- transition .3s !important
412
- margin 2px 8px 0 0
413
- width 20px
414
- height 20px
415
- min-width 20px
416
- min-height 20px
417
- background var(--sco-secondbg)
418
-
419
- &:hover
420
- .info img
421
- width 0
422
- height 0
423
- opacity 0
424
- min-width 0
425
- min-height 0
426
-
427
- border var(--style-border-hover)
428
- box-shadow var(--sco-shadow-main)
429
-
430
- .site-card-group
431
- padding 20px 0
432
- #friendlink_checkboxs input
433
- margin-right 4px
@@ -1,149 +0,0 @@
1
- .comment-barrage
2
- position fixed
3
- bottom 0
4
- right 20px
5
- padding 0 0 20px 10px
6
- display flex
7
- flex-direction column
8
- justify-content flex-end
9
- align-items flex-end
10
- z-index 999
11
- transition all 0.3s ease 0s
12
- user-select none
13
-
14
- +maxWidth768()
15
- display none !important
16
-
17
- .comment-barrage-item
18
- min-width 300px
19
- max-width 300px
20
- width fit-content
21
- min-height 80px
22
- max-height 150px
23
- margin 4px
24
- padding 8px 14px
25
- background var(--sco-maskbgdeep)
26
- border-radius 8px
27
- color var(--sco-fontcolor)
28
- animation 0.6s cubic-bezier(0.42, 0, 0.3, 1.11) 0s 1 normal none running barrageIn
29
- transition all 0.3s ease 0s
30
- display flex
31
- flex-direction column
32
- border var(--style-border)
33
- backdrop-filter saturate(180%) blur(20px)
34
- position fixed
35
- box-shadow var(--sco-shadow-border)
36
- overflow hidden
37
-
38
- &:hover
39
- border var(--style-border-hover)
40
- box-shadow var(--sco-shadow-main)
41
-
42
- &.out
43
- opacity 0
44
- animation 0.6s cubic-bezier(0.42, 0, 0.3, 1.11) 0s 1 normal none running barrageOut
45
-
46
- &.hovered
47
- opacity 0
48
-
49
- .comment-barrage-close
50
- color var(--sco-secondtext)
51
- cursor pointer
52
- line-height 1
53
- margin 4px
54
-
55
- &:hover
56
- color var(--sco-main)
57
-
58
- .scoicon
59
- color var(--sco-fontcolor)
60
- font-size 18px !important
61
-
62
- pre
63
- display none
64
-
65
- li
66
- display none
67
-
68
- p
69
- img:not(.tk-owo-emotion)
70
- display none
71
-
72
- img.tk-owo-emotion
73
- width 16px
74
- padding 0
75
- margin 0
76
- transform translateY(2px)
77
-
78
- blockquote
79
- display none
80
-
81
- br
82
- display none
83
-
84
- .barrageHead
85
- height 30px
86
- padding 0 0 6px
87
- line-height 30px
88
- font-size 12px
89
- border-bottom var(--style-border)
90
- display flex
91
- justify-content space-between
92
- align-items center
93
- font-weight 700
94
-
95
- .barrageTitle
96
- color var(--sco-card-bg)
97
- margin-right 8px
98
- background var(--sco-fontcolor)
99
- line-height 1
100
- padding 4px
101
- border-radius 4px
102
- white-space nowrap
103
-
104
- &:hover
105
- background var(--sco-main)
106
- color var(--sco-white)
107
-
108
- .barrageAvatar
109
- width 16px
110
- height 16px
111
- margin 0 8px 0 auto
112
- border-radius 50%
113
- background var(--sco-secondbg)
114
-
115
- .barrageContent
116
- height calc(100% - 30px)
117
- overflow hidden
118
- width fit-content
119
- max-height 48px
120
- font-size 14px !important
121
- font-weight 400 !important
122
-
123
- a
124
- pointer-events none
125
- font-size 14px !important
126
-
127
- &::-webkit-scrollbar
128
- height 0
129
- width 4px
130
-
131
- &::-webkit-scrollbar-button
132
- display none
133
-
134
- p
135
- margin 8px 0
136
- line-height 1.3
137
- overflow hidden
138
- text-overflow ellipsis
139
- -webkit-line-clamp 2
140
- display -webkit-box
141
- -webkit-box-orient vertical
142
- font-size 14px
143
- max-width 270px
144
-
145
- .barrageContent
146
- h1, h2, h3, h4
147
- font-size 14px !important
148
- font-weight 400 !important
149
- margin 8px 0 !important