hexo-theme-lnote 1.2.7 → 1.2.8
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 +36 -36
- 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 -73
- package/scripts/index.js +2 -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,8 +1,8 @@
|
|
1
|
-
theme-config(config, predef)
|
2
|
-
unquote(hexo-config(config) ? hexo-config(config):predef)
|
3
|
-
|
4
|
-
theme-config-unit(config, predef, unit)
|
5
|
-
unit(hexo-config(config) ? hexo-config(config):predef, unit)
|
6
|
-
|
7
|
-
theme-config-origin(config, predef)
|
8
|
-
(hexo-config(config) ? hexo-config(config):predef)
|
1
|
+
theme-config(config, predef)
|
2
|
+
unquote(hexo-config(config) ? hexo-config(config):predef)
|
3
|
+
|
4
|
+
theme-config-unit(config, predef, unit)
|
5
|
+
unit(hexo-config(config) ? hexo-config(config):predef, unit)
|
6
|
+
|
7
|
+
theme-config-origin(config, predef)
|
8
|
+
(hexo-config(config) ? hexo-config(config):predef)
|
@@ -1,23 +1,23 @@
|
|
1
|
-
/* 给锚点增加偏移量(适配导航栏的高度) */
|
2
|
-
anchor-offset()
|
3
|
-
&::before
|
4
|
-
display block
|
5
|
-
content ""
|
6
|
-
margin-top -5rem
|
7
|
-
height 5rem
|
8
|
-
width 1px
|
9
|
-
visibility hidden
|
10
|
-
|
11
|
-
/* 毛玻璃透明效果 */
|
12
|
-
ground-glass($px, $bg-color, $alpha)
|
13
|
-
/* 若浏览器支持 backdrop-filter,则启用毛玻璃 */
|
14
|
-
@supports (-webkit-backdrop-filter: blur($px)) or (backdrop-filter: blur($px))
|
15
|
-
&
|
16
|
-
background rgba(convert($bg-color), $alpha)
|
17
|
-
-webkit-backdrop-filter blur($px)
|
18
|
-
backdrop-filter blur($px)
|
19
|
-
|
20
|
-
/* 若浏览器器不支持,则使用透明 */
|
21
|
-
@supports not ((-webkit-backdrop-filter: blur($px)) or (backdrop-filter: blur($px)))
|
22
|
-
&
|
23
|
-
background rgb(convert($bg-color))
|
1
|
+
/* 给锚点增加偏移量(适配导航栏的高度) */
|
2
|
+
anchor-offset()
|
3
|
+
&::before
|
4
|
+
display block
|
5
|
+
content ""
|
6
|
+
margin-top -5rem
|
7
|
+
height 5rem
|
8
|
+
width 1px
|
9
|
+
visibility hidden
|
10
|
+
|
11
|
+
/* 毛玻璃透明效果 */
|
12
|
+
ground-glass($px, $bg-color, $alpha)
|
13
|
+
/* 若浏览器支持 backdrop-filter,则启用毛玻璃 */
|
14
|
+
@supports (-webkit-backdrop-filter: blur($px)) or (backdrop-filter: blur($px))
|
15
|
+
&
|
16
|
+
background rgba(convert($bg-color), $alpha)
|
17
|
+
-webkit-backdrop-filter blur($px)
|
18
|
+
backdrop-filter blur($px)
|
19
|
+
|
20
|
+
/* 若浏览器器不支持,则使用透明 */
|
21
|
+
@supports not ((-webkit-backdrop-filter: blur($px)) or (backdrop-filter: blur($px)))
|
22
|
+
&
|
23
|
+
background rgb(convert($bg-color))
|
@@ -1,32 +1,32 @@
|
|
1
|
-
.about-avatar
|
2
|
-
position relative
|
3
|
-
margin -8rem auto 1rem
|
4
|
-
width 10rem
|
5
|
-
height 10rem
|
6
|
-
z-index 3
|
7
|
-
|
8
|
-
img
|
9
|
-
width 100%
|
10
|
-
height 100%
|
11
|
-
border-radius 50%
|
12
|
-
background-color transparent
|
13
|
-
object-fit cover
|
14
|
-
box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)
|
15
|
-
|
16
|
-
.about-info
|
17
|
-
& > div
|
18
|
-
margin-bottom .5rem
|
19
|
-
|
20
|
-
.about-name
|
21
|
-
font-size 1.75rem
|
22
|
-
font-weight bold
|
23
|
-
|
24
|
-
.about-intro
|
25
|
-
font-size 1rem
|
26
|
-
|
27
|
-
.about-icons
|
28
|
-
& > a:not(:last-child)
|
29
|
-
margin-right .5rem
|
30
|
-
|
31
|
-
& > a > i
|
32
|
-
font-size 1.5rem
|
1
|
+
.about-avatar
|
2
|
+
position relative
|
3
|
+
margin -8rem auto 1rem
|
4
|
+
width 10rem
|
5
|
+
height 10rem
|
6
|
+
z-index 3
|
7
|
+
|
8
|
+
img
|
9
|
+
width 100%
|
10
|
+
height 100%
|
11
|
+
border-radius 50%
|
12
|
+
background-color transparent
|
13
|
+
object-fit cover
|
14
|
+
box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)
|
15
|
+
|
16
|
+
.about-info
|
17
|
+
& > div
|
18
|
+
margin-bottom .5rem
|
19
|
+
|
20
|
+
.about-name
|
21
|
+
font-size 1.75rem
|
22
|
+
font-weight bold
|
23
|
+
|
24
|
+
.about-intro
|
25
|
+
font-size 1rem
|
26
|
+
|
27
|
+
.about-icons
|
28
|
+
& > a:not(:last-child)
|
29
|
+
margin-right .5rem
|
30
|
+
|
31
|
+
& > a > i
|
32
|
+
font-size 1.5rem
|
@@ -1,32 +1,32 @@
|
|
1
|
-
.list-group
|
2
|
-
a ~ p.h5
|
3
|
-
margin-top 1rem
|
4
|
-
|
5
|
-
.list-group-item
|
6
|
-
display flex
|
7
|
-
background-color transparent
|
8
|
-
border 0
|
9
|
-
padding: 0.75rem 1.25rem
|
10
|
-
|
11
|
-
time
|
12
|
-
flex 0 0 5rem
|
13
|
-
|
14
|
-
.list-group-item-title
|
15
|
-
white-space nowrap
|
16
|
-
overflow hidden
|
17
|
-
text-overflow ellipsis
|
18
|
-
|
19
|
-
@media (max-width: 575px)
|
20
|
-
.list-group-item
|
21
|
-
font-size .95rem
|
22
|
-
padding 0.5rem 0.75rem
|
23
|
-
|
24
|
-
time
|
25
|
-
flex 0 0 4rem
|
26
|
-
|
27
|
-
.list-group-item-action
|
28
|
-
color var(--text-color)
|
29
|
-
|
30
|
-
&:focus, &:hover
|
31
|
-
color var(--link-hover-color)
|
32
|
-
background-color var(--link-hover-bg-color)
|
1
|
+
.list-group
|
2
|
+
a ~ p.h5
|
3
|
+
margin-top 1rem
|
4
|
+
|
5
|
+
.list-group-item
|
6
|
+
display flex
|
7
|
+
background-color transparent
|
8
|
+
border 0
|
9
|
+
padding: 0.75rem 1.25rem
|
10
|
+
|
11
|
+
time
|
12
|
+
flex 0 0 5rem
|
13
|
+
|
14
|
+
.list-group-item-title
|
15
|
+
white-space nowrap
|
16
|
+
overflow hidden
|
17
|
+
text-overflow ellipsis
|
18
|
+
|
19
|
+
@media (max-width: 575px)
|
20
|
+
.list-group-item
|
21
|
+
font-size .95rem
|
22
|
+
padding 0.5rem 0.75rem
|
23
|
+
|
24
|
+
time
|
25
|
+
flex 0 0 4rem
|
26
|
+
|
27
|
+
.list-group-item-action
|
28
|
+
color var(--text-color)
|
29
|
+
|
30
|
+
&:focus, &:hover
|
31
|
+
color var(--link-hover-color)
|
32
|
+
background-color var(--link-hover-bg-color)
|
@@ -1,8 +1,8 @@
|
|
1
|
-
// Rewrite anchorjs
|
2
|
-
/* .anchorjs-link
|
3
|
-
text-decoration none !important
|
4
|
-
transition opacity .2s ease-in-out
|
5
|
-
|
6
|
-
.markdown-body h1, h2, h3, h4, h5, h6
|
7
|
-
&:hover > .anchorjs-link
|
8
|
-
opacity 1 */
|
1
|
+
// Rewrite anchorjs
|
2
|
+
/* .anchorjs-link
|
3
|
+
text-decoration none !important
|
4
|
+
transition opacity .2s ease-in-out
|
5
|
+
|
6
|
+
.markdown-body h1, h2, h3, h4, h5, h6
|
7
|
+
&:hover > .anchorjs-link
|
8
|
+
opacity 1 */
|
@@ -1,29 +1,29 @@
|
|
1
|
-
.banner
|
2
|
-
height 100%
|
3
|
-
position relative
|
4
|
-
overflow hidden
|
5
|
-
cursor default
|
6
|
-
|
7
|
-
.mask
|
8
|
-
position absolute
|
9
|
-
width 100%
|
10
|
-
height 100%
|
11
|
-
background-color rgba(0, 0, 0, 0.3)
|
12
|
-
|
13
|
-
&[parallax="true"]
|
14
|
-
will-change transform
|
15
|
-
-webkit-transform-style preserve-3d
|
16
|
-
-webkit-backface-visibility hidden
|
17
|
-
transition transform .05s ease-out
|
18
|
-
|
19
|
-
if $banner-width-height-ratio > 0
|
20
|
-
@media (max-width: unit($banner-width-height-ratio * 100, "vh"))
|
21
|
-
.header-inner
|
22
|
-
max-height unit(100 / $banner-width-height-ratio, "vw")
|
23
|
-
|
24
|
-
#board
|
25
|
-
margin-top -1rem !important
|
26
|
-
|
27
|
-
@media (max-width: unit($scroll-arrow-height-limit - 0.01, "vh"))
|
28
|
-
.scroll-down-bar
|
29
|
-
display none
|
1
|
+
.banner
|
2
|
+
height 100%
|
3
|
+
position relative
|
4
|
+
overflow hidden
|
5
|
+
cursor default
|
6
|
+
|
7
|
+
.mask
|
8
|
+
position absolute
|
9
|
+
width 100%
|
10
|
+
height 100%
|
11
|
+
background-color rgba(0, 0, 0, 0.3)
|
12
|
+
|
13
|
+
&[parallax="true"]
|
14
|
+
will-change transform
|
15
|
+
-webkit-transform-style preserve-3d
|
16
|
+
-webkit-backface-visibility hidden
|
17
|
+
transition transform .05s ease-out
|
18
|
+
|
19
|
+
if $banner-width-height-ratio > 0
|
20
|
+
@media (max-width: unit($banner-width-height-ratio * 100, "vh"))
|
21
|
+
.header-inner
|
22
|
+
max-height unit(100 / $banner-width-height-ratio, "vw")
|
23
|
+
|
24
|
+
#board
|
25
|
+
margin-top -1rem !important
|
26
|
+
|
27
|
+
@media (max-width: unit($scroll-arrow-height-limit - 0.01, "vh"))
|
28
|
+
.scroll-down-bar
|
29
|
+
display none
|
@@ -1,11 +1,11 @@
|
|
1
|
-
#board
|
2
|
-
position relative
|
3
|
-
margin-top -2rem
|
4
|
-
padding 3rem 0
|
5
|
-
background-color var(--board-bg-color)
|
6
|
-
// background-color var(--bs-body-bg)
|
7
|
-
transition background-color .2s ease-in-out
|
8
|
-
border-radius 0.5rem
|
9
|
-
z-index 3
|
10
|
-
-webkit-box-shadow 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19)
|
11
|
-
box-shadow 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19)
|
1
|
+
#board
|
2
|
+
position relative
|
3
|
+
margin-top -2rem
|
4
|
+
padding 3rem 0
|
5
|
+
background-color var(--board-bg-color)
|
6
|
+
// background-color var(--bs-body-bg)
|
7
|
+
transition background-color .2s ease-in-out
|
8
|
+
border-radius 0.5rem
|
9
|
+
z-index 3
|
10
|
+
-webkit-box-shadow 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19)
|
11
|
+
box-shadow 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19)
|
@@ -1,37 +1,37 @@
|
|
1
|
-
/* .code-widget
|
2
|
-
display inline-block
|
3
|
-
background-color transparent
|
4
|
-
font-size .75rem
|
5
|
-
line-height 1
|
6
|
-
font-weight bold
|
7
|
-
padding .3rem .1rem .1rem .1rem
|
8
|
-
position absolute
|
9
|
-
right .45rem
|
10
|
-
top .15rem
|
11
|
-
z-index 1
|
12
|
-
|
13
|
-
.code-widget-light
|
14
|
-
color #999
|
15
|
-
|
16
|
-
.code-widget-dark
|
17
|
-
color #bababa
|
18
|
-
|
19
|
-
.copy-btn
|
20
|
-
cursor pointer
|
21
|
-
user-select none
|
22
|
-
-webkit-appearance none
|
23
|
-
outline none
|
24
|
-
|
25
|
-
& > i
|
26
|
-
font-size .75rem !important
|
27
|
-
font-weight 400
|
28
|
-
margin-right .15rem
|
29
|
-
opacity 0
|
30
|
-
transition opacity .2s ease-in-out
|
31
|
-
|
32
|
-
.markdown-body pre:hover > .copy-btn > i
|
33
|
-
opacity 0.9
|
34
|
-
|
35
|
-
.markdown-body pre:hover > .copy-btn, .markdown-body pre:not(:hover) > .copy-btn
|
36
|
-
outline none
|
1
|
+
/* .code-widget
|
2
|
+
display inline-block
|
3
|
+
background-color transparent
|
4
|
+
font-size .75rem
|
5
|
+
line-height 1
|
6
|
+
font-weight bold
|
7
|
+
padding .3rem .1rem .1rem .1rem
|
8
|
+
position absolute
|
9
|
+
right .45rem
|
10
|
+
top .15rem
|
11
|
+
z-index 1
|
12
|
+
|
13
|
+
.code-widget-light
|
14
|
+
color #999
|
15
|
+
|
16
|
+
.code-widget-dark
|
17
|
+
color #bababa
|
18
|
+
|
19
|
+
.copy-btn
|
20
|
+
cursor pointer
|
21
|
+
user-select none
|
22
|
+
-webkit-appearance none
|
23
|
+
outline none
|
24
|
+
|
25
|
+
& > i
|
26
|
+
font-size .75rem !important
|
27
|
+
font-weight 400
|
28
|
+
margin-right .15rem
|
29
|
+
opacity 0
|
30
|
+
transition opacity .2s ease-in-out
|
31
|
+
|
32
|
+
.markdown-body pre:hover > .copy-btn > i
|
33
|
+
opacity 0.9
|
34
|
+
|
35
|
+
.markdown-body pre:hover > .copy-btn, .markdown-body pre:not(:hover) > .copy-btn
|
36
|
+
outline none
|
37
37
|
*/
|
@@ -1,91 +1,91 @@
|
|
1
|
-
/* // Modified from [hexo-theme-icarus](https://github.com/ppoffice/hexo-theme-icarus)
|
2
|
-
|
3
|
-
.license-box
|
4
|
-
background-color rgba(#1b1f23, .05)
|
5
|
-
transition background-color .2s ease-in-out
|
6
|
-
border-radius 4px
|
7
|
-
font-size .9rem
|
8
|
-
overflow hidden
|
9
|
-
padding 1.25rem
|
10
|
-
position relative
|
11
|
-
z-index 1
|
12
|
-
|
13
|
-
.license-icon
|
14
|
-
position absolute
|
15
|
-
top 50%
|
16
|
-
left 100%
|
17
|
-
|
18
|
-
&::after
|
19
|
-
content "\e8e4"
|
20
|
-
font-size 12.5rem
|
21
|
-
line-height 1
|
22
|
-
opacity 0.1
|
23
|
-
position relative
|
24
|
-
left -.85em
|
25
|
-
bottom .5em
|
26
|
-
z-index -1
|
27
|
-
|
28
|
-
.license-title
|
29
|
-
margin-bottom 1rem
|
30
|
-
|
31
|
-
div:nth-child(1)
|
32
|
-
line-height 1.2
|
33
|
-
margin-bottom .25rem
|
34
|
-
|
35
|
-
div:nth-child(2)
|
36
|
-
color var(--sec-text-color)
|
37
|
-
font-size .8rem
|
38
|
-
|
39
|
-
.license-meta
|
40
|
-
align-items center
|
41
|
-
display flex
|
42
|
-
flex-wrap wrap
|
43
|
-
justify-content flex-start
|
44
|
-
|
45
|
-
.license-meta-item
|
46
|
-
align-items center
|
47
|
-
justify-content center
|
48
|
-
margin-right 1.5rem
|
49
|
-
|
50
|
-
div:nth-child(1)
|
51
|
-
color var(--sec-text-color)
|
52
|
-
font-size .8rem
|
53
|
-
font-weight normal
|
54
|
-
|
55
|
-
i.iconfont
|
56
|
-
font-size 1rem
|
57
|
-
|
58
|
-
@media (max-width: 575px) and (min-width: 425px)
|
59
|
-
.license-meta
|
60
|
-
|
61
|
-
.license-meta-item
|
62
|
-
display flex
|
63
|
-
justify-content flex-start
|
64
|
-
flex-wrap wrap
|
65
|
-
font-size .8rem
|
66
|
-
flex 0 0 50%
|
67
|
-
max-width 50%
|
68
|
-
margin-right 0
|
69
|
-
|
70
|
-
div:nth-child(1)
|
71
|
-
margin-right .5rem
|
72
|
-
|
73
|
-
.license-meta-date
|
74
|
-
order -1
|
75
|
-
|
76
|
-
@media (max-width: 424px)
|
77
|
-
&::after
|
78
|
-
top -65px
|
79
|
-
|
80
|
-
.license-meta
|
81
|
-
flex-direction column
|
82
|
-
align-items flex-start
|
83
|
-
|
84
|
-
.license-meta-item
|
85
|
-
display flex
|
86
|
-
flex-wrap wrap
|
87
|
-
font-size .8rem
|
88
|
-
|
89
|
-
div:nth-child(1)
|
90
|
-
margin-right .5rem
|
1
|
+
/* // Modified from [hexo-theme-icarus](https://github.com/ppoffice/hexo-theme-icarus)
|
2
|
+
|
3
|
+
.license-box
|
4
|
+
background-color rgba(#1b1f23, .05)
|
5
|
+
transition background-color .2s ease-in-out
|
6
|
+
border-radius 4px
|
7
|
+
font-size .9rem
|
8
|
+
overflow hidden
|
9
|
+
padding 1.25rem
|
10
|
+
position relative
|
11
|
+
z-index 1
|
12
|
+
|
13
|
+
.license-icon
|
14
|
+
position absolute
|
15
|
+
top 50%
|
16
|
+
left 100%
|
17
|
+
|
18
|
+
&::after
|
19
|
+
content "\e8e4"
|
20
|
+
font-size 12.5rem
|
21
|
+
line-height 1
|
22
|
+
opacity 0.1
|
23
|
+
position relative
|
24
|
+
left -.85em
|
25
|
+
bottom .5em
|
26
|
+
z-index -1
|
27
|
+
|
28
|
+
.license-title
|
29
|
+
margin-bottom 1rem
|
30
|
+
|
31
|
+
div:nth-child(1)
|
32
|
+
line-height 1.2
|
33
|
+
margin-bottom .25rem
|
34
|
+
|
35
|
+
div:nth-child(2)
|
36
|
+
color var(--sec-text-color)
|
37
|
+
font-size .8rem
|
38
|
+
|
39
|
+
.license-meta
|
40
|
+
align-items center
|
41
|
+
display flex
|
42
|
+
flex-wrap wrap
|
43
|
+
justify-content flex-start
|
44
|
+
|
45
|
+
.license-meta-item
|
46
|
+
align-items center
|
47
|
+
justify-content center
|
48
|
+
margin-right 1.5rem
|
49
|
+
|
50
|
+
div:nth-child(1)
|
51
|
+
color var(--sec-text-color)
|
52
|
+
font-size .8rem
|
53
|
+
font-weight normal
|
54
|
+
|
55
|
+
i.iconfont
|
56
|
+
font-size 1rem
|
57
|
+
|
58
|
+
@media (max-width: 575px) and (min-width: 425px)
|
59
|
+
.license-meta
|
60
|
+
|
61
|
+
.license-meta-item
|
62
|
+
display flex
|
63
|
+
justify-content flex-start
|
64
|
+
flex-wrap wrap
|
65
|
+
font-size .8rem
|
66
|
+
flex 0 0 50%
|
67
|
+
max-width 50%
|
68
|
+
margin-right 0
|
69
|
+
|
70
|
+
div:nth-child(1)
|
71
|
+
margin-right .5rem
|
72
|
+
|
73
|
+
.license-meta-date
|
74
|
+
order -1
|
75
|
+
|
76
|
+
@media (max-width: 424px)
|
77
|
+
&::after
|
78
|
+
top -65px
|
79
|
+
|
80
|
+
.license-meta
|
81
|
+
flex-direction column
|
82
|
+
align-items flex-start
|
83
|
+
|
84
|
+
.license-meta-item
|
85
|
+
display flex
|
86
|
+
flex-wrap wrap
|
87
|
+
font-size .8rem
|
88
|
+
|
89
|
+
div:nth-child(1)
|
90
|
+
margin-right .5rem
|
91
91
|
*/
|
@@ -1,65 +1,65 @@
|
|
1
|
-
.footer-inner
|
2
|
-
padding 3rem 0 1rem 0
|
3
|
-
text-align center
|
4
|
-
|
5
|
-
/* & > div:not(:first-child)
|
6
|
-
margin .25rem 0
|
7
|
-
font-size .85rem
|
8
|
-
|
9
|
-
.statistics
|
10
|
-
display flex
|
11
|
-
flex-direction row
|
12
|
-
justify-content center
|
13
|
-
|
14
|
-
& > span
|
15
|
-
flex 1
|
16
|
-
margin 0 .25rem
|
17
|
-
|
18
|
-
& > *:nth-last-child(2):first-child
|
19
|
-
text-align right
|
20
|
-
|
21
|
-
& > *:nth-last-child(2):first-child ~ *
|
22
|
-
text-align left
|
23
|
-
|
24
|
-
.beian
|
25
|
-
display flex
|
26
|
-
flex-direction row
|
27
|
-
justify-content center
|
28
|
-
|
29
|
-
& > *
|
30
|
-
margin 0 .25rem
|
31
|
-
|
32
|
-
.beian-police
|
33
|
-
position relative
|
34
|
-
overflow hidden
|
35
|
-
display inline-flex
|
36
|
-
align-items center
|
37
|
-
justify-content left
|
38
|
-
|
39
|
-
img
|
40
|
-
margin-right 3px
|
41
|
-
width 1rem
|
42
|
-
height 1rem
|
43
|
-
margin-bottom .1rem
|
44
|
-
|
45
|
-
@media (max-width: 424px)
|
46
|
-
.statistics
|
47
|
-
flex-direction column
|
48
|
-
|
49
|
-
& > *:nth-last-child(2):first-child
|
50
|
-
text-align center
|
51
|
-
|
52
|
-
& > *:nth-last-child(2):first-child ~ *
|
53
|
-
text-align center
|
54
|
-
|
55
|
-
.beian
|
56
|
-
flex-direction column
|
57
|
-
|
58
|
-
.beian-police
|
59
|
-
justify-content center
|
60
|
-
|
61
|
-
& > *:nth-last-child(2):first-child
|
62
|
-
text-align center
|
63
|
-
|
64
|
-
& > *:nth-last-child(2):first-child ~ *
|
65
|
-
text-align center */
|
1
|
+
.footer-inner
|
2
|
+
padding 3rem 0 1rem 0
|
3
|
+
text-align center
|
4
|
+
|
5
|
+
/* & > div:not(:first-child)
|
6
|
+
margin .25rem 0
|
7
|
+
font-size .85rem
|
8
|
+
|
9
|
+
.statistics
|
10
|
+
display flex
|
11
|
+
flex-direction row
|
12
|
+
justify-content center
|
13
|
+
|
14
|
+
& > span
|
15
|
+
flex 1
|
16
|
+
margin 0 .25rem
|
17
|
+
|
18
|
+
& > *:nth-last-child(2):first-child
|
19
|
+
text-align right
|
20
|
+
|
21
|
+
& > *:nth-last-child(2):first-child ~ *
|
22
|
+
text-align left
|
23
|
+
|
24
|
+
.beian
|
25
|
+
display flex
|
26
|
+
flex-direction row
|
27
|
+
justify-content center
|
28
|
+
|
29
|
+
& > *
|
30
|
+
margin 0 .25rem
|
31
|
+
|
32
|
+
.beian-police
|
33
|
+
position relative
|
34
|
+
overflow hidden
|
35
|
+
display inline-flex
|
36
|
+
align-items center
|
37
|
+
justify-content left
|
38
|
+
|
39
|
+
img
|
40
|
+
margin-right 3px
|
41
|
+
width 1rem
|
42
|
+
height 1rem
|
43
|
+
margin-bottom .1rem
|
44
|
+
|
45
|
+
@media (max-width: 424px)
|
46
|
+
.statistics
|
47
|
+
flex-direction column
|
48
|
+
|
49
|
+
& > *:nth-last-child(2):first-child
|
50
|
+
text-align center
|
51
|
+
|
52
|
+
& > *:nth-last-child(2):first-child ~ *
|
53
|
+
text-align center
|
54
|
+
|
55
|
+
.beian
|
56
|
+
flex-direction column
|
57
|
+
|
58
|
+
.beian-police
|
59
|
+
justify-content center
|
60
|
+
|
61
|
+
& > *:nth-last-child(2):first-child
|
62
|
+
text-align center
|
63
|
+
|
64
|
+
& > *:nth-last-child(2):first-child ~ *
|
65
|
+
text-align center */
|