jekyll-zeta 0.7.5.1 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,511 +1,21 @@
1
-
2
- $color-red: #FF0000;
3
- $color-black: #333;
4
- $color-blue: #0064c1;
5
- $color-hove: #0064c1;
6
- $color-gray: #9ca3af;
7
- $color-lightGray: #9ca3af;
8
- $color-lightGrayBg: #F0f2f4;
9
- $heatFont:Georgia,"Nimbus Roman No9 L","Songti SC",STSong,"AR PL New Sung","AR PL SungtiL GB",NSimSun,SimSun,"TW\-Sung","WenQuanYi Bitmap Song","AR PL UMing CN","AR PL UMing HK","AR PL UMing TW","AR PL UMing TW MBE",sans-serif;
10
-
11
- $dbgBorder:none;//ssolid 1px red;
12
- // $hmbloksizeW:11px;
13
- $hmbloksizeH:13px;
14
- $dayGap:1px;
15
- li {
16
- padding: 0.2rem;
17
- }
18
-
19
- main{
20
- margin: 2.5em 0;
21
- }
22
- body{
23
- font-family: monospace;
24
- font-size: 1.15rem;
25
- // background-color: #fafafa;
26
- margin: 0;
27
-
28
- // &::before{
29
- // content: "";
30
- // position: fixed;
31
- // left: 0;
32
- // right: 0;
33
- // top: 0;
34
- // bottom: 0;
35
-
36
- // // background-image: url(../image/bg-2.png) ;
37
- // // background-color: #fffef8 ;//#fffef9;
38
- // z-index: -1;
39
- // // filter: grayscale(0.8);
40
- // // opacity: 0.9;
41
- // }
42
- }
43
-
44
- article{
45
- line-height: 1.6;
46
- }
1
+ @import "common";
2
+ @import "heatmap";
47
3
  .w {
48
4
  margin: auto;
49
5
  max-width: 960px;
50
6
  padding: 2em 0.2rem;
51
7
  word-wrap: break-word;
52
8
  background-color: white;
53
- // box-shadow: 0 2px 3px 0 #eee
54
- }
55
-
56
- code.highlighter-rouge {
57
- color: $color-black;
58
- background: $color-lightGrayBg;
59
- border-radius: 5px;
60
- padding: 0 5px;
61
- margin: 5px;
62
- }
63
-
64
- code {
65
- color: $color-black;
66
- background: $color-lightGrayBg;;
67
- max-height: 35rem;
68
- }
69
-
70
- div.highlighter-rouge code {
71
- border-radius: 10px;
72
- display: block;
73
- overflow: auto;
74
- padding: 2rem 1rem;
75
- }
76
-
77
- img {
78
- width: 60%;
79
- display: block;
80
- margin: 0 auto;
81
- }
82
-
83
- blockquote {
84
- font-style: italic;
85
- border-left: 5px solid #22a2c3;
86
- border-radius: 5px;
87
- color: #999;
88
- // padding: 2rem 0.25rem .25rem 0.25rem;
89
- padding: 0.3rem 1rem;
90
- margin: 1rem 0;
91
- background-color: $color-lightGrayBg;
92
-
93
-
94
- // &::before{
95
- // content: "";
96
- // display: block;
97
- // background: url(../image/quote.svg) no-repeat 50% 50%;
98
- // width: 27px;
99
- // height: 20px;
100
- // position: absolute;
101
- // z-index: 1;
102
-
103
- // margin-left: -10px;
104
- // margin-top: -24px;
105
- // opacity: 0.1;
106
-
107
- // }
108
- }
109
-
110
- blockquote p {
111
- margin: 0
112
- }
113
-
114
- table {
115
- width: 100%;
116
- }
117
- table{
118
- box-shadow: 0px 0px 5px #e0e0e0;
119
- }
120
- th{
121
- background-color: #f5f5f5;
122
- }
123
- table,
124
- th,
125
- td {
126
- border: thin solid #e0e0e0;
127
- border-collapse: collapse;
128
- padding: 0.4em 1em ;
129
- }
130
- tr:nth-child(even){
131
- background-color: #f5f5f5;
132
- }
133
-
134
- // hr {
135
- // margin-top: 2rem;
136
- // margin-bottom: 2rem;
137
-
138
-
139
- // border: 0;
140
- // padding: 3px;
141
-
142
- // background: repeating-linear-gradient(135deg, #000 0px, #000 1px, transparent 1px, transparent 5px);
143
- // }
144
-
145
- hr{
146
- margin: 2rem 0;
147
- border:none;
148
- text-align: center;
149
- color: $color-gray;
150
- border-bottom: $color-lightGray dashed 1px;
151
-
152
-
153
- // &:before { content: '/////' }
154
- // &:after { content: '/////' }
155
- // &[data-content] {
156
- // content: 'xxxxxx';
157
- // }
158
- }
159
-
160
-
161
- a {
162
- text-decoration: none;
163
- color: $color-blue;
164
- }
165
-
166
-
167
- .w > h1>a {
168
- color: $color-black;
169
9
  }
170
10
 
