hexo-theme-gnix 4.2.7 → 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/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","homemade-apple", cursive;
|
|
16
|
+
--font-handwriting: "Bradley Hand", "homemade-apple", cursive;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/* #region Color */
|
|
@@ -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
|
}
|
|
@@ -364,11 +360,11 @@ input:-webkit-autofill {
|
|
|
364
360
|
}
|
|
365
361
|
|
|
366
362
|
@font-face {
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
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");
|
|
372
368
|
}
|
|
373
369
|
|
|
374
370
|
/* #endregion */
|
|
@@ -754,6 +750,7 @@ body {
|
|
|
754
750
|
outline: 0;
|
|
755
751
|
font-family: var(--font-sans-serif);
|
|
756
752
|
color: var(--text);
|
|
753
|
+
|
|
757
754
|
&:hover,
|
|
758
755
|
&.active {
|
|
759
756
|
color: var(--lavender);
|
|
@@ -910,7 +907,7 @@ body {
|
|
|
910
907
|
}
|
|
911
908
|
|
|
912
909
|
h4 {
|
|
913
|
-
font-size: 1.
|
|
910
|
+
font-size: 1.5em;
|
|
914
911
|
font-weight: 600;
|
|
915
912
|
line-height: 1.25;
|
|
916
913
|
letter-spacing: -0.01em;
|
|
@@ -918,7 +915,7 @@ body {
|
|
|
918
915
|
}
|
|
919
916
|
|
|
920
917
|
h5 {
|
|
921
|
-
font-size: 1.
|
|
918
|
+
font-size: 1.35em;
|
|
922
919
|
font-weight: 600;
|
|
923
920
|
line-height: 1.25;
|
|
924
921
|
letter-spacing: -0.005em;
|
|
@@ -926,7 +923,7 @@ body {
|
|
|
926
923
|
}
|
|
927
924
|
|
|
928
925
|
h6 {
|
|
929
|
-
font-size: 1.
|
|
926
|
+
font-size: 1.1em;
|
|
930
927
|
font-weight: 600;
|
|
931
928
|
line-height: 1.25;
|
|
932
929
|
margin: 1.2rem 0 1rem;
|
|
@@ -959,9 +956,8 @@ body {
|
|
|
959
956
|
|
|
960
957
|
img,
|
|
961
958
|
video {
|
|
962
|
-
|
|
963
|
-
margin:
|
|
964
|
-
max-width: 100%;
|
|
959
|
+
/* set left,right margin to auto */
|
|
960
|
+
margin: 0 auto 0 auto;
|
|
965
961
|
|
|
966
962
|
&:hover {
|
|
967
963
|
cursor: pointer;
|
|
@@ -1154,7 +1150,8 @@ ul.contains-task-list {
|
|
|
1154
1150
|
}
|
|
1155
1151
|
|
|
1156
1152
|
li.task-list-item {
|
|
1157
|
-
|
|
1153
|
+
position: relative;
|
|
1154
|
+
padding-left: 1.75rem;
|
|
1158
1155
|
font-size: 1rem;
|
|
1159
1156
|
list-style: none;
|
|
1160
1157
|
}
|
|
@@ -1166,7 +1163,9 @@ input.task-list-item-checkbox {
|
|
|
1166
1163
|
height: 1.2rem;
|
|
1167
1164
|
border: 2px solid var(--surface1);
|
|
1168
1165
|
border-radius: 0.375rem;
|
|
1169
|
-
position:
|
|
1166
|
+
position: absolute;
|
|
1167
|
+
left: 0;
|
|
1168
|
+
top: 0.15rem;
|
|
1170
1169
|
}
|
|
1171
1170
|
|
|
1172
1171
|
input.task-list-item-checkbox:checked::before {
|
|
@@ -1494,4 +1493,4 @@ input.searchbox-input {
|
|
|
1494
1493
|
object-fit: cover;
|
|
1495
1494
|
}
|
|
1496
1495
|
|
|
1497
|
-
/* #endregion Article Cover */
|
|
1496
|
+
/* #endregion Article Cover */
|
|
@@ -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
|
+
}
|