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,51 +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
|
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
|
@@ -1,31 +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)
|
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)
|
@@ -1,39 +1,39 @@
|
|
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
|
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
|
39
39
|
*/
|
@@ -1,58 +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
|
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
|
@@ -1,6 +1,6 @@
|
|
1
|
-
.category-chains
|
2
|
-
display flex
|
3
|
-
flex-wrap wrap
|
4
|
-
|
5
|
-
& > *:not(:last-child)
|
6
|
-
margin-right 1em
|
1
|
+
.category-chains
|
2
|
+
display flex
|
3
|
+
flex-wrap wrap
|
4
|
+
|
5
|
+
& > *:not(:last-child)
|
6
|
+
margin-right 1em
|
@@ -1,62 +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
|
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
|
@@ -1,75 +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
|
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
|