hexo-theme-gnix 4.2.2 → 4.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/layout/layout.jsx +1 -0
- package/package.json +1 -1
- package/source/css/default.css +10 -33
- package/source/css/responsive/desktop.css +1 -1
- package/source/img/og_image.png +0 -0
- package/source/js/pjax.js +7 -12
package/README.md
CHANGED
|
@@ -51,6 +51,12 @@ bun i hexo-renderer-markdown-exit
|
|
|
51
51
|
</tr>
|
|
52
52
|
</table>
|
|
53
53
|
|
|
54
|
+
## Links
|
|
55
|
+
|
|
56
|
+
- Change log: http://vluv.space/change
|
|
57
|
+
- Live Preview: http://vluv.space/test_markdown/
|
|
58
|
+
|
|
59
|
+
|
|
54
60
|
## Credit
|
|
55
61
|
|
|
56
62
|
[ppoffice/hexo-theme-icarus: A simple, delicate, and modern theme for the static site generator Hexo.](https://github.com/ppoffice/hexo-theme-icarus)
|
package/layout/layout.jsx
CHANGED
package/package.json
CHANGED
package/source/css/default.css
CHANGED
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
--sapphire: #5e81ac;
|
|
94
94
|
--blue: #81a1c1;
|
|
95
95
|
--lavender: #5e81ac;
|
|
96
|
-
--text: #
|
|
96
|
+
--text: #4c566a;
|
|
97
97
|
--subtext1: #3b4252;
|
|
98
98
|
--subtext0: #434c5e;
|
|
99
99
|
--overlay2: #4c566a;
|
|
@@ -277,22 +277,13 @@ blockquote::before {
|
|
|
277
277
|
background: hsl(from var(--mantle) h s l / 0.95);
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
.navbar-item.is-active {
|
|
281
|
-
color: var(--flamingo);
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.navbar-item:focus,
|
|
285
|
-
.navbar-item:hover {
|
|
286
|
-
color: var(--lavender);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
280
|
body {
|
|
290
281
|
background: var(--mantle);
|
|
291
282
|
color: var(--text);
|
|
292
283
|
}
|
|
293
284
|
|
|
294
285
|
.card {
|
|
295
|
-
border: .5px dashed var(--surface0);
|
|
286
|
+
border: 0.5px dashed var(--surface0);
|
|
296
287
|
}
|
|
297
288
|
|
|
298
289
|
input.task-list-item-checkbox:checked {
|
|
@@ -566,16 +557,6 @@ body {
|
|
|
566
557
|
flex-shrink: 0;
|
|
567
558
|
}
|
|
568
559
|
|
|
569
|
-
.navbar-start {
|
|
570
|
-
justify-content: flex-start;
|
|
571
|
-
margin-right: auto;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
.navbar-end {
|
|
575
|
-
justify-content: flex-end;
|
|
576
|
-
margin-left: auto;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
560
|
/* #endregion Navbar */
|
|
580
561
|
|
|
581
562
|
/* #region Theme Selector */
|
|
@@ -762,26 +743,23 @@ body {
|
|
|
762
743
|
|
|
763
744
|
.tabs-tab-button {
|
|
764
745
|
flex: 1;
|
|
765
|
-
padding:
|
|
746
|
+
padding: 0.5em 0;
|
|
766
747
|
border: none;
|
|
767
748
|
background: 0 0;
|
|
768
|
-
font-size:
|
|
749
|
+
font-size: 1em;
|
|
769
750
|
font-weight: bold;
|
|
770
751
|
cursor: pointer;
|
|
771
752
|
position: relative;
|
|
772
753
|
transition: color 0.3s ease;
|
|
773
754
|
outline: 0;
|
|
774
|
-
|
|
775
|
-
|
|
755
|
+
font-family: var(--font-sans-serif);
|
|
756
|
+
color: var(--text);
|
|
757
|
+
&:hover,
|
|
758
|
+
&.active {
|
|
776
759
|
color: var(--lavender);
|
|
777
760
|
}
|
|
778
761
|
}
|
|
779
762
|
|
|
780
|
-
.tabs-tab-button.active,
|
|
781
|
-
.tabs-tab-button[data-active] {
|
|
782
|
-
color: var(--lavender);
|
|
783
|
-
}
|
|
784
|
-
|
|
785
763
|
.tabs-tab-button.active::after {
|
|
786
764
|
content: "";
|
|
787
765
|
position: absolute;
|
|
@@ -790,12 +768,11 @@ body {
|
|
|
790
768
|
width: 100%;
|
|
791
769
|
height: 2px;
|
|
792
770
|
background-color: var(--lavender);
|
|
793
|
-
border-radius: 2px 2px 0 0;
|
|
794
771
|
animation: slideIn 0.3s ease;
|
|
795
772
|
}
|
|
796
773
|
|
|
797
774
|
.tabs-tabs-container {
|
|
798
|
-
padding:
|
|
775
|
+
padding: 0.8em 0 10px 0;
|
|
799
776
|
}
|
|
800
777
|
|
|
801
778
|
.tabs-tab-content {
|
|
@@ -1508,4 +1485,4 @@ input.searchbox-input {
|
|
|
1508
1485
|
object-fit: cover;
|
|
1509
1486
|
}
|
|
1510
1487
|
|
|
1511
|
-
/* #endregion Article Cover */
|
|
1488
|
+
/* #endregion Article Cover */
|
package/source/img/og_image.png
CHANGED
|
Binary file
|
package/source/js/pjax.js
CHANGED
|
@@ -6,20 +6,15 @@
|
|
|
6
6
|
try {
|
|
7
7
|
const Pjax = window.Pjax || (() => {});
|
|
8
8
|
pjax = new Pjax({
|
|
9
|
-
selectors: [
|
|
10
|
-
"[data-pjax]",
|
|
11
|
-
".pjax-reload",
|
|
12
|
-
"head title",
|
|
13
|
-
".main-content",
|
|
14
|
-
".navbar-start",
|
|
15
|
-
".navbar-end",
|
|
16
|
-
".searchbox link",
|
|
17
|
-
".searchbox script",
|
|
18
|
-
"#comments link",
|
|
19
|
-
"#comments script",
|
|
20
|
-
],
|
|
9
|
+
selectors: ["[data-pjax]", ".pjax-reload", "head title"],
|
|
21
10
|
cacheBust: false,
|
|
22
11
|
});
|
|
12
|
+
|
|
13
|
+
window.addEventListener("popstate", () => {
|
|
14
|
+
if (pjax && pjax.loadUrl) {
|
|
15
|
+
pjax.loadUrl(window.location.href);
|
|
16
|
+
}
|
|
17
|
+
});
|
|
23
18
|
} catch (e) {
|
|
24
19
|
console.warn(`PJAX error: ${e}`);
|
|
25
20
|
}
|