hexo-theme-ayeria 1.9.7-0

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 (120) hide show
  1. package/LICENSE +38 -0
  2. package/README.md +553 -0
  3. package/_config.yml +271 -0
  4. package/_scaffolds/post.md +8 -0
  5. package/index.js +2 -0
  6. package/languages/de.yml +39 -0
  7. package/languages/default.yml +39 -0
  8. package/languages/en.yml +39 -0
  9. package/languages/es.yml +39 -0
  10. package/languages/fr.yml +39 -0
  11. package/languages/ja.yml +39 -0
  12. package/languages/ko.yml +39 -0
  13. package/languages/nl.yml +39 -0
  14. package/languages/no.yml +39 -0
  15. package/languages/pt.yml +39 -0
  16. package/languages/ru.yml +39 -0
  17. package/languages/vi.yml +39 -0
  18. package/languages/zh-CN.yml +39 -0
  19. package/languages/zh-TW.yml +39 -0
  20. package/layout/_partial/ads.ejs +9 -0
  21. package/layout/_partial/after-footer.ejs +84 -0
  22. package/layout/_partial/archive-post.ejs +14 -0
  23. package/layout/_partial/archive.ejs +62 -0
  24. package/layout/_partial/article.ejs +94 -0
  25. package/layout/_partial/ayeria.ejs +53 -0
  26. package/layout/_partial/baidu-analytics.ejs +11 -0
  27. package/layout/_partial/broadcast.ejs +20 -0
  28. package/layout/_partial/float-btns.ejs +8 -0
  29. package/layout/_partial/footer.ejs +62 -0
  30. package/layout/_partial/google-analytics.ejs +10 -0
  31. package/layout/_partial/head.ejs +67 -0
  32. package/layout/_partial/katex.ejs +22 -0
  33. package/layout/_partial/lock.ejs +37 -0
  34. package/layout/_partial/mathjax.ejs +19 -0
  35. package/layout/_partial/modal.ejs +77 -0
  36. package/layout/_partial/music.ejs +16 -0
  37. package/layout/_partial/post/albums.ejs +17 -0
  38. package/layout/_partial/post/author.ejs +8 -0
  39. package/layout/_partial/post/busuanzi.ejs +5 -0
  40. package/layout/_partial/post/category.ejs +10 -0
  41. package/layout/_partial/post/clipboard.ejs +54 -0
  42. package/layout/_partial/post/date.ejs +3 -0
  43. package/layout/_partial/post/gallery.ejs +15 -0
  44. package/layout/_partial/post/giscus.ejs +40 -0
  45. package/layout/_partial/post/gitalk.ejs +12 -0
  46. package/layout/_partial/post/justifiedGallery.ejs +9 -0
  47. package/layout/_partial/post/nav.ejs +22 -0
  48. package/layout/_partial/post/search.ejs +4 -0
  49. package/layout/_partial/post/share.ejs +51 -0
  50. package/layout/_partial/post/tag.ejs +6 -0
  51. package/layout/_partial/post/title.ejs +16 -0
  52. package/layout/_partial/post/tocbot.ejs +6 -0
  53. package/layout/_partial/post/topping.ejs +3 -0
  54. package/layout/_partial/post/twikoo.ejs +7 -0
  55. package/layout/_partial/post/valine.ejs +48 -0
  56. package/layout/_partial/post/word.ejs +20 -0
  57. package/layout/_partial/sidebar.ejs +34 -0
  58. package/layout/_partial/viewer.ejs +106 -0
  59. package/layout/archive.ejs +1 -0
  60. package/layout/categories.ejs +8 -0
  61. package/layout/friends.ejs +20 -0
  62. package/layout/index.ejs +4 -0
  63. package/layout/layout.ejs +31 -0
  64. package/layout/page.ejs +3 -0
  65. package/layout/plain-page.ejs +4 -0
  66. package/layout/post.ejs +3 -0
  67. package/layout/tags.ejs +88 -0
  68. package/logo.png +0 -0
  69. package/package.json +38 -0
  70. package/scripts/default_config.js +6 -0
  71. package/scripts/events/index.js +11 -0
  72. package/scripts/events/lib/hello.js +45 -0
  73. package/scripts/events/lib/merge-configs.js +28 -0
  74. package/scripts/filters/index.js +13 -0
  75. package/scripts/filters/meta_generator.js +17 -0
  76. package/scripts/helpers/ayeria-plus-vendors.js +9 -0
  77. package/scripts/helpers/category-tree.js +90 -0
  78. package/scripts/helpers/wordcount.js +39 -0
  79. package/scripts/lib/core.js +25 -0
  80. package/scripts/utils/join-path.js +12 -0
  81. package/scripts/utils/object.js +31 -0
  82. package/source/404.html +187 -0
  83. package/source/css/clipboard.styl +37 -0
  84. package/source/css/custom.styl +971 -0
  85. package/source/css/fonts/remixicon.css +1816 -0
  86. package/source/css/fonts/remixicon.eot +0 -0
  87. package/source/css/fonts/remixicon.svg +5329 -0
  88. package/source/css/fonts/remixicon.ttf +0 -0
  89. package/source/css/fonts/remixicon.woff +0 -0
  90. package/source/css/fonts/remixicon.woff2 +0 -0
  91. package/source/data/random-sentences.txt +136 -0
  92. package/source/dist/main.css +1 -0
  93. package/source/dist/main.js +1 -0
  94. package/source/favicon.svg +1 -0
  95. package/source/images/ayeria-side.svg +1 -0
  96. package/source/images/ayeria.png +0 -0
  97. package/source/images/ayeria.svg +1 -0
  98. package/source/images/beian.png +0 -0
  99. package/source/images/cover1.jpg +0 -0
  100. package/source/images/cover2.webp +0 -0
  101. package/source/images/cover3.jpg +0 -0
  102. package/source/images/cover4.jpg +0 -0
  103. package/source/images/cover5.jpg +0 -0
  104. package/source/images/cover6.jpg +0 -0
  105. package/source/images/forkme.png +0 -0
  106. package/source/images/gitee.png +0 -0
  107. package/source/images/github.png +0 -0
  108. package/source/images/hexo-tag-chart.png +0 -0
  109. package/source/images/hexo.png +0 -0
  110. package/source/images/mouse.cur +0 -0
  111. package/source/js/busuanzi-2.3.pure.min.js +1 -0
  112. package/source/js/clickBoom1.js +152 -0
  113. package/source/js/clickBoom2.js +180 -0
  114. package/source/js/clickLove.js +1 -0
  115. package/source/js/dz.js +1 -0
  116. package/source/js/jquery-3.6.0.min.js +2 -0
  117. package/source/js/lazyload.min.js +8 -0
  118. package/source/js/random-sentences.js +166 -0
  119. package/source/js/search.js +127 -0
  120. package/source/js/tocbot.min.js +1 -0
