hexo-theme-stellar 1.26.8 → 1.28.0
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/_config.yml +139 -95
- package/_data/icons.yml +8 -1
- package/_data/widgets.yml +19 -7
- package/languages/en.yml +5 -2
- package/languages/zh-CN.yml +4 -1
- package/languages/zh-TW.yml +5 -2
- package/layout/404.ejs +1 -1
- package/layout/_partial/{plugins/comments → comments}/artalk/script.ejs +2 -2
- package/layout/_partial/{plugins/comments/utterances → comments/giscus}/layout.ejs +5 -2
- package/layout/_partial/{plugins/comments → comments}/giscus/script.ejs +1 -4
- package/layout/_partial/{plugins/comments → comments}/layout.ejs +14 -9
- package/layout/_partial/{plugins/comments → comments}/twikoo/script.ejs +1 -1
- package/layout/_partial/comments/waline/script.ejs +43 -0
- package/layout/_partial/head.ejs +2 -2
- package/layout/_partial/main/article/article_footer.ejs +1 -1
- package/layout/_partial/main/footer.ejs +1 -1
- package/layout/_partial/main/navbar/article_banner.ejs +81 -17
- package/layout/_partial/main/navbar/ghinfo.ejs +1 -1
- package/layout/_partial/main/post_list/post_card.ejs +1 -1
- package/layout/_partial/menubtn.ejs +6 -3
- package/layout/_partial/scripts/defines.ejs +31 -0
- package/layout/_partial/scripts/services.ejs +29 -0
- package/layout/_partial/scripts/sidebar.ejs +25 -0
- package/layout/_partial/scripts/utils.ejs +158 -0
- package/layout/_partial/scripts.ejs +32 -0
- package/layout/_partial/sidebar/{index.ejs → index_leftbar.ejs} +22 -20
- package/layout/_partial/sidebar/index_rightbar.ejs +84 -0
- package/layout/_partial/sidebar/logo.ejs +1 -1
- package/layout/_partial/widgets/author.ejs +37 -0
- package/layout/_partial/widgets/components/edit.ejs +24 -0
- package/layout/_partial/widgets/ghissues.ejs +1 -1
- package/layout/_partial/widgets/ghrepo.ejs +2 -2
- package/layout/_partial/widgets/ghuser.ejs +2 -2
- package/layout/_partial/widgets/markdown.ejs +1 -1
- package/layout/_partial/widgets/recent.ejs +1 -5
- package/layout/_partial/widgets/related.ejs +1 -1
- package/layout/_partial/widgets/timeline.ejs +1 -1
- package/layout/_partial/widgets/toc.ejs +38 -85
- package/layout/_partial/widgets/tree.ejs +71 -0
- package/layout/_plugins/copycode.ejs +13 -0
- package/layout/_plugins/fancybox.ejs +32 -0
- package/layout/_plugins/heti.ejs +21 -0
- package/layout/_plugins/index.ejs +24 -0
- package/layout/_plugins/lazyload.ejs +21 -0
- package/layout/{_partial/plugins/parser/mathjax/script.ejs → _plugins/mathjax.ejs} +1 -1
- package/layout/_plugins/mermaid.ejs +29 -0
- package/layout/_plugins/preload.ejs +9 -0
- package/layout/_plugins/scrollreveal.ejs +15 -0
- package/layout/_plugins/search/algolia_search.ejs +13 -0
- package/layout/_plugins/search/local_search.ejs +8 -0
- package/layout/_plugins/swiper.ejs +26 -0
- package/layout/_plugins/tianli_gpt.ejs +14 -0
- package/layout/archive.ejs +9 -2
- package/layout/layout.ejs +9 -6
- package/layout/page.ejs +2 -10
- package/package.json +1 -1
- package/scripts/events/lib/doc_tree.js +8 -8
- package/scripts/events/lib/topic_tree.js +3 -0
- package/scripts/generators/author.js +3 -2
- package/scripts/helpers/parse_config.js +6 -5
- package/scripts/tags/lib/albums.js +2 -2
- package/scripts/tags/lib/button.js +1 -1
- package/scripts/tags/lib/emoji.js +1 -1
- package/scripts/tags/lib/friends.js +1 -1
- package/scripts/tags/lib/icon.js +10 -5
- package/scripts/tags/lib/link.js +2 -2
- package/scripts/tags/lib/md.js +1 -1
- package/scripts/tags/lib/posters.js +2 -2
- package/scripts/tags/lib/sites.js +1 -1
- package/scripts/tags/lib/timeline.js +2 -2
- package/source/css/_common/button.styl +8 -2
- package/source/css/_common/device.styl +39 -12
- package/source/css/_custom.styl +15 -16
- package/source/css/_defines/const.styl +1 -1
- package/source/css/_defines/func.styl +14 -4
- package/source/css/_defines/theme.styl +38 -27
- package/source/css/_layout/layout.styl +62 -27
- package/source/css/_layout/list.styl +1 -1
- package/source/css/_layout/main.styl +1 -4
- package/source/css/_layout/md.styl +16 -2
- package/source/css/_layout/pages/archives.styl +4 -0
- package/source/css/_layout/partial/article-banner.styl +14 -15
- package/source/css/_layout/partial/article-footer.styl +0 -5
- package/source/css/_layout/partial/footer.styl +9 -6
- package/source/css/_layout/partial/related.styl +4 -0
- package/source/css/_layout/sidebar/footer.styl +3 -1
- package/source/css/_layout/sidebar/logo.styl +3 -1
- package/source/css/_layout/sidebar/menu.styl +1 -1
- package/source/css/_layout/sidebar/nav-area.styl +1 -1
- package/source/css/_layout/sidebar/sidebar.styl +25 -16
- package/source/css/_layout/tag-plugins/banner.styl +1 -8
- package/source/css/_layout/tag-plugins/common.styl +10 -5
- package/source/css/_layout/tag-plugins/emoji.styl +1 -0
- package/source/css/_layout/tag-plugins/icon.styl +6 -0
- package/source/css/_layout/tag-plugins/image.styl +1 -1
- package/source/css/_layout/tag-plugins/quot.styl +1 -1
- package/source/css/_layout/tag-plugins/timeline.styl +26 -27
- package/source/css/_layout/widgets/ghrepo.styl +1 -1
- package/source/css/_layout/widgets/ghuser.styl +9 -5
- package/source/css/_layout/widgets/list.styl +4 -3
- package/source/css/_layout/widgets/related.styl +0 -1
- package/source/css/_layout/widgets/timeline.styl +27 -21
- package/source/css/_layout/widgets/toc.styl +182 -0
- package/source/css/_layout/widgets/tree.styl +0 -0
- package/source/css/_layout/widgets/widgets.styl +26 -7
- package/source/css/_plugins/comments/twikoo.styl +103 -59
- package/source/css/_plugins/comments/waline.styl +13 -10
- package/source/css/_plugins/index.styl +2 -0
- package/source/css/_plugins/katex.styl +5 -0
- package/source/css/_plugins/mermaid.styl +49 -59
- package/source/css/_plugins/tianli_gpt.styl +208 -151
- package/source/js/main.js +52 -251
- package/source/js/plugins/copycode.js +28 -41
- package/source/js/search/algolia-search.js +75 -0
- package/source/js/search/local-search.js +32 -0
- package/source/js/services/fcircle.js +36 -0
- package/source/js/services/friends.js +27 -0
- package/source/js/services/ghinfo.js +33 -0
- package/source/js/services/mdrender.js +10 -0
- package/source/js/services/memos.js +73 -0
- package/source/js/services/siteinfo.js +38 -0
- package/source/js/services/sites.js +30 -0
- package/source/js/services/timeline.js +106 -0
- package/source/js/services/weibo.js +60 -0
- package/layout/_partial/main/navbar/article_top_area.ejs +0 -35
- package/layout/_partial/main/navbar/author_banner.ejs +0 -29
- package/layout/_partial/plugins/ai/tianli_gpt.ejs +0 -9
- package/layout/_partial/plugins/comments/waline/script.ejs +0 -39
- package/layout/_partial/plugins/parser/head.ejs +0 -3
- package/layout/_partial/plugins/parser/katex/head.ejs +0 -3
- package/layout/_partial/plugins/parser/katex/script.ejs +0 -4
- package/layout/_partial/plugins/parser/mermaid/script.ejs +0 -29
- package/layout/_partial/plugins/parser/script.ejs +0 -9
- package/layout/_partial/scripts/index.ejs +0 -176
- package/source/css/_layout/widgets/toc_blog.styl +0 -3
- package/source/css/_layout/widgets/toc_common.styl +0 -92
- package/source/css/_layout/widgets/toc_wiki.styl +0 -62
- package/source/js/plugins/fcircle.js +0 -92
- package/source/js/plugins/friends.js +0 -84
- package/source/js/plugins/ghinfo.js +0 -85
- package/source/js/plugins/linkcard.js +0 -48
- package/source/js/plugins/marked.js +0 -50
- package/source/js/plugins/memos.js +0 -132
- package/source/js/plugins/sites.js +0 -87
- package/source/js/plugins/timeline.js +0 -162
- package/source/js/plugins/weibo.js +0 -116
- /package/layout/_partial/{plugins/comments → comments}/artalk/layout.ejs +0 -0
- /package/layout/_partial/{plugins/comments → comments}/beaudar/layout.ejs +0 -0
- /package/layout/_partial/{plugins/comments → comments}/beaudar/script.ejs +0 -0
- /package/layout/_partial/{plugins/comments → comments}/script.ejs +0 -0
- /package/layout/_partial/{plugins/comments → comments}/twikoo/layout.ejs +0 -0
- /package/layout/_partial/{plugins/comments/giscus → comments/utterances}/layout.ejs +0 -0
- /package/layout/_partial/{plugins/comments → comments}/utterances/script.ejs +0 -0
- /package/layout/_partial/{plugins/comments → comments}/waline/layout.ejs +0 -0
|
@@ -1,120 +1,164 @@
|
|
|
1
1
|
.cmt-body.twikoo
|
|
2
|
-
--twikoo-
|
|
3
|
-
--twikoo-secondtext: #909094;
|
|
4
|
-
--twikoo-emoji-background: #f8f8f8;
|
|
5
|
-
--twikoo-theme: $color-theme;
|
|
2
|
+
--twikoo-theme: $color-theme
|
|
6
3
|
margin-top: 1.5rem
|
|
7
4
|
|
|
8
5
|
.tk-content
|
|
9
6
|
.vemoji, .tk-owo-emotion
|
|
10
|
-
width: unset
|
|
11
|
-
border-radius: $border-image
|
|
12
|
-
max-height: 24px
|
|
13
|
-
max-width: 100px
|
|
14
|
-
|
|
7
|
+
width: unset
|
|
8
|
+
border-radius: $border-image
|
|
9
|
+
max-height: 24px
|
|
10
|
+
max-width: 100px
|
|
11
|
+
display: inline
|
|
12
|
+
margin: 0 0.25em
|
|
15
13
|
img
|
|
16
|
-
max-width: 400px
|
|
17
|
-
max-height: 400px
|
|
18
|
-
border-radius: $border-image
|
|
14
|
+
max-width: 400px
|
|
15
|
+
max-height: 400px
|
|
16
|
+
border-radius: $border-image
|
|
19
17
|
|
|
20
18
|
.OwO
|
|
21
19
|
.OwO-body
|
|
22
|
-
background: var(--
|
|
23
|
-
color: var(--text-p1) !important
|
|
20
|
+
background-color: var(--block) !important
|
|
21
|
+
color: var(--text-p1) !important
|
|
24
22
|
|
|
25
23
|
.OwO-items
|
|
26
24
|
.OwO-item
|
|
27
25
|
img
|
|
28
|
-
max-height: 26px
|
|
29
|
-
width: unset
|
|
26
|
+
max-height: 26px
|
|
27
|
+
width: unset
|
|
30
28
|
|
|
31
29
|
.twikoo
|
|
32
30
|
.el-input-group__append, .el-input-group__prepend,
|
|
33
31
|
.el-input__inner, .el-textarea__inner,
|
|
34
|
-
.el-button:not(.el-button--primary):not(.el-button--text),
|
|
35
|
-
.tk-comments-count,
|
|
36
|
-
.tk-content,
|
|
37
32
|
.tk-preview-container
|
|
38
|
-
color: var(--
|
|
39
|
-
|
|
33
|
+
border-color: var(--block-border)
|
|
34
|
+
.el-input__inner:focus,
|
|
35
|
+
.el-textarea__inner:focus
|
|
36
|
+
border-color: var(--twikoo-theme) !important
|
|
40
37
|
.el-button:not(.el-button--primary):not(.el-button--text):active,
|
|
41
38
|
.el-button:not(.el-button--primary):not(.el-button--text):focus,
|
|
42
39
|
.el-button:not(.el-button--primary):not(.el-button--text):hover
|
|
43
|
-
color: var(--twikoo-theme) !important
|
|
40
|
+
color: var(--twikoo-theme) !important
|
|
41
|
+
border-color: var(--theme-link-opa) !important
|
|
42
|
+
background-color: var(--block) !important
|
|
43
|
+
.el-button--primary.is-disabled:active,
|
|
44
|
+
.el-button--primary.is-disabled:focus,
|
|
45
|
+
.el-button--primary.is-disabled:hover
|
|
46
|
+
background-color: var(--theme-link-opa) !important
|
|
47
|
+
|
|
48
|
+
.el-button:focus,.el-button:hover
|
|
49
|
+
border-color: var(--theme-link-opa)
|
|
50
|
+
.el-button:active
|
|
51
|
+
color: var(--twikoo-theme)
|
|
52
|
+
border-color: var(--twikoo-theme)
|
|
53
|
+
.el-button.is-active,.el-button.is-plain:active
|
|
54
|
+
color: var(--twikoo-theme)
|
|
55
|
+
border-color: var(--twikoo-theme)
|
|
56
|
+
|
|
57
|
+
.el-button--primary
|
|
58
|
+
background-color: var(--twikoo-theme)
|
|
59
|
+
border-color: var(--twikoo-theme) !important
|
|
60
|
+
.el-button--primary:focus,.el-button--primary:hover
|
|
61
|
+
background: $color-hover
|
|
62
|
+
border-color: $color-hover !important
|
|
63
|
+
.el-button--primary:active
|
|
64
|
+
background: var(--twikoo-theme)
|
|
65
|
+
border-color: var(--twikoo-theme)
|
|
66
|
+
.el-button--primary.is-active
|
|
67
|
+
background: var(--twikoo-theme)
|
|
68
|
+
border-color: var(--twikoo-theme)
|
|
69
|
+
.el-button--primary.is-disabled,
|
|
70
|
+
.el-button--primary.is-disabled:active,
|
|
71
|
+
.el-button--primary.is-disabled:focus,
|
|
72
|
+
.el-button--primary.is-disabled:hover
|
|
73
|
+
background-color: var(--theme-link-opa) !important
|
|
74
|
+
border-color: var(--theme-link-opa) !important
|
|
75
|
+
.el-button--primary.is-plain
|
|
76
|
+
color: var(--twikoo-theme) !important
|
|
77
|
+
border-color: var(--theme-link-opa)
|
|
78
|
+
.el-button--primary.is-plain:focus,
|
|
79
|
+
.el-button--primary.is-plain:hover
|
|
80
|
+
background: var(--twikoo-theme) !important
|
|
81
|
+
border-color: var(--twikoo-theme)
|
|
82
|
+
.el-button--primary.is-plain:active
|
|
83
|
+
background: var(--twikoo-theme) !important
|
|
84
|
+
border-color: var(--twikoo-theme)
|
|
44
85
|
|
|
45
86
|
.tk-action-icon svg
|
|
46
|
-
color: var(--text-
|
|
87
|
+
color: var(--text-p2)
|
|
88
|
+
|
|
89
|
+
.tk-action-link
|
|
90
|
+
color: var(--text-p1)
|
|
91
|
+
&:hover
|
|
92
|
+
color: var(--twikoo-theme)
|
|
93
|
+
|
|
94
|
+
.el-loading-spinner .path
|
|
95
|
+
stroke: var(--twikoo-theme)
|
|
96
|
+
|
|
97
|
+
.tk-icon.__comments
|
|
98
|
+
color: var(--twikoo-theme)
|
|
47
99
|
|
|
48
100
|
b, strong
|
|
49
|
-
color: var(--
|
|
101
|
+
color: var(--text-p1)
|
|
50
102
|
|
|
51
103
|
a
|
|
52
104
|
cursor: pointer
|
|
53
105
|
|
|
54
106
|
.tk-time, .tk-extras
|
|
55
|
-
color: var(--
|
|
107
|
+
color: var(--text-p3)
|
|
56
108
|
|
|
57
109
|
.tk-expand
|
|
58
110
|
width: auto
|
|
59
111
|
border: none
|
|
60
112
|
padding: 6px 2rem
|
|
61
113
|
border-radius: $border-card
|
|
62
|
-
background: var(--block)
|
|
114
|
+
background: var(--block-hover)
|
|
63
115
|
color: var(--text-p1)
|
|
64
116
|
line-height: 2
|
|
65
117
|
font-size: 14px
|
|
66
118
|
font-weight: 500
|
|
67
|
-
|
|
119
|
+
trans1 background
|
|
68
120
|
|
|
69
121
|
&:hover
|
|
70
|
-
background: var(--
|
|
122
|
+
background: var(--card)
|
|
71
123
|
|
|
72
124
|
.tk-comment
|
|
73
|
-
margin-top: 0
|
|
125
|
+
margin-top: 0
|
|
74
126
|
margin-bottom: 1rem
|
|
75
|
-
border: 1px dashed var(--block-border)
|
|
76
|
-
padding: 1rem
|
|
77
|
-
border-radius: $border-card
|
|
78
|
-
background: var(--
|
|
127
|
+
border: 1px dashed var(--block-border)
|
|
128
|
+
padding: 1rem
|
|
129
|
+
border-radius: $border-card
|
|
130
|
+
background: var(--block)
|
|
79
131
|
|
|
80
132
|
&:hover
|
|
81
|
-
border-color: var(--twikoo-theme)
|
|
133
|
+
border-color: var(--twikoo-theme)
|
|
82
134
|
|
|
83
135
|
.tk-main .tk-comment
|
|
84
|
-
margin-top: 1rem
|
|
85
|
-
margin-bottom: 0
|
|
136
|
+
margin-top: 1rem
|
|
137
|
+
margin-bottom: 0
|
|
86
138
|
|
|
87
139
|
.tk-submit
|
|
88
|
-
padding: 1rem 1rem 0 1rem
|
|
89
|
-
border-radius: $border-card
|
|
90
|
-
background: var(--
|
|
140
|
+
padding: 1rem 1rem 0 1rem
|
|
141
|
+
border-radius: $border-card
|
|
142
|
+
background: var(--block)
|
|
91
143
|
|
|
92
144
|
.tk-tag
|
|
93
|
-
vertical-align: 0.1em
|
|
145
|
+
vertical-align: 0.1em
|
|
94
146
|
|
|
147
|
+
.tk-tag-green
|
|
148
|
+
border: none
|
|
149
|
+
background-color: var(--theme-link-opa)
|
|
150
|
+
color: var(--twikoo-theme)
|
|
151
|
+
|
|
95
152
|
.tk-comments-title .tk-comments-count
|
|
96
|
-
margin-top: 15px
|
|
97
|
-
color: var(--text-p1)
|
|
153
|
+
margin-top: 15px
|
|
154
|
+
color: var(--text-p1)
|
|
98
155
|
|
|
99
156
|
span:nth-child(1)
|
|
100
|
-
font-size: 1.5rem
|
|
101
|
-
font-weight: 700
|
|
157
|
+
font-size: 1.5rem
|
|
158
|
+
font-weight: 700
|
|
102
159
|
|
|
103
160
|
span:nth-child(2)
|
|
104
|
-
font-size: 1rem
|
|
161
|
+
font-size: 1rem
|
|
105
162
|
|
|
106
163
|
.tk-comments-no
|
|
107
|
-
color: var(--text-p1)
|
|
108
|
-
|
|
109
|
-
set_darkmode_comments()
|
|
110
|
-
.cmt-body.twikoo
|
|
111
|
-
--twikoo-lighttext: $color-link;
|
|
112
|
-
--twikoo-secondtext: var(--text-p2);
|
|
113
|
-
--twikoo-theme: $color-theme;
|
|
114
|
-
|
|
115
|
-
if hexo-config('style.darkmode') == 'auto'
|
|
116
|
-
@media (prefers-color-scheme: dark)
|
|
117
|
-
set_darkmode_comments()
|
|
118
|
-
|
|
119
|
-
if hexo-config('style.darkmode') == 'always'
|
|
120
|
-
set_darkmode_comments()
|
|
164
|
+
color: var(--text-p1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.cmt-body
|
|
1
|
+
.cmt-body
|
|
2
2
|
.wl-panel
|
|
3
3
|
margin: 0.5em 0 !important
|
|
4
4
|
.wl-meta-head
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
--waline-avatar-radius: 50%;
|
|
38
38
|
--waline-box-shadow: none;
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
.cmt-body.waline
|
|
41
|
+
ondark()
|
|
42
42
|
--waline-white: #000;
|
|
43
43
|
--waline-light-grey: #666;
|
|
44
44
|
--waline-dark-grey: #999;
|
|
@@ -55,11 +55,14 @@
|
|
|
55
55
|
/* 其他颜色 */
|
|
56
56
|
--waline-info-bgcolor: #272727;
|
|
57
57
|
--waline-info-color: #666;
|
|
58
|
+
.wl-count
|
|
59
|
+
padding: .375em;
|
|
60
|
+
font-weight: bold;
|
|
61
|
+
font-size: 1.25em;
|
|
62
|
+
color: #fff;
|
|
58
63
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
color: #fff;
|
|
65
|
-
|
|
64
|
+
if theme(dark)
|
|
65
|
+
ondark()
|
|
66
|
+
else if theme(auto)
|
|
67
|
+
@media (prefers-color-scheme: dark)
|
|
68
|
+
ondark()
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
pre.mermaid
|
|
2
|
-
display:
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
5
|
font-family: $ff-body
|
|
6
6
|
|
|
7
|
-
.mermaid svg
|
|
8
|
-
width: 100%
|
|
9
|
-
display: inline-block
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
.mermaid svg
|
|
13
|
-
width: 100%
|
|
14
|
-
display: inline-block
|
|
15
|
-
|
|
16
7
|
.mermaid span,text
|
|
17
8
|
font-family: $ff-body
|
|
18
9
|
|
|
@@ -23,103 +14,102 @@ pre.mermaid
|
|
|
23
14
|
.mermaid rect.basic.label-container
|
|
24
15
|
stroke: var(--block-border) !important
|
|
25
16
|
fill: var(--block) !important
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
.mermaid
|
|
17
|
+
|
|
18
|
+
_dark_mermaid()
|
|
19
|
+
.mermaid
|
|
29
20
|
fill: #ccc !important
|
|
30
|
-
|
|
31
21
|
|
|
32
|
-
|
|
22
|
+
|
|
23
|
+
.mermaid .error-icon
|
|
33
24
|
fill: #a44141 !important
|
|
34
|
-
|
|
35
25
|
|
|
36
|
-
|
|
26
|
+
|
|
27
|
+
.mermaid .error-text
|
|
37
28
|
fill: #ddd !important
|
|
38
29
|
stroke: #ddd !important
|
|
39
|
-
|
|
40
30
|
|
|
41
|
-
|
|
31
|
+
|
|
32
|
+
.mermaid .marker
|
|
42
33
|
fill: lightgrey !important
|
|
43
34
|
stroke: lightgrey !important
|
|
44
|
-
|
|
45
35
|
|
|
46
|
-
|
|
36
|
+
|
|
37
|
+
.mermaid .marker.cross
|
|
47
38
|
stroke: lightgrey !important
|
|
48
|
-
|
|
49
39
|
|
|
50
|
-
|
|
40
|
+
|
|
41
|
+
.mermaid .label
|
|
51
42
|
color: #ccc !important
|
|
52
|
-
|
|
53
43
|
|
|
54
|
-
|
|
44
|
+
|
|
45
|
+
.mermaid .cluster-label text
|
|
55
46
|
fill: #F9FFFE !important
|
|
56
|
-
|
|
57
47
|
|
|
58
|
-
|
|
48
|
+
|
|
49
|
+
.mermaid .cluster-label span
|
|
59
50
|
color: #F9FFFE !important
|
|
60
|
-
|
|
51
|
+
|
|
61
52
|
|
|
62
53
|
.mermaid .label text,
|
|
63
|
-
.mermaid span
|
|
54
|
+
.mermaid span
|
|
64
55
|
fill: #ccc !important
|
|
65
56
|
color: #ccc !important
|
|
66
|
-
|
|
57
|
+
|
|
67
58
|
|
|
68
59
|
.mermaid .node rect,
|
|
69
60
|
.mermaid .node circle,
|
|
70
61
|
.mermaid .node ellipse,
|
|
71
62
|
.mermaid .node polygon,
|
|
72
|
-
.mermaid .node path
|
|
63
|
+
.mermaid .node path
|
|
73
64
|
fill: #1f2020 !important
|
|
74
65
|
stroke: #81B1DB !important
|
|
75
|
-
|
|
76
66
|
|
|
77
|
-
|
|
67
|
+
|
|
68
|
+
.mermaid .arrowheadPath
|
|
78
69
|
fill: lightgrey !important
|
|
79
|
-
|
|
80
70
|
|
|
81
|
-
|
|
71
|
+
|
|
72
|
+
.mermaid .edgePath .path
|
|
82
73
|
stroke: lightgrey !important
|
|
83
|
-
|
|
84
74
|
|
|
85
|
-
|
|
75
|
+
|
|
76
|
+
.mermaid .flowchart-link
|
|
86
77
|
stroke: lightgrey !important
|
|
87
|
-
|
|
88
78
|
|
|
89
|
-
|
|
79
|
+
|
|
80
|
+
.mermaid .edgeLabel
|
|
90
81
|
background-color: hsl(0, 0%, 34.4117647059%) !important
|
|
91
|
-
|
|
92
82
|
|
|
93
|
-
|
|
83
|
+
|
|
84
|
+
.mermaid .edgeLabel rect
|
|
94
85
|
background-color: hsl(0, 0%, 34.4117647059%) !important
|
|
95
86
|
fill: hsl(0, 0%, 34.4117647059%) !important
|
|
96
|
-
|
|
97
87
|
|
|
98
|
-
|
|
88
|
+
|
|
89
|
+
.mermaid .cluster rect
|
|
99
90
|
fill: hsl(180, 1.5873015873%, 28.3529411765%) !important
|
|
100
91
|
stroke: rgba(255, 255, 255, 0.25) !important
|
|
101
|
-
|
|
102
92
|
|
|
103
|
-
|
|
93
|
+
|
|
94
|
+
.mermaid .cluster text
|
|
104
95
|
fill: #F9FFFE !important
|
|
105
|
-
|
|
106
96
|
|
|
107
|
-
|
|
97
|
+
|
|
98
|
+
.mermaid .cluster span
|
|
108
99
|
color: #F9FFFE !important
|
|
109
|
-
|
|
110
100
|
|
|
111
|
-
|
|
101
|
+
|
|
102
|
+
.mermaid div.mermaidTooltip
|
|
112
103
|
background: hsl(20, 1.5873015873%, 12.3529411765%) !important
|
|
113
104
|
border: 1px solid rgba(255, 255, 255, 0.25) !important
|
|
114
|
-
|
|
115
105
|
|
|
116
|
-
|
|
106
|
+
|
|
107
|
+
.mermaid .flowchartTitleText
|
|
117
108
|
fill: #ccc
|
|
118
|
-
|
|
119
109
|
|
|
120
|
-
if hexo-config('style.darkmode') == 'auto'
|
|
121
|
-
@media (prefers-color-scheme: dark)
|
|
122
|
-
set_mermaid_darkmode()
|
|
123
110
|
|
|
124
|
-
if
|
|
125
|
-
|
|
111
|
+
if theme(dark)
|
|
112
|
+
_dark_mermaid()
|
|
113
|
+
else if theme(auto)
|
|
114
|
+
@media (prefers-color-scheme: dark)
|
|
115
|
+
_dark_mermaid()
|