hexo-theme-lnote 1.2.4 → 1.2.5
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 +122 -122
- package/_config.yml +19 -19
- package/config/links.yml +63 -63
- 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 -6
- 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 -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/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,179 +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
|
|
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
|
|
@@ -1,29 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
// popover
|
|
4
|
+
.lnote-popover-btn
|
|
5
|
+
--bs-btn-padding-y 0
|
|
6
|
+
--bs-btn-padding-x 0.28rem
|
|
7
|
+
--bs-btn-line-height 1
|
|
8
|
+
.lnote-popover
|
|
9
|
+
--bs-popover-border-color var(--bs-primary)
|
|
10
|
+
--bs-popover-header-bg var(--bs-primary)
|
|
11
|
+
--bs-popover-header-color var(--bs-white)
|
|
12
|
+
--bs-popover-body-padding-x 1rem
|
|
13
|
+
--bs-popover-body-padding-y .5rem
|
|
14
|
+
|
|
15
|
+
// note
|
|
16
|
+
.note
|
|
17
|
+
border-left 0.35rem solid
|
|
18
|
+
margin 1.5rem 0
|
|
19
|
+
transition color .2s ease-in-out
|
|
20
|
+
a
|
|
21
|
+
color var(--text-color)
|
|
22
|
+
transition color .2s ease-in-out
|
|
23
|
+
|
|
24
|
+
*:last-child
|
|
25
|
+
margin-bottom 0
|
|
26
|
+
|
|
27
|
+
// group-image
|
|
28
|
+
.group-image-container
|
|
29
|
+
margin 1.5rem auto
|
|
30
|
+
img
|
|
31
|
+
width: 100%
|
|
32
|
+
height: 100%
|
|
33
|
+
// object-fit: cover
|
|
34
|
+
.image-adapter
|
|
35
|
+
padding-bottom: 100%
|
|
36
|
+
position: relative
|
|
37
|
+
> div
|
|
38
|
+
width: 100%
|
|
39
|
+
height: 100%
|
|
40
|
+
position: absolute
|
|
41
|
+
left: 0
|
|
42
|
+
top: 0
|
|
43
|
+
z-index: 2
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.tagcloud
|
|
2
|
-
padding 1rem 5%
|
|
3
|
-
|
|
4
|
-
a
|
|
5
|
-
display inline-block
|
|
6
|
-
padding .5rem
|
|
7
|
-
|
|
8
|
-
&:hover
|
|
9
|
-
color var(--link-hover-color) !important
|
|
1
|
+
.tagcloud
|
|
2
|
+
padding 1rem 5%
|
|
3
|
+
|
|
4
|
+
a
|
|
5
|
+
display inline-block
|
|
6
|
+
padding .5rem
|
|
7
|
+
|
|
8
|
+
&:hover
|
|
9
|
+
color var(--link-hover-color) !important
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
@import "_base/*"
|
|
2
|
-
@import "_index/*"
|
|
3
|
-
@import "_post/*"
|
|
4
|
-
@import "_archive/*"
|
|
5
|
-
@import "_about/*"
|
|
6
|
-
@import "_category/*"
|
|
7
|
-
@import "_tag/*"
|
|
8
|
-
@import "_links/*"
|
|
1
|
+
@import "_base/*"
|
|
2
|
+
@import "_index/*"
|
|
3
|
+
@import "_post/*"
|
|
4
|
+
@import "_archive/*"
|
|
5
|
+
@import "_about/*"
|
|
6
|
+
@import "_category/*"
|
|
7
|
+
@import "_tag/*"
|
|
8
|
+
@import "_links/*"
|
|
@@ -1,72 +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)
|
|
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)
|