hexo-theme-yet-the-books-optimize 1.0.5 → 2.0.20260103
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/.github/workflows/main.yml +19 -0
- package/package.json +1 -1
- package/source/css/style.css +40 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: Publish Packages
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
jobs:
|
|
7
|
+
publish-cli:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@v3
|
|
11
|
+
- uses: actions/setup-node@v3
|
|
12
|
+
with:
|
|
13
|
+
node-version: "18.x"
|
|
14
|
+
registry-url: "https://registry.npmjs.org"
|
|
15
|
+
- name: Publish cli
|
|
16
|
+
run: |
|
|
17
|
+
npm publish --access public
|
|
18
|
+
env:
|
|
19
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hexo-theme-yet-the-books-optimize",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.20260103",
|
|
4
4
|
"description": "🌙 It starts with the appearance and stays true to the words. A blog theme dedicated to those who love to think.",
|
|
5
5
|
"git": "https://github.com/wan-lights/hexo-theme-yet-the-books-optimize.git",
|
|
6
6
|
"keywords": [
|
package/source/css/style.css
CHANGED
|
@@ -205,6 +205,7 @@ a:hover {
|
|
|
205
205
|
max-width: calc(33.3333333333333% - 0.66666666666666666em);
|
|
206
206
|
margin-right: 1em;
|
|
207
207
|
margin-bottom: 1em;
|
|
208
|
+
height: 180px;;
|
|
208
209
|
|
|
209
210
|
}
|
|
210
211
|
.content .category .category-item:nth-child(4n + 4) {
|
|
@@ -249,17 +250,41 @@ a:hover {
|
|
|
249
250
|
text-align: center;
|
|
250
251
|
}
|
|
251
252
|
|
|
253
|
+
@media screen and (max-width: 768px) {
|
|
254
|
+
.custom-show {
|
|
255
|
+
bottom: 15px;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
|
|
252
260
|
.custom-h1 {
|
|
253
261
|
font-size: 18px;
|
|
254
262
|
padding: .5em;
|
|
255
263
|
color: #000;
|
|
256
264
|
}
|
|
257
265
|
|
|
266
|
+
@media screen and (max-width: 768px) {
|
|
267
|
+
.custom-h1 {
|
|
268
|
+
font-size: 14px;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
258
272
|
.custom-desc {
|
|
259
273
|
font-size: 12px;
|
|
260
274
|
color: #3f4c54;
|
|
261
275
|
}
|
|
262
276
|
|
|
277
|
+
@media screen and (max-width: 768px) {
|
|
278
|
+
.custom-desc {
|
|
279
|
+
font-size: 11px;
|
|
280
|
+
white-space: nowrap;
|
|
281
|
+
overflow: hidden;
|
|
282
|
+
text-overflow: ellipsis; /* 需要配合 overflow:hidden */
|
|
283
|
+
display: block; /* 或 inline-block,根据语义 */
|
|
284
|
+
margin: 0 5px;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
263
288
|
.custom-count {
|
|
264
289
|
width: 100%;
|
|
265
290
|
font-size: 13px;
|
|
@@ -267,6 +292,13 @@ a:hover {
|
|
|
267
292
|
color: #3f4c54;
|
|
268
293
|
}
|
|
269
294
|
|
|
295
|
+
@media screen and (max-width: 768px) {
|
|
296
|
+
.custom-count {
|
|
297
|
+
font-size: 11px;
|
|
298
|
+
margin-top: 10px;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
270
302
|
.content .category .category-item .cover.red {
|
|
271
303
|
background-image: url(../image/p0452_m.jpg);
|
|
272
304
|
}
|
|
@@ -338,6 +370,14 @@ a:hover {
|
|
|
338
370
|
/* height: 100%; */
|
|
339
371
|
}
|
|
340
372
|
|
|
373
|
+
@media screen and (max-width: 768px) {
|
|
374
|
+
.content .category .category-item .cover img {
|
|
375
|
+
margin-top: 20px !important;
|
|
376
|
+
height: 40px !important;
|
|
377
|
+
width: 40px !important;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
341
381
|
.content .category .category-item .title {
|
|
342
382
|
margin-top: 5px;
|
|
343
383
|
line-height: 1em;
|