hexo-theme-lnote 1.2.6 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. package/README.md +36 -123
  2. package/_config.yml +19 -19
  3. package/config/links.yml +63 -63
  4. package/config/svg.yml +33 -33
  5. package/index.d.ts +3 -3
  6. package/languages/de.yml +69 -69
  7. package/languages/en.yml +73 -73
  8. package/languages/eo.yml +69 -69
  9. package/languages/es.yml +69 -69
  10. package/languages/ja.yml +69 -69
  11. package/languages/ru.yml +69 -69
  12. package/languages/zh-CN.yml +73 -73
  13. package/languages/zh-HK.yml +73 -73
  14. package/languages/zh-TW.yml +73 -73
  15. package/layout/404.ejs +8 -8
  16. package/layout/_partials/archive-list.ejs +17 -17
  17. package/layout/_partials/category-chains.ejs +19 -19
  18. package/layout/_partials/category-list.ejs +62 -62
  19. package/layout/_partials/comments/changyan.ejs +11 -11
  20. package/layout/_partials/comments/cusdis.ejs +25 -25
  21. package/layout/_partials/comments/discuss.ejs +17 -17
  22. package/layout/_partials/comments/disqus.ejs +32 -32
  23. package/layout/_partials/comments/giscus.ejs +36 -36
  24. package/layout/_partials/comments/gitalk.ejs +19 -19
  25. package/layout/_partials/comments/livere.ejs +10 -10
  26. package/layout/_partials/comments/remark42.ejs +29 -29
  27. package/layout/_partials/comments/twikoo.ejs +25 -25
  28. package/layout/_partials/comments/utterances.ejs +27 -27
  29. package/layout/_partials/comments/valine.ejs +23 -23
  30. package/layout/_partials/comments/waline.ejs +24 -24
  31. package/layout/_partials/comments.ejs +8 -8
  32. package/layout/_partials/css.ejs +9 -9
  33. package/layout/_partials/footer/beian.ejs +33 -33
  34. package/layout/_partials/footer/statistics.ejs +39 -39
  35. package/layout/_partials/footer.ejs +7 -7
  36. package/layout/_partials/head.ejs +46 -46
  37. package/layout/_partials/header/banner.ejs +24 -24
  38. package/layout/_partials/header/navigation.ejs +56 -56
  39. package/layout/_partials/header.ejs +4 -4
  40. package/layout/_partials/markdown-plugins.ejs +24 -24
  41. package/layout/_partials/paginator.ejs +14 -14
  42. package/layout/_partials/plugins/CSR.ejs +4 -4
  43. package/layout/_partials/plugins/analytics.ejs +75 -75
  44. package/layout/_partials/plugins/anchorjs.ejs +39 -39
  45. package/layout/_partials/plugins/code-widget.ejs +7 -7
  46. package/layout/_partials/plugins/encrypt.ejs +18 -18
  47. package/layout/_partials/plugins/fancybox.ejs +11 -11
  48. package/layout/_partials/plugins/highlight.ejs +13 -13
  49. package/layout/_partials/plugins/math.ejs +51 -51
  50. package/layout/_partials/plugins/mermaid.ejs +4 -4
  51. package/layout/_partials/plugins/nprogress.ejs +7 -7
  52. package/layout/_partials/plugins/typed.ejs +20 -20
  53. package/layout/_partials/post/category-bar.ejs +18 -18
  54. package/layout/_partials/post/copyright.ejs +50 -50
  55. package/layout/_partials/post/css.ejs +3 -3
  56. package/layout/_partials/post/meta-bottom.ejs +16 -16
  57. package/layout/_partials/post/meta-top.ejs +27 -27
  58. package/layout/_partials/post/scripts.ejs +8 -8
  59. package/layout/_partials/post/sidebar-left.ejs +1 -1
  60. package/layout/_partials/post/sidebar-right.ejs +2 -2
  61. package/layout/_partials/post/toc.ejs +6 -6
  62. package/layout/_partials/scripts.ejs +10 -10
  63. package/layout/_partials/search.ejs +19 -19
  64. package/layout/about.ejs +22 -22
  65. package/layout/archive.ejs +10 -10
  66. package/layout/categories.ejs +20 -20
  67. package/layout/category.ejs +12 -12
  68. package/layout/index.ejs +61 -61
  69. package/layout/layout.ejs +60 -60
  70. package/layout/links.ejs +31 -31
  71. package/layout/page.ejs +15 -15
  72. package/layout/post.ejs +77 -77
  73. package/layout/tag.ejs +12 -12
  74. package/layout/tags.ejs +26 -26
  75. package/package.json +73 -74
  76. package/scripts/index.js +1 -1
  77. package/source/css/_functions/base.styl +8 -8
  78. package/source/css/_mixins/base.styl +23 -23
  79. package/source/css/_pages/_about/about.styl +32 -32
  80. package/source/css/_pages/_archive/archive.styl +32 -32
  81. package/source/css/_pages/_base/_widget/anchorjs.styl +8 -8
  82. package/source/css/_pages/_base/_widget/banner.styl +29 -29
  83. package/source/css/_pages/_base/_widget/board.styl +11 -11
  84. package/source/css/_pages/_base/_widget/code-widget.styl +36 -36
  85. package/source/css/_pages/_base/_widget/copyright.styl +90 -90
  86. package/source/css/_pages/_base/_widget/footer.styl +65 -65
  87. package/source/css/_pages/_base/_widget/footnote.styl +25 -25
  88. package/source/css/_pages/_base/_widget/header.styl +173 -173
  89. package/source/css/_pages/_base/_widget/modal.styl +100 -100
  90. package/source/css/_pages/_base/_widget/navlink.styl +15 -15
  91. package/source/css/_pages/_base/_widget/ngrogress.styl +12 -12
  92. package/source/css/_pages/_base/_widget/noscript.styl +12 -12
  93. package/source/css/_pages/_base/_widget/pagination.styl +23 -23
  94. package/source/css/_pages/_base/_widget/qrcode.styl +17 -17
  95. package/source/css/_pages/_base/_widget/scroll-btn.styl +48 -48
  96. package/source/css/_pages/_base/_widget/text.styl +19 -19
  97. package/source/css/_pages/_base/_widget/toc.styl +75 -75
  98. package/source/css/_pages/_base/base.styl +67 -67
  99. package/source/css/_pages/_base/color-schema.styl +79 -79
  100. package/source/css/_pages/_base/inline.styl +51 -51
  101. package/source/css/_pages/_base/keyframes.styl +31 -31
  102. package/source/css/_pages/_base/print.styl +38 -38
  103. package/source/css/_pages/_category/category-bar.styl +58 -58
  104. package/source/css/_pages/_category/category-chain.styl +6 -6
  105. package/source/css/_pages/_category/category-list.styl +62 -62
  106. package/source/css/_pages/_index/index.styl +75 -75
  107. package/source/css/_pages/_links/links.styl +79 -79
  108. package/source/css/_pages/_post/comment.styl +27 -27
  109. package/source/css/_pages/_post/highlight.styl +76 -76
  110. package/source/css/_pages/_post/markdown.styl +96 -96
  111. package/source/css/_pages/_post/post-page.styl +179 -179
  112. package/source/css/_pages/_post/post-plugin.styl +9 -9
  113. package/source/css/_pages/_post/post-tag.styl +74 -74
  114. package/source/css/_pages/_tag/tags.styl +9 -9
  115. package/source/css/_pages/pages.styl +8 -8
  116. package/source/css/_variables/base.styl +72 -72
  117. package/source/css/gitalk.css +546 -546
  118. package/source/css/main.styl +19 -19
  119. package/source/js/color-schema.js +279 -279
  120. package/source/js/events.js +72 -72
  121. package/source/js/img-lazyload.js +10 -10
  122. package/source/js/local-search.js +70 -70
  123. package/source/js/post/copying-code.js +34 -34
  124. package/source/js/post/enable.js +6 -6
  125. package/source/js/post/img-swipe-bf.js +47 -47
  126. package/source/js/post/img-swipe.js +83 -83
  127. package/source/js/post/mermaiding.js +9 -9
  128. package/source/js/post/play-imgs.js +58 -58
  129. package/source/js/post/toc.js +24 -24
  130. package/source/js/post/view-imgs.js +27 -27
  131. package/source/js/utils.js +245 -245
  132. package/source/xml/local-search.xml +45 -45
  133. package/templates/Chat.vue +52 -52
  134. package/templates/GroupImage.vue +36 -36
  135. package/templates/MenuNav.vue +39 -39
  136. package/templates/Note.vue +33 -33
  137. package/templates/Noun.vue +25 -25
  138. package/templates/NounContent.vue +29 -29
  139. package/templates/Tab.vue +40 -40
  140. package/templates/footer.ejs +12 -12
  141. package/templates/utils/uri.ts +39 -39
@@ -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 = #181818
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 = #181818
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)