hexo-theme-particlex 2.4.8 → 2.4.10

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.8",
3
+ "version": "2.4.10",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,10 +20,6 @@
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
- },
27
23
  "scripts": {
28
24
  "test": "echo \"Error: no test specified\" && exit 1"
29
25
  }
@@ -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;
@@ -595,7 +589,7 @@ body::-webkit-scrollbar-track {
595
589
  position: absolute;
596
590
  top: 0;
597
591
  }
598
- .math.display .katex {
592
+ .katex {
599
593
  overflow: auto;
600
594
  }
601
595
  .page-num,
@@ -696,15 +690,14 @@ audio,
696
690
  iframe,
697
691
  #home-head,
698
692
  #menu,
699
- .math,
693
+ .katex,
700
694
  .go-post,
701
695
  .page-current,
702
696
  .categories-tags a,
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 {
@@ -723,15 +716,10 @@ h3,
723
716
  h4,
724
717
  h5,
725
718
  h6 {
719
+ color: #1e3e3f;
726
720
  font-weight: bold;
727
721
  margin: 15px 0;
728
722
  }
729
- h1:hover .header-anchor,
730
- h2:hover .header-anchor,
731
- h3:hover .header-anchor,
732
- h4:hover .header-anchor,
733
- h5:hover .header-anchor,
734
- h6:hover .header-anchor,
735
723
  .page-num:hover,
736
724
  .icon-link a:hover,
737
725
  .friend-link a:hover,
@@ -764,13 +752,6 @@ audio,
764
752
  iframe {
765
753
  border-radius: 10px;
766
754
  }
767
- mark {
768
- background: #fff13360;
769
- border-radius: 4px;
770
- color: unset;
771
- line-height: 2.5;
772
- padding: 4px 8px;
773
- }
774
755
  p,
775
756
  ul,
776
757
  ol {