hexo-theme-particlex 2.6.6 → 2.6.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.6.6",
3
+ "version": "2.6.7",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -485,7 +485,6 @@
485
485
  margin-right: 10px;
486
486
  }
487
487
  .code-content {
488
- background: none;
489
488
  font-size: 13px;
490
489
  line-height: 2;
491
490
  overflow: auto;
@@ -542,7 +541,7 @@ body::-webkit-scrollbar-track {
542
541
  border-right: 1px solid #ccc;
543
542
  color: #ccc;
544
543
  padding-right: 10px !important;
545
- text-align: center;
544
+ text-align: right;
546
545
  vertical-align: top;
547
546
  }
548
547
  .icon {
@@ -774,13 +773,12 @@ pre {
774
773
  border-radius: 15px;
775
774
  box-shadow: 0 2px 12px 0 #0000001a;
776
775
  margin: 25px 0;
776
+ overflow: hidden;
777
777
  white-space: normal;
778
778
  }
779
779
  pre,
780
780
  code,
781
781
  .hljs,
782
- .highlight,
783
- .commit-tease-sha,
784
782
  .input,
785
783
  .language {
786
784
  font-family: "Fira Code", "Noto Sans SC", monospace;
@@ -22,7 +22,7 @@ mixins.highlight = {
22
22
  highlighted = code;
23
23
  }
24
24
  i.innerHTML = `
25
- <div class="code-content">${highlighted}</div>
25
+ <div class="code-content hljs">${highlighted}</div>
26
26
  <div class="language">${language}</div>
27
27
  <div class="copycode">
28
28
  <i class="fa-solid fa-copy fa-fw"></i>