hexo-theme-particlex 2.2.3 → 2.2.4

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 CHANGED
@@ -263,7 +263,7 @@ highlightStyle: github # Highlight style
263
263
 
264
264
  Waline 是一个简单、安全的评论系统
265
265
 
266
- 详见:[在 ParticleX 上使用 Waline | Yuzi's Blog](https://blog.yuzi0201.top/posts/bcb4ff00.html)
266
+ 详见:[在 ParticleX 上使用 Waline | Yuzi's Blog](https://blog.yuzi.dev/posts/bcb4ff00.html)
267
267
 
268
268
  **注意如果不需要 `locale` 参数,请在 `locale:` 后添加一个 `{}`**
269
269
 
@@ -1,4 +1,4 @@
1
- <div id="loading" style="height: 100vh; width: 100vw; position: fixed; display: flex; z-index: 2147483647; justify-content: space-between; background: #fff; transition: all 0.3s ease-out; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none">
1
+ <div id="loading" style="height: 100vh; width: 100vw; position: fixed; display: flex; z-index: 2147483647; justify-content: space-between; background: #fff; transition: opacity 0.3s ease-out, visibility 0.3s; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none">
2
2
  <div style="position: fixed; height: 100vh; width: 100vw; display: flex; justify-content: center; align-items: center">
3
3
  <div id="loadcontent" style="width: 50vmin; height: 50vmin; padding: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; border: solid 10px #a3ddfb; text-align: center">
4
4
  <div>
package/layout/script.ejs CHANGED
@@ -48,8 +48,9 @@
48
48
  ></script>
49
49
  <% } %>
50
50
  <% if (theme.waline.enable) { %>
51
- <script src="https://cdn.staticfile.org/waline/2.9.1/waline.min.js"></script>
52
- <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.9.1/waline.min.css">
51
+ <script src="https://cdn.staticfile.org/waline/2.14.7/waline.min.js"></script>
52
+ <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.14.7/waline.min.css">
53
+ <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.14.7/waline-meta.min.css">
53
54
  <script>
54
55
  Waline.init({
55
56
  el: "#waline-container",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-particlex",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -510,6 +510,9 @@ footer .footer-wrap {
510
510
  font-weight: bold;
511
511
  margin: 20px 0;
512
512
  }
513
+ .content {
514
+ transition: opacity 0.25s;
515
+ }
513
516
  .content .code-content {
514
517
  background: none;
515
518
  font: 500 13px/2 "Fira Code", "Noto Sans SC", monospace;