hexo-theme-lnote 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +36 -123
- package/_config.yml +19 -19
- package/config/links.yml +63 -63
- package/config/svg.yml +33 -33
- package/index.d.ts +3 -3
- package/languages/de.yml +69 -69
- package/languages/en.yml +73 -73
- 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 +73 -73
- package/languages/zh-HK.yml +73 -73
- package/languages/zh-TW.yml +73 -73
- 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 -4
- 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 -8
- 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 -74
- package/scripts/index.js +1 -1
- 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 +36 -36
- package/source/css/_pages/_base/_widget/copyright.styl +90 -90
- package/source/css/_pages/_base/_widget/footer.styl +65 -65
- package/source/css/_pages/_base/_widget/footnote.styl +25 -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 +12 -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 +19 -19
- package/source/css/_pages/_base/_widget/toc.styl +75 -75
- package/source/css/_pages/_base/base.styl +67 -67
- package/source/css/_pages/_base/color-schema.styl +79 -79
- 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 +38 -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 +79 -79
- package/source/css/_pages/_post/comment.styl +27 -27
- package/source/css/_pages/_post/highlight.styl +76 -76
- 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 +9 -9
- package/source/css/_pages/_post/post-tag.styl +74 -74
- 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 -6
- package/source/js/post/img-swipe-bf.js +47 -47
- package/source/js/post/img-swipe.js +83 -83
- package/source/js/post/mermaiding.js +9 -9
- 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/Chat.vue +52 -52
- package/templates/GroupImage.vue +36 -36
- package/templates/MenuNav.vue +39 -39
- package/templates/Note.vue +33 -33
- package/templates/Noun.vue +25 -25
- package/templates/NounContent.vue +29 -29
- package/templates/Tab.vue +40 -40
- package/templates/footer.ejs +12 -12
- package/templates/utils/uri.ts +39 -39
@@ -1,23 +1,23 @@
|
|
1
|
-
// Rewrite pagination
|
2
|
-
.pagination
|
3
|
-
margin-top 3rem
|
4
|
-
justify-content center
|
5
|
-
|
6
|
-
.space
|
7
|
-
align-self flex-end
|
8
|
-
|
9
|
-
.page-number, .current, .extend
|
10
|
-
outline 0
|
11
|
-
border 0
|
12
|
-
background-color transparent
|
13
|
-
font-size .9rem
|
14
|
-
padding .5rem .75rem
|
15
|
-
line-height 1.25
|
16
|
-
border-radius .125rem
|
17
|
-
|
18
|
-
.page-number
|
19
|
-
margin 0 .05rem
|
20
|
-
|
21
|
-
.page-number:hover, .current
|
22
|
-
transition background-color .2s ease-in-out
|
23
|
-
background-color var(--link-hover-bg-color)
|
1
|
+
// Rewrite pagination
|
2
|
+
.pagination
|
3
|
+
margin-top 3rem
|
4
|
+
justify-content center
|
5
|
+
|
6
|
+
.space
|
7
|
+
align-self flex-end
|
8
|
+
|
9
|
+
.page-number, .current, .extend
|
10
|
+
outline 0
|
11
|
+
border 0
|
12
|
+
background-color transparent
|
13
|
+
font-size .9rem
|
14
|
+
padding .5rem .75rem
|
15
|
+
line-height 1.25
|
16
|
+
border-radius .125rem
|
17
|
+
|
18
|
+
.page-number
|
19
|
+
margin 0 .05rem
|
20
|
+
|
21
|
+
.page-number:hover, .current
|
22
|
+
transition background-color .2s ease-in-out
|
23
|
+
background-color var(--link-hover-bg-color)
|
@@ -1,17 +1,17 @@
|
|
1
|
-
/* .qr-trigger
|
2
|
-
cursor pointer
|
3
|
-
position relative
|
4
|
-
|
5
|
-
&:hover .qr-img
|
6
|
-
display block
|
7
|
-
transition all .3s
|
8
|
-
|
9
|
-
.qr-img
|
10
|
-
max-width 12rem
|
11
|
-
position absolute
|
12
|
-
right -5.25rem
|
13
|
-
z-index 99
|
14
|
-
display none
|
15
|
-
border-radius .2rem
|
16
|
-
background-color transparent
|
17
|
-
box-shadow 0 0 20px -5px hsla(0, 0%, 62%, .2) */
|
1
|
+
/* .qr-trigger
|
2
|
+
cursor pointer
|
3
|
+
position relative
|
4
|
+
|
5
|
+
&:hover .qr-img
|
6
|
+
display block
|
7
|
+
transition all .3s
|
8
|
+
|
9
|
+
.qr-img
|
10
|
+
max-width 12rem
|
11
|
+
position absolute
|
12
|
+
right -5.25rem
|
13
|
+
z-index 99
|
14
|
+
display none
|
15
|
+
border-radius .2rem
|
16
|
+
background-color transparent
|
17
|
+
box-shadow 0 0 20px -5px hsla(0, 0%, 62%, .2) */
|
@@ -1,48 +1,48 @@
|
|
1
|
-
.scroll-down-bar
|
2
|
-
position absolute
|
3
|
-
width 100%
|
4
|
-
height 6rem
|
5
|
-
text-align center
|
6
|
-
cursor pointer
|
7
|
-
bottom 0
|
8
|
-
|
9
|
-
i.iconfont
|
10
|
-
font-size 2rem
|
11
|
-
font-weight bold
|
12
|
-
display inline-block
|
13
|
-
position relative
|
14
|
-
padding-top 2rem
|
15
|
-
color var(--subtitle-color)
|
16
|
-
transform translateZ(0)
|
17
|
-
animation scroll-down 1.5s infinite
|
18
|
-
|
19
|
-
#scroll-top-button
|
20
|
-
position fixed
|
21
|
-
z-index 99
|
22
|
-
background var(--bs-body-bg)
|
23
|
-
transition background-color .2s ease-in-out, bottom .3s ease
|
24
|
-
border-radius 4px
|
25
|
-
min-width 40px
|
26
|
-
min-height 40px
|
27
|
-
bottom -60px
|
28
|
-
outline none
|
29
|
-
display flex
|
30
|
-
display -webkit-flex
|
31
|
-
align-items center
|
32
|
-
box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)
|
33
|
-
bottom 1.5em
|
34
|
-
right 1.5em
|
35
|
-
|
36
|
-
i
|
37
|
-
font-size 32px
|
38
|
-
margin auto
|
39
|
-
color var(--sec-text-color)
|
40
|
-
|
41
|
-
&:hover i, &:active i
|
42
|
-
animation-name scroll-top
|
43
|
-
animation-duration 1s
|
44
|
-
animation-delay .1s
|
45
|
-
animation-timing-function ease-in-out
|
46
|
-
animation-iteration-count infinite
|
47
|
-
animation-fill-mode forwards
|
48
|
-
animation-direction alternate
|
1
|
+
.scroll-down-bar
|
2
|
+
position absolute
|
3
|
+
width 100%
|
4
|
+
height 6rem
|
5
|
+
text-align center
|
6
|
+
cursor pointer
|
7
|
+
bottom 0
|
8
|
+
|
9
|
+
i.iconfont
|
10
|
+
font-size 2rem
|
11
|
+
font-weight bold
|
12
|
+
display inline-block
|
13
|
+
position relative
|
14
|
+
padding-top 2rem
|
15
|
+
color var(--subtitle-color)
|
16
|
+
transform translateZ(0)
|
17
|
+
animation scroll-down 1.5s infinite
|
18
|
+
|
19
|
+
#scroll-top-button
|
20
|
+
position fixed
|
21
|
+
z-index 99
|
22
|
+
background var(--bs-body-bg)
|
23
|
+
transition background-color .2s ease-in-out, bottom .3s ease
|
24
|
+
border-radius 4px
|
25
|
+
min-width 40px
|
26
|
+
min-height 40px
|
27
|
+
bottom -60px
|
28
|
+
outline none
|
29
|
+
display flex
|
30
|
+
display -webkit-flex
|
31
|
+
align-items center
|
32
|
+
box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)
|
33
|
+
bottom 1.5em
|
34
|
+
right 1.5em
|
35
|
+
|
36
|
+
i
|
37
|
+
font-size 32px
|
38
|
+
margin auto
|
39
|
+
color var(--sec-text-color)
|
40
|
+
|
41
|
+
&:hover i, &:active i
|
42
|
+
animation-name scroll-top
|
43
|
+
animation-duration 1s
|
44
|
+
animation-delay .1s
|
45
|
+
animation-timing-function ease-in-out
|
46
|
+
animation-iteration-count infinite
|
47
|
+
animation-fill-mode forwards
|
48
|
+
animation-direction alternate
|
@@ -1,20 +1,20 @@
|
|
1
|
-
/* .text-primary,
|
2
|
-
.primary-text
|
3
|
-
color: var(--bs-primary-text-emphasis)!important
|
4
|
-
|
5
|
-
.text-info,
|
6
|
-
.info-text
|
7
|
-
color: var(--bs-info-text-emphasis)!important
|
8
|
-
|
9
|
-
.text-success,
|
10
|
-
.success-text
|
11
|
-
color: var(--bs-success-text-emphasis)!important
|
12
|
-
|
13
|
-
.text-warning,
|
14
|
-
.warning-text
|
15
|
-
color: var(--bs-warning-text-emphasis)!important
|
16
|
-
|
17
|
-
.text-danger,
|
18
|
-
.danger-text
|
19
|
-
color: var(--bs-danger-text-emphasis)!important
|
1
|
+
/* .text-primary,
|
2
|
+
.primary-text
|
3
|
+
color: var(--bs-primary-text-emphasis)!important
|
4
|
+
|
5
|
+
.text-info,
|
6
|
+
.info-text
|
7
|
+
color: var(--bs-info-text-emphasis)!important
|
8
|
+
|
9
|
+
.text-success,
|
10
|
+
.success-text
|
11
|
+
color: var(--bs-success-text-emphasis)!important
|
12
|
+
|
13
|
+
.text-warning,
|
14
|
+
.warning-text
|
15
|
+
color: var(--bs-warning-text-emphasis)!important
|
16
|
+
|
17
|
+
.text-danger,
|
18
|
+
.danger-text
|
19
|
+
color: var(--bs-danger-text-emphasis)!important
|
20
20
|
*/
|
@@ -1,75 +1,75 @@
|
|
1
|
-
#toc
|
2
|
-
visibility hidden
|
3
|
-
|
4
|
-
.toc-header
|
5
|
-
margin-bottom .5rem
|
6
|
-
font-weight bold
|
7
|
-
line-height 1.2
|
8
|
-
|
9
|
-
&, & > i
|
10
|
-
font-size 1.25rem
|
11
|
-
|
12
|
-
.toc-body
|
13
|
-
max-height 75vh
|
14
|
-
overflow-y auto
|
15
|
-
overflow -moz-scrollbars-none
|
16
|
-
-ms-overflow-style none
|
17
|
-
|
18
|
-
ol
|
19
|
-
list-style none
|
20
|
-
padding-inline-start 1rem
|
21
|
-
|
22
|
-
&::-webkit-scrollbar
|
23
|
-
display none
|
24
|
-
|
25
|
-
.tocbot-list
|
26
|
-
position relative
|
27
|
-
|
28
|
-
ol
|
29
|
-
list-style none
|
30
|
-
padding-left 1rem
|
31
|
-
|
32
|
-
a
|
33
|
-
font-size 0.95rem
|
34
|
-
|
35
|
-
.tocbot-link
|
36
|
-
color var(--text-color)
|
37
|
-
|
38
|
-
.tocbot-active-link
|
39
|
-
font-weight bold
|
40
|
-
color var(--link-hover-color)
|
41
|
-
|
42
|
-
.tocbot-is-collapsed
|
43
|
-
max-height 0
|
44
|
-
|
45
|
-
.tocbot-is-collapsible
|
46
|
-
overflow hidden
|
47
|
-
transition all .3s ease-in-out
|
48
|
-
|
49
|
-
.toc-list-item
|
50
|
-
white-space nowrap
|
51
|
-
overflow hidden
|
52
|
-
text-overflow ellipsis
|
53
|
-
|
54
|
-
&.is-active-li::before
|
55
|
-
height 1rem
|
56
|
-
margin 0.25rem 0
|
57
|
-
visibility visible
|
58
|
-
|
59
|
-
&::before
|
60
|
-
width 0.15rem
|
61
|
-
height 0.2rem
|
62
|
-
position absolute
|
63
|
-
left 0.25rem
|
64
|
-
content ""
|
65
|
-
border-radius 2px
|
66
|
-
margin 0.65rem 0
|
67
|
-
background var(--link-hover-color)
|
68
|
-
visibility hidden
|
69
|
-
transition height .1s ease-in-out, margin .1s ease-in-out, visibility .1s ease-in-out
|
70
|
-
|
71
|
-
.sidebar
|
72
|
-
position -webkit-sticky
|
73
|
-
position sticky
|
74
|
-
top 2rem
|
75
|
-
padding 3rem 0
|
1
|
+
#toc
|
2
|
+
visibility hidden
|
3
|
+
|
4
|
+
.toc-header
|
5
|
+
margin-bottom .5rem
|
6
|
+
font-weight bold
|
7
|
+
line-height 1.2
|
8
|
+
|
9
|
+
&, & > i
|
10
|
+
font-size 1.25rem
|
11
|
+
|
12
|
+
.toc-body
|
13
|
+
max-height 75vh
|
14
|
+
overflow-y auto
|
15
|
+
overflow -moz-scrollbars-none
|
16
|
+
-ms-overflow-style none
|
17
|
+
|
18
|
+
ol
|
19
|
+
list-style none
|
20
|
+
padding-inline-start 1rem
|
21
|
+
|
22
|
+
&::-webkit-scrollbar
|
23
|
+
display none
|
24
|
+
|
25
|
+
.tocbot-list
|
26
|
+
position relative
|
27
|
+
|
28
|
+
ol
|
29
|
+
list-style none
|
30
|
+
padding-left 1rem
|
31
|
+
|
32
|
+
a
|
33
|
+
font-size 0.95rem
|
34
|
+
|
35
|
+
.tocbot-link
|
36
|
+
color var(--text-color)
|
37
|
+
|
38
|
+
.tocbot-active-link
|
39
|
+
font-weight bold
|
40
|
+
color var(--link-hover-color)
|
41
|
+
|
42
|
+
.tocbot-is-collapsed
|
43
|
+
max-height 0
|
44
|
+
|
45
|
+
.tocbot-is-collapsible
|
46
|
+
overflow hidden
|
47
|
+
transition all .3s ease-in-out
|
48
|
+
|
49
|
+
.toc-list-item
|
50
|
+
white-space nowrap
|
51
|
+
overflow hidden
|
52
|
+
text-overflow ellipsis
|
53
|
+
|
54
|
+
&.is-active-li::before
|
55
|
+
height 1rem
|
56
|
+
margin 0.25rem 0
|
57
|
+
visibility visible
|
58
|
+
|
59
|
+
&::before
|
60
|
+
width 0.15rem
|
61
|
+
height 0.2rem
|
62
|
+
position absolute
|
63
|
+
left 0.25rem
|
64
|
+
content ""
|
65
|
+
border-radius 2px
|
66
|
+
margin 0.65rem 0
|
67
|
+
background var(--link-hover-color)
|
68
|
+
visibility hidden
|
69
|
+
transition height .1s ease-in-out, margin .1s ease-in-out, visibility .1s ease-in-out
|
70
|
+
|
71
|
+
.sidebar
|
72
|
+
position -webkit-sticky
|
73
|
+
position sticky
|
74
|
+
top 2rem
|
75
|
+
padding 3rem 0
|
@@ -1,67 +1,67 @@
|
|
1
|
-
@import "_widget/*"
|
2
|
-
|
3
|
-
html
|
4
|
-
font-size $font-size
|
5
|
-
letter-spacing $letter-spacing
|
6
|
-
|
7
|
-
html, body
|
8
|
-
height 100%
|
9
|
-
font-family $font-family
|
10
|
-
overflow-wrap break-word
|
11
|
-
|
12
|
-
body
|
13
|
-
transition color .2s ease-in-out, background-color .2s ease-in-out
|
14
|
-
background-color var(--body-bg-color)
|
15
|
-
// color var(--text-color)
|
16
|
-
-webkit-font-smoothing antialiased
|
17
|
-
-moz-osx-font-smoothing grayscale
|
18
|
-
|
19
|
-
a
|
20
|
-
color var(--text-color)
|
21
|
-
text-decoration none
|
22
|
-
cursor pointer
|
23
|
-
transition color .2s ease-in-out, background-color .2s ease-in-out
|
24
|
-
|
25
|
-
&:hover
|
26
|
-
color var(--link-hover-color)
|
27
|
-
text-decoration none
|
28
|
-
transition color .2s ease-in-out, background-color .2s ease-in-out
|
29
|
-
|
30
|
-
code
|
31
|
-
user-select all
|
32
|
-
|
33
|
-
pre code
|
34
|
-
user-select auto
|
35
|
-
|
36
|
-
img[lazyload]
|
37
|
-
object-fit cover
|
38
|
-
|
39
|
-
*[align="left"]
|
40
|
-
text-align left
|
41
|
-
|
42
|
-
*[align="center"]
|
43
|
-
text-align center
|
44
|
-
|
45
|
-
*[align="right"]
|
46
|
-
text-align right
|
47
|
-
|
48
|
-
::-webkit-scrollbar
|
49
|
-
width 6px
|
50
|
-
height 6px
|
51
|
-
|
52
|
-
::-webkit-scrollbar-thumb
|
53
|
-
background-color var(--scrollbar-color)
|
54
|
-
border-radius 6px
|
55
|
-
|
56
|
-
&:hover
|
57
|
-
background-color var(--scrollbar-hover-color)
|
58
|
-
|
59
|
-
::-webkit-scrollbar-corner
|
60
|
-
background-color transparent
|
61
|
-
|
62
|
-
label
|
63
|
-
margin-bottom 0
|
64
|
-
|
65
|
-
i.iconfont
|
66
|
-
font-size 1em
|
67
|
-
line-height 1
|
1
|
+
@import "_widget/*"
|
2
|
+
|
3
|
+
html
|
4
|
+
font-size $font-size
|
5
|
+
letter-spacing $letter-spacing
|
6
|
+
|
7
|
+
html, body
|
8
|
+
height 100%
|
9
|
+
font-family $font-family
|
10
|
+
overflow-wrap break-word
|
11
|
+
|
12
|
+
body
|
13
|
+
transition color .2s ease-in-out, background-color .2s ease-in-out
|
14
|
+
background-color var(--body-bg-color)
|
15
|
+
// color var(--text-color)
|
16
|
+
-webkit-font-smoothing antialiased
|
17
|
+
-moz-osx-font-smoothing grayscale
|
18
|
+
|
19
|
+
a
|
20
|
+
color var(--text-color)
|
21
|
+
text-decoration none
|
22
|
+
cursor pointer
|
23
|
+
transition color .2s ease-in-out, background-color .2s ease-in-out
|
24
|
+
|
25
|
+
&:hover
|
26
|
+
color var(--link-hover-color)
|
27
|
+
text-decoration none
|
28
|
+
transition color .2s ease-in-out, background-color .2s ease-in-out
|
29
|
+
|
30
|
+
code
|
31
|
+
user-select all
|
32
|
+
|
33
|
+
pre code
|
34
|
+
user-select auto
|
35
|
+
|
36
|
+
img[lazyload]
|
37
|
+
object-fit cover
|
38
|
+
|
39
|
+
*[align="left"]
|
40
|
+
text-align left
|
41
|
+
|
42
|
+
*[align="center"]
|
43
|
+
text-align center
|
44
|
+
|
45
|
+
*[align="right"]
|
46
|
+
text-align right
|
47
|
+
|
48
|
+
::-webkit-scrollbar
|
49
|
+
width 6px
|
50
|
+
height 6px
|
51
|
+
|
52
|
+
::-webkit-scrollbar-thumb
|
53
|
+
background-color var(--scrollbar-color)
|
54
|
+
border-radius 6px
|
55
|
+
|
56
|
+
&:hover
|
57
|
+
background-color var(--scrollbar-hover-color)
|
58
|
+
|
59
|
+
::-webkit-scrollbar-corner
|
60
|
+
background-color transparent
|
61
|
+
|
62
|
+
label
|
63
|
+
margin-bottom 0
|
64
|
+
|
65
|
+
i.iconfont
|
66
|
+
font-size 1em
|
67
|
+
line-height 1
|
@@ -1,79 +1,79 @@
|
|
1
|
-
:root
|
2
|
-
// --color-mode "light"
|
3
|
-
--body-bg-color $body-bg-color
|
4
|
-
--board-bg-color #fff
|
5
|
-
--text-color $text-color
|
6
|
-
--sec-text-color $sec-text-color
|
7
|
-
--post-text-color $post-text-color
|
8
|
-
--post-heading-color $post-heading-color
|
9
|
-
--post-link-color $post-link-color
|
10
|
-
--link-hover-color $link-hover-color
|
11
|
-
--link-hover-bg-color $link-hover-bg-color
|
12
|
-
--line-color $line-color
|
13
|
-
--navbar-bg-color $navbar-bg-color
|
14
|
-
--navbar-text-color $navbar-text-color
|
15
|
-
--subtitle-color $subtitle-color
|
16
|
-
--scrollbar-color $scrollbar-color
|
17
|
-
--scrollbar-hover-color $scrollbar-hover-color
|
18
|
-
--button-bg-color $button-bg-color
|
19
|
-
--button-hover-bg-color $button-hover-bg-color
|
20
|
-
--highlight-bg-color $highlight-bg-color
|
21
|
-
--inlinecode-bg-color $inlinecode-bg-color
|
22
|
-
--code-mac-top-bg #f2f2f2
|
23
|
-
--code-mac-body-bg #fff
|
24
|
-
// --chat-sender #f0f0f0
|
25
|
-
// --chat-responder #d7ecff
|
26
|
-
|
27
|
-
dark-colors()
|
28
|
-
--body-bg-color $body-bg-color-dark
|
29
|
-
--board-bg-color #212529
|
30
|
-
--text-color $text-color-dark
|
31
|
-
--sec-text-color $sec-text-color-dark
|
32
|
-
--post-text-color $post-text-color-dark
|
33
|
-
--post-heading-color $post-heading-color-dark
|
34
|
-
--post-link-color $post-link-color-dark
|
35
|
-
--link-hover-color $link-hover-color-dark
|
36
|
-
--link-hover-bg-color $link-hover-bg-color-dark
|
37
|
-
--line-color $line-color-dark
|
38
|
-
--navbar-bg-color $navbar-bg-color-dark
|
39
|
-
--navbar-text-color $navbar-text-color-dark
|
40
|
-
--subtitle-color $subtitle-color-dark
|
41
|
-
--scrollbar-color $scrollbar-color-dark
|
42
|
-
--scrollbar-hover-color $scrollbar-hover-color-dark
|
43
|
-
--button-bg-color $button-bg-color-dark
|
44
|
-
--button-hover-bg-color $button-hover-bg-color-dark
|
45
|
-
--highlight-bg-color $highlight-bg-color-dark
|
46
|
-
--inlinecode-bg-color $inlinecode-bg-color-dark
|
47
|
-
--code-mac-top-bg #181818
|
48
|
-
--code-mac-body-bg #000
|
49
|
-
// --chat-sender #16171a
|
50
|
-
// --chat-responder #002440
|
51
|
-
|
52
|
-
.navbar .dropdown-collapse, .top-nav-collapse, .navbar-col-show
|
53
|
-
if $navbar-glass-enable
|
54
|
-
ground-glass($navbar-glass-px, $navbar-bg-color-dark, $navbar-glass-alpha)
|
55
|
-
|
56
|
-
.license-box
|
57
|
-
background-color rgba(#3e4b5e, .35)
|
58
|
-
transition background-color .2s ease-in-out
|
59
|
-
|
60
|
-
.gt-comment-admin .gt-comment-content
|
61
|
-
background-color transparent
|
62
|
-
transition background-color .2s ease-in-out
|
63
|
-
|
64
|
-
|
65
|
-
@media (prefers-color-scheme: dark)
|
66
|
-
:root[data-bs-theme=dark]
|
67
|
-
dark-colors()
|
68
|
-
// --color-mode "dark"
|
69
|
-
|
70
|
-
/* :root([data-bs-theme="dark"])
|
71
|
-
dark-colors() */
|
72
|
-
|
73
|
-
/* @media not print
|
74
|
-
[data-bs-theme="dark"]
|
75
|
-
dark-colors()
|
76
|
-
|
77
|
-
@media print
|
78
|
-
:root
|
79
|
-
--color-mode "light" */
|
1
|
+
:root
|
2
|
+
// --color-mode "light"
|
3
|
+
--body-bg-color $body-bg-color
|
4
|
+
--board-bg-color #fff
|
5
|
+
--text-color $text-color
|
6
|
+
--sec-text-color $sec-text-color
|
7
|
+
--post-text-color $post-text-color
|
8
|
+
--post-heading-color $post-heading-color
|
9
|
+
--post-link-color $post-link-color
|
10
|
+
--link-hover-color $link-hover-color
|
11
|
+
--link-hover-bg-color $link-hover-bg-color
|
12
|
+
--line-color $line-color
|
13
|
+
--navbar-bg-color $navbar-bg-color
|
14
|
+
--navbar-text-color $navbar-text-color
|
15
|
+
--subtitle-color $subtitle-color
|
16
|
+
--scrollbar-color $scrollbar-color
|
17
|
+
--scrollbar-hover-color $scrollbar-hover-color
|
18
|
+
--button-bg-color $button-bg-color
|
19
|
+
--button-hover-bg-color $button-hover-bg-color
|
20
|
+
--highlight-bg-color $highlight-bg-color
|
21
|
+
--inlinecode-bg-color $inlinecode-bg-color
|
22
|
+
--code-mac-top-bg #f2f2f2
|
23
|
+
--code-mac-body-bg #fff
|
24
|
+
// --chat-sender #f0f0f0
|
25
|
+
// --chat-responder #d7ecff
|
26
|
+
|
27
|
+
dark-colors()
|
28
|
+
--body-bg-color $body-bg-color-dark
|
29
|
+
--board-bg-color #212529
|
30
|
+
--text-color $text-color-dark
|
31
|
+
--sec-text-color $sec-text-color-dark
|
32
|
+
--post-text-color $post-text-color-dark
|
33
|
+
--post-heading-color $post-heading-color-dark
|
34
|
+
--post-link-color $post-link-color-dark
|
35
|
+
--link-hover-color $link-hover-color-dark
|
36
|
+
--link-hover-bg-color $link-hover-bg-color-dark
|
37
|
+
--line-color $line-color-dark
|
38
|
+
--navbar-bg-color $navbar-bg-color-dark
|
39
|
+
--navbar-text-color $navbar-text-color-dark
|
40
|
+
--subtitle-color $subtitle-color-dark
|
41
|
+
--scrollbar-color $scrollbar-color-dark
|
42
|
+
--scrollbar-hover-color $scrollbar-hover-color-dark
|
43
|
+
--button-bg-color $button-bg-color-dark
|
44
|
+
--button-hover-bg-color $button-hover-bg-color-dark
|
45
|
+
--highlight-bg-color $highlight-bg-color-dark
|
46
|
+
--inlinecode-bg-color $inlinecode-bg-color-dark
|
47
|
+
--code-mac-top-bg #181818
|
48
|
+
--code-mac-body-bg #000
|
49
|
+
// --chat-sender #16171a
|
50
|
+
// --chat-responder #002440
|
51
|
+
|
52
|
+
.navbar .dropdown-collapse, .top-nav-collapse, .navbar-col-show
|
53
|
+
if $navbar-glass-enable
|
54
|
+
ground-glass($navbar-glass-px, $navbar-bg-color-dark, $navbar-glass-alpha)
|
55
|
+
|
56
|
+
.license-box
|
57
|
+
background-color rgba(#3e4b5e, .35)
|
58
|
+
transition background-color .2s ease-in-out
|
59
|
+
|
60
|
+
.gt-comment-admin .gt-comment-content
|
61
|
+
background-color transparent
|
62
|
+
transition background-color .2s ease-in-out
|
63
|
+
|
64
|
+
|
65
|
+
@media (prefers-color-scheme: dark)
|
66
|
+
:root[data-bs-theme=dark]
|
67
|
+
dark-colors()
|
68
|
+
// --color-mode "dark"
|
69
|
+
|
70
|
+
/* :root([data-bs-theme="dark"])
|
71
|
+
dark-colors() */
|
72
|
+
|
73
|
+
/* @media not print
|
74
|
+
[data-bs-theme="dark"]
|
75
|
+
dark-colors()
|
76
|
+
|
77
|
+
@media print
|
78
|
+
:root
|
79
|
+
--color-mode "light" */
|