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,676 @@
1
+ //
2
+ // Site header
3
+ //
4
+ .site-header {
5
+ background-color: $site-header-bg;
6
+ border-top: 5px solid $site-header-bg;
7
+ border-bottom: 5px solid $site-header-bg;
8
+ min-height: $spacing-unit * 1.865;
9
+ line-height: $line-height * $font-size * 2.25;
10
+
11
+ // Positioning context for the mobile navigation icon
12
+ position: relative;
13
+ }
14
+
15
+ //
16
+ // Site title
17
+ //
18
+ .site-title {
19
+ @include relative-font-size(1.625);
20
+ font-weight: 690;
21
+ letter-spacing: -1px;
22
+ margin-bottom: 0;
23
+ float: left;
24
+ font-family: $text-font-family;
25
+
26
+ @include media-query($mobile-width) {
27
+ padding-right: 45px;
28
+ }
29
+
30
+ &,
31
+ &:visited {
32
+ color: $text-color;
33
+ }
34
+
35
+ &:hover {
36
+ color: $header-link-color;
37
+ }
38
+
39
+ animation-name: des_app;
40
+ animation-duration: $animation-main;
41
+ -webkit-animation-timing-function: linear;
42
+ animation-timing-function: linear;
43
+ }
44
+
45
+
46
+ .site-header-home {
47
+ background-color: $home-header-title-color;
48
+ border-top: 5px solid $home-header-title-color;
49
+ border-bottom: 5px solid $home-header-title-color;
50
+ min-height: $spacing-unit * 1.865;
51
+ line-height: $line-height * $font-size * 2.25;
52
+
53
+ // Positioning context for the mobile navigation icon
54
+ position: relative;
55
+ }
56
+
57
+ //
58
+ // Header Banner
59
+ //
60
+ .header-pic {
61
+ border-top: 25px solid $home-header-title-color;
62
+ position: relative;
63
+ animation-name: pic_app;
64
+ animation-duration: $animation-site-pic;
65
+ -webkit-animation-timing-function: linear;
66
+ animation-timing-function: linear;
67
+ width: $site-banner-picture-sze_wdth;
68
+ height: $site-banner-picture-sze_hght;
69
+
70
+ @keyframes pic_app {
71
+ 0% {
72
+ opacity: 0%;
73
+ }
74
+
75
+ 20% {
76
+ opacity: 20%;
77
+ }
78
+
79
+ 50% {
80
+ opacity: 50%;
81
+ }
82
+
83
+ 70% {
84
+ opacity: 70%;
85
+ }
86
+
87
+ 90% {
88
+ opacity: 90%;
89
+ }
90
+
91
+ 100% {
92
+ opacity: 100%;
93
+ }
94
+ }
95
+ }
96
+
97
+ .page-header {
98
+ border-top: 10px solid $home-header-title-color;
99
+ color: $text-color;
100
+ background-color: $home-header-title-color;
101
+ border-bottom: 40px solid $home-header-title-color;
102
+ text-align: center;
103
+
104
+ @media screen and (min-width: $mobile-width) {
105
+ border-bottom: 80px solid $home-header-title-color;
106
+ }
107
+ }
108
+
109
+ .page-header-title {
110
+ border-top: 8px;
111
+ margin-bottom: 0%;
112
+ font-size: $site-banner-title-fnt-sze;
113
+ color: $header-bg-color;
114
+ text-align: center;
115
+ font-weight: bold;
116
+ font-family: $text-font-family;
117
+ padding-bottom: 7px;
118
+ }
119
+
120
+ .page-header-description {
121
+ margin-bottom: 0%;
122
+ padding-bottom: 10px;
123
+ font-size: $site-banner-description-fnt-sze;
124
+ color: $header-bg-color;
125
+ text-align: center;
126
+ font-weight: lighter;
127
+ font-family: $text-font-family;
128
+ animation-name: des_app;
129
+ animation-duration: $animation-main;
130
+ -webkit-animation-timing-function: linear;
131
+ animation-timing-function: linear;
132
+ }
133
+
134
+ @keyframes des_app {
135
+ 0% {
136
+ opacity: 0%;
137
+ }
138
+
139
+ 20% {
140
+ opacity: 20%;
141
+ }
142
+
143
+ 50% {
144
+ opacity: 50%;
145
+ }
146
+
147
+ 70% {
148
+ opacity: 70%;
149
+ }
150
+
151
+ 90% {
152
+ opacity: 90%;
153
+ }
154
+
155
+ 100% {
156
+ opacity: 100%;
157
+ }
158
+ }
159
+
160
+ //
161
+ // Site Nav
162
+ //
163
+ .site-nav {
164
+ position: absolute;
165
+ top: 9px;
166
+ right: $spacing-unit / 2;
167
+ background-color: $menu-bdr-color;
168
+ border-radius: 10px;
169
+ text-align: right;
170
+
171
+ .nav-trigger {
172
+ display: none;
173
+ float: right;
174
+ padding-right: 100px;
175
+ padding-left: 1px;
176
+ }
177
+
178
+ .menu-icon {
179
+ float: right;
180
+ width: 36px;
181
+ height: 26px;
182
+ line-height: 0;
183
+ padding-top: 10px;
184
+ text-align: center;
185
+
186
+ >svg path {
187
+ fill: $menu-color;
188
+ }
189
+ }
190
+
191
+ label[for="nav-trigger"] {
192
+ display: block;
193
+ float: right;
194
+ width: 36px;
195
+ height: 36px;
196
+ z-index: 2;
197
+ cursor: pointer;
198
+ }
199
+
200
+ input~.trigger {
201
+ clear: both;
202
+ display: none;
203
+ }
204
+
205
+ input:checked~.trigger {
206
+ display: block;
207
+ padding-bottom: 5px;
208
+ }
209
+
210
+ .page-link {
211
+ font-weight: 600;
212
+ color: $text-color;
213
+ line-height: $line-height;
214
+ letter-spacing: 0rem;
215
+ display: block;
216
+ padding: 5px 10px;
217
+ transition: all 0.4s ease;
218
+
219
+ font-family: $text-font-family;
220
+
221
+ // Gaps between nav items, but not on the last one
222
+ &:not(:last-child) {
223
+ margin-right: 0;
224
+ }
225
+
226
+ margin-left: 20px;
227
+
228
+ &:hover {
229
+ color: $header-link-color;
230
+ }
231
+ }
232
+
233
+ @media screen and (min-width: $mobile-width) {
234
+ position: static;
235
+ float: right;
236
+ border: none;
237
+ background-color: inherit;
238
+
239
+ label[for="nav-trigger"] {
240
+ display: none;
241
+ }
242
+
243
+ .menu-icon {
244
+ display: none;
245
+ }
246
+
247
+ input~.trigger {
248
+ display: block;
249
+ }
250
+
251
+ .page-link {
252
+ display: inline;
253
+ padding: 0;
254
+
255
+ &:not(:last-child) {
256
+ margin-right: 20px;
257
+ }
258
+
259
+ margin-left: auto;
260
+ }
261
+ }
262
+ }
263
+
264
+ //
265
+ // Site footer
266
+ //
267
+ .site-footer {
268
+ background-color: $footer-bg-color;
269
+ padding: $spacing-unit 0;
270
+ }
271
+
272
+ .Links_footer {
273
+ list-style: none;
274
+ color: $footer-links-color;
275
+ width: calc(100% - (#{$spacing-unit} / 2));
276
+ transition: $transition-links;
277
+
278
+ &:first-child {
279
+ font-weight: bolder;
280
+ padding-right: $spacing-unit / 2;
281
+ padding-left: 0;
282
+ padding-bottom: 4px;
283
+ font-size: larger;
284
+ color: $footer-head-link-color;
285
+ }
286
+
287
+ &:first-child:hover {
288
+ color: $footer-head-link-color;
289
+ }
290
+
291
+ &:hover {
292
+ color: $footer-links-hover-color;
293
+ text-decoration: none;
294
+ }
295
+
296
+ >a {
297
+
298
+ &:visited {
299
+ color: $footer-links-color;
300
+ }
301
+
302
+ &:hover {
303
+ color: $footer-links-hover-color;
304
+ }
305
+ }
306
+ }
307
+
308
+ .Product_footer {
309
+ list-style: none;
310
+ color: $text-color;
311
+ width: calc(100% - (#{$spacing-unit} / 2));
312
+ padding: 0 ($spacing-unit / 2);
313
+
314
+ &:first-child {
315
+ padding-right: $spacing-unit / 2;
316
+ padding-left: 0;
317
+ padding-bottom: 1px;
318
+ font-size: 0.6cm;
319
+ color: $text-color;
320
+ font-weight: 900;
321
+ }
322
+
323
+ &:last-child:hover {
324
+ color: $text-color;
325
+ }
326
+
327
+ &:last-child {
328
+ padding-right: 0;
329
+ }
330
+
331
+ &:hover {
332
+ color: $text-color;
333
+ text-decoration: none;
334
+ }
335
+ }
336
+
337
+ @media screen and (min-width: $mobile-width) {
338
+ .footer-col-wrapper {
339
+ display: flex;
340
+ }
341
+
342
+ .footer-col {
343
+ margin-bottom: $spacing-unit / 2;
344
+ width: calc(28% - (#{$spacing-unit} / 2));
345
+ padding: 0 ($spacing-unit / 2);
346
+
347
+ &:first-child {
348
+ padding-right: $spacing-unit / 2;
349
+ padding-left: 0;
350
+ }
351
+
352
+ &:last-child {
353
+ padding-right: 0;
354
+ padding-left: $spacing-unit / 2;
355
+ }
356
+ }
357
+
358
+ .footer-middle {
359
+ margin-bottom: $spacing-unit / 2;
360
+ width: calc(35% - (#{$spacing-unit} / 2));
361
+ padding: 0 ($spacing-unit / 2);
362
+
363
+ &:first-child {
364
+ padding-right: $spacing-unit / 2;
365
+ padding-left: 0;
366
+ }
367
+
368
+ &:last-child {
369
+ padding-right: 0;
370
+ padding-left: $spacing-unit / 2;
371
+ }
372
+ }
373
+
374
+ .footer-last {
375
+ margin-bottom: $spacing-unit / 2;
376
+ width: calc(35% - (#{$spacing-unit} / 2));
377
+ padding: 0 ($spacing-unit / 2);
378
+
379
+ &:first-child {
380
+ padding-right: $spacing-unit / 2;
381
+ padding-left: 0;
382
+ }
383
+
384
+ &:last-child {
385
+ padding-right: 0;
386
+ padding-left: $spacing-unit / 2;
387
+ }
388
+ }
389
+ }
390
+
391
+
392
+
393
+ //
394
+ // page content
395
+ //
396
+ .page-content {
397
+ padding: $spacing-unit 0;
398
+ flex: 1 0 auto;
399
+ }
400
+
401
+ .page-heading {
402
+ @include relative-font-size(2);
403
+ }
404
+
405
+ .post-list-heading {
406
+ @include relative-font-size(1.75);
407
+ }
408
+
409
+ //
410
+ // Posts
411
+ //
412
+
413
+ .post-list {
414
+ padding: 9px;
415
+ margin-left: 0;
416
+ list-style: none;
417
+
418
+ >li {
419
+ border-bottom: 3px solid $border-color;
420
+ padding-bottom: 5px;
421
+ >p {
422
+ // Make the description shorter
423
+ margin: 0;
424
+ overflow: hidden;
425
+ text-overflow: ellipsis;
426
+ display: -webkit-box;
427
+ -webkit-line-clamp: 3; // line height
428
+ -webkit-box-orient: vertical;
429
+ }
430
+
431
+ >h1,
432
+ h2,
433
+ h3,
434
+ h4,
435
+ h5,
436
+ h6 {
437
+ font-size: $font-size;
438
+ }
439
+ }
440
+
441
+ }
442
+
443
+ .post-meta {
444
+ font-size: $small-font-size;
445
+ color: $text-color;
446
+ word-spacing: 1px;
447
+ }
448
+
449
+ .text-muted {
450
+ color: $footer-head-link-color;
451
+ }
452
+
453
+ .text-unmuted {
454
+ color: $text-color;
455
+ }
456
+
457
+ .post-link {
458
+ padding-top: 5px;
459
+ display: block;
460
+ @include relative-font-size(2);
461
+ }
462
+
463
+ .post-header {
464
+ margin-bottom: $spacing-unit;
465
+ }
466
+
467
+ .post-title {
468
+ @include relative-font-size(2.925);
469
+ line-height: 1.15;
470
+ margin-bottom: 5px;
471
+
472
+ @media screen and (min-width: $pc-width) {
473
+ @include relative-font-size(3);
474
+ }
475
+ }
476
+
477
+ .post-content {
478
+ margin-bottom: $spacing-unit;
479
+
480
+ h4,
481
+ h5,
482
+ h6 {
483
+ margin-top: $spacing-unit;
484
+ }
485
+
486
+ h2 {
487
+ @include relative-font-size(1.75);
488
+
489
+ @media screen and (min-width: $pc-width) {
490
+ @include relative-font-size(2);
491
+ }
492
+ }
493
+
494
+ h3 {
495
+ @include relative-font-size(1.375);
496
+
497
+ @media screen and (min-width: $pc-width) {
498
+ @include relative-font-size(1.625);
499
+ }
500
+ }
501
+
502
+ h4 {
503
+ @include relative-font-size(1.25);
504
+ }
505
+
506
+ h5 {
507
+ @include relative-font-size(1.125);
508
+ }
509
+
510
+ h6 {
511
+ @include relative-font-size(1.0625);
512
+ }
513
+ }
514
+
515
+ //
516
+ // Post Nav
517
+ //
518
+
519
+ .post-nav {
520
+ padding-top: 5px;
521
+ display: inline;
522
+ list-style: none;
523
+ display: flex;
524
+ justify-content: space-evenly;
525
+ gap: 100px;
526
+ -ms-flex-align: center;
527
+ align-items: center;
528
+ margin: 0px;
529
+ }
530
+
531
+ .post-nav-svg {
532
+ fill: $footer-links-color;
533
+ width: 33px;
534
+ height: 33px;
535
+ text-align: center;
536
+ border-radius: 100%;
537
+ padding: 5px 3px 2px 5px;
538
+ transition: $tansitions-page-bar;
539
+
540
+ &:hover {
541
+ background-color: rgba(255, 255, 255, .10);
542
+ }
543
+ }
544
+
545
+ .disable-svg {
546
+ cursor: not-allowed;
547
+ fill: $footer-links-hover-color;
548
+ }
549
+
550
+ .post-nav-num {
551
+ user-select: none;
552
+ -moz-user-select: none;
553
+ -khtml-user-select: none;
554
+ -webkit-user-select: none;
555
+ -o-user-select: none;
556
+ cursor: default;
557
+ display: inline;
558
+ color: $footer-head-link-color;
559
+ }
560
+
561
+ //
562
+ // Post footer
563
+ //
564
+ .post-footer {
565
+ padding-top: 9px;
566
+ border-top: 3px solid $border-color;
567
+ margin: 0px;
568
+
569
+ >a {
570
+ >svg {
571
+ fill: $footer-links-color;
572
+ width: 33px;
573
+ height: 33px;
574
+ text-align: center;
575
+ border-radius: 100%;
576
+ padding: 5px 3px 2px 5px;
577
+ transition: $tansitions-page-bar;
578
+
579
+ &:hover {
580
+ background-color: rgba(255, 255, 255, .10);
581
+ }
582
+ }
583
+ }
584
+ }
585
+
586
+
587
+
588
+ //
589
+ // Grid Helpers
590
+ //
591
+ @media screen and (min-width: $pc-width) {
592
+ .one-half {
593
+ width: calc(50% - (#{$spacing-unit} / 2));
594
+ }
595
+ }
596
+
597
+ .btn {
598
+ padding: 8px 25px;
599
+ border: none;
600
+ border-radius: 5px;
601
+ cursor: pointer;
602
+ color: $text-color;
603
+ background-color: $btn-bg-color;
604
+ border-color: $btn-bg-color;
605
+ transition: $transition-btn;
606
+
607
+ &,
608
+ &:visited {
609
+ color: $text-color;
610
+ }
611
+
612
+ &:hover {
613
+ color: $btn-text-hover-color;
614
+ text-decoration: none;
615
+ background-color: $btn-color-hover;
616
+ border-color: $btn-color-hover;
617
+ }
618
+ }
619
+
620
+ //
621
+ // Back to top(BTT)
622
+ //
623
+ #back-to-top {
624
+ display: none;
625
+ position: fixed;
626
+ bottom: 20px;
627
+ right: 20px;
628
+ width: 50px;
629
+ height: 50px;
630
+ background-color: $BTT-bg-color;
631
+ fill: $BTT-svg-color;
632
+ border: 2px solid $BTT-bg-color;
633
+ cursor: pointer;
634
+ text-align: center;
635
+ border-radius: 50%;
636
+
637
+ svg {
638
+ padding-top: 3px;
639
+ }
640
+
641
+ }
642
+
643
+ .BTT-Entrance {
644
+ animation-duration: 0.5s;
645
+ animation-fill-mode: both;
646
+ animation-name: BTT-Entrance;
647
+ }
648
+
649
+ @keyframes BTT-Entrance {
650
+ from {
651
+ opacity: 0;
652
+ transform: translate3d(0, 100%, 0);
653
+ }
654
+
655
+ to {
656
+ opacity: 1;
657
+ transform: translate3d(0, 0, 0);
658
+ }
659
+ }
660
+
661
+ .BTT-Exit {
662
+ animation-duration: 0.25s;
663
+ animation-fill-mode: both;
664
+ animation-name: BTT-Exit;
665
+ }
666
+
667
+ @keyframes BTT-Exit {
668
+ from {
669
+ opacity: 1;
670
+ }
671
+
672
+ to {
673
+ opacity: 0;
674
+ transform: translate3d(0, 100%, 0);
675
+ }
676
+ }