hexo-theme-volantis 4.2.0 → 5.0.0-alpha.112
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/README.md +7 -5
- package/_config.yml +651 -234
- package/languages/en.yml +7 -0
- package/languages/zh-CN.yml +13 -2
- package/languages/zh-TW.yml +7 -0
- package/layout/404.ejs +1 -2
- package/layout/_meta/author.ejs +4 -4
- package/layout/_meta/category.ejs +11 -8
- package/layout/_meta/counter.ejs +51 -2
- package/layout/_meta/date.ejs +1 -1
- package/layout/_meta/music.ejs +1 -1
- package/layout/_meta/share.ejs +1 -1
- package/layout/_meta/tags.ejs +3 -0
- package/layout/_meta/thumbnail.ejs +3 -1
- package/layout/_meta/updated.ejs +1 -1
- package/layout/_meta/{valinecount.ejs → walinecount.ejs} +16 -15
- package/layout/{_cover → _partial/_cover}/blank.ejs +0 -0
- package/layout/{_cover → _partial/_cover}/dock.ejs +1 -1
- package/layout/{_cover → _partial/_cover}/featured.ejs +1 -1
- package/layout/{_cover → _partial/_cover}/focus.ejs +1 -1
- package/layout/_partial/_cover/layout.ejs +8 -0
- package/layout/{_cover → _partial/_cover}/search.ejs +2 -2
- package/layout/_partial/archive.ejs +2 -2
- package/layout/_partial/article.ejs +21 -13
- package/layout/_partial/categories.ejs +1 -1
- package/layout/_partial/cover.ejs +10 -30
- package/layout/_partial/footer.ejs +19 -11
- package/layout/_partial/head.ejs +70 -110
- package/layout/_partial/header.ejs +17 -11
- package/layout/_partial/meta.ejs +18 -4
- package/layout/_partial/post.ejs +35 -9
- package/layout/_partial/scripts/_ctrl/cdnCtrl.ejs +126 -0
- package/layout/_partial/scripts/{coverCtrl.ejs → _ctrl/coverCtrl.ejs} +22 -26
- package/layout/_partial/scripts/_ctrl.ejs +2 -0
- package/layout/_partial/scripts/content-visibility-scroll-fix.ejs +88 -0
- package/layout/_partial/scripts/global.ejs +423 -0
- package/layout/_partial/scripts/index.ejs +89 -73
- package/layout/_partial/scripts/toc.ejs +98 -68
- package/layout/_partial/side.ejs +4 -1
- package/layout/_plugins/_page_plugins/artitalk/index.ejs +15 -0
- package/layout/_plugins/_page_plugins/bbtalk/index.ejs +10 -0
- package/layout/_plugins/_page_plugins/fcircle/index.ejs +12 -0
- package/layout/_plugins/_page_plugins/gitter/index.ejs +14 -0
- package/layout/_plugins/_page_plugins/indent/index.ejs +16 -0
- package/layout/_plugins/_page_plugins/index.ejs +27 -0
- package/layout/_plugins/_page_plugins/katex/index.ejs +13 -0
- package/layout/{_third-party/math/mathjax/script.ejs → _plugins/_page_plugins/mathjax/index.ejs} +2 -2
- package/layout/_plugins/_page_plugins/snackbar/index.ejs +55 -0
- package/layout/{_partial/scripts/counter.ejs → _plugins/analytics/LCCounter.ejs} +0 -0
- package/layout/_plugins/analytics/script.ejs +74 -0
- package/layout/{_third-party → _plugins}/aplayer/layout.ejs +0 -0
- package/layout/_plugins/aplayer/script.ejs +74 -0
- package/layout/_plugins/chat/gitter/script.ejs +17 -0
- package/layout/_plugins/chat/index.ejs +1 -0
- package/layout/_plugins/chat/tidio/script.ejs +1 -0
- package/layout/_plugins/comments/artalk/script.ejs +59 -0
- package/layout/_plugins/comments/beaudar/script.ejs +61 -0
- package/layout/_plugins/comments/discuss/script.ejs +30 -0
- package/layout/_plugins/comments/disqus/script.ejs +98 -0
- package/layout/_plugins/comments/disqusjs/script.ejs +35 -0
- package/layout/_plugins/comments/giscus/script.ejs +47 -0
- package/layout/_plugins/comments/gitalk/script.ejs +24 -0
- package/layout/_plugins/comments/hashover/script.ejs +5 -0
- package/layout/{_third-party → _plugins}/comments/index.ejs +10 -3
- package/layout/_plugins/comments/isso/script.ejs +27 -0
- package/layout/_plugins/comments/livere/script.ejs +15 -0
- package/layout/_plugins/comments/twikoo/script.ejs +40 -0
- package/layout/_plugins/comments/utterances/script.ejs +43 -0
- package/layout/_plugins/comments/vssue/script.ejs +37 -0
- package/layout/_plugins/comments/waline/script.ejs +62 -0
- package/layout/_plugins/comments/z-custom/script.ejs +1 -0
- package/layout/_plugins/darkmode/script.ejs +114 -0
- package/layout/_plugins/end-of-support/script.ejs +62 -0
- package/layout/_plugins/github-api/script.ejs +27 -0
- package/layout/_plugins/highlight/highlightjs/script.ejs +26 -0
- package/layout/_plugins/highlight/prismjs/script.ejs +25 -0
- package/layout/_plugins/highlight/script.ejs +1 -0
- package/layout/{_third-party → _plugins}/lazyload/script.ejs +1 -1
- package/layout/_plugins/nodewaves/script.ejs +12 -0
- package/layout/_plugins/parallax/script.ejs +74 -0
- package/layout/{_third-party → _plugins}/pjax/animate.ejs +31 -26
- package/layout/_plugins/pjax/index.ejs +73 -0
- package/layout/_plugins/pjax/pdata.ejs +56 -0
- package/layout/_plugins/preload/script.ejs +14 -0
- package/layout/_plugins/rightmenu/layout.ejs +119 -0
- package/layout/_plugins/rightmenus/layout.ejs +137 -0
- package/layout/_plugins/scrollreveal/script.ejs +25 -0
- package/layout/_plugins/search/script.ejs +50 -0
- package/layout/{_third-party → _plugins}/share/layout.ejs +0 -0
- package/layout/_plugins/swiper/script.ejs +37 -0
- package/layout/_pre.ejs +2 -2
- package/layout/_widget/_pre.ejs +5 -0
- package/layout/_widget/blogger.ejs +1 -1
- package/layout/_widget/category.ejs +2 -2
- package/layout/_widget/copyright.ejs +1 -1
- package/layout/_widget/grid.ejs +3 -3
- package/layout/_widget/lastupdate.ejs +27 -0
- package/layout/_widget/list.ejs +2 -2
- package/layout/_widget/load.ejs +18 -0
- package/layout/_widget/music.ejs +3 -2
- package/layout/_widget/page.ejs +1 -1
- package/layout/_widget/qrcode.ejs +1 -1
- package/layout/_widget/related_posts.ejs +1 -1
- package/layout/_widget/tagcloud.ejs +1 -1
- package/layout/_widget/text.ejs +1 -1
- package/layout/_widget/toc.ejs +6 -2
- package/layout/_widget/webinfo.ejs +13 -76
- package/layout/archive.ejs +4 -4
- package/layout/category.ejs +9 -4
- package/layout/docs.ejs +1 -1
- package/layout/friends.ejs +6 -25
- package/layout/index.ejs +1 -1
- package/layout/layout.ejs +40 -24
- package/layout/list.ejs +1 -1
- package/layout/page.ejs +1 -1
- package/layout/post.ejs +1 -1
- package/layout/tag.ejs +8 -3
- package/package.json +6 -2
- package/scripts/events/index.js +13 -0
- package/scripts/events/lib/check-configuration.js +43 -0
- package/scripts/events/lib/check-environment.js +74 -0
- package/scripts/events/lib/config.js +35 -10
- package/scripts/events/lib/render-stylus.js +78 -0
- package/scripts/events/lib/stellar-tag-utils.js +76 -0
- package/scripts/filters/content-visibility.js +25 -0
- package/scripts/{render → filters}/img.js +1 -1
- package/scripts/filters/replace.js +15 -0
- package/scripts/{z-lazyload/lib/process.js → filters/z-lazyload.js} +18 -15
- package/scripts/helpers/custom-files.js +165 -0
- package/scripts/helpers/first-style.js +19 -0
- package/scripts/helpers/head/autoCanonical.js +15 -0
- package/scripts/helpers/head/generate_preload_fontfamily.js +22 -0
- package/scripts/helpers/head/generate_seo.js +24 -0
- package/scripts/helpers/head/generate_title__keywords__description.js +101 -0
- package/scripts/{related_posts/index.js → helpers/related-posts.js} +9 -9
- package/scripts/helpers/revisioned.js +158 -0
- package/scripts/helpers/structured-data/index.js +2 -0
- package/scripts/helpers/structured-data/lib/blogposting.js +77 -0
- package/scripts/helpers/structured-data/lib/breadcrumblist.js +152 -0
- package/scripts/helpers/structured-data/lib/config.js +31 -0
- package/scripts/helpers/structured-data/lib/index.js +30 -0
- package/scripts/helpers/structured-data/lib/organization.js +15 -0
- package/scripts/helpers/structured-data/lib/person.js +16 -0
- package/scripts/helpers/structured-data/lib/website.js +42 -0
- package/scripts/tags/btn.js +31 -26
- package/scripts/tags/btns.js +18 -13
- package/scripts/tags/checkbox.js +32 -22
- package/scripts/tags/contributors.js +100 -0
- package/scripts/tags/dropmenu.js +50 -35
- package/scripts/tags/fancybox.js +44 -10
- package/scripts/tags/folding.js +14 -9
- package/scripts/tags/frame.js +8 -3
- package/scripts/tags/friends.js +99 -0
- package/scripts/tags/ghcard.js +11 -6
- package/scripts/tags/image.js +18 -6
- package/scripts/tags/link.js +15 -10
- package/scripts/tags/md.js +59 -0
- package/scripts/tags/media.js +32 -8
- package/scripts/tags/note.js +41 -8
- package/scripts/tags/site.js +87 -51
- package/scripts/tags/span.js +16 -6
- package/scripts/tags/swiper.js +38 -0
- package/scripts/tags/table.js +1 -1
- package/scripts/tags/tabs.js +33 -3
- package/scripts/tags/timeline.js +9 -4
- package/source/css/Readme.md +28 -0
- package/source/css/_defines/AutoPrefixCSS.styl +347 -0
- package/source/css/_defines/Readme.md +3 -0
- package/source/css/_defines/color.styl +41 -1
- package/source/css/_defines/effect.styl +0 -13
- package/source/css/_defines/fonts.styl +17 -18
- package/source/css/_defines/func.styl +12 -30
- package/source/css/_first/base_first.styl +118 -0
- package/source/css/_first/{cover.styl → cover_first.styl} +113 -87
- package/source/css/_first/dark_first.styl +76 -0
- package/source/css/_first/fontfamily_first.styl +17 -0
- package/source/css/_first/{navbar.styl → navbar_first.styl} +4 -10
- package/source/css/_first/search_first.styl +12 -0
- package/source/css/{_base/index.styl → _style/_base/base.styl} +9 -93
- package/source/css/_style/_base/fontfamily_async.styl +8 -0
- package/source/css/{_layout → _style/_layout}/archive.styl +0 -0
- package/source/css/{_layout → _style/_layout}/article.styl +3 -30
- package/source/css/{_layout → _style/_layout}/footer.styl +0 -0
- package/source/css/_style/_layout/friends-simpleuser.styl +23 -0
- package/source/css/_style/_layout/friends-traditional.styl +81 -0
- package/source/css/{_layout → _style/_layout}/img.styl +0 -0
- package/source/css/_style/_layout/loading.styl +14 -0
- package/source/css/{_layout → _style/_layout}/main.styl +20 -7
- package/source/css/{_layout → _style/_layout}/md.styl +0 -0
- package/source/css/{_layout → _style/_layout}/pagination.styl +1 -1
- package/source/css/{_layout → _style/_layout}/posts.styl +2 -0
- package/source/css/{_first → _style/_layout}/search.styl +0 -103
- package/source/css/{_layout → _style/_layout}/sidebar.styl +23 -3
- package/source/css/{_layout → _style/_layout}/snackbar.styl +2 -1
- package/source/css/{_layout → _style/_layout}/toc.styl +3 -3
- package/source/css/{_layout → _style/_layout}/video.styl +0 -0
- package/source/css/_style/_plugins/_dark/dark_async.styl +41 -0
- package/source/css/_style/_plugins/_dark/dark_plugins.styl +136 -0
- package/source/css/_style/_plugins/_highlight/highlightjs/clipboard.styl +36 -0
- package/source/css/_style/_plugins/_highlight/highlightjs/color.styl +96 -0
- package/source/css/_style/_plugins/_highlight/highlightjs/index.styl +102 -0
- package/source/css/_style/_plugins/_highlight/highlightjs/language.styl +63 -0
- package/source/css/_style/_plugins/_highlight/index.styl +1 -0
- package/source/css/_style/_plugins/_highlight/prismjs/clipboard.styl +33 -0
- package/source/css/_style/_plugins/_highlight/prismjs/index.styl +8 -0
- package/source/css/_style/_plugins/_highlight/prismjs/language.styl +63 -0
- package/source/css/_style/_plugins/_rightmenu/reading.styl +56 -0
- package/source/css/{_plugins → _style/_plugins/_rightmenu}/rightmenu.styl +22 -2
- package/source/css/{_plugins → _style/_plugins}/aplayer.styl +11 -0
- package/source/css/{_plugins → _style/_plugins}/cursor.styl +49 -19
- package/source/css/_style/_plugins/fontcolor.styl +84 -0
- package/source/css/{_plugins → _style/_plugins}/gitalk.styl +0 -0
- package/source/css/_style/_plugins/index.styl +24 -0
- package/source/css/{_plugins → _style/_plugins}/mathjax.styl +0 -0
- package/source/css/_style/_plugins/message.styl +14 -0
- package/source/css/{_plugins → _style/_plugins}/pjaxanimate.styl +0 -0
- package/source/css/_style/_tag-plugins/Readme.md +6 -0
- package/source/css/{_tag-plugins → _style/_tag-plugins}/btns.styl +0 -0
- package/source/css/{_tag-plugins → _style/_tag-plugins}/checkbox.styl +0 -0
- package/source/css/{_tag-plugins → _style/_tag-plugins}/dropmenu.styl +0 -0
- package/source/css/{_plugins → _style/_tag-plugins}/fancybox.styl +8 -9
- package/source/css/{_tag-plugins → _style/_tag-plugins}/folding.styl +0 -0
- package/source/css/{_tag-plugins → _style/_tag-plugins}/frame.styl +0 -0
- package/source/css/_style/_tag-plugins/friends.styl +72 -0
- package/source/css/{_tag-plugins → _style/_tag-plugins}/ghcard.styl +0 -0
- package/source/css/{_tag-plugins → _style/_tag-plugins}/image.styl +0 -0
- package/source/css/{_tag-plugins → _style/_tag-plugins}/link.styl +0 -0
- package/source/css/{_tag-plugins → _style/_tag-plugins}/media.styl +0 -0
- package/source/css/{_tag-plugins → _style/_tag-plugins}/note.styl +0 -0
- package/source/css/_style/_tag-plugins/sites.styl +87 -0
- package/source/css/{_tag-plugins → _style/_tag-plugins}/span.styl +0 -0
- package/source/css/_style/_tag-plugins/swiper.styl +44 -0
- package/source/css/{_tag-plugins → _style/_tag-plugins}/table.styl +0 -0
- package/source/css/{_tag-plugins → _style/_tag-plugins}/tabs.styl +0 -0
- package/source/css/_style/_tag-plugins/tag.json +35 -0
- package/source/css/_style/_tag-plugins/text.styl +31 -0
- package/source/css/{_tag-plugins → _style/_tag-plugins}/timeline.styl +0 -0
- package/source/css/_style/index.styl +8 -0
- package/source/css/first.styl +17 -6
- package/source/css/style.styl +9 -7
- package/source/js/app.js +1128 -359
- package/source/js/plugins/aplayer.js +186 -0
- package/source/js/plugins/parallax.js +191 -0
- package/source/js/plugins/rightMenu.js +577 -0
- package/source/js/plugins/rightMenus.js +616 -0
- package/source/js/plugins/tags/contributors.js +92 -0
- package/source/js/plugins/tags/friends.js +93 -0
- package/source/js/plugins/tags/sites.js +96 -0
- package/source/js/search/hexo.js +180 -378
- package/layout/_partial/rightmenu.ejs +0 -204
- package/layout/_partial/scripts/cover.ejs +0 -45
- package/layout/_partial/scripts/darkmode.ejs +0 -96
- package/layout/_partial/scripts/import.ejs +0 -3
- package/layout/_partial/scripts/loadfunction.ejs +0 -72
- package/layout/_partial/scripts/search.ejs +0 -62
- package/layout/_partial/snackbar.ejs +0 -22
- package/layout/_third-party/analytics/script.ejs +0 -24
- package/layout/_third-party/aplayer/script.ejs +0 -24
- package/layout/_third-party/clipboard/script.ejs +0 -53
- package/layout/_third-party/comments/disqus/layout.ejs +0 -5
- package/layout/_third-party/comments/disqus/script.ejs +0 -93
- package/layout/_third-party/comments/gitalk/layout.ejs +0 -1
- package/layout/_third-party/comments/gitalk/script.ejs +0 -29
- package/layout/_third-party/comments/hashover/layout.ejs +0 -2
- package/layout/_third-party/comments/hashover/script.ejs +0 -1
- package/layout/_third-party/comments/isso/layout.ejs +0 -1
- package/layout/_third-party/comments/isso/script.ejs +0 -1
- package/layout/_third-party/comments/livere/layout.ejs +0 -3
- package/layout/_third-party/comments/livere/script.ejs +0 -10
- package/layout/_third-party/comments/minivaline/layout.ejs +0 -3
- package/layout/_third-party/comments/minivaline/script.ejs +0 -29
- package/layout/_third-party/comments/twikoo/layout.ejs +0 -3
- package/layout/_third-party/comments/twikoo/script.ejs +0 -17
- package/layout/_third-party/comments/valine/layout.ejs +0 -3
- package/layout/_third-party/comments/valine/script.ejs +0 -75
- package/layout/_third-party/comments/vssue/layout.ejs +0 -1
- package/layout/_third-party/comments/vssue/script.ejs +0 -22
- package/layout/_third-party/fancybox/script.ejs +0 -50
- package/layout/_third-party/issues/script.ejs +0 -15
- package/layout/_third-party/pjax/index.ejs +0 -143
- package/layout/_third-party/pjax/pdata.ejs +0 -47
- package/layout/_third-party/scrollreveal/script.ejs +0 -15
- package/layout/artitalk.ejs +0 -48
- package/scripts/tags/issues.js +0 -41
- package/scripts/z-lazyload/index.js +0 -4
- package/source/css/_highlight/index.styl +0 -316
- package/source/css/_layout/friends.styl +0 -79
- package/source/css/_plugins/clipboard.styl +0 -37
- package/source/css/_plugins/dark.styl +0 -149
- package/source/css/_plugins/darkmode.styl +0 -9
- package/source/css/_plugins/index.styl +0 -16
- package/source/css/_plugins/valine.styl +0 -173
- package/source/css/_tag-plugins/simpleuser.styl +0 -21
- package/source/css/_tag-plugins/site-card.styl +0 -70
- package/source/js/aplayer.js +0 -161
- package/source/js/issues.js +0 -186
- package/source/js/search/algolia.js +0 -348
- package/source/js/search/azure.js +0 -359
- package/source/js/search/baidu.js +0 -342
- package/source/js/search/google.js +0 -343
- package/source/js/twikoo.js +0 -13
- package/source/js/valine.js +0 -5265
|
@@ -18,28 +18,30 @@
|
|
|
18
18
|
position: relative
|
|
19
19
|
overflow: hidden
|
|
20
20
|
margin-bottom: -100px
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
21
|
+
|
|
22
|
+
if not hexo-config('plugins.parallax.enable') and hexo-config('cover.background')
|
|
23
|
+
.cover-bg
|
|
24
|
+
position: absolute
|
|
25
|
+
width: 100%
|
|
26
|
+
height: 100%
|
|
27
|
+
background-position: center
|
|
28
|
+
background-size: cover
|
|
29
|
+
&.lazyload
|
|
30
|
+
&:not(.loaded)
|
|
31
|
+
opacity: 0
|
|
32
|
+
&.loaded
|
|
33
|
+
animation-delay: 0s
|
|
34
|
+
animation-duration: .5s
|
|
35
|
+
animation-fill-mode: forwards
|
|
36
|
+
animation-timing-function: ease-out
|
|
37
|
+
animation-name: fadeIn
|
|
38
|
+
@keyframes fadeIn
|
|
39
|
+
0%
|
|
40
|
+
opacity: 0
|
|
41
|
+
filter blur(12px)
|
|
42
|
+
transform: scale(1.02)
|
|
43
|
+
100%
|
|
44
|
+
opacity: 1
|
|
43
45
|
|
|
44
46
|
.cover-body
|
|
45
47
|
z-index: 1
|
|
@@ -203,76 +205,100 @@
|
|
|
203
205
|
&:hover, &.active, &:active
|
|
204
206
|
opacity: 1
|
|
205
207
|
border-bottom: 2px solid var(--color-site-inner)
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
208
|
+
if hexo-config('cover.layout_scheme') == 'dock' || hexo-config('cover.layout_scheme') == 'featured' || hexo-config('cover.layout_scheme') == 'focus'
|
|
209
|
+
&.dock .menu, &.featured .menu, &.focus .menu
|
|
210
|
+
border-radius: $border-button + 2px
|
|
211
|
+
.list-h a
|
|
212
|
+
flex-direction: column
|
|
213
|
+
align-items: center
|
|
214
|
+
padding: $gap * 0.75
|
|
215
|
+
line-height: 24px
|
|
216
|
+
@media screen and (max-width: $device-mobile)
|
|
217
|
+
padding: $gap * 0.75 $gap * 0.5
|
|
218
|
+
border-radius: $border-button
|
|
219
|
+
border-bottom: none
|
|
220
|
+
text-align: center
|
|
221
|
+
align-content: flex-end
|
|
222
|
+
color: alpha($color-text, .7)
|
|
223
|
+
font-size: 1.5rem
|
|
224
|
+
i
|
|
225
|
+
margin: $gap * 0.5
|
|
226
|
+
p
|
|
227
|
+
font-size: $fontsize-meta
|
|
228
|
+
&.active
|
|
229
|
+
i, i+p
|
|
230
|
+
color: $color-theme
|
|
231
|
+
img+p
|
|
232
|
+
color: var(--color-text)
|
|
233
|
+
background: var(--color-card)
|
|
234
|
+
backdrop-filter: none
|
|
235
|
+
&:hover
|
|
236
|
+
background: var(--color-card)
|
|
235
237
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
position: absolute
|
|
241
|
-
bottom: 0
|
|
242
|
-
max-width: 100%
|
|
243
|
-
.list-h
|
|
244
|
-
flex-wrap: nowrap
|
|
245
|
-
margin: 4px
|
|
246
|
-
a+a
|
|
247
|
-
margin-left: 4px
|
|
248
|
-
@media screen and (max-width: $device-mobile)
|
|
249
|
-
overflow-x: scroll
|
|
250
|
-
scrollbar(0, 0)
|
|
251
|
-
@supports (backdrop-filter: blur(20px))
|
|
252
|
-
background: alpha($color-card, .5)
|
|
253
|
-
backdrop-filter: saturate(200%) blur(20px)
|
|
254
|
-
|
|
255
|
-
.cover-wrapper.featured .menu
|
|
256
|
-
.list-h
|
|
257
|
-
margin: -2px
|
|
258
|
-
.list-h a
|
|
259
|
-
margin: 2px
|
|
238
|
+
if hexo-config('cover.layout_scheme') == 'dock'
|
|
239
|
+
.cover-wrapper.dock .top
|
|
240
|
+
margin-bottom: $gap * 3
|
|
241
|
+
.cover-wrapper.dock .menu
|
|
260
242
|
background: alpha($color-card, .5)
|
|
243
|
+
position: absolute
|
|
244
|
+
bottom: 0
|
|
245
|
+
max-width: 100%
|
|
246
|
+
.list-h
|
|
247
|
+
flex-wrap: nowrap
|
|
248
|
+
margin: 4px
|
|
249
|
+
a+a
|
|
250
|
+
margin-left: 4px
|
|
251
|
+
@media screen and (max-width: $device-mobile)
|
|
252
|
+
overflow-x: scroll
|
|
253
|
+
scrollbar(0, 0)
|
|
261
254
|
@supports (backdrop-filter: blur(20px))
|
|
262
255
|
background: alpha($color-card, .5)
|
|
263
256
|
backdrop-filter: saturate(200%) blur(20px)
|
|
264
257
|
|
|
265
|
-
|
|
266
|
-
.
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
@supports (backdrop-filter: blur(20px))
|
|
258
|
+
if hexo-config('cover.layout_scheme') == 'featured'
|
|
259
|
+
.cover-wrapper.featured .menu
|
|
260
|
+
.list-h
|
|
261
|
+
margin: -2px
|
|
262
|
+
.list-h a
|
|
263
|
+
margin: 2px
|
|
272
264
|
background: alpha($color-card, .5)
|
|
273
|
-
backdrop-filter:
|
|
274
|
-
|
|
275
|
-
|
|
265
|
+
@supports (backdrop-filter: blur(20px))
|
|
266
|
+
background: alpha($color-card, .5)
|
|
267
|
+
backdrop-filter: saturate(200%) blur(20px)
|
|
268
|
+
|
|
269
|
+
if hexo-config('cover.layout_scheme') == 'focus'
|
|
270
|
+
.cover-wrapper.focus .menu
|
|
271
|
+
.list-h
|
|
272
|
+
margin: 2px
|
|
273
|
+
trans()
|
|
276
274
|
&:hover
|
|
277
|
-
|
|
278
|
-
|
|
275
|
+
background: alpha($color-card, .5)
|
|
276
|
+
@supports (backdrop-filter: blur(20px))
|
|
277
|
+
background: alpha($color-card, .5)
|
|
278
|
+
backdrop-filter: saturate(200%) blur(20px)
|
|
279
|
+
.list-h a
|
|
280
|
+
margin: 2px
|
|
281
|
+
&:hover
|
|
282
|
+
opacity: 1
|
|
283
|
+
background: var(--color-card)
|
|
284
|
+
|
|
285
|
+
if hexo-config('plugins.parallax.enable')
|
|
286
|
+
.cover-wrapper
|
|
287
|
+
#parallax-window
|
|
288
|
+
position: absolute
|
|
289
|
+
width: 100%
|
|
290
|
+
height: 100%
|
|
291
|
+
background: transparent
|
|
292
|
+
|
|
293
|
+
.parallax-mirror
|
|
294
|
+
animation-delay: 0s
|
|
295
|
+
animation-duration: .5s
|
|
296
|
+
animation-fill-mode: forwards
|
|
297
|
+
animation-timing-function: ease-out
|
|
298
|
+
animation-name: fadeIn
|
|
299
|
+
@keyframes fadeIn
|
|
300
|
+
0%
|
|
301
|
+
opacity: 0
|
|
302
|
+
filter blur(12px)
|
|
303
|
+
100%
|
|
304
|
+
opacity: 1
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// 首屏加载的暗黑模式
|
|
2
|
+
fitst_dark()
|
|
3
|
+
// Base Dark Color
|
|
4
|
+
--color-site-body: $color-dark-site-body
|
|
5
|
+
--color-read-bkg: $color-dark-read-bkg
|
|
6
|
+
--color-read-post: $color-dark-read-post
|
|
7
|
+
--color-site-bg: $color-dark-site-bg
|
|
8
|
+
--color-site-inner: $color-dark-site-inner
|
|
9
|
+
--color-site-footer: $color-dark-site-footer
|
|
10
|
+
--color-card: $color-dark-card
|
|
11
|
+
--color-text: $color-dark-text
|
|
12
|
+
|
|
13
|
+
--color-block: $color-dark-block
|
|
14
|
+
--color-codeblock: $color-dark-codeblock
|
|
15
|
+
--color-inlinecode: $color-dark-inlinecode
|
|
16
|
+
--color-h1: $color-dark-h1
|
|
17
|
+
--color-h2: $color-dark-h2
|
|
18
|
+
--color-h3: $color-dark-h3
|
|
19
|
+
--color-h4: $color-dark-h4
|
|
20
|
+
--color-h5: $color-dark-h5
|
|
21
|
+
--color-h6: $color-dark-h6
|
|
22
|
+
--color-p: $color-dark-p
|
|
23
|
+
--color-list: $color-dark-list
|
|
24
|
+
--color-list-hl: $color-dark-list-hl
|
|
25
|
+
--color-meta: $color-dark-meta
|
|
26
|
+
--color-link: $color-dark-link
|
|
27
|
+
|
|
28
|
+
img
|
|
29
|
+
filter: brightness(convert(hexo-config('color_scheme.dark.brightness'))) !important
|
|
30
|
+
//header
|
|
31
|
+
.blur
|
|
32
|
+
background: rgba($color-dark-site-bg, .9) !important
|
|
33
|
+
.white-box.blur
|
|
34
|
+
background: rgba($color-dark-card, .9) !important
|
|
35
|
+
.nav-main
|
|
36
|
+
.u-search-input
|
|
37
|
+
background: var(--color-card) !important
|
|
38
|
+
#l_main .article .prev-next>a
|
|
39
|
+
background: var(--color-block) !important
|
|
40
|
+
&:hover
|
|
41
|
+
background: var(--color-site-bg) !important
|
|
42
|
+
.article blockquote
|
|
43
|
+
background: var(--color-block) !important
|
|
44
|
+
.article-title a
|
|
45
|
+
color: var(--color-h1) !important
|
|
46
|
+
details>summary
|
|
47
|
+
color: var(--color-p) !important
|
|
48
|
+
background: var(--color-site-bg) !important
|
|
49
|
+
details
|
|
50
|
+
border: 1px solid var(--color-site-bg) !important
|
|
51
|
+
background: var(--color-site-bg) !important
|
|
52
|
+
|
|
53
|
+
//search
|
|
54
|
+
#u-search .modal,
|
|
55
|
+
#u-search .modal-header,
|
|
56
|
+
#u-search .modal-body
|
|
57
|
+
background: var(--color-card) !important
|
|
58
|
+
#u-search .modal-body .modal-results .result:hover
|
|
59
|
+
background: var(--color-block) !important
|
|
60
|
+
.u-search-input:hover
|
|
61
|
+
background: var(--color-block) !important
|
|
62
|
+
.u-search-input:focus
|
|
63
|
+
background: var(--color-site-body) !important
|
|
64
|
+
//phone search
|
|
65
|
+
.l_header .m_search
|
|
66
|
+
@media screen and (max-width: $device-mobile)
|
|
67
|
+
background: var(--color-site-bg) !important
|
|
68
|
+
|
|
69
|
+
if hexo-config('plugins.darkmode.enable')
|
|
70
|
+
@media (prefers-color-scheme: dark)
|
|
71
|
+
:root
|
|
72
|
+
--color-mode: 'dark'
|
|
73
|
+
:root:not([color-scheme])
|
|
74
|
+
fitst_dark()
|
|
75
|
+
[color-scheme='dark']
|
|
76
|
+
fitst_dark()
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
if hexo-config('custom_css.fontfamily.bodyfont')
|
|
2
|
+
if hexo-config('custom_css.fontfamily.bodyfont.name')
|
|
3
|
+
@font-face
|
|
4
|
+
font-family: hexo-config('custom_css.fontfamily.bodyfont.name')
|
|
5
|
+
src: url(hexo-config('custom_css.fontfamily.bodyfont.url'))
|
|
6
|
+
font-weight: hexo-config('custom_css.fontfamily.bodyfont.weight')
|
|
7
|
+
font-style: hexo-config('custom_css.fontfamily.bodyfont.style')
|
|
8
|
+
font-display: swap
|
|
9
|
+
|
|
10
|
+
if hexo-config('custom_css.fontfamily.logofont')
|
|
11
|
+
if hexo-config('custom_css.fontfamily.logofont.name')
|
|
12
|
+
@font-face
|
|
13
|
+
font-family: hexo-config('custom_css.fontfamily.logofont.name')
|
|
14
|
+
src: url(hexo-config('custom_css.fontfamily.logofont.url'))
|
|
15
|
+
font-weight: hexo-config('custom_css.fontfamily.logofont.weight')
|
|
16
|
+
font-style: hexo-config('custom_css.fontfamily.logofont.style')
|
|
17
|
+
font-display: swap
|
|
@@ -28,10 +28,13 @@
|
|
|
28
28
|
|
|
29
29
|
.nav-main
|
|
30
30
|
trans()
|
|
31
|
-
|
|
31
|
+
|
|
32
|
+
// https://github.com/volantis-x/hexo-theme-volantis/issues/658
|
|
32
33
|
&.sub .nav-main
|
|
33
34
|
transform: translateY(0 - 1 * $navbar-height)
|
|
34
35
|
.nav-sub
|
|
36
|
+
::-webkit-scrollbar
|
|
37
|
+
display:none
|
|
35
38
|
trans()
|
|
36
39
|
opacity: 0
|
|
37
40
|
height: $navbar-height
|
|
@@ -345,15 +348,6 @@ ul.list-v
|
|
|
345
348
|
display: block
|
|
346
349
|
trans()
|
|
347
350
|
|
|
348
|
-
|
|
349
|
-
.cover-wrapper
|
|
350
|
-
.l_header
|
|
351
|
-
trans(0.5s)
|
|
352
|
-
transform: translateY(-2 * $navbar-height)
|
|
353
|
-
&.show
|
|
354
|
-
transform: translateY(0)
|
|
355
|
-
|
|
356
|
-
|
|
357
351
|
.l_header
|
|
358
352
|
if hexo-config('custom_css.navbar.width') == 'auto'
|
|
359
353
|
max-width: 65vw
|
|
@@ -1,57 +1,9 @@
|
|
|
1
1
|
:root
|
|
2
|
-
|
|
3
|
-
--
|
|
4
|
-
--
|
|
5
|
-
--
|
|
6
|
-
--
|
|
7
|
-
--color-text: $color-text
|
|
8
|
-
--color-block: $color-block
|
|
9
|
-
--color-inlinecode: $color-inlinecode
|
|
10
|
-
--color-codeblock: $color-codeblock
|
|
11
|
-
--color-h1: $color-h1
|
|
12
|
-
--color-h2: $color-h2
|
|
13
|
-
--color-h3: $color-h3
|
|
14
|
-
--color-h4: $color-h4
|
|
15
|
-
--color-h5: $color-h5
|
|
16
|
-
--color-h6: $color-h6
|
|
17
|
-
--color-p: $color-p
|
|
18
|
-
--color-list: $color-list
|
|
19
|
-
--color-list-hl: $color-list-hl
|
|
20
|
-
--color-meta: $color-meta
|
|
21
|
-
|
|
22
|
-
*
|
|
23
|
-
box-sizing: border-box
|
|
24
|
-
outline: none
|
|
25
|
-
margin: 0
|
|
26
|
-
padding: 0
|
|
27
|
-
|
|
28
|
-
html
|
|
29
|
-
color: var(--color-text)
|
|
30
|
-
width: 100%
|
|
31
|
-
height: 100%
|
|
32
|
-
font-family: $fontfamily
|
|
33
|
-
font-size: $fontsize-root
|
|
34
|
-
>
|
|
35
|
-
if hexo-config('custom_css.scrollbar.size')
|
|
36
|
-
scrollbar(convert(hexo-config('custom_css.scrollbar.size')), convert(hexo-config('custom_css.scrollbar.border')) || 0px)
|
|
37
|
-
|
|
38
|
-
body
|
|
39
|
-
background-color: var(--color-site-body)
|
|
40
|
-
text-rendering: optimizelegibility
|
|
41
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0)
|
|
42
|
-
line-height: $lineheight
|
|
43
|
-
-webkit-text-size-adjust: 100%
|
|
44
|
-
-ms-text-size-adjust: 100%
|
|
45
|
-
&.modal-active
|
|
46
|
-
overflow: hidden
|
|
47
|
-
@media screen and (max-width: $modal-threshold)
|
|
48
|
-
position: fixed
|
|
49
|
-
top: 0
|
|
50
|
-
right: 0
|
|
51
|
-
bottom: 0
|
|
52
|
-
left: 0
|
|
53
|
-
|
|
54
|
-
|
|
2
|
+
// tag plugin from stellar
|
|
3
|
+
--block-hover: mix($c-block-light, $c-text-light, 98)
|
|
4
|
+
--text-p1: $c-text-light
|
|
5
|
+
--text-p3: mix($c-text-light, $c-site-bg-light, 60)
|
|
6
|
+
--card: $c-card-light
|
|
55
7
|
|
|
56
8
|
::-moz-selection {
|
|
57
9
|
background: $color-selection
|
|
@@ -79,14 +31,6 @@ h1,h2,h3,h4,h6
|
|
|
79
31
|
font-weight: normal
|
|
80
32
|
|
|
81
33
|
a
|
|
82
|
-
color: $color-link
|
|
83
|
-
cursor: pointer
|
|
84
|
-
text-decoration: none
|
|
85
|
-
trans()
|
|
86
|
-
&:hover
|
|
87
|
-
color: $color-hover
|
|
88
|
-
&:active,&:hover
|
|
89
|
-
outline: 0
|
|
90
34
|
&:not([href])
|
|
91
35
|
cursor: default
|
|
92
36
|
|
|
@@ -119,16 +63,10 @@ pre
|
|
|
119
63
|
display: table-cell
|
|
120
64
|
vertical-align: middle
|
|
121
65
|
|
|
122
|
-
|
|
123
|
-
ul,ol
|
|
124
|
-
padding-left: 0
|
|
125
|
-
li
|
|
126
|
-
list-style: none
|
|
127
|
-
|
|
128
|
-
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary
|
|
66
|
+
article,aside,details,figcaption,figure,footer,hgroup,main,menu,nav,section,summary
|
|
129
67
|
display: block
|
|
130
68
|
|
|
131
|
-
article
|
|
69
|
+
article:not(#comments)
|
|
132
70
|
overflow: hidden
|
|
133
71
|
|
|
134
72
|
abbr[title]
|
|
@@ -152,26 +90,10 @@ sup
|
|
|
152
90
|
vertical-align: text-top
|
|
153
91
|
sub
|
|
154
92
|
vertical-align: text-bottom
|
|
155
|
-
img
|
|
156
|
-
border: 0
|
|
157
|
-
background: none
|
|
158
|
-
max-width: 100%
|
|
159
|
-
|
|
160
|
-
svg:not(:root)
|
|
161
|
-
overflow: hidden
|
|
162
93
|
|
|
163
94
|
figure
|
|
164
95
|
margin: 1em 40px
|
|
165
96
|
|
|
166
|
-
hr
|
|
167
|
-
-moz-box-sizing: content-box
|
|
168
|
-
box-sizing: content-box
|
|
169
|
-
height: 0
|
|
170
|
-
border: 0
|
|
171
|
-
border-radius: 1px
|
|
172
|
-
border-bottom: 1px solid alpha($color-text, .1)
|
|
173
|
-
|
|
174
|
-
|
|
175
97
|
pre
|
|
176
98
|
overflow: auto
|
|
177
99
|
|
|
@@ -187,20 +109,14 @@ code,kbd,pre,samp
|
|
|
187
109
|
font-family: monospace, monospace
|
|
188
110
|
font-size: 1em
|
|
189
111
|
|
|
190
|
-
|
|
191
|
-
button,input,optgroup,select,textarea
|
|
112
|
+
optgroup,select,textarea
|
|
192
113
|
color: inherit /* 1 */
|
|
193
114
|
font: inherit /* 2 */
|
|
194
115
|
margin: 0 /* 3 */
|
|
195
116
|
|
|
196
|
-
|
|
197
|
-
overflow: visible
|
|
198
|
-
|
|
199
|
-
button,select
|
|
117
|
+
select
|
|
200
118
|
text-transform: none
|
|
201
119
|
|
|
202
|
-
|
|
203
|
-
button,
|
|
204
120
|
html input[type="button"], /* 1 */
|
|
205
121
|
input[type="reset"],
|
|
206
122
|
input[type="submit"]
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
if hexo-config('custom_css.fontfamily.codefont')
|
|
2
|
+
if hexo-config('custom_css.fontfamily.codefont.name')
|
|
3
|
+
@font-face
|
|
4
|
+
font-family: hexo-config('custom_css.fontfamily.codefont.name')
|
|
5
|
+
src: url(hexo-config('custom_css.fontfamily.codefont.url'))
|
|
6
|
+
font-weight: hexo-config('custom_css.fontfamily.codefont.weight')
|
|
7
|
+
font-style: hexo-config('custom_css.fontfamily.codefont.style')
|
|
8
|
+
font-display: swap
|
|
File without changes
|
|
@@ -55,36 +55,9 @@
|
|
|
55
55
|
max-width: 100%
|
|
56
56
|
margin: 0
|
|
57
57
|
box-shadow: none
|
|
58
|
-
s
|
|
58
|
+
s
|
|
59
59
|
color: mix($color-p, $color-card, 60)
|
|
60
60
|
text-decoration-color: @color
|
|
61
|
-
u
|
|
62
|
-
color: var(--color-text)
|
|
63
|
-
text-decoration: none
|
|
64
|
-
border-bottom: 1px solid $color-mac-red
|
|
65
|
-
emp
|
|
66
|
-
color: var(--color-text)
|
|
67
|
-
border-bottom: 4px dotted $color-mac-red
|
|
68
|
-
wavy
|
|
69
|
-
color: var(--color-text)
|
|
70
|
-
text-decoration-style: wavy
|
|
71
|
-
text-decoration-line: underline
|
|
72
|
-
text-decoration-color: $color-mac-red
|
|
73
|
-
psw
|
|
74
|
-
color: transparent
|
|
75
|
-
background: mix($color-text, $color-card, 50)
|
|
76
|
-
border-radius: 2px
|
|
77
|
-
trans()
|
|
78
|
-
&:hover
|
|
79
|
-
color: var(--color-p)
|
|
80
|
-
background: none
|
|
81
|
-
kbd
|
|
82
|
-
border-radius: 4px
|
|
83
|
-
border: 1px solid mix($color-block, $color-text, 80)
|
|
84
|
-
border-bottom-width: 2px
|
|
85
|
-
background: mix($color-block, $color-card, 50)
|
|
86
|
-
padding-left: 4px
|
|
87
|
-
padding-right: 4px
|
|
88
61
|
p
|
|
89
62
|
margin-top: $gap-p
|
|
90
63
|
margin-bottom: $gap-p
|
|
@@ -166,7 +139,7 @@
|
|
|
166
139
|
background: transparent
|
|
167
140
|
color: alpha($color-text, 90%)
|
|
168
141
|
code
|
|
169
|
-
font-family: $fontfamily
|
|
142
|
+
font-family: $fontfamily-code
|
|
170
143
|
&:not([class])
|
|
171
144
|
word-break: break-all
|
|
172
145
|
color: var(--color-inlinecode)
|
|
@@ -300,7 +273,7 @@
|
|
|
300
273
|
border-radius: 2px
|
|
301
274
|
.body .vlts-rps
|
|
302
275
|
display: flex
|
|
303
|
-
overflow: scroll
|
|
276
|
+
// overflow: scroll
|
|
304
277
|
.item
|
|
305
278
|
&+.item
|
|
306
279
|
margin-left: $gap
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// layout/friends.ejs
|
|
2
|
+
if hexo-config('pages.friends.layout_scheme') != 'traditional'
|
|
3
|
+
.md .simpleuser-group
|
|
4
|
+
margin: 0
|
|
5
|
+
display: grid
|
|
6
|
+
grid-template-columns: repeat(auto-fill, 112px)
|
|
7
|
+
.md .simpleuser
|
|
8
|
+
text-align: center
|
|
9
|
+
padding: 1em .5em
|
|
10
|
+
border-radius: 4px
|
|
11
|
+
img
|
|
12
|
+
display: block
|
|
13
|
+
width: 50px
|
|
14
|
+
height 50px
|
|
15
|
+
border-radius: 50px
|
|
16
|
+
object-fit: cover
|
|
17
|
+
img+span
|
|
18
|
+
display: block
|
|
19
|
+
font-size: $fontsize-meta
|
|
20
|
+
line-height: 1.2
|
|
21
|
+
color: var(--color-text)
|
|
22
|
+
&:hover
|
|
23
|
+
background: var(--color-site-bg)
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// layout/friends.ejs
|
|
2
|
+
if hexo-config('pages.friends.layout_scheme') == 'traditional'
|
|
3
|
+
.article.l_friends
|
|
4
|
+
.friends-group
|
|
5
|
+
.friend-content
|
|
6
|
+
display: flex
|
|
7
|
+
flex-wrap: wrap
|
|
8
|
+
margin: -0.5 * $gap
|
|
9
|
+
border-radius: $border-card
|
|
10
|
+
align-items: flex-start
|
|
11
|
+
line-height: 1.3
|
|
12
|
+
.friend-card
|
|
13
|
+
display: flex
|
|
14
|
+
border-radius: $border-codeblock
|
|
15
|
+
box-shadow: $boxshadow-card
|
|
16
|
+
padding: $gap * 0.5 0
|
|
17
|
+
margin: $gap * 0.5
|
|
18
|
+
margin-top: "calc(2.25 * %s + 32px)" % $gap
|
|
19
|
+
color: var(--color-meta)
|
|
20
|
+
background: var(--color-block)
|
|
21
|
+
justify-content: flex-start
|
|
22
|
+
align-content: flex-start
|
|
23
|
+
flex-direction: column
|
|
24
|
+
width: "calc(100%/4 - %s)" % $gap
|
|
25
|
+
@media screen and (max-width: $device-laptop)
|
|
26
|
+
width: "calc(100%/4 - %s)" % $gap
|
|
27
|
+
|
|
28
|
+
@media screen and (max-width: $device-tablet)
|
|
29
|
+
width: "calc(100%/3 - %s)" % $gap
|
|
30
|
+
|
|
31
|
+
@media screen and (max-width: $device-mobile)
|
|
32
|
+
width: "calc(100%/2 - %s)" % $gap
|
|
33
|
+
|
|
34
|
+
&:hover
|
|
35
|
+
.friend-left
|
|
36
|
+
.avatar
|
|
37
|
+
transform: scale(1.2) rotate(12deg)
|
|
38
|
+
box-shadow: $boxshadow-card-float
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
.friend-left
|
|
43
|
+
display: flex
|
|
44
|
+
align-self: center
|
|
45
|
+
.avatar
|
|
46
|
+
width: 64px
|
|
47
|
+
height: 64px
|
|
48
|
+
trans()
|
|
49
|
+
box-shadow: $boxshadow-card
|
|
50
|
+
margin: $gap $gap * 0.5 $gap * 0.25 $gap * 0.5
|
|
51
|
+
margin-top: "calc(-1.25 * %s - 32px)" % $gap
|
|
52
|
+
border-radius: 100%
|
|
53
|
+
border: 2px solid white
|
|
54
|
+
background: white
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
.friend-right
|
|
58
|
+
margin: $gap * 0.25 $gap * 0.5
|
|
59
|
+
display: flex
|
|
60
|
+
flex-direction: column
|
|
61
|
+
text-align: center
|
|
62
|
+
p
|
|
63
|
+
text-align: center
|
|
64
|
+
|
|
65
|
+
.friend-tags-wrapper
|
|
66
|
+
trans()
|
|
67
|
+
margin-left: -2px
|
|
68
|
+
word-break:break-all
|
|
69
|
+
p
|
|
70
|
+
margin: 0
|
|
71
|
+
&.friend-name
|
|
72
|
+
font-size: $fontsize-code
|
|
73
|
+
padding-top: 4px
|
|
74
|
+
font-weight: bold
|
|
75
|
+
|
|
76
|
+
&.tags
|
|
77
|
+
font-size: $fontsize-footnote
|
|
78
|
+
display: inline
|
|
79
|
+
background: none
|
|
80
|
+
word-wrap: break-word
|
|
81
|
+
padding-right: 4px
|
|
File without changes
|