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
package/scripts/tags/issues.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* issues.js | https://github.com/volantis-x/hexo-theme-volantis
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
// 从 issues 加载动态数据
|
|
8
|
-
// {% issues sites/timeline/friends | api=xxx | group=key:a,b,c %}
|
|
9
|
-
// 例如:
|
|
10
|
-
// {% issues sites | api=https://api.github.com/repos/volantis-x/examples/issues?sort=updated&state=open&page=1&per_page=100 | group=version:latest,v6,v5,v4,v3,v2,v1,v0 %}
|
|
11
|
-
hexo.extend.tag.register('issues', function(args) {
|
|
12
|
-
args = args.join(' ').split(' | ');
|
|
13
|
-
// 所有支持的参数
|
|
14
|
-
let type = args[0].trim();
|
|
15
|
-
let api = '';
|
|
16
|
-
let group = '';
|
|
17
|
-
// 解析
|
|
18
|
-
if (args.length > 1) {
|
|
19
|
-
for (let i = 1; i < args.length; i++) {
|
|
20
|
-
let tmp = args[i].trim();
|
|
21
|
-
if (tmp.includes('type=')) {
|
|
22
|
-
type = tmp.substring(5, tmp.length);
|
|
23
|
-
} else if (tmp.includes('api=')) {
|
|
24
|
-
api = tmp.substring(4, tmp.length);
|
|
25
|
-
} else if (tmp.includes('group=')) {
|
|
26
|
-
group = tmp.substring(6, tmp.length);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
if (type.length == 0 || api.length == 0) {
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
// 布局
|
|
34
|
-
let ret = '<div class="issues-api ' + type + '"';
|
|
35
|
-
ret += 'api="' + api + '"';
|
|
36
|
-
if (group.length > 0) {
|
|
37
|
-
ret += 'group="' + group + '"';
|
|
38
|
-
}
|
|
39
|
-
ret += '></div>';
|
|
40
|
-
return ret;
|
|
41
|
-
});
|
|
@@ -1,316 +0,0 @@
|
|
|
1
|
-
pre
|
|
2
|
-
position: relative
|
|
3
|
-
.hljs
|
|
4
|
-
margin: 0 - $gap !important
|
|
5
|
-
padding: $gap !important
|
|
6
|
-
-webkit-font-smoothing: auto
|
|
7
|
-
-moz-osx-font-smoothing: auto
|
|
8
|
-
scrollbar()
|
|
9
|
-
if hexo-config('custom_css.body.highlight.language') == true
|
|
10
|
-
&:before
|
|
11
|
-
position: absolute
|
|
12
|
-
top: 0
|
|
13
|
-
right: 0
|
|
14
|
-
color: var(--color-meta)
|
|
15
|
-
font-size: 13px
|
|
16
|
-
padding: 4px 8px
|
|
17
|
-
&.md:before,&.markdown:before
|
|
18
|
-
content: "md"
|
|
19
|
-
&.yaml:before
|
|
20
|
-
content: "YAML"
|
|
21
|
-
&.json:before
|
|
22
|
-
content: "JSON"
|
|
23
|
-
|
|
24
|
-
&.html:before
|
|
25
|
-
content: "HTML"
|
|
26
|
-
&.js:before,&.javascript:before
|
|
27
|
-
content: "JS"
|
|
28
|
-
&.css:before
|
|
29
|
-
content: "CSS"
|
|
30
|
-
&.less:before
|
|
31
|
-
content: "Less"
|
|
32
|
-
&.stylus:before
|
|
33
|
-
content: "Stylus"
|
|
34
|
-
|
|
35
|
-
&.bash:before
|
|
36
|
-
content: "bash"
|
|
37
|
-
&.shell:before
|
|
38
|
-
content: "shell"
|
|
39
|
-
&.sh:before
|
|
40
|
-
content: "sh"
|
|
41
|
-
&.ini:before
|
|
42
|
-
content: "ini"
|
|
43
|
-
|
|
44
|
-
&.c:before
|
|
45
|
-
content: "C"
|
|
46
|
-
&.cpp:before
|
|
47
|
-
content: "C++"
|
|
48
|
-
&.objc:before,&.objectivec:before
|
|
49
|
-
content: "Objective-C"
|
|
50
|
-
&.swift:before
|
|
51
|
-
content: "Swift"
|
|
52
|
-
|
|
53
|
-
&.java:before
|
|
54
|
-
content: "Java"
|
|
55
|
-
&.python:before
|
|
56
|
-
content: "Python"
|
|
57
|
-
&.php:before
|
|
58
|
-
content: "PHP"
|
|
59
|
-
&.rust:before
|
|
60
|
-
content: "Rust"
|
|
61
|
-
&.sql:before
|
|
62
|
-
content: "SQL"
|
|
63
|
-
&.ruby:before
|
|
64
|
-
content: "Ruby"
|
|
65
|
-
&.makefile:before
|
|
66
|
-
content: "Makefile"
|
|
67
|
-
&.go:before
|
|
68
|
-
content: "Go"
|
|
69
|
-
&.typescript:before
|
|
70
|
-
content: "TypeScript"
|
|
71
|
-
|
|
72
|
-
.highlight
|
|
73
|
-
position: relative
|
|
74
|
-
width: 100%
|
|
75
|
-
margin: $gap-p 0
|
|
76
|
-
display: block
|
|
77
|
-
background: var(--color-block)
|
|
78
|
-
font-size: $fontsize-code
|
|
79
|
-
font-family: $fontfamily-code
|
|
80
|
-
border-radius: $border-codeblock
|
|
81
|
-
// border: 1px solid transparent
|
|
82
|
-
line-height: 1.5
|
|
83
|
-
-webkit-font-smoothing: auto
|
|
84
|
-
-moz-osx-font-smoothing: auto
|
|
85
|
-
overflow: hidden
|
|
86
|
-
trans()
|
|
87
|
-
if hexo-config('custom_css.body.highlight.grayscale') == true
|
|
88
|
-
filter: grayscale(100%)
|
|
89
|
-
&:hover
|
|
90
|
-
background: var(--color-codeblock)
|
|
91
|
-
if hexo-config('custom_css.body.highlight.grayscale') == true
|
|
92
|
-
filter: grayscale(0%)
|
|
93
|
-
figcaption
|
|
94
|
-
trans()
|
|
95
|
-
background: darken($color-codeblock, 5%)
|
|
96
|
-
.gutter
|
|
97
|
-
background: darken($color-codeblock, 5)
|
|
98
|
-
figcaption
|
|
99
|
-
font-size: 13px
|
|
100
|
-
position: sticky
|
|
101
|
-
left: 0
|
|
102
|
-
padding: $gap * 0.25 $gap * 0.5 $gap * 0.25 $gap * 0.5
|
|
103
|
-
background: darken($color-block, 5%)
|
|
104
|
-
border-top-left-radius: "calc(%s - 1px)" % $border-codeblock
|
|
105
|
-
border-top-right-radius: "calc(%s - 1px)" % $border-codeblock
|
|
106
|
-
|
|
107
|
-
>table
|
|
108
|
-
overflow: auto
|
|
109
|
-
display: block
|
|
110
|
-
scrollbar-codeblock()
|
|
111
|
-
td,th
|
|
112
|
-
padding: 0
|
|
113
|
-
border: none
|
|
114
|
-
line-height: 1.5
|
|
115
|
-
margin: 0
|
|
116
|
-
background-color: transparent
|
|
117
|
-
border: none
|
|
118
|
-
tr
|
|
119
|
-
background-color: transparent
|
|
120
|
-
&:hover
|
|
121
|
-
background-color: transparent
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
.gutter
|
|
125
|
-
disable-user-select()
|
|
126
|
-
padding: 0 12px
|
|
127
|
-
text-align: right
|
|
128
|
-
border-width: 0
|
|
129
|
-
margin-left: 0
|
|
130
|
-
position: sticky
|
|
131
|
-
left: 0
|
|
132
|
-
z-index: 1
|
|
133
|
-
background: darken($color-block, 5)
|
|
134
|
-
pre
|
|
135
|
-
color: var(--color-meta)
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
pre
|
|
139
|
-
background: transparent
|
|
140
|
-
margin: 0
|
|
141
|
-
padding: 0
|
|
142
|
-
border: none
|
|
143
|
-
.code:before
|
|
144
|
-
display: none
|
|
145
|
-
|
|
146
|
-
.code
|
|
147
|
-
padding: $gap * 1.25 $gap
|
|
148
|
-
vertical-align: top
|
|
149
|
-
background-color: transparent
|
|
150
|
-
&:before
|
|
151
|
-
content: ""
|
|
152
|
-
position: absolute
|
|
153
|
-
top: 0
|
|
154
|
-
right: 0
|
|
155
|
-
color: var(--color-meta)
|
|
156
|
-
font-size: 13px
|
|
157
|
-
padding: 4px 8px
|
|
158
|
-
|
|
159
|
-
if hexo-config('custom_css.body.highlight.language') == true
|
|
160
|
-
&.md .code:before,&.markdown .code:before
|
|
161
|
-
content: "md"
|
|
162
|
-
&.yaml .code:before
|
|
163
|
-
content: "YAML"
|
|
164
|
-
&.json .code:before
|
|
165
|
-
content: "JSON"
|
|
166
|
-
|
|
167
|
-
&.diff .code:before
|
|
168
|
-
content: "diff"
|
|
169
|
-
|
|
170
|
-
&.html .code:before
|
|
171
|
-
content: "HTML"
|
|
172
|
-
&.js .code:before,&.javascript .code:before
|
|
173
|
-
content: "JS"
|
|
174
|
-
&.css .code:before
|
|
175
|
-
content: "CSS"
|
|
176
|
-
&.less .code:before
|
|
177
|
-
content: "Less"
|
|
178
|
-
&.stylus .code:before
|
|
179
|
-
content: "Stylus"
|
|
180
|
-
|
|
181
|
-
&.bash .code:before
|
|
182
|
-
content: "bash"
|
|
183
|
-
&.shell .code:before
|
|
184
|
-
content: "shell"
|
|
185
|
-
&.sh .code:before
|
|
186
|
-
content: "sh"
|
|
187
|
-
&.ini .code:before
|
|
188
|
-
content: "ini"
|
|
189
|
-
|
|
190
|
-
&.c .code:before
|
|
191
|
-
content: "C"
|
|
192
|
-
&.cpp .code:before
|
|
193
|
-
content: "C++"
|
|
194
|
-
&.objc .code:before,&.objectivec .code:before
|
|
195
|
-
content: "Objective-C"
|
|
196
|
-
&.swift .code:before
|
|
197
|
-
content: "Swift"
|
|
198
|
-
|
|
199
|
-
&.java .code:before
|
|
200
|
-
content: "Java"
|
|
201
|
-
&.python .code:before
|
|
202
|
-
content: "Python"
|
|
203
|
-
&.php .code:before
|
|
204
|
-
content: "PHP"
|
|
205
|
-
&.rust .code:before
|
|
206
|
-
content: "Rust"
|
|
207
|
-
&.sql .code:before
|
|
208
|
-
content: "SQL"
|
|
209
|
-
&.ruby .code:before
|
|
210
|
-
content: "Ruby"
|
|
211
|
-
&.makefile .code:before
|
|
212
|
-
content: "Makefile"
|
|
213
|
-
&.go .code:before
|
|
214
|
-
content: "Go"
|
|
215
|
-
&.typescript .code:before
|
|
216
|
-
content: "TypeScript"
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
$hl-keyword = #9c27b0
|
|
222
|
-
$hl-blue = #1E80F0
|
|
223
|
-
$hl-cyan = #17AFCA
|
|
224
|
-
$hl-green = #3FA33F
|
|
225
|
-
$hl-light-blue = #6ECDF9
|
|
226
|
-
$hl-red = #EE2B29
|
|
227
|
-
$hl-orange = #FB3F1B
|
|
228
|
-
$hl-amber = #FD8607
|
|
229
|
-
$hl-text = alpha($color-text, .9)
|
|
230
|
-
.highlight pre
|
|
231
|
-
// 行
|
|
232
|
-
.line,.params
|
|
233
|
-
color: $hl-text
|
|
234
|
-
|
|
235
|
-
.line .addition
|
|
236
|
-
color: $hl-green
|
|
237
|
-
.line .deletion
|
|
238
|
-
color: $hl-red
|
|
239
|
-
|
|
240
|
-
.marked
|
|
241
|
-
background-color: alpha(#FED542, .4)
|
|
242
|
-
padding: 2px 8px 2px 0
|
|
243
|
-
border-radius: 2px
|
|
244
|
-
width: 100%
|
|
245
|
-
|
|
246
|
-
.title, .attr, .attribute
|
|
247
|
-
color: $color-md-indigo
|
|
248
|
-
|
|
249
|
-
// 注释
|
|
250
|
-
.comment
|
|
251
|
-
color: alpha($color-p, .5)
|
|
252
|
-
|
|
253
|
-
.keyword, .meta-keyword, .javascript .function
|
|
254
|
-
color: $hl-keyword
|
|
255
|
-
|
|
256
|
-
.type, .built_in, .tag .name
|
|
257
|
-
color: $color-md-light-blue
|
|
258
|
-
|
|
259
|
-
.variable, .regexp, .ruby .constant, .xml .tag .title, .xml .pi, .xml .doctype, .html .doctype, .css .id, .css .class, .css .pseudo
|
|
260
|
-
color: $hl-amber
|
|
261
|
-
|
|
262
|
-
.number, .preprocessor, .literal, .constant
|
|
263
|
-
color: $hl-amber
|
|
264
|
-
|
|
265
|
-
.class, .ruby .class .title, .css .rules .attribute
|
|
266
|
-
color: $color-md-orange
|
|
267
|
-
|
|
268
|
-
.string, .meta-string
|
|
269
|
-
color: darken($color-md-green, 10%)
|
|
270
|
-
|
|
271
|
-
.value, .inheritance, .header, .ruby .symbol, .xml .cdata
|
|
272
|
-
color: $color-md-green
|
|
273
|
-
|
|
274
|
-
.css .hexcolor
|
|
275
|
-
color: #66cccc
|
|
276
|
-
|
|
277
|
-
.function, .python .decorator, .python .title, .ruby .function .title, .ruby .title .keyword, .perl .sub, .javascript .title, .coffeescript .title
|
|
278
|
-
color: #6699cc
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
.highlight.html,.highlight.css,.highlight.less,.highlight.stylus
|
|
282
|
-
.line
|
|
283
|
-
.tag .name, .selector-tag
|
|
284
|
-
color: $hl-red
|
|
285
|
-
.selector-class, .selector-attr
|
|
286
|
-
color: $hl-amber
|
|
287
|
-
.attribute
|
|
288
|
-
color: $color-md-indigo
|
|
289
|
-
.number
|
|
290
|
-
color: $hl-cyan
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
.highlight.objc,.highlight.objectivec,.highlight.swift,.highlight.c
|
|
294
|
-
.line
|
|
295
|
-
.meta
|
|
296
|
-
color: $hl-keyword
|
|
297
|
-
.meta-string,.string
|
|
298
|
-
color: $hl-orange
|
|
299
|
-
.class
|
|
300
|
-
color: $hl-text
|
|
301
|
-
.title
|
|
302
|
-
color: $hl-blue
|
|
303
|
-
.comment
|
|
304
|
-
color: $hl-green
|
|
305
|
-
|
|
306
|
-
.highlight.json
|
|
307
|
-
.line
|
|
308
|
-
.attr
|
|
309
|
-
color: #E24F5A
|
|
310
|
-
.literal
|
|
311
|
-
color: $color-md-indigo
|
|
312
|
-
|
|
313
|
-
.highlight.yaml
|
|
314
|
-
.line
|
|
315
|
-
.attr
|
|
316
|
-
color: #E24F5A
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
.article.l_friends
|
|
2
|
-
.friends-group
|
|
3
|
-
.friend-content
|
|
4
|
-
display: flex
|
|
5
|
-
flex-wrap: wrap
|
|
6
|
-
margin: -0.5 * $gap
|
|
7
|
-
border-radius: $border-card
|
|
8
|
-
align-items: flex-start
|
|
9
|
-
line-height: 1.3
|
|
10
|
-
.friend-card
|
|
11
|
-
display: flex
|
|
12
|
-
border-radius: $border-codeblock
|
|
13
|
-
box-shadow: $boxshadow-card
|
|
14
|
-
padding: $gap * 0.5 0
|
|
15
|
-
margin: $gap * 0.5
|
|
16
|
-
margin-top: "calc(2.25 * %s + 32px)" % $gap
|
|
17
|
-
color: var(--color-meta)
|
|
18
|
-
background: var(--color-block)
|
|
19
|
-
justify-content: flex-start
|
|
20
|
-
align-content: flex-start
|
|
21
|
-
flex-direction: column
|
|
22
|
-
width: "calc(100%/4 - %s)" % $gap
|
|
23
|
-
@media screen and (max-width: $device-laptop)
|
|
24
|
-
width: "calc(100%/4 - %s)" % $gap
|
|
25
|
-
|
|
26
|
-
@media screen and (max-width: $device-tablet)
|
|
27
|
-
width: "calc(100%/3 - %s)" % $gap
|
|
28
|
-
|
|
29
|
-
@media screen and (max-width: $device-mobile)
|
|
30
|
-
width: "calc(100%/2 - %s)" % $gap
|
|
31
|
-
|
|
32
|
-
&:hover
|
|
33
|
-
.friend-left
|
|
34
|
-
.avatar
|
|
35
|
-
transform: scale(1.2) rotate(12deg)
|
|
36
|
-
box-shadow: $boxshadow-card-float
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
.friend-left
|
|
41
|
-
display: flex
|
|
42
|
-
align-self: center
|
|
43
|
-
.avatar
|
|
44
|
-
width: 64px
|
|
45
|
-
height: 64px
|
|
46
|
-
trans()
|
|
47
|
-
box-shadow: $boxshadow-card
|
|
48
|
-
margin: $gap $gap * 0.5 $gap * 0.25 $gap * 0.5
|
|
49
|
-
margin-top: "calc(-1.25 * %s - 32px)" % $gap
|
|
50
|
-
border-radius: 100%
|
|
51
|
-
border: 2px solid white
|
|
52
|
-
background: white
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
.friend-right
|
|
56
|
-
margin: $gap * 0.25 $gap * 0.5
|
|
57
|
-
display: flex
|
|
58
|
-
flex-direction: column
|
|
59
|
-
text-align: center
|
|
60
|
-
p
|
|
61
|
-
text-align: center
|
|
62
|
-
|
|
63
|
-
.friend-tags-wrapper
|
|
64
|
-
trans()
|
|
65
|
-
margin-left: -2px
|
|
66
|
-
word-break:break-all
|
|
67
|
-
p
|
|
68
|
-
margin: 0
|
|
69
|
-
&.friend-name
|
|
70
|
-
font-size: $fontsize-code
|
|
71
|
-
padding-top: 4px
|
|
72
|
-
font-weight: bold
|
|
73
|
-
|
|
74
|
-
&.tags
|
|
75
|
-
font-size: $fontsize-footnote
|
|
76
|
-
display: inline
|
|
77
|
-
background: none
|
|
78
|
-
word-wrap: break-word
|
|
79
|
-
padding-right: 4px
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
//代码块复制按钮
|
|
2
|
-
if hexo-config('custom_css.body.highlight.copy_btn') == true
|
|
3
|
-
.highlight
|
|
4
|
-
//方便copy代码按钮(btn-copy)的定位
|
|
5
|
-
position: relative
|
|
6
|
-
|
|
7
|
-
.btn-copy
|
|
8
|
-
z-index: 1
|
|
9
|
-
display: inline-block
|
|
10
|
-
cursor: pointer
|
|
11
|
-
border: none
|
|
12
|
-
disable-user-select()
|
|
13
|
-
-webkit-appearance: none
|
|
14
|
-
font-family: Menlo, $fontfamily-code
|
|
15
|
-
font-size: 11px
|
|
16
|
-
font-weight: bold
|
|
17
|
-
padding: $gap * 0.25 $gap * 0.5
|
|
18
|
-
>i
|
|
19
|
-
margin-right: 4px
|
|
20
|
-
color: var(--color-meta)
|
|
21
|
-
background: var(--color-card)
|
|
22
|
-
border-radius: 3px
|
|
23
|
-
box-shadow: $boxshadow-card
|
|
24
|
-
position: absolute
|
|
25
|
-
top: 1px
|
|
26
|
-
right: 1px
|
|
27
|
-
opacity: 0
|
|
28
|
-
trans()
|
|
29
|
-
&:hover
|
|
30
|
-
color: $color-hover
|
|
31
|
-
background: bgcolor($color-hover)
|
|
32
|
-
|
|
33
|
-
.highlight:hover .btn-copy
|
|
34
|
-
opacity: 1
|
|
35
|
-
|
|
36
|
-
.article pre:hover .btn-copy
|
|
37
|
-
opacity: 1
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
if hexo-config('plugins.backstretch.position') == 'fixed'
|
|
2
|
-
.backstretch
|
|
3
|
-
background-color: #282c34 !important
|
|
4
|
-
.backstretch-item
|
|
5
|
-
display: none !important
|
|
6
|
-
else
|
|
7
|
-
#l_body
|
|
8
|
-
background-color: black !important
|
|
9
|
-
img
|
|
10
|
-
filter: brightness(convert(hexo-config('color_scheme.dark.brightness'))) !important
|
|
11
|
-
.lazyload
|
|
12
|
-
filter: brightness(convert(hexo-config('color_scheme.dark.brightness'))) !important
|
|
13
|
-
.pdf
|
|
14
|
-
filter: brightness(convert(hexo-config('color_scheme.dark.brightness'))) !important
|
|
15
|
-
//header
|
|
16
|
-
#wrapper .title
|
|
17
|
-
color: var(--color-meta)
|
|
18
|
-
.l_header ul.nav-list-h>li>a, ul.list-v >li>a
|
|
19
|
-
color: var(--color-list)
|
|
20
|
-
.blur
|
|
21
|
-
background: var(--color-site-bg) !important
|
|
22
|
-
.nav-main
|
|
23
|
-
.u-search-input
|
|
24
|
-
background: var(--color-card) !important
|
|
25
|
-
.l_main .article .prev-next>a
|
|
26
|
-
background: var(--color-block)
|
|
27
|
-
&:hover
|
|
28
|
-
background: var(--color-card)
|
|
29
|
-
.article blockquote
|
|
30
|
-
background: var(--color-block)
|
|
31
|
-
.article-title a
|
|
32
|
-
color: var(--color-h1)
|
|
33
|
-
details>summary
|
|
34
|
-
color: var(--color-p)
|
|
35
|
-
background: var(--color-site-bg)
|
|
36
|
-
details
|
|
37
|
-
border: 1px solid var(--color-site-bg)
|
|
38
|
-
background: var(--color-site-bg)
|
|
39
|
-
//search
|
|
40
|
-
#u-search .modal
|
|
41
|
-
background: var(--color-card) !important
|
|
42
|
-
#u-search .modal-header
|
|
43
|
-
background: var(--color-card) !important
|
|
44
|
-
#u-search .modal-body
|
|
45
|
-
background: var(--color-card) !important
|
|
46
|
-
#u-search .modal-body .modal-results .result:hover
|
|
47
|
-
background: var(--color-block) !important
|
|
48
|
-
//phone search
|
|
49
|
-
.l_header .m_search
|
|
50
|
-
@media screen and (max-width: $device-mobile)
|
|
51
|
-
background: var(--color-site-bg) !important
|
|
52
|
-
//side
|
|
53
|
-
.widget.blogger .content .social-wrapper a.social:hover
|
|
54
|
-
background: var(--color-card)
|
|
55
|
-
.content
|
|
56
|
-
color: var(--color-p)
|
|
57
|
-
.note
|
|
58
|
-
background: var(--color-block) !important
|
|
59
|
-
div.tabs ul.nav-tabs li.tab.active a
|
|
60
|
-
color: var(--color-p)
|
|
61
|
-
background: var(--color-card)
|
|
62
|
-
kbd
|
|
63
|
-
background: var(--color-block) !important
|
|
64
|
-
.cover-wrapper.dock .menu .list-h a:hover, .cover-wrapper.featured .menu .list-h a:hover, .cover-wrapper.focus .menu .list-h a:hover
|
|
65
|
-
color: var(--color-text) !important
|
|
66
|
-
//highlight
|
|
67
|
-
.gutter
|
|
68
|
-
background: var(--color-card) !important
|
|
69
|
-
background-color: var(--color-card) !important
|
|
70
|
-
.highlight figcaption
|
|
71
|
-
background-color: #21252b
|
|
72
|
-
.highlight pre .line, .highlight pre .params
|
|
73
|
-
color: rgba(158, 142, 142, 0.9)
|
|
74
|
-
//table
|
|
75
|
-
*:not(.highlight) >table tr
|
|
76
|
-
background-color: var(--color-card)
|
|
77
|
-
*:not(.highlight) >table th
|
|
78
|
-
background: var(--color-site-bg)
|
|
79
|
-
*:not(.highlight) table td,*:not(.highlight) table th
|
|
80
|
-
border-color: var(--color-site-bg)
|
|
81
|
-
*:not(.highlight) >table tr:hover
|
|
82
|
-
background: var(--color-codeblock)
|
|
83
|
-
.timenode .highlight
|
|
84
|
-
border-color: var(--color-site-bg) !important
|
|
85
|
-
blockquote p
|
|
86
|
-
color: var(--color-p)
|
|
87
|
-
// tags
|
|
88
|
-
#archive-page .archive .all-tags ul li span
|
|
89
|
-
color: var(--color-text)
|
|
90
|
-
background: #6f6f72
|
|
91
|
-
if hexo-config('comments.service')=='gitalk'
|
|
92
|
-
.gt-container .gt-header-textarea
|
|
93
|
-
background-color: var(--color-card)
|
|
94
|
-
&:hover
|
|
95
|
-
background-color: var(--color-block)
|
|
96
|
-
.gt-container .gt-comment-content
|
|
97
|
-
background-color: var(--color-card)
|
|
98
|
-
&:hover
|
|
99
|
-
box-shadow: none
|
|
100
|
-
.gt-container .gt-comment-admin .gt-comment-content
|
|
101
|
-
background-color: var(--color-card)
|
|
102
|
-
if hexo-config('comments.service')=='minivaline'
|
|
103
|
-
.MiniValine .vpage .more
|
|
104
|
-
background: var(--color-site-bg)
|
|
105
|
-
.MiniValine .vlist .vcard .vcomment-body .text-wrapper .vcomment.expand:before
|
|
106
|
-
background: linear-gradient(180deg, rgba(246,246,246,0), rgba(0,0,0,0.9))
|
|
107
|
-
.MiniValine .vlist .vcard .vcomment-body .text-wrapper .vcomment.expand:after
|
|
108
|
-
background: rgba(0,0,0,0.9)
|
|
109
|
-
.MiniValine .vlist .vcard .vcomment-body .text-wrapper .vcomment pre
|
|
110
|
-
background: var(--color-site-bg)
|
|
111
|
-
border: 1px solid var(--color-site-bg)
|
|
112
|
-
.MiniValine .vinputs-area .vextra-area .vsmile-icons
|
|
113
|
-
background: transparent
|
|
114
|
-
.MiniValine .vlist .vcard .vcomment-body .vhead
|
|
115
|
-
filter: brightness(85%)
|
|
116
|
-
.MiniValine .vbtn
|
|
117
|
-
background: var(--color-card)
|
|
118
|
-
&:hover
|
|
119
|
-
background: var(--color-block)
|
|
120
|
-
.MiniValine .vpage .more:hover
|
|
121
|
-
background: var(--color-card)
|
|
122
|
-
if hexo-config('plugins.aplayer.enable')
|
|
123
|
-
.aplayer
|
|
124
|
-
background: var(--color-site-bg)
|
|
125
|
-
.aplayer .aplayer-list ol li:hover
|
|
126
|
-
background: rgba($color-theme,.2)
|
|
127
|
-
.aplayer .aplayer-list ol li.aplayer-list-light
|
|
128
|
-
background: var(--color-block)
|
|
129
|
-
.aplayer-info
|
|
130
|
-
background: var(--color-site-bg) !important
|
|
131
|
-
.aplayer .aplayer-lrc:before
|
|
132
|
-
background: linear-gradient(180deg,#282c34 0,hsla(0,0%,100%,0))
|
|
133
|
-
.aplayer .aplayer-lrc:after
|
|
134
|
-
background: linear-gradient(180deg,hsla(0,0%,0%,0) 0,hsla(0,0%,13%,.8))
|
|
135
|
-
.aplayer-pic
|
|
136
|
-
filter: brightness(convert(hexo-config('color_scheme.dark.brightness')))
|
|
137
|
-
.aplayer .aplayer-list ol li
|
|
138
|
-
border-top: 1px solid var(--color-card)
|
|
139
|
-
.aplayer.aplayer-withlist .aplayer-info
|
|
140
|
-
border-bottom: 1px solid var(--color-block)
|
|
141
|
-
if hexo-config('comments.service')=='valine'
|
|
142
|
-
#valine_container button
|
|
143
|
-
background-color: var(--color-block) !important
|
|
144
|
-
#valine_container .vcards .vcontent.expand:before
|
|
145
|
-
background: none !important
|
|
146
|
-
#valine_container .vcards .vcontent.expand:after
|
|
147
|
-
background: #393c40 !important
|
|
148
|
-
.v[data-class=v] code, .v[data-class=v] pre
|
|
149
|
-
background-color: #332828 !important
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
@import 'mathjax'
|
|
2
|
-
@import 'fancybox'
|
|
3
|
-
if hexo-config('plugins.aplayer.enable')
|
|
4
|
-
@import 'aplayer'
|
|
5
|
-
if hexo-config('plugins.clipboard.enable')
|
|
6
|
-
@import 'clipboard'
|
|
7
|
-
if hexo-config('plugins.pjax.enable') and hexo-config('plugins.pjax.animation')
|
|
8
|
-
@import 'pjaxanimate'
|
|
9
|
-
if hexo-config('comments.service')=='valine'
|
|
10
|
-
@import 'valine'
|
|
11
|
-
if hexo-config('comments.service')=='gitalk'
|
|
12
|
-
@import 'gitalk'
|
|
13
|
-
if hexo-config('custom_css.cursor.enable')
|
|
14
|
-
@import 'cursor'
|
|
15
|
-
if hexo-config('rightmenu.enable')
|
|
16
|
-
@import 'rightmenu'
|