hexo-theme-lnote 1.2.3 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +122 -122
- package/_config.yml +19 -19
- package/config/links.yml +63 -62
- package/config/svg.yml +33 -33
- package/index.d.ts +4 -0
- package/languages/de.yml +69 -69
- package/languages/en.yml +69 -69
- package/languages/eo.yml +69 -69
- package/languages/es.yml +69 -69
- package/languages/ja.yml +69 -69
- package/languages/ru.yml +69 -69
- package/languages/zh-CN.yml +69 -69
- package/languages/zh-HK.yml +69 -69
- package/languages/zh-TW.yml +69 -69
- package/layout/404.ejs +8 -8
- package/layout/_partials/archive-list.ejs +17 -17
- package/layout/_partials/category-chains.ejs +19 -19
- package/layout/_partials/category-list.ejs +62 -62
- package/layout/_partials/comments/changyan.ejs +11 -11
- package/layout/_partials/comments/cusdis.ejs +25 -25
- package/layout/_partials/comments/discuss.ejs +17 -17
- package/layout/_partials/comments/disqus.ejs +32 -32
- package/layout/_partials/comments/giscus.ejs +36 -36
- package/layout/_partials/comments/gitalk.ejs +19 -19
- package/layout/_partials/comments/livere.ejs +10 -10
- package/layout/_partials/comments/remark42.ejs +29 -29
- package/layout/_partials/comments/twikoo.ejs +25 -25
- package/layout/_partials/comments/utterances.ejs +27 -27
- package/layout/_partials/comments/valine.ejs +23 -23
- package/layout/_partials/comments/waline.ejs +24 -24
- package/layout/_partials/comments.ejs +8 -8
- package/layout/_partials/css.ejs +9 -9
- package/layout/_partials/footer/beian.ejs +33 -33
- package/layout/_partials/footer/statistics.ejs +39 -39
- package/layout/_partials/footer.ejs +7 -7
- package/layout/_partials/head.ejs +46 -46
- package/layout/_partials/header/banner.ejs +24 -24
- package/layout/_partials/header/navigation.ejs +56 -56
- package/layout/_partials/header.ejs +4 -4
- package/layout/_partials/markdown-plugins.ejs +24 -24
- package/layout/_partials/paginator.ejs +14 -14
- package/layout/_partials/plugins/CSR.ejs +4 -0
- package/layout/_partials/plugins/analytics.ejs +75 -75
- package/layout/_partials/plugins/anchorjs.ejs +39 -39
- package/layout/_partials/plugins/code-widget.ejs +7 -7
- package/layout/_partials/plugins/encrypt.ejs +18 -18
- package/layout/_partials/plugins/fancybox.ejs +11 -11
- package/layout/_partials/plugins/highlight.ejs +13 -13
- package/layout/_partials/plugins/math.ejs +51 -51
- package/layout/_partials/plugins/mermaid.ejs +4 -4
- package/layout/_partials/plugins/nprogress.ejs +7 -7
- package/layout/_partials/plugins/typed.ejs +20 -20
- package/layout/_partials/post/category-bar.ejs +18 -18
- package/layout/_partials/post/copyright.ejs +50 -50
- package/layout/_partials/post/css.ejs +3 -3
- package/layout/_partials/post/meta-bottom.ejs +16 -16
- package/layout/_partials/post/meta-top.ejs +27 -27
- package/layout/_partials/post/scripts.ejs +8 -7
- package/layout/_partials/post/sidebar-left.ejs +1 -1
- package/layout/_partials/post/sidebar-right.ejs +2 -2
- package/layout/_partials/post/toc.ejs +6 -6
- package/layout/_partials/scripts.ejs +10 -10
- package/layout/_partials/search.ejs +19 -19
- package/layout/about.ejs +22 -22
- package/layout/archive.ejs +10 -10
- package/layout/categories.ejs +20 -20
- package/layout/category.ejs +12 -12
- package/layout/index.ejs +61 -61
- package/layout/layout.ejs +60 -60
- package/layout/links.ejs +31 -31
- package/layout/page.ejs +15 -15
- package/layout/post.ejs +77 -77
- package/layout/tag.ejs +12 -12
- package/layout/tags.ejs +26 -26
- package/package.json +73 -70
- package/source/css/_functions/base.styl +8 -8
- package/source/css/_mixins/base.styl +23 -23
- package/source/css/_pages/_about/about.styl +32 -32
- package/source/css/_pages/_archive/archive.styl +32 -32
- package/source/css/_pages/_base/_widget/anchorjs.styl +8 -8
- package/source/css/_pages/_base/_widget/banner.styl +29 -29
- package/source/css/_pages/_base/_widget/board.styl +11 -11
- package/source/css/_pages/_base/_widget/code-widget.styl +37 -36
- package/source/css/_pages/_base/_widget/copyright.styl +91 -90
- package/source/css/_pages/_base/_widget/footer.styl +65 -65
- package/source/css/_pages/_base/_widget/footnote.styl +26 -25
- package/source/css/_pages/_base/_widget/header.styl +173 -173
- package/source/css/_pages/_base/_widget/modal.styl +100 -100
- package/source/css/_pages/_base/_widget/navlink.styl +15 -15
- package/source/css/_pages/_base/_widget/ngrogress.styl +12 -12
- package/source/css/_pages/_base/_widget/noscript.styl +13 -12
- package/source/css/_pages/_base/_widget/pagination.styl +23 -23
- package/source/css/_pages/_base/_widget/qrcode.styl +17 -17
- package/source/css/_pages/_base/_widget/scroll-btn.styl +48 -48
- package/source/css/_pages/_base/_widget/text.styl +20 -19
- package/source/css/_pages/_base/_widget/toc.styl +75 -75
- package/source/css/_pages/_base/base.styl +68 -68
- package/source/css/_pages/_base/color-schema.styl +75 -75
- package/source/css/_pages/_base/inline.styl +51 -51
- package/source/css/_pages/_base/keyframes.styl +31 -31
- package/source/css/_pages/_base/print.styl +39 -38
- package/source/css/_pages/_category/category-bar.styl +58 -58
- package/source/css/_pages/_category/category-chain.styl +6 -6
- package/source/css/_pages/_category/category-list.styl +62 -62
- package/source/css/_pages/_index/index.styl +75 -75
- package/source/css/_pages/_links/links.styl +80 -79
- package/source/css/_pages/_post/comment.styl +28 -27
- package/source/css/_pages/_post/highlight.styl +75 -75
- package/source/css/_pages/_post/markdown.styl +96 -96
- package/source/css/_pages/_post/post-page.styl +179 -179
- package/source/css/_pages/_post/post-plugin.styl +10 -0
- package/source/css/_pages/_post/post-tag.styl +43 -29
- package/source/css/_pages/_tag/tags.styl +9 -9
- package/source/css/_pages/pages.styl +8 -8
- package/source/css/_variables/base.styl +72 -72
- package/source/css/gitalk.css +546 -546
- package/source/css/main.styl +19 -19
- package/source/js/color-schema.js +279 -279
- package/source/js/events.js +72 -72
- package/source/js/img-lazyload.js +10 -10
- package/source/js/local-search.js +70 -70
- package/source/js/post/copying-code.js +34 -34
- package/source/js/post/enable.js +6 -8
- package/source/js/post/img-swipe-bf.js +47 -47
- package/source/js/post/img-swipe.js +81 -35
- package/source/js/post/mermaiding.js +9 -13
- package/source/js/post/play-imgs.js +58 -58
- package/source/js/post/toc.js +24 -24
- package/source/js/post/view-imgs.js +27 -27
- package/source/js/utils.js +245 -245
- package/source/xml/local-search.xml +45 -45
- package/templates/footer.ejs +12 -12
- package/templates/noun.vue +14 -17
- package/templates/utils/uri.ts +12 -0
- package/scripts/index.js +0 -1
- package/source/css/_pages/_tag/tag.styl +0 -9
@@ -1,79 +1,80 @@
|
|
1
|
-
.links
|
2
|
-
.card
|
3
|
-
box-shadow none
|
4
|
-
min-width 33%
|
5
|
-
background-color transparent
|
6
|
-
border 0
|
7
|
-
|
8
|
-
.card-body
|
9
|
-
margin 1rem 0
|
10
|
-
padding 1rem
|
11
|
-
border-radius .3rem
|
12
|
-
display block
|
13
|
-
width 100%
|
14
|
-
height 100%
|
15
|
-
|
16
|
-
&:hover
|
17
|
-
.link-avatar
|
18
|
-
transform scale(1.1)
|
19
|
-
|
20
|
-
.card-content
|
21
|
-
display flex
|
22
|
-
flex-wrap nowrap
|
23
|
-
width 100%
|
24
|
-
height 3.5rem
|
25
|
-
|
26
|
-
.link-avatar
|
27
|
-
flex none
|
28
|
-
width 3rem
|
29
|
-
height 3rem
|
30
|
-
margin-right .75rem
|
31
|
-
object-fit cover
|
32
|
-
transition-duration .2s
|
33
|
-
transition-timing-function ease-in-out
|
34
|
-
|
35
|
-
img
|
36
|
-
width 100%
|
37
|
-
height 100%
|
38
|
-
border-radius 50%
|
39
|
-
background-color transparent
|
40
|
-
object-fit cover
|
41
|
-
|
42
|
-
.link-text
|
43
|
-
flex 1
|
44
|
-
display grid
|
45
|
-
flex-direction column
|
46
|
-
line-height 1.5
|
47
|
-
|
48
|
-
.link-title
|
49
|
-
overflow hidden
|
50
|
-
text-overflow ellipsis
|
51
|
-
white-space nowrap
|
52
|
-
color var(--text-color)
|
53
|
-
font-weight bold
|
54
|
-
|
55
|
-
.link-intro
|
56
|
-
max-height 2rem
|
57
|
-
font-size 0.85rem
|
58
|
-
line-height 1.2
|
59
|
-
color var(--sec-text-color)
|
60
|
-
display -webkit-box
|
61
|
-
-webkit-box-orient vertical
|
62
|
-
-webkit-line-clamp 2
|
63
|
-
text-overflow ellipsis
|
64
|
-
overflow hidden
|
65
|
-
|
66
|
-
@media (max-width 767px)
|
67
|
-
.links
|
68
|
-
display flex
|
69
|
-
flex-direction column
|
70
|
-
justify-content center
|
71
|
-
align-items center
|
72
|
-
|
73
|
-
.card
|
74
|
-
padding-left 2rem
|
75
|
-
padding-right 2rem
|
76
|
-
|
77
|
-
@media (min-width 768px)
|
78
|
-
.link-text:only-child
|
79
|
-
margin-left 1rem
|
1
|
+
/* .links
|
2
|
+
.card
|
3
|
+
box-shadow none
|
4
|
+
min-width 33%
|
5
|
+
background-color transparent
|
6
|
+
border 0
|
7
|
+
|
8
|
+
.card-body
|
9
|
+
margin 1rem 0
|
10
|
+
padding 1rem
|
11
|
+
border-radius .3rem
|
12
|
+
display block
|
13
|
+
width 100%
|
14
|
+
height 100%
|
15
|
+
|
16
|
+
&:hover
|
17
|
+
.link-avatar
|
18
|
+
transform scale(1.1)
|
19
|
+
|
20
|
+
.card-content
|
21
|
+
display flex
|
22
|
+
flex-wrap nowrap
|
23
|
+
width 100%
|
24
|
+
height 3.5rem
|
25
|
+
|
26
|
+
.link-avatar
|
27
|
+
flex none
|
28
|
+
width 3rem
|
29
|
+
height 3rem
|
30
|
+
margin-right .75rem
|
31
|
+
object-fit cover
|
32
|
+
transition-duration .2s
|
33
|
+
transition-timing-function ease-in-out
|
34
|
+
|
35
|
+
img
|
36
|
+
width 100%
|
37
|
+
height 100%
|
38
|
+
border-radius 50%
|
39
|
+
background-color transparent
|
40
|
+
object-fit cover
|
41
|
+
|
42
|
+
.link-text
|
43
|
+
flex 1
|
44
|
+
display grid
|
45
|
+
flex-direction column
|
46
|
+
line-height 1.5
|
47
|
+
|
48
|
+
.link-title
|
49
|
+
overflow hidden
|
50
|
+
text-overflow ellipsis
|
51
|
+
white-space nowrap
|
52
|
+
color var(--text-color)
|
53
|
+
font-weight bold
|
54
|
+
|
55
|
+
.link-intro
|
56
|
+
max-height 2rem
|
57
|
+
font-size 0.85rem
|
58
|
+
line-height 1.2
|
59
|
+
color var(--sec-text-color)
|
60
|
+
display -webkit-box
|
61
|
+
-webkit-box-orient vertical
|
62
|
+
-webkit-line-clamp 2
|
63
|
+
text-overflow ellipsis
|
64
|
+
overflow hidden
|
65
|
+
|
66
|
+
@media (max-width 767px)
|
67
|
+
.links
|
68
|
+
display flex
|
69
|
+
flex-direction column
|
70
|
+
justify-content center
|
71
|
+
align-items center
|
72
|
+
|
73
|
+
.card
|
74
|
+
padding-left 2rem
|
75
|
+
padding-right 2rem
|
76
|
+
|
77
|
+
@media (min-width 768px)
|
78
|
+
.link-text:only-child
|
79
|
+
margin-left 1rem
|
80
|
+
*/
|
@@ -1,27 +1,28 @@
|
|
1
|
-
// Rewrite valine
|
2
|
-
#valine.v[data-class=v]
|
3
|
-
.status-bar, .veditor, .vinput, .vbtn, p, pre code
|
4
|
-
color var(--text-color)
|
5
|
-
|
6
|
-
.vinput::placeholder
|
7
|
-
color var(--sec-text-color)
|
8
|
-
|
9
|
-
.vicon
|
10
|
-
fill var(--text-color)
|
11
|
-
|
12
|
-
// Rewrite gitalk
|
13
|
-
.gt-container
|
14
|
-
|
15
|
-
.gt-comment-content:hover
|
16
|
-
-webkit-box-shadow none
|
17
|
-
box-shadow none
|
18
|
-
|
19
|
-
.gt-comment-body
|
20
|
-
color var(--text-color) !important
|
21
|
-
transition color .2s ease-in-out
|
22
|
-
|
23
|
-
// Rewrite remark42
|
24
|
-
#remark-km423lmfdslkm34-back
|
25
|
-
z-index 1030
|
26
|
-
#remark-km423lmfdslkm34-node
|
27
|
-
z-index 1031
|
1
|
+
/* // Rewrite valine
|
2
|
+
#valine.v[data-class=v]
|
3
|
+
.status-bar, .veditor, .vinput, .vbtn, p, pre code
|
4
|
+
color var(--text-color)
|
5
|
+
|
6
|
+
.vinput::placeholder
|
7
|
+
color var(--sec-text-color)
|
8
|
+
|
9
|
+
.vicon
|
10
|
+
fill var(--text-color)
|
11
|
+
|
12
|
+
// Rewrite gitalk
|
13
|
+
.gt-container
|
14
|
+
|
15
|
+
.gt-comment-content:hover
|
16
|
+
-webkit-box-shadow none
|
17
|
+
box-shadow none
|
18
|
+
|
19
|
+
.gt-comment-body
|
20
|
+
color var(--text-color) !important
|
21
|
+
transition color .2s ease-in-out
|
22
|
+
|
23
|
+
// Rewrite remark42
|
24
|
+
#remark-km423lmfdslkm34-back
|
25
|
+
z-index 1030
|
26
|
+
#remark-km423lmfdslkm34-node
|
27
|
+
z-index 1031
|
28
|
+
*/
|
@@ -1,75 +1,75 @@
|
|
1
|
-
.markdown-body
|
2
|
-
.highlight pre, pre
|
3
|
-
padding 1.45rem 1rem
|
4
|
-
|
5
|
-
pre code.hljs
|
6
|
-
padding 0
|
7
|
-
|
8
|
-
.highlight
|
9
|
-
position relative
|
10
|
-
border-radius 8px
|
11
|
-
padding-top: 28px
|
12
|
-
background-color: var(--code-mac-top-bg)
|
13
|
-
&::before
|
14
|
-
background: #fc625d
|
15
|
-
border-radius: 50%
|
16
|
-
box-shadow: 1.2em 0 #fdbc40, 2.4em 0 #35cd4b
|
17
|
-
content: ' '
|
18
|
-
height: 0.8em
|
19
|
-
width: 0.8em
|
20
|
-
left: 0.8em
|
21
|
-
margin-top: -1.2em
|
22
|
-
position: absolute
|
23
|
-
.btn-clipboard
|
24
|
-
position: absolute
|
25
|
-
top: 0.3em
|
26
|
-
right: 0.5em
|
27
|
-
cursor: pointer
|
28
|
-
z-index: 2
|
29
|
-
border: 0
|
30
|
-
background-color: transparent
|
31
|
-
padding: 0
|
32
|
-
line-height: 1
|
33
|
-
table
|
34
|
-
background-color: var(--code-mac-body-bg)
|
35
|
-
table-layout: fixed
|
36
|
-
width: 100%
|
37
|
-
|
38
|
-
figure
|
39
|
-
margin 1rem 0
|
40
|
-
|
41
|
-
figure.highlight
|
42
|
-
position relative
|
43
|
-
|
44
|
-
table
|
45
|
-
border 0
|
46
|
-
margin 0
|
47
|
-
width auto
|
48
|
-
border-radius 4px
|
49
|
-
|
50
|
-
td
|
51
|
-
border 0
|
52
|
-
padding 0
|
53
|
-
|
54
|
-
tr
|
55
|
-
border 0
|
56
|
-
|
57
|
-
td.code
|
58
|
-
width 100%
|
59
|
-
|
60
|
-
td.gutter
|
61
|
-
display table-cell
|
62
|
-
width: 3em
|
63
|
-
|
64
|
-
pre
|
65
|
-
text-align right
|
66
|
-
padding 0 .75rem
|
67
|
-
border-radius initial
|
68
|
-
border-right 1px solid #999
|
69
|
-
|
70
|
-
span.line
|
71
|
-
color #999
|
72
|
-
|
73
|
-
td.code > pre
|
74
|
-
border-top-left-radius 0
|
75
|
-
border-bottom-left-radius 0
|
1
|
+
.markdown-body
|
2
|
+
.highlight pre, pre
|
3
|
+
padding 1.45rem 1rem
|
4
|
+
|
5
|
+
pre code.hljs
|
6
|
+
padding 0
|
7
|
+
|
8
|
+
.highlight
|
9
|
+
position relative
|
10
|
+
border-radius 8px
|
11
|
+
padding-top: 28px
|
12
|
+
background-color: var(--code-mac-top-bg)
|
13
|
+
&::before
|
14
|
+
background: #fc625d
|
15
|
+
border-radius: 50%
|
16
|
+
box-shadow: 1.2em 0 #fdbc40, 2.4em 0 #35cd4b
|
17
|
+
content: ' '
|
18
|
+
height: 0.8em
|
19
|
+
width: 0.8em
|
20
|
+
left: 0.8em
|
21
|
+
margin-top: -1.2em
|
22
|
+
position: absolute
|
23
|
+
.btn-clipboard
|
24
|
+
position: absolute
|
25
|
+
top: 0.3em
|
26
|
+
right: 0.5em
|
27
|
+
cursor: pointer
|
28
|
+
z-index: 2
|
29
|
+
border: 0
|
30
|
+
background-color: transparent
|
31
|
+
padding: 0
|
32
|
+
line-height: 1
|
33
|
+
table
|
34
|
+
background-color: var(--code-mac-body-bg)
|
35
|
+
table-layout: fixed
|
36
|
+
width: 100%
|
37
|
+
|
38
|
+
figure
|
39
|
+
margin 1rem 0
|
40
|
+
|
41
|
+
figure.highlight
|
42
|
+
position relative
|
43
|
+
|
44
|
+
table
|
45
|
+
border 0
|
46
|
+
margin 0
|
47
|
+
width auto
|
48
|
+
border-radius 4px
|
49
|
+
|
50
|
+
td
|
51
|
+
border 0
|
52
|
+
padding 0
|
53
|
+
|
54
|
+
tr
|
55
|
+
border 0
|
56
|
+
|
57
|
+
td.code
|
58
|
+
width 100%
|
59
|
+
|
60
|
+
td.gutter
|
61
|
+
display table-cell
|
62
|
+
width: 3em
|
63
|
+
|
64
|
+
pre
|
65
|
+
text-align right
|
66
|
+
padding 0 .75rem
|
67
|
+
border-radius initial
|
68
|
+
border-right 1px solid #999
|
69
|
+
|
70
|
+
span.line
|
71
|
+
color #999
|
72
|
+
|
73
|
+
td.code > pre
|
74
|
+
border-top-left-radius 0
|
75
|
+
border-bottom-left-radius 0
|
@@ -1,96 +1,96 @@
|
|
1
|
-
// Rewrite github-markdown.css
|
2
|
-
.markdown-body
|
3
|
-
font-size 1rem
|
4
|
-
line-height 1.6
|
5
|
-
font-family $font-family
|
6
|
-
margin-bottom 2rem
|
7
|
-
color var(--post-text-color)
|
8
|
-
|
9
|
-
& > h1, > h2
|
10
|
-
border-bottom: 1px solid var(--line-color)
|
11
|
-
margin-bottom: 0.75em
|
12
|
-
margin-top: 2em
|
13
|
-
padding-bottom: 1rem
|
14
|
-
|
15
|
-
& > h3
|
16
|
-
margin-top: 1.2em
|
17
|
-
margin-bottom: 0.4em
|
18
|
-
|
19
|
-
& > h1, > h2, > h3, > h4, > h5, > h6
|
20
|
-
color var(--post-heading-color)
|
21
|
-
transition color .2s ease-in-out, border-bottom-color 0.2s ease-in-out
|
22
|
-
font-weight bold
|
23
|
-
|
24
|
-
&:focus
|
25
|
-
outline none
|
26
|
-
|
27
|
-
a
|
28
|
-
color var(--bs-link-color);
|
29
|
-
|
30
|
-
strong
|
31
|
-
font-weight bold
|
32
|
-
|
33
|
-
/* code
|
34
|
-
tab-size 4
|
35
|
-
background-color var(--inlinecode-bg-color)
|
36
|
-
transition background-color .2s ease-in-out */
|
37
|
-
|
38
|
-
/* table
|
39
|
-
tr
|
40
|
-
background-color var(--board-bg-color)
|
41
|
-
transition background-color .2s ease-in-out
|
42
|
-
tr:nth-child(2n)
|
43
|
-
background-color var(--board-bg-color)
|
44
|
-
transition background-color .2s ease-in-out
|
45
|
-
th, td
|
46
|
-
border-color var(--line-color)
|
47
|
-
transition border-color .2s ease-in-out */
|
48
|
-
|
49
|
-
pre
|
50
|
-
font-size $code-font-size !important
|
51
|
-
|
52
|
-
.mermaid
|
53
|
-
text-align center
|
54
|
-
|
55
|
-
& > svg
|
56
|
-
min-width 100%
|
57
|
-
|
58
|
-
p > img, p > a > img, figure > img, figure > a > img
|
59
|
-
max-width 90%
|
60
|
-
margin 1.5rem
|
61
|
-
display block
|
62
|
-
box-shadow $img-shadow
|
63
|
-
border-radius 4px
|
64
|
-
background-color transparent
|
65
|
-
|
66
|
-
blockquote
|
67
|
-
color var(--sec-text-color)
|
68
|
-
|
69
|
-
details
|
70
|
-
cursor pointer
|
71
|
-
|
72
|
-
summary
|
73
|
-
outline none
|
74
|
-
|
75
|
-
// Rewrite hr
|
76
|
-
hr, .markdown-body hr
|
77
|
-
background-color initial
|
78
|
-
border-top 1px solid var(--line-color)
|
79
|
-
transition border-top-color .2s ease-in-out
|
80
|
-
|
81
|
-
.markdown-body hr
|
82
|
-
height 0
|
83
|
-
margin 2rem 0
|
84
|
-
|
85
|
-
// Rewrite figcaption
|
86
|
-
.markdown-body
|
87
|
-
figcaption.image-caption
|
88
|
-
font-size .8rem
|
89
|
-
color var(--post-text-color)
|
90
|
-
opacity 0.65
|
91
|
-
line-height 1
|
92
|
-
margin -0.75rem auto 2rem
|
93
|
-
text-align center
|
94
|
-
|
95
|
-
figcaption:not(.image-caption)
|
96
|
-
display none
|
1
|
+
// Rewrite github-markdown.css
|
2
|
+
.markdown-body
|
3
|
+
font-size 1rem
|
4
|
+
line-height 1.6
|
5
|
+
font-family $font-family
|
6
|
+
margin-bottom 2rem
|
7
|
+
color var(--post-text-color)
|
8
|
+
|
9
|
+
& > h1, > h2
|
10
|
+
border-bottom: 1px solid var(--line-color)
|
11
|
+
margin-bottom: 0.75em
|
12
|
+
margin-top: 2em
|
13
|
+
padding-bottom: 1rem
|
14
|
+
|
15
|
+
& > h3
|
16
|
+
margin-top: 1.2em
|
17
|
+
margin-bottom: 0.4em
|
18
|
+
|
19
|
+
& > h1, > h2, > h3, > h4, > h5, > h6
|
20
|
+
color var(--post-heading-color)
|
21
|
+
transition color .2s ease-in-out, border-bottom-color 0.2s ease-in-out
|
22
|
+
font-weight bold
|
23
|
+
|
24
|
+
&:focus
|
25
|
+
outline none
|
26
|
+
|
27
|
+
a
|
28
|
+
color var(--bs-link-color);
|
29
|
+
|
30
|
+
strong
|
31
|
+
font-weight bold
|
32
|
+
|
33
|
+
/* code
|
34
|
+
tab-size 4
|
35
|
+
background-color var(--inlinecode-bg-color)
|
36
|
+
transition background-color .2s ease-in-out */
|
37
|
+
|
38
|
+
/* table
|
39
|
+
tr
|
40
|
+
background-color var(--board-bg-color)
|
41
|
+
transition background-color .2s ease-in-out
|
42
|
+
tr:nth-child(2n)
|
43
|
+
background-color var(--board-bg-color)
|
44
|
+
transition background-color .2s ease-in-out
|
45
|
+
th, td
|
46
|
+
border-color var(--line-color)
|
47
|
+
transition border-color .2s ease-in-out */
|
48
|
+
|
49
|
+
pre
|
50
|
+
font-size $code-font-size !important
|
51
|
+
|
52
|
+
.mermaid
|
53
|
+
text-align center
|
54
|
+
|
55
|
+
& > svg
|
56
|
+
min-width 100%
|
57
|
+
|
58
|
+
/* p > img, p > a > img, figure > img, figure > a > img
|
59
|
+
max-width 90%
|
60
|
+
margin 1.5rem autoss
|
61
|
+
display block
|
62
|
+
box-shadow $img-shadow
|
63
|
+
border-radius 4px
|
64
|
+
background-color transparent */
|
65
|
+
|
66
|
+
blockquote
|
67
|
+
color var(--sec-text-color)
|
68
|
+
|
69
|
+
details
|
70
|
+
cursor pointer
|
71
|
+
|
72
|
+
summary
|
73
|
+
outline none
|
74
|
+
|
75
|
+
// Rewrite hr
|
76
|
+
hr, .markdown-body hr
|
77
|
+
background-color initial
|
78
|
+
border-top 1px solid var(--line-color)
|
79
|
+
transition border-top-color .2s ease-in-out
|
80
|
+
|
81
|
+
.markdown-body hr
|
82
|
+
height 0
|
83
|
+
margin 2rem 0
|
84
|
+
|
85
|
+
// Rewrite figcaption
|
86
|
+
.markdown-body
|
87
|
+
figcaption.image-caption
|
88
|
+
font-size .8rem
|
89
|
+
color var(--post-text-color)
|
90
|
+
opacity 0.65
|
91
|
+
line-height 1
|
92
|
+
margin -0.75rem auto 2rem
|
93
|
+
text-align center
|
94
|
+
|
95
|
+
figcaption:not(.image-caption)
|
96
|
+
display none
|