hexo-theme-lnote 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- 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,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)
|
@@ -0,0 +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)
|
@@ -0,0 +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
|
@@ -0,0 +1,19 @@
|
|
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
|
@@ -0,0 +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
|
@@ -0,0 +1,68 @@
|
|
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
|
+
color inherit
|
32
|
+
|
33
|
+
table
|
34
|
+
font-size inherit
|
35
|
+
color var(--post-text-color)
|
36
|
+
|
37
|
+
img[lazyload]
|
38
|
+
object-fit cover
|
39
|
+
|
40
|
+
*[align="left"]
|
41
|
+
text-align left
|
42
|
+
|
43
|
+
*[align="center"]
|
44
|
+
text-align center
|
45
|
+
|
46
|
+
*[align="right"]
|
47
|
+
text-align right
|
48
|
+
|
49
|
+
::-webkit-scrollbar
|
50
|
+
width 6px
|
51
|
+
height 6px
|
52
|
+
|
53
|
+
::-webkit-scrollbar-thumb
|
54
|
+
background-color var(--scrollbar-color)
|
55
|
+
border-radius 6px
|
56
|
+
|
57
|
+
&:hover
|
58
|
+
background-color var(--scrollbar-hover-color)
|
59
|
+
|
60
|
+
::-webkit-scrollbar-corner
|
61
|
+
background-color transparent
|
62
|
+
|
63
|
+
label
|
64
|
+
margin-bottom 0
|
65
|
+
|
66
|
+
i.iconfont
|
67
|
+
font-size 1em
|
68
|
+
line-height 1
|
@@ -0,0 +1,75 @@
|
|
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
|
+
|
25
|
+
dark-colors()
|
26
|
+
--body-bg-color $body-bg-color-dark
|
27
|
+
--board-bg-color #212529
|
28
|
+
--text-color $text-color-dark
|
29
|
+
--sec-text-color $sec-text-color-dark
|
30
|
+
--post-text-color $post-text-color-dark
|
31
|
+
--post-heading-color $post-heading-color-dark
|
32
|
+
--post-link-color $post-link-color-dark
|
33
|
+
--link-hover-color $link-hover-color-dark
|
34
|
+
--link-hover-bg-color $link-hover-bg-color-dark
|
35
|
+
--line-color $line-color-dark
|
36
|
+
--navbar-bg-color $navbar-bg-color-dark
|
37
|
+
--navbar-text-color $navbar-text-color-dark
|
38
|
+
--subtitle-color $subtitle-color-dark
|
39
|
+
--scrollbar-color $scrollbar-color-dark
|
40
|
+
--scrollbar-hover-color $scrollbar-hover-color-dark
|
41
|
+
--button-bg-color $button-bg-color-dark
|
42
|
+
--button-hover-bg-color $button-hover-bg-color-dark
|
43
|
+
--highlight-bg-color $highlight-bg-color-dark
|
44
|
+
--inlinecode-bg-color $inlinecode-bg-color-dark
|
45
|
+
--code-mac-top-bg #181818
|
46
|
+
--code-mac-body-bg #000
|
47
|
+
|
48
|
+
.navbar .dropdown-collapse, .top-nav-collapse, .navbar-col-show
|
49
|
+
if $navbar-glass-enable
|
50
|
+
ground-glass($navbar-glass-px, $navbar-bg-color-dark, $navbar-glass-alpha)
|
51
|
+
|
52
|
+
.license-box
|
53
|
+
background-color rgba(#3e4b5e, .35)
|
54
|
+
transition background-color .2s ease-in-out
|
55
|
+
|
56
|
+
.gt-comment-admin .gt-comment-content
|
57
|
+
background-color transparent
|
58
|
+
transition background-color .2s ease-in-out
|
59
|
+
|
60
|
+
|
61
|
+
@media (prefers-color-scheme: dark)
|
62
|
+
:root[data-bs-theme=dark]
|
63
|
+
dark-colors()
|
64
|
+
// --color-mode "dark"
|
65
|
+
|
66
|
+
/* :root([data-bs-theme="dark"])
|
67
|
+
dark-colors() */
|
68
|
+
|
69
|
+
/* @media not print
|
70
|
+
[data-bs-theme="dark"]
|
71
|
+
dark-colors()
|
72
|
+
|
73
|
+
@media print
|
74
|
+
:root
|
75
|
+
--color-mode "light" */
|
@@ -0,0 +1,51 @@
|
|
1
|
+
.fade-in-up
|
2
|
+
-webkit-animation-name fade-in-up
|
3
|
+
animation-name fade-in-up
|
4
|
+
|
5
|
+
.hidden-mobile
|
6
|
+
display block
|
7
|
+
|
8
|
+
.visible-mobile
|
9
|
+
display none
|
10
|
+
|
11
|
+
@media (max-width: 575px)
|
12
|
+
.hidden-mobile
|
13
|
+
display none
|
14
|
+
|
15
|
+
.visible-mobile
|
16
|
+
display block
|
17
|
+
|
18
|
+
.nomargin-x
|
19
|
+
margin-left 0 !important
|
20
|
+
margin-right 0 !important
|
21
|
+
|
22
|
+
.nopadding-x
|
23
|
+
padding-left 0 !important
|
24
|
+
padding-right 0 !important
|
25
|
+
|
26
|
+
@media (max-width: 767px)
|
27
|
+
.nopadding-x-md
|
28
|
+
padding-left 0 !important
|
29
|
+
padding-right 0 !important
|
30
|
+
|
31
|
+
.flex-center
|
32
|
+
display -webkit-box
|
33
|
+
display -ms-flexbox
|
34
|
+
display flex
|
35
|
+
-webkit-box-align center
|
36
|
+
-ms-flex-align center
|
37
|
+
align-items center
|
38
|
+
-webkit-box-pack center
|
39
|
+
-ms-flex-pack center
|
40
|
+
justify-content center
|
41
|
+
height 100%
|
42
|
+
|
43
|
+
.hover-with-bg
|
44
|
+
display inline-block
|
45
|
+
line-height 1
|
46
|
+
|
47
|
+
&:hover
|
48
|
+
background-color var(--link-hover-bg-color)
|
49
|
+
transition-duration .2s
|
50
|
+
transition-timing-function ease-in-out
|
51
|
+
border-radius .2rem
|
@@ -0,0 +1,31 @@
|
|
1
|
+
@keyframes fade-in-up
|
2
|
+
from
|
3
|
+
opacity 0
|
4
|
+
-webkit-transform translate3d(0, 100%, 0)
|
5
|
+
transform translate3d(0, 100%, 0)
|
6
|
+
to
|
7
|
+
opacity 1
|
8
|
+
-webkit-transform translate3d(0, 0, 0)
|
9
|
+
transform translate3d(0, 0, 0)
|
10
|
+
|
11
|
+
@keyframes scroll-down
|
12
|
+
0%
|
13
|
+
opacity 0.8
|
14
|
+
top 0
|
15
|
+
50%
|
16
|
+
opacity 0.4
|
17
|
+
top -1em
|
18
|
+
100%
|
19
|
+
opacity 0.8
|
20
|
+
top 0
|
21
|
+
|
22
|
+
@keyframes scroll-top
|
23
|
+
0%
|
24
|
+
-webkit-transform translateY(0)
|
25
|
+
transform translateY(0)
|
26
|
+
50%
|
27
|
+
-webkit-transform translateY(-0.35rem)
|
28
|
+
transform translateY(-0.35rem)
|
29
|
+
100%
|
30
|
+
-webkit-transform translateY(0)
|
31
|
+
transform translateY(0)
|
@@ -0,0 +1,38 @@
|
|
1
|
+
@media print
|
2
|
+
header, footer, .side-col, #scroll-top-button, .post-prevnext, #comments
|
3
|
+
display none !important
|
4
|
+
|
5
|
+
.markdown-body
|
6
|
+
a:not([href^='#']):not([href^='javascript:']):not(.print-no-link)::after
|
7
|
+
content ' (' attr(href) ')'
|
8
|
+
font-size 0.8rem
|
9
|
+
color var(--post-text-color)
|
10
|
+
opacity 0.8
|
11
|
+
|
12
|
+
& > h1, h2
|
13
|
+
border-bottom-color transparent !important
|
14
|
+
|
15
|
+
& > h1, h2, h3, h4, h5, h6
|
16
|
+
margin-top 1.25em !important
|
17
|
+
margin-bottom 0.25em !important
|
18
|
+
|
19
|
+
[data-anchorjs-icon]::after
|
20
|
+
display none
|
21
|
+
|
22
|
+
figure.highlight
|
23
|
+
table, tbody, tr, td.code, td.code pre
|
24
|
+
width 100% !important
|
25
|
+
display block !important
|
26
|
+
|
27
|
+
pre > code
|
28
|
+
white-space pre-wrap
|
29
|
+
|
30
|
+
.gutter, .code-widget
|
31
|
+
display none !important
|
32
|
+
|
33
|
+
.post-metas a
|
34
|
+
text-decoration none
|
35
|
+
|
36
|
+
@media not print
|
37
|
+
#seo-header
|
38
|
+
display none
|
@@ -0,0 +1,58 @@
|
|
1
|
+
.category-bar
|
2
|
+
|
3
|
+
.category-list
|
4
|
+
max-height 85vh
|
5
|
+
overflow-y auto
|
6
|
+
overflow-x hidden
|
7
|
+
|
8
|
+
&::-webkit-scrollbar
|
9
|
+
display none
|
10
|
+
|
11
|
+
& > .category-sub > a
|
12
|
+
font-weight bold
|
13
|
+
font-size 1.2rem
|
14
|
+
|
15
|
+
.category-item-action i
|
16
|
+
margin 0
|
17
|
+
|
18
|
+
.category-subitem
|
19
|
+
&.list-group-item
|
20
|
+
padding-left .5rem
|
21
|
+
padding-right 0
|
22
|
+
|
23
|
+
.category-collapse
|
24
|
+
.category-post-list
|
25
|
+
margin-top .25rem
|
26
|
+
margin-bottom .5rem
|
27
|
+
|
28
|
+
.category-post
|
29
|
+
font-size .9rem
|
30
|
+
line-height 1.75
|
31
|
+
|
32
|
+
.category-item-action:hover
|
33
|
+
background-color initial
|
34
|
+
|
35
|
+
.list-group-item
|
36
|
+
padding 0
|
37
|
+
|
38
|
+
&.active
|
39
|
+
color var(--link-hover-color)
|
40
|
+
background-color initial
|
41
|
+
font-weight bold
|
42
|
+
font-family "iconfont"
|
43
|
+
font-style normal
|
44
|
+
-webkit-font-smoothing antialiased
|
45
|
+
|
46
|
+
&::before
|
47
|
+
content "\e61f"
|
48
|
+
font-weight initial
|
49
|
+
margin-right .25rem
|
50
|
+
|
51
|
+
.list-group-count
|
52
|
+
margin-left .2rem
|
53
|
+
margin-right .2rem
|
54
|
+
font-size .9em
|
55
|
+
|
56
|
+
.list-group-item-action
|
57
|
+
&:focus, &:hover
|
58
|
+
background-color initial
|
@@ -0,0 +1,62 @@
|
|
1
|
+
.category
|
2
|
+
|
3
|
+
&:not(:last-child)
|
4
|
+
margin-bottom 1rem
|
5
|
+
|
6
|
+
.category-sub
|
7
|
+
pass
|
8
|
+
|
9
|
+
.category-item, .category-subitem
|
10
|
+
font-weight bold
|
11
|
+
display flex
|
12
|
+
align-items center
|
13
|
+
|
14
|
+
.category-item
|
15
|
+
font-size 1.25rem
|
16
|
+
|
17
|
+
.category-subitem
|
18
|
+
font-size 1.1rem
|
19
|
+
|
20
|
+
.category-collapse
|
21
|
+
padding-left: 1.25rem
|
22
|
+
width 100%
|
23
|
+
|
24
|
+
.category-count
|
25
|
+
font-size .9rem
|
26
|
+
font-weight initial
|
27
|
+
min-width 1.3em
|
28
|
+
line-height 1.3em
|
29
|
+
display flex
|
30
|
+
align-items center
|
31
|
+
|
32
|
+
i
|
33
|
+
padding-right .25rem
|
34
|
+
|
35
|
+
span
|
36
|
+
width 2rem
|
37
|
+
|
38
|
+
.category-post
|
39
|
+
white-space nowrap
|
40
|
+
overflow hidden
|
41
|
+
text-overflow ellipsis
|
42
|
+
|
43
|
+
.category-item-action
|
44
|
+
|
45
|
+
&:not(.collapsed) > i
|
46
|
+
transform rotate(90deg)
|
47
|
+
transform-origin center center
|
48
|
+
|
49
|
+
i
|
50
|
+
transition transform .3s ease-out
|
51
|
+
display inline-block
|
52
|
+
margin-left .25rem
|
53
|
+
|
54
|
+
.category:hover
|
55
|
+
z-index 1
|
56
|
+
color var(--link-hover-color)
|
57
|
+
text-decoration none
|
58
|
+
background-color var(--link-hover-bg-color)
|
59
|
+
|
60
|
+
.row
|
61
|
+
margin-left 0
|
62
|
+
margin-right 0
|
@@ -0,0 +1,75 @@
|
|
1
|
+
.index-card
|
2
|
+
margin-bottom 2.5rem
|
3
|
+
|
4
|
+
.index-img
|
5
|
+
img
|
6
|
+
display block
|
7
|
+
width 100%
|
8
|
+
height 10rem
|
9
|
+
object-fit cover
|
10
|
+
box-shadow 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15)
|
11
|
+
border-radius .25rem
|
12
|
+
background-color transparent
|
13
|
+
|
14
|
+
.index-info
|
15
|
+
display flex
|
16
|
+
flex-direction column
|
17
|
+
justify-content space-between
|
18
|
+
padding-top .5rem
|
19
|
+
padding-bottom .5rem
|
20
|
+
|
21
|
+
.index-header
|
22
|
+
color var(--text-color)
|
23
|
+
font-size 1.5rem
|
24
|
+
font-weight bold
|
25
|
+
line-height 1.4
|
26
|
+
white-space nowrap
|
27
|
+
overflow hidden
|
28
|
+
text-overflow ellipsis
|
29
|
+
margin-bottom .25rem
|
30
|
+
|
31
|
+
.index-pin
|
32
|
+
color var(--text-color)
|
33
|
+
font-size 1.5rem
|
34
|
+
margin-right .15rem
|
35
|
+
|
36
|
+
.index-btm
|
37
|
+
color var(--sec-text-color)
|
38
|
+
|
39
|
+
a
|
40
|
+
color var(--sec-text-color)
|
41
|
+
|
42
|
+
.index-excerpt
|
43
|
+
color var(--sec-text-color)
|
44
|
+
margin 0.5rem 0 0.5rem 0
|
45
|
+
height calc(1.4rem * 3)
|
46
|
+
overflow hidden
|
47
|
+
display flex
|
48
|
+
|
49
|
+
& > div
|
50
|
+
width 100%
|
51
|
+
line-height 1.4rem
|
52
|
+
word-break break-word
|
53
|
+
display -webkit-box
|
54
|
+
-webkit-box-orient vertical
|
55
|
+
-webkit-line-clamp 3
|
56
|
+
|
57
|
+
.index-excerpt__noimg
|
58
|
+
height auto
|
59
|
+
max-height calc(1.4rem * 3)
|
60
|
+
|
61
|
+
@media (max-width: 767px)
|
62
|
+
.index-info
|
63
|
+
padding-top 1.25rem
|
64
|
+
|
65
|
+
.index-header
|
66
|
+
font-size 1.25rem
|
67
|
+
white-space normal
|
68
|
+
overflow hidden
|
69
|
+
word-break break-word
|
70
|
+
display -webkit-box
|
71
|
+
-webkit-box-orient vertical
|
72
|
+
-webkit-line-clamp 2
|
73
|
+
|
74
|
+
.index-pin
|
75
|
+
font-size 1.25rem
|