171
- .w > h1>a:hover {
172
- color: $color-black;
173
- }
174
-
175
-
176
-
177
11
  nav{
178
- /* 关键样式 */
179
- // background-color: transparent;
180
- // background-image: radial-gradient(transparent 1px, #ffffff 1px);
181
- // background-size: 4px 4px;
182
- // backdrop-filter: saturate(50%) blur(10px);
183
- // /* 这个只是固定在页面上面 */
184
- // position: sticky;
185
- // top: 0px;
186
-
187
- align-content: center;
188
- // z-index: ;
189
- }
190
-
191
- .navul {
192
- padding: 0;
193
- display: flex;
194
- font-weight: 700;
195
- align-items: center;
196
- }
197
-
198
- .navli {
199
- list-style-type: none;
200
- margin-right: 1rem;
201
- font-size: 1.125rem;
202
- }
203
-
204
- .postlistul {
205
- padding: 0
206
- }
207
-
208
- .postlistli {
209
- list-style-type: none;
210
- display: flex;
211
- align-items: first baseline;
212
- padding: 5px 0;
213
-
214
- }
215
-
216
- .postlistli a,.pagebar a ,.tags-tag{
217
- color: #000;
218
- }
219
-
220
- span.next{
221
- color: #c3c3c3;
222
- }
223
-
224
- date {
225
- color: $color-lightGray;
226
- font-size: 0.9em;
227
- margin-right: 1em;
228
- }
229
-
230
- time {
231
- color: $color-lightGray;
232
- font-weight: 500;
233
- }
234
- .tag {
235
- color: $color-lightGray;
236
- font-weight: 500;
237
- }
238
-
239
-
240
-
241
- .pagebar {
242
- margin-top: 2rem;
243
- display: flex;
244
- // float: right;
245
- align-items: baseline;
246
- }
247
-
248
- .page_number {
249
- color: $color-black;
250
- padding-left: 10px;
251
- padding-right: 10px;
252
- text-align: center;
253
- }
254
-
255
- .largeli {
256
- font-weight: bolder;
257
- color: $color-black;
258
- font-size: 1.6rem;
259
- padding: 2.25rem 1rem 0.5rem 0;
260
- }
261
-
262
- .largeli0 {
263
- padding: 0 0 0.5rem 0;
264
- }
265
-
266
- .footer{
267
- margin-top: 4rem;
268
- color: #aaa;
269
- width: 100%;
270
- font-size: 0.9rem;
271
- text-align: center;
272
- }
273
-
274
- .footer a {
275
- color: #808080;
276
- }
277
-
278
- a:hover {
279
- text-decoration: underline;
280
- color:$color-hove;
281
- }
282
-
283
- .curNav {
284
- color: $color-blue;
285
- }
286
-
287
- .nav{
288
- color: $color-black;
289
- }
290
-
291
- input[type="button"]{
292
- /* 设置按钮的背景色,字体样式等 */
293
- background-color: #e0e0e0;
294
- border: none;
295
- color: $color-black;
296
- padding: 5px 12px;
297
- text-align: center;
298
- text-decoration: none;
299
- display: inline-block;
300
- font-size: 0.8em;
301
-
302
- cursor: pointer;
303
- border-radius: 3px;
304
- /* 鼠标悬停时改变按钮颜色 */
305
- }
306
- input[type="button"]:hover{
307
- background-color: $color-black;
308
- color: white;
309
- }
310
-
311
-
312
- pre{
313
- white-space: pre-wrap; /* 保留空白字符,但是允许自动换行 */
314
- overflow-wrap: break-word; /* 在单词内允许换行 */
315
- }
316
-
317
- pre>code{
318
- background-color: #1e131eff;
319
- color: #e7e7b1;
320
- box-shadow: 0px 0px 8px #000;
321
- }
322
-
323
-
324
- pre:has(>code)::before {
325
- content: url('../image/dots.svg');
326
- display: block;
327
- position: absolute;
328
- margin-left: 10px;
329
- z-index: 1000;
330
- }
331
-
332
-
333
- img{
334
- max-width: 80%;
335
-
336
- }
337
-
338
- .iconchar{
339
- margin-left: 10px;
340
- // filter: grayscale(0.1) brightness(0.6);
341
- font-size: 0.6em;
342
- }
343
-
344
- .heatmap{
345
- display: grid;
346
- grid-template-rows: auto 1fr;
347
- grid-template-columns: auto 1fr;
348
- max-width: 640px;
349
- }
350
-
351
- .heatmap-title{
352
- color: $color-black;
353
- font-size: 1.2rem;
354
- }
355
-
356
-
357
- .heatmap-month{
358
-
359
- grid-column-start: 2;
360
- grid-column-end: 3;
361
-
362
- display: grid;
363
- grid-template-columns: repeat(12,1fr);
364
-
365
- border: $dbgBorder;
366
-
367
- }
368
-
369
-
370
- .heatmap-month-cell{
371
- display: flex;
372
- align-items: center;
373
- justify-content: center;
374
-
375
- font-family: $heatFont;
376
- font-size: 0.8rem;
377
-
378
- height: 12px;
379
-
380
- padding: 0.2em 0;
381
-
382
- }
383
-
384
-
385
- .heatmap-week{
386
-
387
- grid-row-start: 2;
388
- grid-row-end: 3;
389
- display: grid;
390
- // grid-template-rows:repeat(4,1fr);
391
-
392
-
393
- grid-auto-flow: row;
394
- height: $hmbloksizeH * 7 + $dayGap * 6;
395
- }
396
-
397
-
398
- .heatmap-week-cell{
399
- display: flex;
400
- align-items: center;
401
- justify-content: center;
402
- padding-right: 0.2em;
403
- font-size: 0.8rem;
404
- font-family: $heatFont
405
- }
406
-
407
- .heatmap-day{
408
-
409
- display: grid;
410
- grid-template-columns: repeat(53,1fr);
411
- grid-template-rows: repeat(7,1fr);
412
- grid-auto-flow: column;
413
- gap: $dayGap;
414
- }
415
-
416
- .heatmap-day-cell{
417
-
418
- border-radius: 2px;
419
- // height: 20px;
420
- // width: $hmbloksizeW;
421
- height: $hmbloksizeH;
422
- }
423
-
424
- .heatmap-day-cell a{
425
- height: 100%;
426
- width: 100%;
427
- display: block;
428
- white-space: nowrap;
429
- overflow:hidden;
430
- }
431
-
432
-
433
- .hm-check-nodata{
434
- background-color: #93d5dc;
435
- }
436
-
437
- .hm-check{
438
- background-color: #40c463bb;
12
+
13
+ /* 这个只是固定在页面上面 */
439
14
  position: relative;
440
- cursor: pointer;
441
- }
442
-
443
- .hm-check2{
444
- background-color: #40c463ff;
445
- position: relative;
446
- }
447
-
448
- .hm-check-no-a{
449
- background-color: #edebf0;;
450
- }
451
-
452
-
453
- .hm-check-no-b{
454
- background-color: #edebf0aa;
455
- }
456
-
457
- .heatmap-day-cell:hover{
458
- transform: scale(1.3);
459
- z-index: 999;
460
- }
461
-
462
- .heatmap-day-cell:hover .hm-tip{
463
- display: block;
464
- }
465
-
466
- .hm-tip{
467
- position: absolute; /* 让子元素浮动 */
468
- bottom: 100%;
469
- left: 50%;
470
- transform: translateX(-50%);
471
- background-color: rgba(0, 0, 0, 0.8);
472
- color: white;
473
- padding: 10px;
474
- border-radius: 5px;
475
- z-index: 999;
476
-
477
- width: auto;
478
- font-size: 0.8rem;
479
- display: none;
480
- }
481
-
482
- .hm-date{
483
- color: #fff;
484
- text-align: center;
485
-
486
- padding: 0;
487
- }
488
-
489
- .hm-title{
490
- color: #fff;
491
- white-space: nowrap;
492
- overflow:hidden;
493
- text-overflow: ellipsis;
494
- text-align: left;
495
- padding-left:0.5rem;
496
-
497
- max-width: 600px;
498
-
499
- }
500
-
501
- .hm-tiplink{
502
- padding: 0.2rem 0;
503
- }
504
-
505
- .red{
506
- background-color: #ee5500;
507
- }
15
+ top: 0px;
16
+ height: 100%;
17
+ width: 18rem;
18
+ align-content: center;
19
+ }
508
20
 
