hexo-theme-lnote 1.2.3

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.
Files changed (145) hide show
  1. package/README.md +123 -0
  2. package/_config.yml +19 -0
  3. package/config/links.yml +63 -0
  4. package/config/svg.yml +34 -0
  5. package/languages/de.yml +69 -0
  6. package/languages/en.yml +69 -0
  7. package/languages/eo.yml +69 -0
  8. package/languages/es.yml +69 -0
  9. package/languages/ja.yml +69 -0
  10. package/languages/ru.yml +69 -0
  11. package/languages/zh-CN.yml +69 -0
  12. package/languages/zh-HK.yml +69 -0
  13. package/languages/zh-TW.yml +69 -0
  14. package/layout/404.ejs +8 -0
  15. package/layout/_partials/archive-list.ejs +17 -0
  16. package/layout/_partials/category-chains.ejs +19 -0
  17. package/layout/_partials/category-list.ejs +62 -0
  18. package/layout/_partials/comments/changyan.ejs +11 -0
  19. package/layout/_partials/comments/cusdis.ejs +25 -0
  20. package/layout/_partials/comments/discuss.ejs +17 -0
  21. package/layout/_partials/comments/disqus.ejs +32 -0
  22. package/layout/_partials/comments/giscus.ejs +36 -0
  23. package/layout/_partials/comments/gitalk.ejs +19 -0
  24. package/layout/_partials/comments/livere.ejs +10 -0
  25. package/layout/_partials/comments/remark42.ejs +29 -0
  26. package/layout/_partials/comments/twikoo.ejs +25 -0
  27. package/layout/_partials/comments/utterances.ejs +27 -0
  28. package/layout/_partials/comments/valine.ejs +23 -0
  29. package/layout/_partials/comments/waline.ejs +24 -0
  30. package/layout/_partials/comments.ejs +8 -0
  31. package/layout/_partials/css.ejs +10 -0
  32. package/layout/_partials/footer/beian.ejs +33 -0
  33. package/layout/_partials/footer/statistics.ejs +39 -0
  34. package/layout/_partials/footer.ejs +7 -0
  35. package/layout/_partials/head.ejs +46 -0
  36. package/layout/_partials/header/banner.ejs +24 -0
  37. package/layout/_partials/header/navigation.ejs +57 -0
  38. package/layout/_partials/header.ejs +4 -0
  39. package/layout/_partials/markdown-plugins.ejs +24 -0
  40. package/layout/_partials/paginator.ejs +14 -0
  41. package/layout/_partials/plugins/analytics.ejs +75 -0
  42. package/layout/_partials/plugins/anchorjs.ejs +39 -0
  43. package/layout/_partials/plugins/code-widget.ejs +7 -0
  44. package/layout/_partials/plugins/encrypt.ejs +18 -0
  45. package/layout/_partials/plugins/fancybox.ejs +11 -0
  46. package/layout/_partials/plugins/highlight.ejs +13 -0
  47. package/layout/_partials/plugins/math.ejs +51 -0
  48. package/layout/_partials/plugins/mermaid.ejs +4 -0
  49. package/layout/_partials/plugins/nprogress.ejs +8 -0
  50. package/layout/_partials/plugins/typed.ejs +20 -0
  51. package/layout/_partials/post/category-bar.ejs +18 -0
  52. package/layout/_partials/post/copyright.ejs +50 -0
  53. package/layout/_partials/post/css.ejs +4 -0
  54. package/layout/_partials/post/meta-bottom.ejs +16 -0
  55. package/layout/_partials/post/meta-top.ejs +28 -0
  56. package/layout/_partials/post/scripts.ejs +8 -0
  57. package/layout/_partials/post/sidebar-left.ejs +1 -0
  58. package/layout/_partials/post/sidebar-right.ejs +3 -0
  59. package/layout/_partials/post/toc.ejs +7 -0
  60. package/layout/_partials/scripts.ejs +10 -0
  61. package/layout/_partials/search.ejs +19 -0
  62. package/layout/about.ejs +22 -0
  63. package/layout/archive.ejs +10 -0
  64. package/layout/categories.ejs +20 -0
  65. package/layout/category.ejs +12 -0
  66. package/layout/index.ejs +61 -0
  67. package/layout/layout.ejs +60 -0
  68. package/layout/links.ejs +31 -0
  69. package/layout/page.ejs +15 -0
  70. package/layout/post.ejs +77 -0
  71. package/layout/tag.ejs +12 -0
  72. package/layout/tags.ejs +26 -0
  73. package/package.json +70 -0
  74. package/scripts/index.js +1 -0
  75. package/source/css/_functions/base.styl +8 -0
  76. package/source/css/_mixins/base.styl +23 -0
  77. package/source/css/_pages/_about/about.styl +32 -0
  78. package/source/css/_pages/_archive/archive.styl +32 -0
  79. package/source/css/_pages/_base/_widget/anchorjs.styl +8 -0
  80. package/source/css/_pages/_base/_widget/banner.styl +29 -0
  81. package/source/css/_pages/_base/_widget/board.styl +11 -0
  82. package/source/css/_pages/_base/_widget/code-widget.styl +36 -0
  83. package/source/css/_pages/_base/_widget/copyright.styl +90 -0
  84. package/source/css/_pages/_base/_widget/footer.styl +65 -0
  85. package/source/css/_pages/_base/_widget/footnote.styl +25 -0
  86. package/source/css/_pages/_base/_widget/header.styl +173 -0
  87. package/source/css/_pages/_base/_widget/modal.styl +100 -0
  88. package/source/css/_pages/_base/_widget/navlink.styl +16 -0
  89. package/source/css/_pages/_base/_widget/ngrogress.styl +12 -0
  90. package/source/css/_pages/_base/_widget/noscript.styl +12 -0
  91. package/source/css/_pages/_base/_widget/pagination.styl +23 -0
  92. package/source/css/_pages/_base/_widget/qrcode.styl +17 -0
  93. package/source/css/_pages/_base/_widget/scroll-btn.styl +48 -0
  94. package/source/css/_pages/_base/_widget/text.styl +19 -0
  95. package/source/css/_pages/_base/_widget/toc.styl +75 -0
  96. package/source/css/_pages/_base/base.styl +68 -0
  97. package/source/css/_pages/_base/color-schema.styl +75 -0
  98. package/source/css/_pages/_base/inline.styl +51 -0
  99. package/source/css/_pages/_base/keyframes.styl +31 -0
  100. package/source/css/_pages/_base/print.styl +38 -0
  101. package/source/css/_pages/_category/category-bar.styl +58 -0
  102. package/source/css/_pages/_category/category-chain.styl +6 -0
  103. package/source/css/_pages/_category/category-list.styl +62 -0
  104. package/source/css/_pages/_index/index.styl +75 -0
  105. package/source/css/_pages/_links/links.styl +79 -0
  106. package/source/css/_pages/_post/comment.styl +27 -0
  107. package/source/css/_pages/_post/highlight.styl +75 -0
  108. package/source/css/_pages/_post/markdown.styl +96 -0
  109. package/source/css/_pages/_post/post-page.styl +179 -0
  110. package/source/css/_pages/_post/post-tag.styl +29 -0
  111. package/source/css/_pages/_tag/tag.styl +9 -0
  112. package/source/css/_pages/_tag/tags.styl +9 -0
  113. package/source/css/_pages/pages.styl +8 -0
  114. package/source/css/_variables/base.styl +72 -0
  115. package/source/css/gitalk.css +546 -0
  116. package/source/css/main.styl +19 -0
  117. package/source/img/avatar.png +0 -0
  118. package/source/img/default.jpg +0 -0
  119. package/source/img/default1.jpg +0 -0
  120. package/source/img/default2.jpg +0 -0
  121. package/source/img/default3.jpg +0 -0
  122. package/source/img/default4.jpg +0 -0
  123. package/source/img/default5.jpg +0 -0
  124. package/source/img/default6.jpg +0 -0
  125. package/source/img/default7.jpg +0 -0
  126. package/source/img/default8.jpg +0 -0
  127. package/source/img/docs.png +0 -0
  128. package/source/img/loading.gif +0 -0
  129. package/source/img/police_beian.png +0 -0
  130. package/source/js/color-schema.js +279 -0
  131. package/source/js/events.js +72 -0
  132. package/source/js/img-lazyload.js +10 -0
  133. package/source/js/local-search.js +70 -0
  134. package/source/js/post/copying-code.js +34 -0
  135. package/source/js/post/enable.js +8 -0
  136. package/source/js/post/img-swipe-bf.js +47 -0
  137. package/source/js/post/img-swipe.js +35 -0
  138. package/source/js/post/mermaiding.js +13 -0
  139. package/source/js/post/play-imgs.js +59 -0
  140. package/source/js/post/toc.js +24 -0
  141. package/source/js/post/view-imgs.js +27 -0
  142. package/source/js/utils.js +245 -0
  143. package/source/xml/local-search.xml +45 -0
  144. package/templates/footer.ejs +13 -0
  145. package/templates/noun.vue +18 -0
