jekyll-theme-fica 0.1.5 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yaml +27 -0
  3. data/404.html +16 -0
  4. data/License.md +2 -0
  5. data/README.md +31 -13
  6. data/_includes/BTT.html +9 -0
  7. data/_includes/Google-Analytics.html +11 -10
  8. data/_includes/Head.html +5 -4
  9. data/_includes/Header.html +14 -19
  10. data/_layouts/default.html +12 -11
  11. data/_layouts/home.html +39 -36
  12. data/_layouts/page.html +1 -0
  13. data/_layouts/post.html +40 -23
  14. data/_layouts/post_home.html +72 -47
  15. data/_posts/2022-03-31-To-Know-if-the-nav-works.md +8 -0
  16. data/_posts/2022-04-1-Demo.md +114 -0
  17. data/_posts/2022-04-5-Getting-Started.md +103 -0
  18. data/_posts/2022-04-6-Creating-a-new-post.md +124 -0
  19. data/_sass/custom/styles.scss +1 -0
  20. data/_sass/custom/variables.scss +1 -0
  21. data/_sass/jekyll-theme-fica.scss +7 -0
  22. data/_sass/layouts/base.scss +573 -0
  23. data/_sass/layouts/layout.scss +676 -0
  24. data/_sass/layouts/variables.scss +89 -0
  25. data/_sass/themes/dark theme/highlight.scss +363 -0
  26. data/_sass/themes/dark theme/theme-dark.scss +135 -0
  27. data/_sass/themes/{Light_Theme.scss → light theme/highlight.scss } +8 -65
  28. data/_sass/themes/light theme/theme-light.scss +132 -0
  29. data/assets/404.svg +22 -0
  30. data/assets/css/Style.scss +42 -0
  31. data/assets/css/fica-icons.svg +68 -0
  32. data/assets/fica-icons.svg +12 -2
  33. data/bin/build +7 -0
  34. data/bin/server +7 -0
  35. data/docs/contributing.md +69 -0
  36. data/js/back-to-top.js +48 -0
  37. data/post/index.html +4 -0
  38. metadata +41 -10
  39. data/_sass/Base.scss +0 -401
  40. data/_sass/Custom-Styles.scss +0 -2
  41. data/_sass/Custom-Variables.scss +0 -1
  42. data/_sass/Initialize.scss +0 -71
  43. data/_sass/Layout.scss +0 -474
  44. data/_sass/themes/Dark_Theme.scss +0 -269
  45. data/assets/css/Styles.scss +0 -11