509
- .border{
510
- border:solid 1px red;
511
- }
21
+
@@ -0,0 +1,6 @@
1
+ ---
2
+ ---
3
+
4
+ @import "jekyll-zeta-left" ;
5
+ @import "custom" ;
6
+
Binary file
Binary file
data/index.html CHANGED
@@ -1,3 +1,5 @@
1
1
  ---
2
2
  layout: paginate
3
+ <!-- title: Post List -->
4
+
3
5
  ---
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-zeta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - vitock
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-25 00:00:00.000000000 Z
11
+ date: 2024-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -74,6 +74,8 @@ files:
74
74
  - _includes/main.css
75
75
  - _includes/menu_item.html
76
76
  - _includes/navbar.html
77
+ - _includes/navbar_left.html
78
+ - _includes/page_frame_left.html
77
79
  - _includes/paginate.html
78
80
  - _includes/post_list.html
79
81
  - _layouts/about.html
@@ -86,9 +88,15 @@ files:
86
88
  - _layouts/post.html
87
89
  - _layouts/tagpage.html
88
90
  - _layouts/tags.html
91
+ - _sass/common.scss
89
92
  - _sass/custom.scss
93
+ - _sass/heatmap.scss
94
+ - _sass/jekyll-zeta-left.scss
90
95
  - _sass/jekyll-zeta.scss
96
+ - assets/css/left.scss
91
97
  - assets/css/main.scss
98
+ - assets/image/avartar.png
99
+ - assets/image/avartar2.png
92
100
  - assets/image/dots.png
93
101
  - assets/image/dots.svg
94
102
  - assets/image/lock.svg