@@ -0,0 +1,187 @@
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>404 - 页面未找到</title>
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
7
+ <meta name="robots" content="noindex">
8
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg">
9
+ <style>
10
+ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
11
+
12
+ html { font-size: 62.5%; }
13
+
14
+ body {
15
+ font-family: "Helvetica Neue", Helvetica, "PingFang SC",
16
+ "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑",
17
+ Arial, sans-serif;
18
+ font-size: 1.4rem;
19
+ line-height: 1.7;
20
+ min-height: 100vh;
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ background: url('/images/cover2.webp') no-repeat center center fixed;
25
+ background-size: cover;
26
+ color: #fff;
27
+ overflow: hidden;
28
+ }
29
+
30
+ body::before {
31
+ content: '';
32
+ position: fixed;
33
+ inset: 0;
34
+ background: rgba(0, 0, 0, 0.35);
35
+ z-index: 0;
36
+ }
37
+
38
+ .error-content {
39
+ position: relative;
40
+ z-index: 1;
41
+ text-align: center;
42
+ padding: 2rem;
43
+ animation: fadeIn 0.8s ease-out;
44
+ }
45
+
46
+ @keyframes fadeIn {
47
+ from { opacity: 0; transform: translateY(16px); }
48
+ to { opacity: 1; transform: translateY(0); }
49
+ }
50
+
51
+ .error-code {
52
+ font-family: "Titillium Web", "PingFang SC", "Hiragino Sans GB",
53
+ "Microsoft JhengHei", "Microsoft YaHei",
54
+ Helvetica Neue, Helvetica, Arial, sans-serif;
55
+ font-size: 7rem;
56
+ font-weight: 700;
57
+ letter-spacing: -0.02em;
58
+ line-height: 1;
59
+ color: #fff;
60
+ opacity: 0.95;
61
+ text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
62
+ margin-bottom: 1rem;
63
+ user-select: none;
64
+ }
65
+
66
+ .error-message {
67
+ font-size: 2.4rem;
68
+ font-weight: 600;
69
+ color: rgba(255, 255, 255, 0.9);
70
+ margin: 0.5rem 0;
71
+ text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
72
+ }
73
+
74
+ .error-description {
75
+ font-size: 1.4rem;
76
+ color: rgba(255, 255, 255, 0.7);
77
+ line-height: 1.8;
78
+ margin: 0.8rem 0 2.5rem;
79
+ }
80
+
81
+ .home-btn {
82
+ display: inline-flex;
83
+ align-items: center;
84
+ gap: 8px;
85
+ padding: 12px 28px;
86
+ border-radius: 10px;
87
+ background: rgba(255, 255, 255, 0.15);
88
+ border: 1px solid rgba(255, 255, 255, 0.3);
89
+ color: #fff;
90
+ font-size: 1.4rem;
91
+ font-weight: 500;
92
+ text-decoration: none;
93
+ backdrop-filter: blur(8px);
94
+ -webkit-backdrop-filter: blur(8px);
95
+ transition: all 0.3s ease-in-out;
96
+ }
97
+
98
+ .home-btn:hover {
99
+ background: rgba(255, 255, 255, 0.25);
100
+ border-color: rgba(255, 255, 255, 0.5);
101
+ transform: translateY(-2px);
102
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
103
+ }
104
+
105
+ .quick-nav {
106
+ margin-top: 1.5rem;
107
+ font-size: 1.2rem;
108
+ }
109
+
110
+ .quick-nav a {
111
+ color: rgba(255, 255, 255, 0.6);
112
+ text-decoration: none;
113
+ transition: color 0.3s ease;
114
+ }
115
+
116
+ .quick-nav a:hover {
117
+ color: #fff;
118
+ }
119
+
120
+ .nav-divider {
121
+ margin: 0 0.6rem;
122
+ color: rgba(255, 255, 255, 0.3);
123
+ }
124
+
125
+ .error-footer {
126
+ position: fixed;
127
+ bottom: 0;
128
+ left: 0;
129
+ right: 0;
130
+ padding: 1rem;
131
+ text-align: center;
132
+ font-size: 1.2rem;
133
+ color: rgba(255, 255, 255, 0.35);
134
+ z-index: 1;
135
+ }
136
+
137
+ .error-footer a {
138
+ color: rgba(255, 255, 255, 0.5);
139
+ text-decoration: none;
140
+ transition: color 0.3s ease;
141
+ }
142
+
143
+ .error-footer a:hover {
144
+ color: rgba(255, 255, 255, 0.8);
145
+ }
146
+
147
+ @media (max-width: 768px) {
148
+ .error-code { font-size: 4.5rem; }
149
+ .error-message { font-size: 2rem; }
150
+ .error-description { font-size: 1.3rem; }
151
+ }
152
+
153
+ @media (max-width: 480px) {
154
+ .error-content { padding: 1.5rem; }
155
+ .error-code { font-size: 4rem; }
156
+ .error-message { font-size: 1.8rem; }
157
+ .home-btn { padding: 10px 22px; font-size: 1.3rem; }
158
+ }
159
+ </style>
160
+ </head>
161
+ <body>
162
+ <div class="error-content">
163
+ <div class="error-code">404</div>
164
+ <p class="error-message">页面未找到</p>
165
+ <p class="error-description">
166
+ 你访问的页面不存在或已被移除。<br>
167
+ The page you're looking for doesn't exist.
168
+ </p>
169
+ <a href="/" class="home-btn">
170
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" fill="currentColor">
171
+ <path d="M19 21H5a1 1 0 0 1-1-1v-9H1l10.327-9.388a1 1 0 0 1 1.346 0L23 11h-3v9a1 1 0 0 1-1 1zm-6-2h5V9.157l-6-5.454-6 5.454V19h5v-6h2v6z"/>
172
+ </svg>
173
+ 返回首页
174
+ </a>
175
+ <nav class="quick-nav">
176
+ <a href="/archives">全部文章</a>
177
+ <span class="nav-divider">·</span>
178
+ <a href="/categories">文章分类</a>
179
+ <span class="nav-divider">·</span>
180
+ <a href="/about">关于本站</a>
181
+ </nav>
182
+ </div>
183
+ <footer class="error-footer">
184
+ &copy; 2022-2026 · <a href="/">Kaleid Scoper</a>
185
+ </footer>
186
+ </body>
187
+ </html>
@@ -0,0 +1,37 @@
1
+ // 代码块复制按钮
2
+ if hexo-config('copy_btn') == true
3
+ .highlight
4
+ position: relative
5
+
6
+ .btn-copy
7
+ z-index: 1
8
+ display: inline-block
9
+ cursor: pointer
10
+ border: none
11
+ disable-user-select()
12
+ -webkit-appearance: none
13
+ font-size: 12px
14
+ font-weight: bold
15
+ padding: 3px 6px
16
+ >i
17
+ margin-right: 4px
18
+ font-size: 10px
19
+ transform: translateY(1px);
20
+ color: #e0e0e0
21
+ background: rgba(50,50,50,.9)
22
+ border-radius: 4px
23
+ position: absolute
24
+ top: 5px
25
+ right: 5px
26
+ opacity: 0
27
+ transition: all linear .2s
28
+ box-shadow: 0 2px 4px rgba(0,0,0,.3)
29
+ &:hover
30
+ background: rgba(70,70,70,.95)
31
+ color: #ffffff
32
+
33
+ .highlight:hover .btn-copy
34
+ opacity: 1
35
+
36
+ .article pre:hover .btn-copy
37
+ opacity: 1