hexo-theme-particlex 2.4.6 → 2.4.7

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.7",
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,
@@ -729,7 +709,6 @@ iframe,
729
709
  code {
730
710
  background: #bddcf76b;
731
711
  border-radius: 4px;
732
- color: #4b616b;
733
712
  font-size: 14px;
734
713
  line-height: 2.5;
735
714
  padding: 4px 8px;
@@ -743,10 +722,22 @@ h3,
743
722
  h4,
744
723
  h5,
745
724
  h6 {
746
- color: #1e3e3f;
747
725
  font-weight: bold;
748
726
  margin: 15px 0;
749
727
  }
728
+ h1:hover .header-anchor,
729
+ h2:hover .header-anchor,
730
+ h3:hover .header-anchor,
731
+ h4:hover .header-anchor,
732
+ h5:hover .header-anchor,
733
+ h6:hover .header-anchor,
734
+ .page-num:hover,
735
+ .icon-link a:hover,
736
+ .friend-link a:hover,
737
+ .categories-tags a:hover,
738
+ .go-post:hover {
739
+ opacity: 1;
740
+ }
750
741
  h2 {
751
742
  font-size: 27px;
752
743
  }
@@ -772,6 +763,13 @@ audio,
772
763
  iframe {
773
764
  border-radius: 10px;
774
765
  }
766
+ mark {
767
+ background: #fff13360;
768
+ border-radius: 4px;
769
+ color: unset;
770
+ line-height: 2.5;
771
+ padding: 4px 8px;
772
+ }
775
773
  p,
776
774
  ul,
777
775
  ol {
@@ -788,6 +786,15 @@ pre {
788
786
  margin: 25px 0;
789
787
  margin: 25px 0;
790
788
  }
789
+ pre,
790
+ code,
791
+ .hljs,
792
+ .highlight,
793
+ .commit-tease-sha,
794
+ .input,
795
+ .language {
796
+ font-family: "Fira Code", "Noto Sans SC", monospace;
797
+ }
791
798
  table tbody tr td:nth-child(even) {
792
799
  background: #c7e0fb4d;
793
800
  }
@@ -796,7 +803,6 @@ table tbody tr td:nth-child(odd) {
796
803
  }
797
804
  table thead tr th {
798
805
  background: #a3ddfb;
799
- color: #1e3e3f;
800
806
  padding: 8px 20px;
801
807
  }
802
808
  table tr td {