hexo-theme-particlex 2.4.9 → 2.4.11

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -45,7 +45,7 @@ theme: particlex
45
45
  ```yaml
46
46
  pandoc:
47
47
  extra:
48
- - "no-highlight":
48
+ - no-highlight:
49
49
  ```
50
50
 
51
51
  - 禁用年度月度归档
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-particlex",
3
- "version": "2.4.9",
3
+ "version": "2.4.11",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,6 +20,10 @@
20
20
  "url": "https://github.com/argvchs/hexo-theme-particlex/issues"
21
21
  },
22
22
  "homepage": "https://github.com/argvchs/hexo-theme-particlex#readme",
23
+ "dependencies": {
24
+ "hexo-helper-crypto": "^1.1.0",
25
+ "hexo-renderer-ejs": "^2.0.0"
26
+ },
23
27
  "scripts": {
24
28
  "test": "echo \"Error: no test specified\" && exit 1"
25
29
  }
@@ -547,12 +547,6 @@ body::-webkit-scrollbar-track {
547
547
  .copycode:not(.copied) i:last-child {
548
548
  opacity: 0;
549
549
  }
550
- .header-anchor {
551
- margin-left: 10px;
552
- margin-right: 10px;
553
- opacity: 0;
554
- transition: opacity 0.25s;
555
- }
556
550
  .icon {
557
551
  color: #5c6b72;
558
552
  margin-right: 5px;
@@ -703,8 +697,7 @@ iframe,
703
697
  .friend-link a,
704
698
  .icon-link a,
705
699
  .language,
706
- .copycode,
707
- .header-anchor {
700
+ .copycode {
708
701
  user-select: none;
709
702
  }
710
703
  code {
@@ -727,12 +720,6 @@ h6 {
727
720
  font-weight: bold;
728
721
  margin: 15px 0;
729
722
  }
730
- h1:hover .header-anchor,
731
- h2:hover .header-anchor,
732
- h3:hover .header-anchor,
733
- h4:hover .header-anchor,
734
- h5:hover .header-anchor,
735
- h6:hover .header-anchor,
736
723
  .page-num:hover,
737
724
  .icon-link a:hover,
738
725
  .friend-link a:hover,