@@ -0,0 +1,573 @@
1
+ html {
2
+ font-size: $font-size;
3
+
4
+ ::selection {
5
+ background-color: $highlight-bg-color;
6
+ color: $highlight-text-color;
7
+ }
8
+ }
9
+
10
+ //
11
+ // Basic
12
+ //
13
+ body,
14
+ h1,
15
+ h2,
16
+ h3,
17
+ h4,
18
+ h5,
19
+ h6,
20
+ p,
21
+ blockquote,
22
+ pre,
23
+ hr,
24
+ dl,
25
+ dd,
26
+ ol,
27
+ ul,
28
+ figure {
29
+ margin: 0;
30
+ padding: 0;
31
+ }
32
+
33
+ h1,
34
+ h2,
35
+ h3,
36
+ h4,
37
+ h5,
38
+ h6,
39
+ p,
40
+ blockquote,
41
+ pre,
42
+ ul,
43
+ ol,
44
+ dl,
45
+ figure,
46
+ %vertical-rhythm {
47
+ margin-bottom: $spacing-unit / 2;
48
+ }
49
+
50
+ hr {
51
+ margin-top: $spacing-unit;
52
+ margin-bottom: $spacing-unit;
53
+ border-color: $border-color;
54
+ }
55
+
56
+ body {
57
+ font: $text-font-weight #{$font-size}/#{$line-height} $text-font-family;
58
+ color: $text-color;
59
+ background-color: $primary_color;
60
+ -webkit-text-size-adjust: 100%;
61
+ -webkit-font-feature-settings: "kern"1;
62
+ -moz-font-feature-settings: "kern"1;
63
+ -o-font-feature-settings: "kern"1;
64
+ font-feature-settings: "kern"1;
65
+ font-kerning: normal;
66
+ display: flex;
67
+ min-height: 100vh;
68
+ flex-direction: column;
69
+ overflow-wrap: break-word;
70
+
71
+ &::-webkit-scrollbar {
72
+ width: 7px;
73
+ height: 4px;
74
+ }
75
+
76
+ &::-webkit-scrollbar-track {
77
+ background-color: $primary_color;
78
+ }
79
+
80
+ &::-webkit-scrollbar-thumb {
81
+ background: $scroll_bar_bg_color;
82
+ border-radius: 4px;
83
+ }
84
+ }
85
+
86
+ //
87
+ // `main` element
88
+ //
89
+ main {
90
+ display: block;
91
+ /* Default value of `display` of `main` element is 'inline' in IE 11. */
92
+ animation-name: text_trans;
93
+ animation-duration: $animation-main;
94
+ -webkit-animation-timing-function: ease-in;
95
+ animation-timing-function: ease-in;
96
+
97
+ @keyframes text_trans {
98
+ 0% {
99
+ opacity: 0%;
100
+ }
101
+
102
+ 20% {
103
+ opacity: 20%;
104
+ }
105
+
106
+ 50% {
107
+ opacity: 50%;
108
+ }
109
+
110
+ 70% {
111
+ opacity: 70%;
112
+ }
113
+
114
+ 90% {
115
+ opacity: 90%;
116
+ }
117
+
118
+ 100% {
119
+ opacity: 100%;
120
+ }
121
+ }
122
+ }
123
+
124
+ //
125
+ // Headings
126
+ //
127
+
128
+ h2,
129
+ h3,
130
+ h4,
131
+ h5,
132
+ h6 {
133
+ font-weight: $h2-h6_fnt-wght;
134
+ font-family: $text-font-family;
135
+ }
136
+
137
+ h1 {
138
+ font-weight: $h1_fnt-wght;
139
+ font-family: $text-font-family;
140
+ font-size: $h1_fnt-sze;
141
+ }
142
+
143
+ //
144
+ // Lists
145
+ //
146
+ ul,
147
+ ol {
148
+ margin-left: $spacing-unit;
149
+ }
150
+
151
+ //
152
+ // Links
153
+ //
154
+ a {
155
+ text-decoration: none;
156
+ transition: $transition-links;
157
+
158
+ &:visited {
159
+ color: $link-visited-color;
160
+ }
161
+
162
+ &:hover {
163
+ color: $link-hover-color;
164
+ text-decoration: none;
165
+ }
166
+ }
167
+
168
+
169
+ li {
170
+
171
+ >ul,
172
+ >ol {
173
+ margin-bottom: 0;
174
+ }
175
+ }
176
+
177
+ //
178
+ // BOLD
179
+ //
180
+ strong {
181
+ color: $Bold-color;
182
+ }
183
+
184
+ //
185
+ // Figures
186
+ //
187
+ figure>img {
188
+ display: block;
189
+ }
190
+
191
+ figcaption {
192
+ font-size: $small-font-size;
193
+ }
194
+
195
+ //
196
+ // Blockquotes
197
+ //
198
+ blockquote {
199
+ color: $blockquote-text-color;
200
+ border-left: 4px solid $code-background-color;
201
+ padding-left: $spacing-unit / 2;
202
+ @include relative-font-size(1.125);
203
+ font-style: italic;
204
+
205
+ > :last-child {
206
+ margin-bottom: 0;
207
+ }
208
+
209
+ i,
210
+ em {
211
+ font-style: normal;
212
+ }
213
+ }
214
+
215
+ //
216
+ // Code format
217
+ //
218
+ pre,
219
+ code {
220
+ font-family: $code-font-family;
221
+ font-size: 0.9375em;
222
+ border: 1px solid $code-background-color;
223
+ border-radius: 4px;
224
+ font-weight: 500;
225
+ background-color: $code-background-color;
226
+ color: $code-text-color;
227
+
228
+ &::-webkit-scrollbar {
229
+ width: 7px;
230
+ height: 9px;
231
+ }
232
+
233
+ &::-webkit-scrollbar-track {
234
+ background-color: $code-background-color;
235
+ }
236
+
237
+ &::-webkit-scrollbar-thumb {
238
+ background: $scroll_bar_bg_color;
239
+ border-radius: 4px;
240
+ }
241
+ }
242
+
243
+ code {
244
+ padding: 1px 5px;
245
+ }
246
+
247
+ pre {
248
+ overflow-x: auto;
249
+
250
+ >code {
251
+ border: 0;
252
+ padding-right: 0;
253
+ padding-left: 0;
254
+ }
255
+ }
256
+
257
+ .rouge-table {
258
+ width: 0%;
259
+ .rouge-gutter {
260
+ padding: 0px;
261
+ border: 0px;
262
+ }
263
+
264
+ td.rouge-code {
265
+ padding-left: 1rem;
266
+ border: 0px;
267
+ }
268
+
269
+ border: 0px;
270
+ margin-bottom: 0px;
271
+ }
272
+
273
+ .highlight {
274
+ border-radius: 5px;
275
+ background: $code-background-color;
276
+ border: 0px;
277
+ @extend %vertical-rhythm;
278
+
279
+ pre {
280
+ margin-bottom: 0;
281
+ font-size: $code-font-family;
282
+ line-height: 1.4rem;
283
+ word-wrap: normal;
284
+ /* Fixed Safari overflow-x */
285
+ }
286
+
287
+ .lineno {
288
+ padding-top: 0px;
289
+ padding-bottom: 0px;
290
+ padding-left: 0px;
291
+ padding-right: 0px;
292
+ width: 1%;
293
+
294
+ min-width: 20px;
295
+ text-align: right;
296
+ color: $footer-head-link-color;
297
+ -webkit-user-select: none;
298
+ -khtml-user-select: none;
299
+ -moz-user-select: none;
300
+ -ms-user-select: none;
301
+ -o-user-select: none;
302
+ user-select: none;
303
+ }
304
+
305
+ /* set the dollar sign to non-selectable */
306
+ .gp {
307
+ user-select: none;
308
+ }
309
+
310
+ .highlighter-rouge & {
311
+ background: $code-background-color;
312
+ }
313
+
314
+ }
315
+
316
+ // Removes the line numbers default snippets
317
+ div {
318
+
319
+ &[class^='highlighter-rouge'],
320
+ &.language-plaintext.highlighter-rouge,
321
+ &.language-console.highlighter-rouge,
322
+ &.language-terminal.highlighter-rouge,
323
+ &.nolineno {
324
+ pre.lineno {
325
+ display: none;
326
+ }
327
+
328
+ td.rouge-code {
329
+ padding: 8px 12px;
330
+ }
331
+
332
+ pre.highlight {
333
+ padding: 0px;
334
+ padding-bottom: 0px;
335
+ }
336
+ }
337
+ }
338
+
339
+
340
+ //
341
+ // Wrappers
342
+ //
343
+ .wrapper {
344
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
345
+ margin-right: auto;
346
+ margin-left: auto;
347
+ padding-right: $spacing-unit / 2;
348
+ padding-left: $spacing-unit / 2;
349
+
350
+ @media screen and (min-width: $pc-width) {
351
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
352
+ padding-right: $spacing-unit;
353
+ padding-left: $spacing-unit;
354
+ }
355
+ }
356
+
357
+ .wrapper_header {
358
+ padding-left: 20px;
359
+ padding-right: auto;
360
+
361
+ @media screen and (min-width: $mobile-width) {
362
+ padding-right: 30px;
363
+ padding-left: 30px;
364
+ }
365
+
366
+ @media screen and (min-width: $pc-width) {
367
+ padding-right: 70px;
368
+ padding-left: 70px;
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
+ //
403
+ // Tables
404
+ //
405
+ table {
406
+ margin-bottom: $spacing-unit;
407
+ width: 100%;
408
+ text-align: $table-text-align;
409
+ color: $table-text-color;
410
+ border-collapse: collapse;
411
+
412
+ &::-webkit-scrollbar {
413
+ width: 7px;
414
+ height: 9px;
415
+ }
416
+
417
+ &::-webkit-scrollbar-track {
418
+ background-color: $primary_color;
419
+ }
420
+
421
+ &::-webkit-scrollbar-thumb {
422
+ background: $scroll_bar_bg_color;
423
+ border-radius: 4px;
424
+ }
425
+
426
+ tr {
427
+ &:nth-child(even) {
428
+ background-color: $table-zebra-color;
429
+ }
430
+ }
431
+
432
+ th,
433
+ td {
434
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
435
+ border: 1px solid $border-color;
436
+ }
437
+
438
+ th {
439
+ background-color: $table-header-bg-color;
440
+ }
441
+ }
442
+
443
+ dl {
444
+ padding: 0;
445
+
446
+ dt {
447
+ padding: 0;
448
+ margin-top: 1rem;
449
+ font-size: $font-size;
450
+ font-weight: 690;
451
+ }
452
+
453
+ dd {
454
+ margin-inline-start: 40px;
455
+ }
456
+ }
457
+
458
+ //
459
+ // Error page
460
+ //
461
+ .container {
462
+ margin: 10px auto;
463
+ max-width: 400px;
464
+ text-align: center;
465
+ background-color: $error-div-bg-color;
466
+ border-radius: 20px;
467
+ align-content: center;
468
+ height: 500px;
469
+ }
470
+
471
+ .container svg {
472
+ height: 220px;
473
+ width: 220px;
474
+ margin-left: 3px;
475
+ margin-right: 5px;
476
+ margin-top: 50px;
477
+ fill: $error-btn-svg-color
478
+ }
479
+
480
+ .container h1 {
481
+ font-weight: bolder;
482
+ }
483
+
484
+ .container p {
485
+ margin-bottom: 3px;
486
+ }
487
+
488
+ .btn-error {
489
+ padding: 8px 25px;
490
+ border-radius: 5px;
491
+ cursor: pointer;
492
+ color: $text-color;
493
+ background-color: $error-btn-bg-color;
494
+ border-color: $btn-bg-color;
495
+ transition: $transition-btn;
496
+ border-top: 10px;
497
+
498
+ &,
499
+ &:visited {
500
+ color: $text-color;
501
+ }
502
+
503
+ &:hover {
504
+ color: $btn-text-hover-color;
505
+ text-decoration: none;
506
+ background-color: $error-btn-hover-color;
507
+ border-color: $error-btn-hover-color;
508
+ }
509
+ }
510
+
511
+ //
512
+ // Prompts
513
+ //
514
+
515
+ @mixin prompt {
516
+ border-radius: 5px;
517
+ border-left: 0;
518
+ padding: 0.80rem 1.2rem;
519
+ font-style: normal;
520
+ color: $text-color;
521
+ font-weight: 400;
522
+ display: flex;
523
+ font-size: $small-font-size;
524
+ text-align: center;
525
+ }
526
+
527
+ .prompt-tip {
528
+ background-color: $prompt-tip-bg-color;
529
+ @include prompt();
530
+
531
+ &::before {
532
+ display: block; //tip color//
533
+ content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' fill='rgb(57, 80, 33)' viewBox='0 0 30 30'>
534
+ <path d='M7,20h4c0,1.1-0.9,2-2,2S7,21.1,7,20z M5,19h8v-2H5V19z M16.5,9.5c0,3.82-2.66,5.86-3.77,6.5H5.27 C4.16,15.36,1.5,13.32,1.5,9.5C1.5,5.36,4.86,2,9,2S16.5,5.36,16.5,9.5z M14.5,9.5C14.5,6.47,12.03,4,9,4S3.5,6.47,3.5,9.5 c0,2.47,1.49,3.89,2.35,4.5h6.3C13.01,13.39,14.5,11.97,14.5,9.5z M21.37,7.37L20,8l1.37,0.63L22,10l0.63-1.37L24,8l-1.37-0.63L22,6 L21.37,7.37z M19,6l0.94-2.06L22,3l-2.06-0.94L19,0l-0.94,2.06L16,3l2.06,0.94L19,6z'/> </svg>");
535
+
536
+ }
537
+ }
538
+
539
+ .prompt-info {
540
+ background-color: $prompt-info-bg-color;
541
+ @include prompt();
542
+
543
+ &::before {
544
+ display: block; //tip color//
545
+ content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' fill='rgb(18, 68, 125)' viewBox='0 0 30 30'>
546
+ <path d='M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z'/> </svg>");
547
+
548
+ }
549
+ }
550
+
551
+ .prompt-warning {
552
+ background-color: $prompt-warning-bg-color;
553
+ @include prompt();
554
+
555
+ &::before {
556
+ display: block; //tip color//
557
+ content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' fill='rgb(117, 78, 18)' viewBox='0 0 30 30'>
558
+ <path d='M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12 14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z'/> </svg>");
559
+
560
+ }
561
+ }
562
+
563
+ .prompt-danger {
564
+ background-color: $prompt-danger-bg-color;
565
+ @include prompt();
566
+
567
+ &::before {
568
+ display: block; //tip color//
569
+ content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' fill='rgb(103, 14, 14)' viewBox='0 0 30 30'>
570
+ <path d='M14.9,3H9.1C8.57,3,8.06,3.21,7.68,3.59l-4.1,4.1C3.21,8.06,3,8.57,3,9.1v5.8c0,0.53,0.21,1.04,0.59,1.41l4.1,4.1 C8.06,20.79,8.57,21,9.1,21h5.8c0.53,0,1.04-0.21,1.41-0.59l4.1-4.1C20.79,15.94,21,15.43,21,14.9V9.1c0-0.53-0.21-1.04-0.59-1.41 l-4.1-4.1C15.94,3.21,15.43,3,14.9,3z M15.54,15.54L15.54,15.54c-0.39,0.39-1.02,0.39-1.41,0L12,13.41l-2.12,2.12 c-0.39,0.39-1.02,0.39-1.41,0l0,0c-0.39-0.39-0.39-1.02,0-1.41L10.59,12L8.46,9.88c-0.39-0.39-0.39-1.02,0-1.41l0,0 c0.39-0.39,1.02-0.39,1.41,0L12,10.59l2.12-2.12c0.39-0.39,1.02-0.39,1.41,0l0,0c0.39,0.39,0.39,1.02,0,1.41L13.41,12l2.12,2.12 C15.93,14.51,15.93,15.15,15.54,15.54z'/> </svg>");
571
+
572
+ }
573
+ }