jekyll-theme-fica 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.github/workflows/.ci_BASE_2002.yaml.swp +0 -0
- data/.github/workflows/.ci_LOCAL_2002.yaml.swp +0 -0
- data/.github/workflows/.ci_REMOTE_2002.yaml.swp +0 -0
- data/.github/workflows/ci.yaml +7 -0
- data/.github/workflows/ci.yaml.orig +34 -0
- data/.github/workflows/ci_BACKUP_2002.yaml +34 -0
- data/.github/workflows/ci_BASE_2002.yaml +27 -0
- data/.github/workflows/ci_LOCAL_2002.yaml +27 -0
- data/.github/workflows/ci_REMOTE_2002.yaml +27 -0
- data/README.md +4 -3
- data/_includes/Footer.html +112 -85
- data/_includes/Head.html +12 -13
- data/_includes/Header.html +17 -34
- data/_includes/{BTT.html → assets/BTT.html} +8 -7
- data/_includes/{Google-Analytics.html → assets/Google-Analytics.html} +12 -12
- data/_includes/assets/anchor-headings.html +164 -0
- data/_includes/assets/comments.html +16 -0
- data/_includes/assets/toc.html +174 -0
- data/_layouts/default.html +16 -14
- data/_layouts/home.html +25 -67
- data/_layouts/page.html +5 -3
- data/_layouts/post.html +50 -52
- data/_layouts/post_home.html +112 -112
- data/_posts/2022-04-5-Getting-Started.md +150 -149
- data/_sass/{layouts/base.scss → base.scss} +472 -579
- data/_sass/{themes/dark theme/highlight.scss → colors/dark-theme/highlight.scss} +362 -362
- data/_sass/{themes/dark theme/theme-dark.scss → colors/dark-theme/theme-dark.scss} +132 -142
- data/_sass/{themes/light theme/highlight.scss → colors/light-theme/highlight.scss} +198 -198
- data/_sass/{themes/light theme/theme-light.scss → colors/light-theme/theme-light.scss} +126 -136
- data/_sass/jekyll-theme-fica.scss +1 -8
- data/_sass/layouts/component.scss +253 -0
- data/_sass/layouts/layout.scss +612 -718
- data/_sass/layouts/variable.scss +201 -0
- data/assets/css/Style.scss +12 -13
- data/bin/run +195 -150
- data/js/Main.js +21 -0
- data/js/back-to-top.js +39 -48
- metadata +28 -16
- data/_sass/custom/styles.scss +0 -1
- data/_sass/custom/variables.scss +0 -1
- data/_sass/layouts/variables.scss +0 -230
- data/docs/contributing.md +0 -69
@@ -1,579 +1,472 @@
|
|
1
|
-
html {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
::selection {
|
6
|
-
background-color: $highlight-bg-color;
|
7
|
-
color: $highlight-text-color;
|
8
|
-
}
|
9
|
-
}
|
10
|
-
|
11
|
-
//
|
12
|
-
//
|
13
|
-
//
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
font:
|
61
|
-
|
62
|
-
|
63
|
-
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
//
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
}
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
font-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
@media screen and (min-width:
|
124
|
-
|
125
|
-
|
126
|
-
}
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
}
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
}
|
179
|
-
|
180
|
-
//
|
181
|
-
//
|
182
|
-
//
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
}
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
}
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
font-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
}
|
291
|
-
|
292
|
-
.
|
293
|
-
padding-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
}
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
}
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
.
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
}
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
}
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
border-left: 1px solid $border-color;
|
474
|
-
border-right: 1px solid $border-color;
|
475
|
-
}
|
476
|
-
|
477
|
-
td {
|
478
|
-
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
479
|
-
border-left: 1px solid $border-color;
|
480
|
-
border-right: 1px solid $border-color;
|
481
|
-
}
|
482
|
-
|
483
|
-
th {
|
484
|
-
background-color: $table-header-bg-color;
|
485
|
-
}
|
486
|
-
}
|
487
|
-
|
488
|
-
dl {
|
489
|
-
padding: 0;
|
490
|
-
|
491
|
-
dt {
|
492
|
-
padding: 0;
|
493
|
-
margin-top: 1rem;
|
494
|
-
font-size: $font-size;
|
495
|
-
font-weight: 690;
|
496
|
-
}
|
497
|
-
|
498
|
-
dd {
|
499
|
-
margin-inline-start: 40px;
|
500
|
-
}
|
501
|
-
}
|
502
|
-
|
503
|
-
//
|
504
|
-
// Error page
|
505
|
-
//
|
506
|
-
.container {
|
507
|
-
margin: 10px auto;
|
508
|
-
max-width: 400px;
|
509
|
-
text-align: center;
|
510
|
-
background-color: $error-div-bg-color;
|
511
|
-
border-radius: 20px;
|
512
|
-
align-content: center;
|
513
|
-
height: 500px;
|
514
|
-
|
515
|
-
>svg {
|
516
|
-
height: 220px;
|
517
|
-
width: 220px;
|
518
|
-
margin-left: 3px;
|
519
|
-
margin-right: 5px;
|
520
|
-
margin-top: 50px;
|
521
|
-
fill: $error-btn-svg-color;
|
522
|
-
}
|
523
|
-
|
524
|
-
>h1 {
|
525
|
-
font-weight: bolder;
|
526
|
-
}
|
527
|
-
}
|
528
|
-
|
529
|
-
.error-pagh {
|
530
|
-
>p {
|
531
|
-
margin-bottom: 3px;
|
532
|
-
|
533
|
-
&:last-child {
|
534
|
-
margin-bottom: 15px;
|
535
|
-
}
|
536
|
-
}
|
537
|
-
}
|
538
|
-
|
539
|
-
.btn-error {
|
540
|
-
padding: 8px 25px;
|
541
|
-
border-radius: 5px;
|
542
|
-
cursor: pointer;
|
543
|
-
color: $text-color;
|
544
|
-
background-color: $error-btn-bg-color;
|
545
|
-
border-color: $btn-bg-color;
|
546
|
-
transition: $transition-btn;
|
547
|
-
border-top: 10px;
|
548
|
-
|
549
|
-
&,
|
550
|
-
&:visited {
|
551
|
-
color: $text-color;
|
552
|
-
}
|
553
|
-
|
554
|
-
&:hover {
|
555
|
-
color: $btn-text-hover-color;
|
556
|
-
text-decoration: none;
|
557
|
-
background-color: $error-btn-hover-color;
|
558
|
-
border-color: $error-btn-hover-color;
|
559
|
-
}
|
560
|
-
}
|
561
|
-
|
562
|
-
//
|
563
|
-
// Prompts
|
564
|
-
//
|
565
|
-
.prompt-tip {
|
566
|
-
@include prompt("tips_and_updates", $prompt-tip-icon-color, $prompt-tip-bg-color, "Material Icons Outlined");
|
567
|
-
}
|
568
|
-
|
569
|
-
.prompt-info {
|
570
|
-
@include prompt("info", $prompt-info-icon-color, $prompt-info-bg-color, "Material Icons Outlined");
|
571
|
-
}
|
572
|
-
|
573
|
-
.prompt-warning {
|
574
|
-
@include prompt("warning", $prompt-warning-icon-color, $prompt-warning-bg-color, "Material Icons Round");
|
575
|
-
}
|
576
|
-
|
577
|
-
.prompt-danger {
|
578
|
-
@include prompt("dangerous", $prompt-danger-icon-color, $prompt-danger-bg-color, "Material Icons Round");
|
579
|
-
}
|
1
|
+
html {
|
2
|
+
overflow-x: hidden;
|
3
|
+
scroll-behavior: smooth;
|
4
|
+
|
5
|
+
::selection {
|
6
|
+
background-color: $highlight-bg-color;
|
7
|
+
color: $highlight-text-color;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
//
|
12
|
+
// Reseting elements
|
13
|
+
//
|
14
|
+
|
15
|
+
body,
|
16
|
+
h1,
|
17
|
+
h2,
|
18
|
+
h3,
|
19
|
+
h4,
|
20
|
+
h5,
|
21
|
+
h6,
|
22
|
+
p,
|
23
|
+
blockquote,
|
24
|
+
pre,
|
25
|
+
hr,
|
26
|
+
dl,
|
27
|
+
dd,
|
28
|
+
ol,
|
29
|
+
ul,
|
30
|
+
figure {
|
31
|
+
margin: 0;
|
32
|
+
padding: 0;
|
33
|
+
}
|
34
|
+
|
35
|
+
// set `margin-bottom` to maintain vertical alignment
|
36
|
+
h1,
|
37
|
+
h2,
|
38
|
+
h3,
|
39
|
+
h4,
|
40
|
+
h5,
|
41
|
+
h6,
|
42
|
+
p,
|
43
|
+
blockquote,
|
44
|
+
pre,
|
45
|
+
ul,
|
46
|
+
ol,
|
47
|
+
figure,
|
48
|
+
%vertical-rhythm {
|
49
|
+
margin-bottom: $font-spacing - 15;
|
50
|
+
}
|
51
|
+
|
52
|
+
//
|
53
|
+
// body
|
54
|
+
//
|
55
|
+
body {
|
56
|
+
font: $font-weight #{$font-size}/#{$line-height} $font-family;
|
57
|
+
color: $text-color;
|
58
|
+
background-color: $primary_color;
|
59
|
+
-webkit-text-size-adjust: 100%;
|
60
|
+
font-kerning: normal;
|
61
|
+
display: flex;
|
62
|
+
min-height: 100vh;
|
63
|
+
flex-direction: column;
|
64
|
+
overflow-wrap: break-word;
|
65
|
+
-webkit-font-smoothing: antialiased;
|
66
|
+
-moz-osx-font-smoothing: grayscale;
|
67
|
+
|
68
|
+
&::-webkit-scrollbar {
|
69
|
+
height: 16px;
|
70
|
+
}
|
71
|
+
|
72
|
+
&::-webkit-scrollbar-track {
|
73
|
+
background-color: transparent;
|
74
|
+
}
|
75
|
+
|
76
|
+
&::-webkit-scrollbar-thumb {
|
77
|
+
background: rgba(128, 134, 139, 0.2);
|
78
|
+
background-clip: padding-box;
|
79
|
+
border: 4px solid transparent;
|
80
|
+
border-radius: 10px;
|
81
|
+
box-sizing: border-box;
|
82
|
+
|
83
|
+
&:hover {
|
84
|
+
background: rgba(128, 134, 139, 0.4);
|
85
|
+
box-sizing: border-box;
|
86
|
+
background-clip: padding-box;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
//
|
92
|
+
// line
|
93
|
+
//
|
94
|
+
hr {
|
95
|
+
margin-top: $font-spacing;
|
96
|
+
margin-bottom: $font-spacing;
|
97
|
+
border: 0;
|
98
|
+
border-top: 2px solid $text-mute-color;
|
99
|
+
border-radius: 7px;
|
100
|
+
}
|
101
|
+
|
102
|
+
//
|
103
|
+
// wrapper
|
104
|
+
//
|
105
|
+
.wrapper {
|
106
|
+
padding: 0 $font-spacing - 5 0 $font-spacing - 5;
|
107
|
+
margin: 0 auto 0 auto;
|
108
|
+
max-width: $content-width + 100;
|
109
|
+
}
|
110
|
+
|
111
|
+
.footer-wrapper {
|
112
|
+
padding: 0 $font-spacing - 5 0 $font-spacing - 5;
|
113
|
+
margin: 0 auto 0 auto;
|
114
|
+
max-width: 1168px;
|
115
|
+
}
|
116
|
+
|
117
|
+
|
118
|
+
.post-wrapper {
|
119
|
+
padding: 0 $font-spacing - 5 0 $font-spacing - 5;
|
120
|
+
margin: 0 auto 0 auto;
|
121
|
+
max-width: $content-width + 100;
|
122
|
+
|
123
|
+
@media screen and (min-width: 1111px) {
|
124
|
+
display: flex;
|
125
|
+
justify-content: center;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
.content {
|
130
|
+
padding: 30px 0 30px;
|
131
|
+
flex: 1 0 auto;
|
132
|
+
overflow: hidden;
|
133
|
+
opacity: 0;
|
134
|
+
transform: translateY(3rem);
|
135
|
+
animation: 208.898ms linear 0s 1 normal forwards running slide-up;
|
136
|
+
animation-delay: 252.00568990042672ms;
|
137
|
+
}
|
138
|
+
|
139
|
+
//
|
140
|
+
// Headers
|
141
|
+
//
|
142
|
+
h1 {
|
143
|
+
font-size: $font-size + 31;
|
144
|
+
line-height: 1.5;
|
145
|
+
}
|
146
|
+
|
147
|
+
h2 {
|
148
|
+
font-size: $font-size + 26;
|
149
|
+
line-height: 1.5;
|
150
|
+
}
|
151
|
+
|
152
|
+
h3 {
|
153
|
+
font-size: $font-size + 21;
|
154
|
+
line-height: 1.5;
|
155
|
+
}
|
156
|
+
|
157
|
+
h4 {
|
158
|
+
font-size: $font-size + 16;
|
159
|
+
line-height: 1.5;
|
160
|
+
}
|
161
|
+
|
162
|
+
h5 {
|
163
|
+
font-size: $font-size + 11;
|
164
|
+
line-height: 1.5;
|
165
|
+
}
|
166
|
+
|
167
|
+
h6 {
|
168
|
+
font-size: $font-size + 6;
|
169
|
+
line-height: 1.5;
|
170
|
+
}
|
171
|
+
|
172
|
+
//
|
173
|
+
// Lists
|
174
|
+
//
|
175
|
+
ul,
|
176
|
+
ol {
|
177
|
+
margin-left: $font-spacing;
|
178
|
+
}
|
179
|
+
|
180
|
+
//
|
181
|
+
// Links
|
182
|
+
//
|
183
|
+
a {
|
184
|
+
text-decoration: none;
|
185
|
+
transition: $transition-links;
|
186
|
+
color: $link-visited-color;
|
187
|
+
font-weight: 700;
|
188
|
+
|
189
|
+
&:hover {
|
190
|
+
color: $link-hover-color;
|
191
|
+
text-decoration: none;
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
li {
|
196
|
+
> ul,
|
197
|
+
> ol {
|
198
|
+
margin-bottom: 0;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
//
|
203
|
+
// Image
|
204
|
+
//
|
205
|
+
img {
|
206
|
+
max-width: 100%;
|
207
|
+
height: auto;
|
208
|
+
}
|
209
|
+
|
210
|
+
//
|
211
|
+
// BOLD
|
212
|
+
//
|
213
|
+
strong {
|
214
|
+
font-weight: 900;
|
215
|
+
font-size: 18px;
|
216
|
+
}
|
217
|
+
|
218
|
+
//
|
219
|
+
// Figures
|
220
|
+
//
|
221
|
+
figure > img {
|
222
|
+
display: block;
|
223
|
+
}
|
224
|
+
|
225
|
+
figcaption {
|
226
|
+
font-size: $small-font-size;
|
227
|
+
}
|
228
|
+
|
229
|
+
//
|
230
|
+
// Blockquotes
|
231
|
+
//
|
232
|
+
blockquote {
|
233
|
+
color: $blockquote-text-color;
|
234
|
+
border-left: 4px solid $code-background-color;
|
235
|
+
padding-left: $font-spacing / 2;
|
236
|
+
@include relative-font-size(1.125);
|
237
|
+
font-style: italic;
|
238
|
+
|
239
|
+
> :last-child {
|
240
|
+
margin-bottom: 0;
|
241
|
+
}
|
242
|
+
|
243
|
+
i,
|
244
|
+
em {
|
245
|
+
font-style: normal;
|
246
|
+
}
|
247
|
+
}
|
248
|
+
|
249
|
+
//
|
250
|
+
// Code format
|
251
|
+
//
|
252
|
+
pre,
|
253
|
+
code {
|
254
|
+
font-size: inherit;
|
255
|
+
border: 1px solid $code-background-color;
|
256
|
+
border-radius: 4px;
|
257
|
+
font-weight: 700;
|
258
|
+
background-color: $code-background-color;
|
259
|
+
color: $code-text-color;
|
260
|
+
|
261
|
+
@include horizontal-scroll();
|
262
|
+
}
|
263
|
+
|
264
|
+
code {
|
265
|
+
padding: 1px 5px;
|
266
|
+
|
267
|
+
a {
|
268
|
+
color: inherit !important;
|
269
|
+
border-bottom: none !important;
|
270
|
+
pointer-events: none;
|
271
|
+
}
|
272
|
+
}
|
273
|
+
|
274
|
+
pre {
|
275
|
+
overflow-x: auto;
|
276
|
+
|
277
|
+
> code {
|
278
|
+
border: 0;
|
279
|
+
padding-right: 0;
|
280
|
+
padding-left: 0;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
|
284
|
+
.rouge-table {
|
285
|
+
width: 0%;
|
286
|
+
|
287
|
+
.rouge-gutter {
|
288
|
+
padding: 0px;
|
289
|
+
border: 0px;
|
290
|
+
}
|
291
|
+
|
292
|
+
td.rouge-code {
|
293
|
+
padding-left: 1rem;
|
294
|
+
border: 0px;
|
295
|
+
}
|
296
|
+
|
297
|
+
border: 0px;
|
298
|
+
margin-bottom: 0px;
|
299
|
+
}
|
300
|
+
|
301
|
+
.highlight {
|
302
|
+
border-radius: 5px;
|
303
|
+
background: $code-background-color;
|
304
|
+
border: 0px;
|
305
|
+
@extend %vertical-rhythm;
|
306
|
+
|
307
|
+
pre {
|
308
|
+
margin-bottom: 0;
|
309
|
+
font-size: $code-font-family;
|
310
|
+
line-height: 1.5rem;
|
311
|
+
word-wrap: normal;
|
312
|
+
/* Fixed Safari overflow-x */
|
313
|
+
}
|
314
|
+
|
315
|
+
.lineno {
|
316
|
+
padding-top: 7px;
|
317
|
+
padding-bottom: 7px;
|
318
|
+
padding-left: 7px;
|
319
|
+
padding-right: 0px;
|
320
|
+
width: 1%;
|
321
|
+
|
322
|
+
min-width: 20px;
|
323
|
+
text-align: right;
|
324
|
+
color: $text-mute-color;
|
325
|
+
-webkit-user-select: none;
|
326
|
+
-khtml-user-select: none;
|
327
|
+
-moz-user-select: none;
|
328
|
+
-ms-user-select: none;
|
329
|
+
-o-user-select: none;
|
330
|
+
user-select: none;
|
331
|
+
}
|
332
|
+
|
333
|
+
// set the dollar sign to non-selectable
|
334
|
+
.gp {
|
335
|
+
user-select: none;
|
336
|
+
}
|
337
|
+
|
338
|
+
table {
|
339
|
+
td pre {
|
340
|
+
overflow: visible; // Fixed iOS safari overflow-x
|
341
|
+
word-break: normal; // Fixed iOS safari linenos code break
|
342
|
+
}
|
343
|
+
}
|
344
|
+
|
345
|
+
.highlighter-rouge & {
|
346
|
+
background: $code-background-color;
|
347
|
+
}
|
348
|
+
}
|
349
|
+
|
350
|
+
// Removes the line numbers default snippets
|
351
|
+
div {
|
352
|
+
&[class^="highlighter-rouge"],
|
353
|
+
&.language-plaintext.highlighter-rouge,
|
354
|
+
&.language-console.highlighter-rouge,
|
355
|
+
&.language-terminal.highlighter-rouge,
|
356
|
+
&.nolineno {
|
357
|
+
pre.lineno {
|
358
|
+
display: none;
|
359
|
+
}
|
360
|
+
|
361
|
+
td.rouge-code {
|
362
|
+
padding: 8px 12px;
|
363
|
+
}
|
364
|
+
|
365
|
+
pre.highlight {
|
366
|
+
padding: 0px;
|
367
|
+
padding-bottom: 0px;
|
368
|
+
}
|
369
|
+
}
|
370
|
+
}
|
371
|
+
|
372
|
+
//
|
373
|
+
// Icons
|
374
|
+
//
|
375
|
+
|
376
|
+
// .stackoverflow {
|
377
|
+
// color: #f66a0a;
|
378
|
+
// }
|
379
|
+
|
380
|
+
// .youtube {
|
381
|
+
// color: #dd0505;
|
382
|
+
// }
|
383
|
+
|
384
|
+
// .github {
|
385
|
+
// color: $Github;
|
386
|
+
|
387
|
+
// }
|
388
|
+
|
389
|
+
.svg-icon {
|
390
|
+
width: 16px;
|
391
|
+
height: 16px;
|
392
|
+
display: inline-block;
|
393
|
+
fill: currentColor;
|
394
|
+
padding: 5px 3px 2px 5px;
|
395
|
+
vertical-align: text-bottom;
|
396
|
+
}
|
397
|
+
|
398
|
+
.gitlab {
|
399
|
+
color: $Github;
|
400
|
+
}
|
401
|
+
|
402
|
+
dl {
|
403
|
+
padding: 0;
|
404
|
+
|
405
|
+
dt {
|
406
|
+
padding: 0;
|
407
|
+
margin-top: 1rem;
|
408
|
+
font-size: $font-size;
|
409
|
+
font-weight: 690;
|
410
|
+
}
|
411
|
+
|
412
|
+
dd {
|
413
|
+
margin-inline-start: 40px;
|
414
|
+
}
|
415
|
+
}
|
416
|
+
|
417
|
+
//
|
418
|
+
// Error page
|
419
|
+
//
|
420
|
+
.container {
|
421
|
+
margin: 10px auto;
|
422
|
+
max-width: 400px;
|
423
|
+
text-align: center;
|
424
|
+
background-color: $error-div-bg-color;
|
425
|
+
border-radius: 20px;
|
426
|
+
align-content: center;
|
427
|
+
|
428
|
+
> svg {
|
429
|
+
height: 220px;
|
430
|
+
width: 220px;
|
431
|
+
margin-left: 3px;
|
432
|
+
margin-right: 5px;
|
433
|
+
margin-top: 50px;
|
434
|
+
fill: $error-btn-svg-color;
|
435
|
+
}
|
436
|
+
}
|
437
|
+
|
438
|
+
.error-pagh {
|
439
|
+
> p {
|
440
|
+
margin-bottom: 0px;
|
441
|
+
line-height: 2;
|
442
|
+
|
443
|
+
&:last-child {
|
444
|
+
margin-bottom: 15px;
|
445
|
+
}
|
446
|
+
}
|
447
|
+
}
|
448
|
+
|
449
|
+
.btn-error {
|
450
|
+
display: inline-block;
|
451
|
+
padding: 17px 16px 16px;
|
452
|
+
color: #e7e7e7;
|
453
|
+
background-color: #2e353e;
|
454
|
+
transition: all 0.2s ease-in-out;
|
455
|
+
width: 92%;
|
456
|
+
border-bottom-left-radius: 20px;
|
457
|
+
border-bottom-right-radius: 20px;
|
458
|
+
height: 24px;
|
459
|
+
line-height: 1.5;
|
460
|
+
|
461
|
+
&,
|
462
|
+
&:visited {
|
463
|
+
color: $text-color;
|
464
|
+
}
|
465
|
+
|
466
|
+
&:hover {
|
467
|
+
color: $btn-text-hover-color;
|
468
|
+
text-decoration: none;
|
469
|
+
background-color: $btn-color-hover;
|
470
|
+
border-color: $btn-color-hover;
|
471
|
+
}
|
472
|
+
}
|