hexo-theme-lnote 1.2.3
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 +123 -0
- package/_config.yml +19 -0
- package/config/links.yml +63 -0
- package/config/svg.yml +34 -0
- package/languages/de.yml +69 -0
- package/languages/en.yml +69 -0
- package/languages/eo.yml +69 -0
- package/languages/es.yml +69 -0
- package/languages/ja.yml +69 -0
- package/languages/ru.yml +69 -0
- package/languages/zh-CN.yml +69 -0
- package/languages/zh-HK.yml +69 -0
- package/languages/zh-TW.yml +69 -0
- package/layout/404.ejs +8 -0
- package/layout/_partials/archive-list.ejs +17 -0
- package/layout/_partials/category-chains.ejs +19 -0
- package/layout/_partials/category-list.ejs +62 -0
- package/layout/_partials/comments/changyan.ejs +11 -0
- package/layout/_partials/comments/cusdis.ejs +25 -0
- package/layout/_partials/comments/discuss.ejs +17 -0
- package/layout/_partials/comments/disqus.ejs +32 -0
- package/layout/_partials/comments/giscus.ejs +36 -0
- package/layout/_partials/comments/gitalk.ejs +19 -0
- package/layout/_partials/comments/livere.ejs +10 -0
- package/layout/_partials/comments/remark42.ejs +29 -0
- package/layout/_partials/comments/twikoo.ejs +25 -0
- package/layout/_partials/comments/utterances.ejs +27 -0
- package/layout/_partials/comments/valine.ejs +23 -0
- package/layout/_partials/comments/waline.ejs +24 -0
- package/layout/_partials/comments.ejs +8 -0
- package/layout/_partials/css.ejs +10 -0
- package/layout/_partials/footer/beian.ejs +33 -0
- package/layout/_partials/footer/statistics.ejs +39 -0
- package/layout/_partials/footer.ejs +7 -0
- package/layout/_partials/head.ejs +46 -0
- package/layout/_partials/header/banner.ejs +24 -0
- package/layout/_partials/header/navigation.ejs +57 -0
- package/layout/_partials/header.ejs +4 -0
- package/layout/_partials/markdown-plugins.ejs +24 -0
- package/layout/_partials/paginator.ejs +14 -0
- package/layout/_partials/plugins/analytics.ejs +75 -0
- package/layout/_partials/plugins/anchorjs.ejs +39 -0
- package/layout/_partials/plugins/code-widget.ejs +7 -0
- package/layout/_partials/plugins/encrypt.ejs +18 -0
- package/layout/_partials/plugins/fancybox.ejs +11 -0
- package/layout/_partials/plugins/highlight.ejs +13 -0
- package/layout/_partials/plugins/math.ejs +51 -0
- package/layout/_partials/plugins/mermaid.ejs +4 -0
- package/layout/_partials/plugins/nprogress.ejs +8 -0
- package/layout/_partials/plugins/typed.ejs +20 -0
- package/layout/_partials/post/category-bar.ejs +18 -0
- package/layout/_partials/post/copyright.ejs +50 -0
- package/layout/_partials/post/css.ejs +4 -0
- package/layout/_partials/post/meta-bottom.ejs +16 -0
- package/layout/_partials/post/meta-top.ejs +28 -0
- package/layout/_partials/post/scripts.ejs +8 -0
- package/layout/_partials/post/sidebar-left.ejs +1 -0
- package/layout/_partials/post/sidebar-right.ejs +3 -0
- package/layout/_partials/post/toc.ejs +7 -0
- package/layout/_partials/scripts.ejs +10 -0
- package/layout/_partials/search.ejs +19 -0
- package/layout/about.ejs +22 -0
- package/layout/archive.ejs +10 -0
- package/layout/categories.ejs +20 -0
- package/layout/category.ejs +12 -0
- package/layout/index.ejs +61 -0
- package/layout/layout.ejs +60 -0
- package/layout/links.ejs +31 -0
- package/layout/page.ejs +15 -0
- package/layout/post.ejs +77 -0
- package/layout/tag.ejs +12 -0
- package/layout/tags.ejs +26 -0
- package/package.json +70 -0
- package/scripts/index.js +1 -0
- package/source/css/_functions/base.styl +8 -0
- package/source/css/_mixins/base.styl +23 -0
- package/source/css/_pages/_about/about.styl +32 -0
- package/source/css/_pages/_archive/archive.styl +32 -0
- package/source/css/_pages/_base/_widget/anchorjs.styl +8 -0
- package/source/css/_pages/_base/_widget/banner.styl +29 -0
- package/source/css/_pages/_base/_widget/board.styl +11 -0
- package/source/css/_pages/_base/_widget/code-widget.styl +36 -0
- package/source/css/_pages/_base/_widget/copyright.styl +90 -0
- package/source/css/_pages/_base/_widget/footer.styl +65 -0
- package/source/css/_pages/_base/_widget/footnote.styl +25 -0
- package/source/css/_pages/_base/_widget/header.styl +173 -0
- package/source/css/_pages/_base/_widget/modal.styl +100 -0
- package/source/css/_pages/_base/_widget/navlink.styl +16 -0
- package/source/css/_pages/_base/_widget/ngrogress.styl +12 -0
- package/source/css/_pages/_base/_widget/noscript.styl +12 -0
- package/source/css/_pages/_base/_widget/pagination.styl +23 -0
- package/source/css/_pages/_base/_widget/qrcode.styl +17 -0
- package/source/css/_pages/_base/_widget/scroll-btn.styl +48 -0
- package/source/css/_pages/_base/_widget/text.styl +19 -0
- package/source/css/_pages/_base/_widget/toc.styl +75 -0
- package/source/css/_pages/_base/base.styl +68 -0
- package/source/css/_pages/_base/color-schema.styl +75 -0
- package/source/css/_pages/_base/inline.styl +51 -0
- package/source/css/_pages/_base/keyframes.styl +31 -0
- package/source/css/_pages/_base/print.styl +38 -0
- package/source/css/_pages/_category/category-bar.styl +58 -0
- package/source/css/_pages/_category/category-chain.styl +6 -0
- package/source/css/_pages/_category/category-list.styl +62 -0
- package/source/css/_pages/_index/index.styl +75 -0
- package/source/css/_pages/_links/links.styl +79 -0
- package/source/css/_pages/_post/comment.styl +27 -0
- package/source/css/_pages/_post/highlight.styl +75 -0
- package/source/css/_pages/_post/markdown.styl +96 -0
- package/source/css/_pages/_post/post-page.styl +179 -0
- package/source/css/_pages/_post/post-tag.styl +29 -0
- package/source/css/_pages/_tag/tag.styl +9 -0
- package/source/css/_pages/_tag/tags.styl +9 -0
- package/source/css/_pages/pages.styl +8 -0
- package/source/css/_variables/base.styl +72 -0
- package/source/css/gitalk.css +546 -0
- package/source/css/main.styl +19 -0
- package/source/img/avatar.png +0 -0
- package/source/img/default.jpg +0 -0
- package/source/img/default1.jpg +0 -0
- package/source/img/default2.jpg +0 -0
- package/source/img/default3.jpg +0 -0
- package/source/img/default4.jpg +0 -0
- package/source/img/default5.jpg +0 -0
- package/source/img/default6.jpg +0 -0
- package/source/img/default7.jpg +0 -0
- package/source/img/default8.jpg +0 -0
- package/source/img/docs.png +0 -0
- package/source/img/loading.gif +0 -0
- package/source/img/police_beian.png +0 -0
- package/source/js/color-schema.js +279 -0
- package/source/js/events.js +72 -0
- package/source/js/img-lazyload.js +10 -0
- package/source/js/local-search.js +70 -0
- package/source/js/post/copying-code.js +34 -0
- package/source/js/post/enable.js +8 -0
- package/source/js/post/img-swipe-bf.js +47 -0
- package/source/js/post/img-swipe.js +35 -0
- package/source/js/post/mermaiding.js +13 -0
- package/source/js/post/play-imgs.js +59 -0
- package/source/js/post/toc.js +24 -0
- package/source/js/post/view-imgs.js +27 -0
- package/source/js/utils.js +245 -0
- package/source/xml/local-search.xml +45 -0
- package/templates/footer.ejs +13 -0
- package/templates/noun.vue +18 -0
|
@@ -0,0 +1,79 @@
|
|
|
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
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
|
@@ -0,0 +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
|
|
@@ -0,0 +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 auto
|
|
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
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
.post-content, post-custom
|
|
2
|
+
box-sizing border-box
|
|
3
|
+
padding-left 10%
|
|
4
|
+
padding-right 10%
|
|
5
|
+
|
|
6
|
+
@media (max-width: 767px)
|
|
7
|
+
.post-content, post-custom
|
|
8
|
+
padding-left 2rem
|
|
9
|
+
padding-right 2rem
|
|
10
|
+
|
|
11
|
+
@media (max-width: 424px)
|
|
12
|
+
.post-content, post-custom
|
|
13
|
+
padding-left 1rem
|
|
14
|
+
padding-right 1rem
|
|
15
|
+
|
|
16
|
+
.anchorjs-link-left
|
|
17
|
+
opacity 0 !important
|
|
18
|
+
|
|
19
|
+
.page-content, .post-content
|
|
20
|
+
strong
|
|
21
|
+
font-weight bold
|
|
22
|
+
|
|
23
|
+
& > *:first-child
|
|
24
|
+
margin-top 0
|
|
25
|
+
|
|
26
|
+
img
|
|
27
|
+
object-fit cover
|
|
28
|
+
max-width 100%
|
|
29
|
+
|
|
30
|
+
@media (max-width: 767px)
|
|
31
|
+
.page-content, .post-content
|
|
32
|
+
overflow-x hidden
|
|
33
|
+
|
|
34
|
+
.post-metas
|
|
35
|
+
display flex
|
|
36
|
+
flex-wrap wrap
|
|
37
|
+
font-size .9rem
|
|
38
|
+
|
|
39
|
+
.post-meta
|
|
40
|
+
|
|
41
|
+
& > *:not(.hover-with-bg)
|
|
42
|
+
margin-right .2rem
|
|
43
|
+
|
|
44
|
+
.post-prevnext
|
|
45
|
+
display flex
|
|
46
|
+
flex-wrap wrap
|
|
47
|
+
justify-content space-between
|
|
48
|
+
font-size .9rem
|
|
49
|
+
margin-left -.35rem
|
|
50
|
+
margin-right -.35rem
|
|
51
|
+
|
|
52
|
+
.post-prev, .post-next
|
|
53
|
+
display flex
|
|
54
|
+
padding-left 0
|
|
55
|
+
padding-right 0
|
|
56
|
+
|
|
57
|
+
i
|
|
58
|
+
font-size 1.5rem
|
|
59
|
+
|
|
60
|
+
a
|
|
61
|
+
display flex
|
|
62
|
+
align-items center
|
|
63
|
+
|
|
64
|
+
.hidden-mobile
|
|
65
|
+
display -webkit-box
|
|
66
|
+
-webkit-box-orient vertical
|
|
67
|
+
-webkit-line-clamp 2
|
|
68
|
+
text-overflow ellipsis
|
|
69
|
+
overflow hidden
|
|
70
|
+
|
|
71
|
+
@media (max-width: 575px)
|
|
72
|
+
.hidden-mobile
|
|
73
|
+
display none
|
|
74
|
+
|
|
75
|
+
.post-prev:hover i, .post-prev:active i, .post-next:hover i, .post-next:active i
|
|
76
|
+
-webkit-animation-duration 1s
|
|
77
|
+
animation-duration 1s
|
|
78
|
+
-webkit-animation-delay .1s
|
|
79
|
+
animation-delay .1s
|
|
80
|
+
-webkit-animation-timing-function ease-in-out
|
|
81
|
+
animation-timing-function ease-in-out
|
|
82
|
+
-webkit-animation-iteration-count infinite
|
|
83
|
+
animation-iteration-count infinite
|
|
84
|
+
-webkit-animation-fill-mode forwards
|
|
85
|
+
animation-fill-mode forwards
|
|
86
|
+
-webkit-animation-direction alternate
|
|
87
|
+
animation-direction alternate
|
|
88
|
+
|
|
89
|
+
.post-prev:hover i, .post-prev:active i
|
|
90
|
+
-webkit-animation-name post-prev-anim
|
|
91
|
+
animation-name post-prev-anim
|
|
92
|
+
|
|
93
|
+
.post-next:hover i, .post-next:active i
|
|
94
|
+
-webkit-animation-name post-next-anim
|
|
95
|
+
animation-name post-next-anim
|
|
96
|
+
|
|
97
|
+
.post-next
|
|
98
|
+
justify-content flex-end
|
|
99
|
+
|
|
100
|
+
.fa-chevron-left
|
|
101
|
+
margin-right .5rem
|
|
102
|
+
|
|
103
|
+
.fa-chevron-right
|
|
104
|
+
margin-left .5rem
|
|
105
|
+
|
|
106
|
+
@keyframes post-prev-anim
|
|
107
|
+
0%
|
|
108
|
+
-webkit-transform translateX(0)
|
|
109
|
+
transform translateX(0)
|
|
110
|
+
50%
|
|
111
|
+
-webkit-transform translateX(-0.35rem)
|
|
112
|
+
transform translateX(-0.35rem)
|
|
113
|
+
100%
|
|
114
|
+
-webkit-transform translateX(0)
|
|
115
|
+
transform translateX(0)
|
|
116
|
+
|
|
117
|
+
@keyframes post-next-anim
|
|
118
|
+
0%
|
|
119
|
+
-webkit-transform translateX(0)
|
|
120
|
+
transform translateX(0)
|
|
121
|
+
50%
|
|
122
|
+
-webkit-transform translateX(0.35rem)
|
|
123
|
+
transform translateX(0.35rem)
|
|
124
|
+
100%
|
|
125
|
+
-webkit-transform translateX(0)
|
|
126
|
+
transform translateX(0)
|
|
127
|
+
|
|
128
|
+
#seo-header
|
|
129
|
+
color var(--post-heading-color)
|
|
130
|
+
font-weight bold
|
|
131
|
+
margin-top 0.5em
|
|
132
|
+
margin-bottom 0.75em
|
|
133
|
+
border-bottom-color var(--line-color)
|
|
134
|
+
border-bottom-style solid
|
|
135
|
+
border-bottom-width 2px
|
|
136
|
+
line-height 1.5
|
|
137
|
+
|
|
138
|
+
.custom, #comments
|
|
139
|
+
margin-top 2rem
|
|
140
|
+
|
|
141
|
+
#comments
|
|
142
|
+
noscript
|
|
143
|
+
display block
|
|
144
|
+
text-align center
|
|
145
|
+
padding 2rem 0
|
|
146
|
+
|
|
147
|
+
.visitors
|
|
148
|
+
font-size .8em
|
|
149
|
+
padding .45rem
|
|
150
|
+
float right
|
|
151
|
+
|
|
152
|
+
a.fancybox:hover
|
|
153
|
+
text-decoration none
|
|
154
|
+
|
|
155
|
+
// Rewrite mathjax
|
|
156
|
+
mjx-container, .mjx-container
|
|
157
|
+
overflow-x auto
|
|
158
|
+
overflow-y hidden !important
|
|
159
|
+
padding .5em 0
|
|
160
|
+
|
|
161
|
+
&:focus, svg:focus
|
|
162
|
+
outline none
|
|
163
|
+
|
|
164
|
+
.mjx-char
|
|
165
|
+
line-height 1
|
|
166
|
+
|
|
167
|
+
// Rewrite katex
|
|
168
|
+
.katex-block
|
|
169
|
+
overflow-x auto
|
|
170
|
+
|
|
171
|
+
.katex, .mjx-mrow
|
|
172
|
+
white-space pre-wrap !important
|
|
173
|
+
|
|
174
|
+
// Rewrite hint
|
|
175
|
+
.footnote-ref [class*=hint--][aria-label]:after
|
|
176
|
+
max-width 12rem
|
|
177
|
+
white-space nowrap
|
|
178
|
+
overflow hidden
|
|
179
|
+
text-overflow ellipsis
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// note
|
|
2
|
+
.note
|
|
3
|
+
border-left 0.35rem solid
|
|
4
|
+
margin 1.5rem 0
|
|
5
|
+
transition color .2s ease-in-out
|
|
6
|
+
a
|
|
7
|
+
color var(--text-color)
|
|
8
|
+
transition color .2s ease-in-out
|
|
9
|
+
|
|
10
|
+
*:last-child
|
|
11
|
+
margin-bottom 0
|
|
12
|
+
|
|
13
|
+
// group-image
|
|
14
|
+
.group-image-container
|
|
15
|
+
margin 1.5rem auto
|
|
16
|
+
img
|
|
17
|
+
width: 100%
|
|
18
|
+
height: 100%
|
|
19
|
+
object-fit: cover
|
|
20
|
+
.image-adapter
|
|
21
|
+
padding-bottom: 100%
|
|
22
|
+
position: relative
|
|
23
|
+
> div
|
|
24
|
+
width: 100%
|
|
25
|
+
height: 100%
|
|
26
|
+
position: absolute
|
|
27
|
+
left: 0
|
|
28
|
+
top: 0
|
|
29
|
+
z-index: 2
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
.lnote-popover-btn
|
|
2
|
+
--bs-btn-padding-y: 0
|
|
3
|
+
--bs-btn-line-height: 1
|
|
4
|
+
.lnote-popover
|
|
5
|
+
--bs-popover-border-color: var(--bs-primary)
|
|
6
|
+
--bs-popover-header-bg: var(--bs-primary)
|
|
7
|
+
--bs-popover-header-color: var(--bs-white)
|
|
8
|
+
--bs-popover-body-padding-x: 1rem
|
|
9
|
+
--bs-popover-body-padding-y: .5rem
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// font
|
|
2
|
+
// $font-size = theme-config("font.font_size", "16px")
|
|
3
|
+
$font-size = 16px
|
|
4
|
+
$letter-spacing = 0.02em
|
|
5
|
+
$font-family = var(--font-family-sans-serif)
|
|
6
|
+
$code-font-size = 85%
|
|
7
|
+
|
|
8
|
+
// body
|
|
9
|
+
$body-bg-color = #fff
|
|
10
|
+
$body-bg-color-dark = #000
|
|
11
|
+
|
|
12
|
+
// text
|
|
13
|
+
$text-color = #000
|
|
14
|
+
$text-color-dark = #dbdbdb
|
|
15
|
+
$sec-text-color = #000
|
|
16
|
+
$sec-text-color-dark = #e6e6e6
|
|
17
|
+
|
|
18
|
+
// post
|
|
19
|
+
$post-text-color = #000
|
|
20
|
+
$post-text-color-dark = #c8c8c8
|
|
21
|
+
$post-heading-color = #000
|
|
22
|
+
$post-heading-color-dark = #d0d0d0
|
|
23
|
+
$post-link-color = #2c3e50
|
|
24
|
+
$post-link-color-dark = #c4c6c9
|
|
25
|
+
$link-hover-color = #30a9de
|
|
26
|
+
$link-hover-color-dark = #30a9de
|
|
27
|
+
$link-hover-bg-color = #ebedef
|
|
28
|
+
$link-hover-bg-color-dark = #3d424b
|
|
29
|
+
$line-color = #eaecef
|
|
30
|
+
$line-color-dark = #435266
|
|
31
|
+
$button-bg-color = #f6f8fa
|
|
32
|
+
$button-bg-color-dark = #2f4154
|
|
33
|
+
$button-hover-bg-color = #f2f3f5
|
|
34
|
+
$button-hover-bg-color-dark = #46647e
|
|
35
|
+
|
|
36
|
+
// navbar
|
|
37
|
+
$navbar-bg-color = #000
|
|
38
|
+
$navbar-bg-color-dark = #000
|
|
39
|
+
$navbar-text-color = #fff
|
|
40
|
+
$navbar-text-color-dark = #d0d0d0
|
|
41
|
+
$navbar-glass-enable = false
|
|
42
|
+
$navbar-glass-px = 0px
|
|
43
|
+
$navbar-glass-alpha = 0
|
|
44
|
+
|
|
45
|
+
// banner
|
|
46
|
+
$banner-width-height-ratio = 0
|
|
47
|
+
|
|
48
|
+
// subtitle
|
|
49
|
+
$subtitle-color = #fff
|
|
50
|
+
$subtitle-color-dark = #d0d0d0
|
|
51
|
+
|
|
52
|
+
// scroll arrow
|
|
53
|
+
$scroll-arrow-height-limit = 0
|
|
54
|
+
|
|
55
|
+
// board
|
|
56
|
+
$board-bg-color = #fff
|
|
57
|
+
$board-bg-color-dark = #252d38
|
|
58
|
+
|
|
59
|
+
// scrollbar
|
|
60
|
+
$scrollbar-color = #c4c6c9
|
|
61
|
+
$scrollbar-color-dark = #687582
|
|
62
|
+
$scrollbar-hover-color = #a6a6a6
|
|
63
|
+
$scrollbar-hover-color-dark = #9da8b3
|
|
64
|
+
|
|
65
|
+
// code
|
|
66
|
+
$highlight-bg-color = #f6f8fa
|
|
67
|
+
$highlight-bg-color-dark = #2d333b
|
|
68
|
+
$inlinecode-bg-color = rgba(175, 184, 193, .2)
|
|
69
|
+
$inlinecode-bg-color-dark = rgba(99, 110, 123, .4)
|
|
70
|
+
|
|
71
|
+
// shadow
|
|
72
|
+
$img-shadow = 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15)
|