hexo-theme-particlex 2.4.6 → 2.4.8

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-particlex",
3
- "version": "2.4.6",
3
+ "version": "2.4.8",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -195,7 +195,6 @@
195
195
  width: 85%;
196
196
  }
197
197
  #home-card .card-style .name {
198
- color: #1e3e3f;
199
198
  font-size: 16px;
200
199
  font-weight: bold;
201
200
  margin: 20px auto;
@@ -219,7 +218,6 @@
219
218
  #home-head #home-info .info {
220
219
  align-items: center;
221
220
  border-radius: 50%;
222
- color: #333;
223
221
  display: flex;
224
222
  justify-content: center;
225
223
  text-align: center;
@@ -258,7 +256,6 @@
258
256
  }
259
257
  #home-posts .page-current {
260
258
  align-items: center;
261
- color: #999;
262
259
  display: flex;
263
260
  justify-content: center;
264
261
  margin-top: 50px;
@@ -330,9 +327,6 @@
330
327
  display: inline-block;
331
328
  margin-left: 25px;
332
329
  }
333
- #home-posts .post .description {
334
- color: #1e3e3f;
335
- }
336
330
  #home-posts .post .go-post {
337
331
  background: linear-gradient(120deg, #9abbf7 0%, #ffbbf4 100%);
338
332
  border: 0;
@@ -498,7 +492,6 @@
498
492
  word-wrap: break-word;
499
493
  }
500
494
  .article {
501
- color: #1e3e3f;
502
495
  font-size: 15px;
503
496
  margin: auto;
504
497
  margin-top: 100px;
@@ -554,6 +547,12 @@ body::-webkit-scrollbar-track {
554
547
  .copycode:not(.copied) i:last-child {
555
548
  opacity: 0;
556
549
  }
550
+ .header-anchor {
551
+ margin-left: 10px;
552
+ margin-right: 10px;
553
+ opacity: 0;
554
+ transition: opacity 0.25s;
555
+ }
557
556
  .icon {
558
557
  color: #5c6b72;
559
558
  margin-right: 5px;
@@ -589,16 +588,13 @@ body::-webkit-scrollbar-track {
589
588
  border-radius: 0 0 10px 10px;
590
589
  box-shadow: 1px 1px 0.75rem #ed6ea14d;
591
590
  color: #fff;
592
- font-weight: bold;
593
591
  font-size: 12px;
592
+ font-weight: bold;
594
593
  left: 30px;
595
594
  padding: 10px 15px;
596
595
  position: absolute;
597
596
  top: 0;
598
597
  }
599
- .markdownIt-Anchor {
600
- display: none;
601
- }
602
598
  .math.display .katex {
603
599
  overflow: auto;
604
600
  }
@@ -607,13 +603,6 @@ body::-webkit-scrollbar-track {
607
603
  .friend-link a {
608
604
  transition: background 0.25s, color 0.25s;
609
605
  }
610
- .page-num:hover,
611
- .icon-link a:hover,
612
- .friend-link a:hover,
613
- .categories-tags a:hover,
614
- .go-post:hover {
615
- opacity: 1;
616
- }
617
606
  .slide-enter-active,
618
607
  .slide-leave-active {
619
608
  transition: margin-top 0.3s, opacity 0.3s;
@@ -695,20 +684,11 @@ blockquote {
695
684
  }
696
685
  body {
697
686
  background: #f6f8fa;
698
- color: #000c;
687
+ color: #1e3e3f;
699
688
  font: 500 14px Lexend, "Noto Sans SC", sans-serif;
700
689
  overflow-x: hidden;
701
690
  width: 100%;
702
691
  }
703
- pre,
704
- code,
705
- .hljs,
706
- .highlight,
707
- .commit-tease-sha,
708
- .input,
709
- .language {
710
- font-family: "Fira Code", "Noto Sans SC", monospace;
711
- }
712
692
  button,
713
693
  img,
714
694
  video,
@@ -723,13 +703,13 @@ iframe,
723
703
  .friend-link a,
724
704
  .icon-link a,
725
705
  .language,
726
- .copycode {
706
+ .copycode,
707
+ .header-anchor {
727
708
  user-select: none;
728
709
  }
729
710
  code {
730
711
  background: #bddcf76b;
731
712
  border-radius: 4px;
732
- color: #4b616b;
733
713
  font-size: 14px;
734
714
  line-height: 2.5;
735
715
  padding: 4px 8px;
@@ -743,10 +723,22 @@ h3,
743
723
  h4,
744
724
  h5,
745
725
  h6 {
746
- color: #1e3e3f;
747
726
  font-weight: bold;
748
727
  margin: 15px 0;
749
728
  }
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
+ .page-num:hover,
736
+ .icon-link a:hover,
737
+ .friend-link a:hover,
738
+ .categories-tags a:hover,
739
+ .go-post:hover {
740
+ opacity: 1;
741
+ }
750
742
  h2 {
751
743
  font-size: 27px;
752
744
  }
@@ -772,6 +764,13 @@ audio,
772
764
  iframe {
773
765
  border-radius: 10px;
774
766
  }
767
+ mark {
768
+ background: #fff13360;
769
+ border-radius: 4px;
770
+ color: unset;
771
+ line-height: 2.5;
772
+ padding: 4px 8px;
773
+ }
775
774
  p,
776
775
  ul,
777
776
  ol {
@@ -788,6 +787,15 @@ pre {
788
787
  margin: 25px 0;
789
788
  margin: 25px 0;
790
789
  }
790
+ pre,
791
+ code,
792
+ .hljs,
793
+ .highlight,
794
+ .commit-tease-sha,
795
+ .input,
796
+ .language {
797
+ font-family: "Fira Code", "Noto Sans SC", monospace;
798
+ }
791
799
  table tbody tr td:nth-child(even) {
792
800
  background: #c7e0fb4d;
793
801
  }
@@ -796,7 +804,6 @@ table tbody tr td:nth-child(odd) {
796
804
  }
797
805
  table thead tr th {
798
806
  background: #a3ddfb;
799
- color: #1e3e3f;
800
807
  padding: 8px 20px;
801
808
  }
802
809
  table tr td {