jekyll-zeta 0.7.5 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,508 +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: 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
9
  }
133
10
 
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
- }
170
-
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: 1000;
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
- pre>code::before {
324
- content: url('../image/dots.svg');
325
- display: block;
326
- margin-top:-1rem;
327
- }
328
-
329
-
330
- img{
331
- max-width: 80%;
332
-
333
- }
334
-
335
- .iconchar{
336
- margin-left: 10px;
337
- // filter: grayscale(0.1) brightness(0.6);
338
- font-size: 0.6em;
339
- }
340
-
341
- .heatmap{
342
- display: grid;
343
- grid-template-rows: auto 1fr;
344
- grid-template-columns: auto 1fr;
345
- max-width: 640px;
346
- }
347
-
348
- .heatmap-title{
349
- color: $color-black;
350
- font-size: 1.2rem;
351
- }
352
-
353
-
354
- .heatmap-month{
355
-
356
- grid-column-start: 2;
357
- grid-column-end: 3;
358
-
359
- display: grid;
360
- grid-template-columns: repeat(12,1fr);
361
-
362
- border: $dbgBorder;
363
-
364
- }
365
-
366
-
367
- .heatmap-month-cell{
368
- display: flex;
369
- align-items: center;
370
- justify-content: center;
371
-
372
- font-family: $heatFont;
373
- font-size: 0.8rem;
374
-
375
- height: 12px;
376
-
377
- padding: 0.2em 0;
378
-
379
- }
380
-
381
-
382
- .heatmap-week{
383
-
384
- grid-row-start: 2;
385
- grid-row-end: 3;
386
- display: grid;
387
- // grid-template-rows:repeat(4,1fr);
388
-
389
-
390
- grid-auto-flow: row;
391
- height: $hmbloksizeH * 7 + $dayGap * 6;
392
- }
393
-
394
-
395
- .heatmap-week-cell{
396
- display: flex;
397
- align-items: center;
398
- justify-content: center;
399
- padding-right: 0.2em;
400
- font-size: 0.8rem;
401
- font-family: $heatFont
402
- }
403
-
404
- .heatmap-day{
405
-
406
- display: grid;
407
- grid-template-columns: repeat(53,1fr);
408
- grid-template-rows: repeat(7,1fr);
409
- grid-auto-flow: column;
410
- gap: $dayGap;
411
- }
412
-
413
- .heatmap-day-cell{
414
-
415
- border-radius: 2px;
416
- // height: 20px;
417
- // width: $hmbloksizeW;
418
- height: $hmbloksizeH;
419
- }
420
-
421
- .heatmap-day-cell a{
422
- height: 100%;
423
- width: 100%;
424
- display: block;
425
- white-space: nowrap;
426
- overflow:hidden;
427
- }
428
-
429
-
430
- .hm-check-nodata{
431
- background-color: #93d5dc;
432
- }
433
-
434
- .hm-check{
435
- background-color: #40c463bb;
12
+
13
+ /* 这个只是固定在页面上面 */
436
14
  position: relative;
437
- cursor: pointer;
438
- }
439
-
440
- .hm-check2{
441
- background-color: #40c463ff;
442
- position: relative;
443
- }
444
-
445
- .hm-check-no-a{
446
- background-color: #edebf0;;
447
- }
448
-
449
-
450
- .hm-check-no-b{
451
- background-color: #edebf0aa;
452
- }
453
-
454
- .heatmap-day-cell:hover{
455
- transform: scale(1.3);
456
- z-index: 999;
457
- }
458
-
459
- .heatmap-day-cell:hover .hm-tip{
460
- display: block;
461
- }
462
-
463
- .hm-tip{
464
- position: absolute; /* 让子元素浮动 */
465
- bottom: 100%;
466
- left: 50%;
467
- transform: translateX(-50%);
468
- background-color: rgba(0, 0, 0, 0.8);
469
- color: white;
470
- padding: 10px;
471
- border-radius: 5px;
472
- z-index: 999;
473
-
474
- width: auto;
475
- font-size: 0.8rem;
476
- display: none;
477
- }
478
-
479
- .hm-date{
480
- color: #fff;
481
- text-align: center;
482
-
483
- padding: 0;
484
- }
485
-
486
- .hm-title{
487
- color: #fff;
488
- white-space: nowrap;
489
- overflow:hidden;
490
- text-overflow: ellipsis;
491
- text-align: left;
492
- padding-left:0.5rem;
493
-
494
- max-width: 600px;
495
-
496
- }
497
-
498
- .hm-tiplink{
499
- padding: 0.2rem 0;
500
- }
501
-
502
- .red{
503
- background-color: #ee5500;
504
- }
15
+ top: 0px;
16
+ height: 100%;
17
+ width: 18rem;
18
+ align-content: center;
19
+ }
505
20
 
506
- .border{
507
- border:solid 1px red;
508
- }
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
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-24 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