hexo-theme-gnix 4.2.6 → 4.2.8
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/layout/common/head.jsx
CHANGED
package/package.json
CHANGED
package/source/css/default.css
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
Avenir, system-ui, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC",
|
|
14
14
|
"Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
|
|
15
15
|
"Source Han Sans CN", sans-serif;
|
|
16
|
-
--font-handwriting: "Bradley Hand", cursive;
|
|
16
|
+
--font-handwriting: "Bradley Hand", "homemade-apple", cursive;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/* #region Color */
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
--pink: #b48ead;
|
|
85
85
|
--mauve: #b48ead;
|
|
86
86
|
--red: #bf616a;
|
|
87
|
-
--maroon: #
|
|
87
|
+
--maroon: #bf616a;
|
|
88
88
|
--peach: #d08770;
|
|
89
89
|
--yellow: #ebcb8b;
|
|
90
90
|
--green: #a3be8c;
|
|
@@ -210,33 +210,29 @@ a.header-anchor:hover::after {
|
|
|
210
210
|
color: var(--surface0);
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
|
|
214
|
-
color: var(--
|
|
213
|
+
a.header-anchor {
|
|
214
|
+
color: var(--text);
|
|
215
|
+
}
|
|
215
216
|
|
|
217
|
+
h3 a.header-anchor {
|
|
216
218
|
&:hover::after {
|
|
217
219
|
content: "###";
|
|
218
220
|
}
|
|
219
221
|
}
|
|
220
222
|
|
|
221
223
|
h4 a.header-anchor {
|
|
222
|
-
color: var(--green);
|
|
223
|
-
|
|
224
224
|
&:hover::after {
|
|
225
225
|
content: "####";
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
h5 a.header-anchor {
|
|
230
|
-
color: var(--blue);
|
|
231
|
-
|
|
232
230
|
&:hover::after {
|
|
233
231
|
content: "#####";
|
|
234
232
|
}
|
|
235
233
|
}
|
|
236
234
|
|
|
237
235
|
h6 a.header-anchor {
|
|
238
|
-
color: var(--mauve);
|
|
239
|
-
|
|
240
236
|
&:hover::after {
|
|
241
237
|
content: "######";
|
|
242
238
|
}
|
|
@@ -363,6 +359,14 @@ input:-webkit-autofill {
|
|
|
363
359
|
url(/css/font/woff2/Paris2024-Variable.woff2) format("woff2");
|
|
364
360
|
}
|
|
365
361
|
|
|
362
|
+
@font-face {
|
|
363
|
+
font-family: homemade-apple;
|
|
364
|
+
font-style: normal;
|
|
365
|
+
font-weight: 400;
|
|
366
|
+
font-display: swap;
|
|
367
|
+
src: url(/css/font/woff2/HomemadeApple.woff2) format("woff2");
|
|
368
|
+
}
|
|
369
|
+
|
|
366
370
|
/* #endregion */
|
|
367
371
|
|
|
368
372
|
blockquote,
|
|
@@ -746,6 +750,7 @@ body {
|
|
|
746
750
|
outline: 0;
|
|
747
751
|
font-family: var(--font-sans-serif);
|
|
748
752
|
color: var(--text);
|
|
753
|
+
|
|
749
754
|
&:hover,
|
|
750
755
|
&.active {
|
|
751
756
|
color: var(--lavender);
|
|
@@ -894,7 +899,7 @@ body {
|
|
|
894
899
|
}
|
|
895
900
|
|
|
896
901
|
h3 {
|
|
897
|
-
font-size:
|
|
902
|
+
font-size: 1.875em;
|
|
898
903
|
font-weight: 700;
|
|
899
904
|
line-height: 1.25;
|
|
900
905
|
letter-spacing: -0.015em;
|
|
@@ -902,7 +907,7 @@ body {
|
|
|
902
907
|
}
|
|
903
908
|
|
|
904
909
|
h4 {
|
|
905
|
-
font-size: 1.
|
|
910
|
+
font-size: 1.5em;
|
|
906
911
|
font-weight: 600;
|
|
907
912
|
line-height: 1.25;
|
|
908
913
|
letter-spacing: -0.01em;
|
|
@@ -910,7 +915,7 @@ body {
|
|
|
910
915
|
}
|
|
911
916
|
|
|
912
917
|
h5 {
|
|
913
|
-
font-size: 1.
|
|
918
|
+
font-size: 1.35em;
|
|
914
919
|
font-weight: 600;
|
|
915
920
|
line-height: 1.25;
|
|
916
921
|
letter-spacing: -0.005em;
|
|
@@ -918,7 +923,7 @@ body {
|
|
|
918
923
|
}
|
|
919
924
|
|
|
920
925
|
h6 {
|
|
921
|
-
font-size: 1.
|
|
926
|
+
font-size: 1.1em;
|
|
922
927
|
font-weight: 600;
|
|
923
928
|
line-height: 1.25;
|
|
924
929
|
margin: 1.2rem 0 1rem;
|
|
@@ -951,9 +956,8 @@ body {
|
|
|
951
956
|
|
|
952
957
|
img,
|
|
953
958
|
video {
|
|
954
|
-
|
|
955
|
-
margin:
|
|
956
|
-
max-width: 100%;
|
|
959
|
+
/* set left,right margin to auto */
|
|
960
|
+
margin: 0 auto 0 auto;
|
|
957
961
|
|
|
958
962
|
&:hover {
|
|
959
963
|
cursor: pointer;
|
|
@@ -1146,7 +1150,8 @@ ul.contains-task-list {
|
|
|
1146
1150
|
}
|
|
1147
1151
|
|
|
1148
1152
|
li.task-list-item {
|
|
1149
|
-
|
|
1153
|
+
position: relative;
|
|
1154
|
+
padding-left: 1.75rem;
|
|
1150
1155
|
font-size: 1rem;
|
|
1151
1156
|
list-style: none;
|
|
1152
1157
|
}
|
|
@@ -1158,7 +1163,9 @@ input.task-list-item-checkbox {
|
|
|
1158
1163
|
height: 1.2rem;
|
|
1159
1164
|
border: 2px solid var(--surface1);
|
|
1160
1165
|
border-radius: 0.375rem;
|
|
1161
|
-
position:
|
|
1166
|
+
position: absolute;
|
|
1167
|
+
left: 0;
|
|
1168
|
+
top: 0.15rem;
|
|
1162
1169
|
}
|
|
1163
1170
|
|
|
1164
1171
|
input.task-list-item-checkbox:checked::before {
|
|
@@ -1196,6 +1203,7 @@ input.task-list-item-checkbox:checked::before {
|
|
|
1196
1203
|
strong {
|
|
1197
1204
|
font-weight: bolder;
|
|
1198
1205
|
padding: 0 0.1em;
|
|
1206
|
+
color: var(--maroon);
|
|
1199
1207
|
}
|
|
1200
1208
|
|
|
1201
1209
|
hr {
|
|
@@ -1485,4 +1493,4 @@ input.searchbox-input {
|
|
|
1485
1493
|
object-fit: cover;
|
|
1486
1494
|
}
|
|
1487
1495
|
|
|
1488
|
-
/* #endregion Article Cover */
|
|
1496
|
+
/* #endregion Article Cover */
|
|
Binary file
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
.code-title {
|
|
2
|
+
font-size: .75em;
|
|
3
|
+
font-style: italic;
|
|
4
|
+
}
|
|
5
|
+
|
|
1
6
|
code span {
|
|
2
7
|
font-style: var(--shiki-light-font-style);
|
|
3
8
|
font-weight: var(--shiki-light-font-weight);
|
|
@@ -135,6 +140,7 @@ figure.shiki {
|
|
|
135
140
|
}
|
|
136
141
|
|
|
137
142
|
@keyframes code-expand-pulse {
|
|
143
|
+
|
|
138
144
|
0%,
|
|
139
145
|
to {
|
|
140
146
|
opacity: 0.6;
|
|
@@ -219,12 +225,10 @@ figure.shiki[data-collapsible="true"]:not(.expanded) > pre.shiki:after {
|
|
|
219
225
|
height: 80px;
|
|
220
226
|
pointer-events: none;
|
|
221
227
|
z-index: 1;
|
|
222
|
-
background: linear-gradient(
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
var(--mantle) 100%
|
|
227
|
-
);
|
|
228
|
+
background: linear-gradient(transparent 0%,
|
|
229
|
+
hsl(from var(--mantle) h s l / 0.8),
|
|
230
|
+
30%,
|
|
231
|
+
var(--mantle) 100%);
|
|
228
232
|
opacity: 1;
|
|
229
233
|
}
|
|
230
234
|
|
|
@@ -1651,4 +1655,4 @@ pre.shiki.has-focused > code {
|
|
|
1651
1655
|
--shiki-nord-font-weight: inherit;
|
|
1652
1656
|
--shiki-tokyo: #89ddff;
|
|
1653
1657
|
--shiki-tokyo-font-weight: bold;
|
|
1654
|
-
}
|
|
1658
|
+
}
|