@@ -0,0 +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)
@@ -0,0 +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))
@@ -0,0 +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
@@ -0,0 +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)
@@ -0,0 +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
@@ -0,0 +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
@@ -0,0 +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)
@@ -0,0 +1,36 @@
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
@@ -0,0 +1,90 @@
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
@@ -0,0 +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
@@ -0,0 +1,25 @@
1
+ sup > a, .footnote-text
2
+ anchor-offset()
3
+ &::before
4
+ display inline-block
5
+
6
+ .footnote-item
7
+ anchor-offset()
8
+
9
+ .footnote-list
10
+ ol
11
+ list-style-type none
12
+ counter-reset sectioncounter
13
+ padding-left .5rem
14
+ font-size .95rem
15
+
16
+ li:before
17
+ font-family "Helvetica Neue", monospace, "Monaco"
18
+ content "["counter(sectioncounter)"]"
19
+ counter-increment sectioncounter
20
+
21
+ li+li
22
+ margin-top .5rem
23
+
24
+ .footnote-text
25
+ padding-left .5em
@@ -0,0 +1,173 @@
1
+ // Rewrite navbar
2
+ .navbar
3
+ background-color transparent
4
+ font-size 0.875rem
5
+ box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)
6
+ -webkit-box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)
7
+
8
+ .navbar-brand
9
+ color var(--navbar-text-color)
10
+
11
+ .navbar-toggler .animated-icon span
12
+ background-color var(--navbar-text-color)
13
+
14
+ .nav-item .nav-link
15
+ display block
16
+ color var(--navbar-text-color)
17
+ transition color .2s ease-in-out, background-color .2s ease-in-out
18
+
19
+ &:hover
20
+ color var(--link-hover-color)
21
+
22
+ &:focus
23
+ color var(--navbar-text-color)
24
+
25
+ i
26
+ font-size 0.875rem
27
+
28
+ i:only-child
29
+ margin 0 .2rem
30
+
31
+ .navbar-toggler
32
+ border-width 0
33
+ outline 0
34
+
35
+ &.scrolling-navbar
36
+ will-change background, padding
37
+ -webkit-transition background 0.5s ease-in-out, padding 0.5s ease-in-out
38
+ transition background 0.5s ease-in-out, padding 0.5s ease-in-out
39
+
40
+ @media (min-width: 600px)
41
+ &
42
+ padding-top 12px
43
+ padding-bottom 12px
44
+
45
+ & .navbar-nav > li
46
+ -webkit-transition-duration 1s
47
+ transition-duration 1s
48
+
49
+ &.top-nav-collapse
50
+ padding-top 5px
51
+ padding-bottom 5px
52
+
53
+ .dropdown-menu
54
+ font-size 0.875rem
55
+ color var(--navbar-text-color)
56
+ background-color rgba(0, 0, 0, 0.3)
57
+ border none
58
+ min-width 8rem
59
+ -webkit-transition background .5s ease-in-out,padding .5s ease-in-out
60
+ transition background .5s ease-in-out,padding .5s ease-in-out
61
+
62
+ @media (max-width: 991.98px)
63
+ text-align center
64
+
65
+ .dropdown-item
66
+ color var(--navbar-text-color)
67
+
68
+ &:hover, &:focus
69
+ color var(--link-hover-color)
70
+ background-color rgba(0, 0, 0, 0.1)
71
+
72
+ @media (min-width: 992px)
73
+ .dropdown:hover > .dropdown-menu
74
+ display block
75
+
76
+ .dropdown > .dropdown-toggle:active
77
+ pointer-events none
78
+
79
+ .dropdown-menu
80
+ top 95%
81
+
82
+ .animated-icon
83
+ width 30px
84
+ height 20px
85
+ position relative
86
+ margin 0
87
+ -webkit-transform rotate(0deg)
88
+ -moz-transform rotate(0deg)
89
+ -o-transform rotate(0deg)
90
+ transform rotate(0deg)
91
+ -webkit-transition .5s ease-in-out
92
+ -moz-transition .5s ease-in-out
93
+ -o-transition .5s ease-in-out
94
+ transition .5s ease-in-out
95
+ cursor pointer
96
+
97
+ span
98
+ display block
99
+ position absolute
100
+ height 3px
101
+ width 100%
102
+ border-radius 9px
103
+ opacity 1
104
+ left 0
105
+ -webkit-transform rotate(0deg)
106
+ -moz-transform rotate(0deg)
107
+ -o-transform rotate(0deg)
108
+ transform rotate(0deg)
109
+ -webkit-transition .25s ease-in-out
110
+ -moz-transition .25s ease-in-out
111
+ -o-transition .25s ease-in-out
112
+ transition .25s ease-in-out
113
+ background #ffffff
114
+
115
+ &:nth-child(1)
116
+ top 0
117
+
118
+ &:nth-child(2)
119
+ top 10px
120
+
121
+ &:nth-child(3)
122
+ top 20px
123
+
124
+ &.open
125
+ span
126
+ &:nth-child(1)
127
+ top 11px
128
+ -webkit-transform rotate(135deg)
129
+ -moz-transform rotate(135deg)
130
+ -o-transform rotate(135deg)
131
+ transform rotate(135deg)
132
+
133
+ &:nth-child(2)
134
+ opacity 0
135
+ left -60px
136
+
137
+ &:nth-child(3)
138
+ top 11px
139
+ -webkit-transform rotate(-135deg)
140
+ -moz-transform rotate(-135deg)
141
+ -o-transform rotate(-135deg)
142
+ transform rotate(-135deg)
143
+
144
+ .navbar .dropdown-collapse, .top-nav-collapse, .navbar-col-show
145
+ if $navbar-glass-enable
146
+ ground-glass($navbar-glass-px, $navbar-bg-color, $navbar-glass-alpha)
147
+ else
148
+ background-color var(--navbar-bg-color)
149
+
150
+ @media (max-width: 767px)
151
+ .navbar
152
+ font-size 1rem
153
+ line-height 2.5rem
154
+
155
+ .banner-text
156
+ color var(--subtitle-color)
157
+ max-width calc(960px - 6rem)
158
+ width 80%
159
+ overflow-wrap break-word
160
+
161
+ .typed-cursor
162
+ margin 0 .2rem
163
+
164
+ @media (max-width: 767px)
165
+ #subtitle, .typed-cursor
166
+ font-size 1.5rem
167
+
168
+ @media (max-width: 575px)
169
+ .banner-text
170
+ font-size 0.9rem
171
+
172
+ #subtitle, .typed-cursor
173
+ font-size 1.35rem
@@ -0,0 +1,100 @@
1
+ // Rewrite modal
2
+ /* .modal-dialog .modal-content
3
+ background-color var(--board-bg-color)
4
+ border 0
5
+ border-radius .125rem
6
+ -webkit-box-shadow 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15)
7
+ box-shadow 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15) */
8
+
9
+ .modal-dialog .modal-content .modal-header
10
+ border-bottom-color var(--line-color)
11
+ transition border-bottom-color .2s ease-in-out
12
+
13
+ /* .close
14
+ color var(--text-color)
15
+
16
+ &:hover
17
+ color var(--link-hover-color)
18
+
19
+ &:focus
20
+ outline 0 */
21
+
22
+ .modal-dialog .modal-content .modal-header
23
+ border-top-left-radius .125rem
24
+ border-top-right-radius .125rem
25
+ border-bottom 1px solid #dee2e6
26
+
27
+ .md-form
28
+ position relative
29
+ margin-top 1.5rem
30
+ margin-bottom 1.5rem
31
+
32
+ .md-form
33
+ input[type]
34
+ -webkit-box-sizing content-box
35
+ box-sizing content-box
36
+ background-color transparent
37
+ border none
38
+ border-bottom 1px solid #ced4da
39
+ border-radius 0
40
+ outline none
41
+ -webkit-box-shadow none
42
+ box-shadow none
43
+ transition border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out
44
+
45
+ $normal = #4285f4
46
+
47
+ &:focus:not([readonly])
48
+ border-bottom 1px solid $normal
49
+ -webkit-box-shadow 0 1px 0 0 $normal
50
+ box-shadow 0 1px 0 0 $normal
51
+
52
+ & + label
53
+ color: $normal
54
+
55
+ $valid = #00c851
56
+
57
+ &.valid, &:focus.valid
58
+ border-bottom 1px solid $valid
59
+ -webkit-box-shadow 0 1px 0 0 $valid
60
+ box-shadow 0 1px 0 0 $valid
61
+
62
+ & + label
63
+ color: $valid
64
+
65
+ $invalid = #f44336
66
+
67
+ &.invalid, &:focus.invalid
68
+ border-bottom 1px solid $invalid
69
+ -webkit-box-shadow 0 1px 0 0 $invalid
70
+ box-shadow 0 1px 0 0 $invalid
71
+
72
+ & + label
73
+ color $invalid
74
+
75
+ &.validate
76
+ margin-bottom 2.5rem
77
+
78
+ &.form-control
79
+ height auto
80
+ padding .6rem 0 .4rem 0
81
+ margin 0 0 .5rem 0
82
+ color var(--text-color)
83
+ background-color transparent
84
+ border-radius 0
85
+
86
+ label
87
+ font-size 0.8rem
88
+ position absolute
89
+ top -1rem
90
+ left 0
91
+ color #757575
92
+ cursor text
93
+ transition color .2s ease-out
94
+
95
+ .modal-open[style]
96
+ padding-right: 0 !important
97
+ overflow auto
98
+
99
+ #navbar[style]
100
+ padding-right 1rem !important
@@ -0,0 +1,16 @@
1
+ @keyframes to-click
2
+ from
3
+ transform: translateX(-6px)
4
+ opacity: 0
5
+ to
6
+ transform: translateX(10px)
7
+ opacity: 1
8
+
9
+
10
+ a.ln-nav-link
11
+ color: var(--bs-primary-text-emphasis)
12
+ // text-decoration: underline
13
+ svg
14
+ color: var(--bs-warning)
15
+ margin-right: 1rem
16
+ animation: 1.2s ease-out 0.5s infinite to-click
@@ -0,0 +1,12 @@
1
+ // Rewrite nprogress
2
+ $npColor = theme-config("fun_features.progressbar.color", "#29d")
3
+ #nprogress
4
+ .bar
5
+ height theme-config-unit("fun_features.progressbar.height_px", 3, "px") !important
6
+ background-color $npColor !important
7
+ .peg
8
+ box-shadow 0 0 14px $npColor, 0 0 8px $npColor !important
9
+
10
+ @media (max-width: 575px)
11
+ .bar
12
+ display none
@@ -0,0 +1,12 @@
1
+ .noscript-warning
2
+ background-color #f55
3
+ color #fff
4
+ font-family sans-serif
5
+ font-size 1rem
6
+ font-weight bold
7
+ position fixed
8
+ left 0
9
+ bottom 0
10
+ text-align center
11
+ width 100%
12
+ z-index 99