jekyll-theme-fica 0.1.4 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) 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 +81 -43
  6. data/_includes/BTT.html +9 -0
  7. data/_includes/Custom-Head.html +2 -2
  8. data/_includes/Google-Analytics.html +11 -10
  9. data/_includes/Head.html +5 -4
  10. data/_includes/Header.html +14 -19
  11. data/_layouts/default.html +12 -11
  12. data/_layouts/home.html +46 -17
  13. data/_layouts/page.html +1 -0
  14. data/_layouts/post.html +51 -34
  15. data/_layouts/post_home.html +72 -47
  16. data/_posts/2022-03-31-To-Know-if-the-nav-works.md +8 -0
  17. data/_posts/2022-04-1-Demo.md +114 -0
  18. data/_posts/2022-04-5-Getting-Started.md +103 -0
  19. data/_posts/2022-04-6-Creating-a-new-post.md +124 -0
  20. data/_sass/custom/styles.scss +1 -0
  21. data/_sass/custom/variables.scss +1 -0
  22. data/_sass/jekyll-theme-fica.scss +7 -0
  23. data/_sass/layouts/base.scss +587 -0
  24. data/_sass/layouts/layout.scss +677 -0
  25. data/_sass/layouts/variables.scss +89 -0
  26. data/_sass/themes/dark theme/highlight.scss +363 -0
  27. data/_sass/themes/dark theme/theme-dark.scss +135 -0
  28. data/_sass/themes/light theme/highlight.scss +199 -0
  29. data/_sass/themes/light theme/theme-light.scss +132 -0
  30. data/assets/404.svg +22 -0
  31. data/assets/css/Style.scss +42 -0
  32. data/assets/css/fica-icons.svg +68 -0
  33. data/assets/fica-icons.svg +64 -54
  34. data/assets/img/fica_ad.png +0 -0
  35. data/bin/build +7 -0
  36. data/bin/server +7 -0
  37. data/docs/contributing.md +69 -0
  38. data/js/back-to-top.js +48 -0
  39. data/post/index.html +4 -0
  40. metadata +41 -9
  41. data/_sass/Base.scss +0 -397
  42. data/_sass/Color_scheme.scss +0 -121
  43. data/_sass/Custom-Styles.scss +0 -2
  44. data/_sass/Custom-Variables.scss +0 -1
  45. data/_sass/Initialize.scss +0 -71
  46. data/_sass/Layout.scss +0 -462
  47. data/assets/css/Styles.scss +0 -16
@@ -0,0 +1,677 @@
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
+ color: $footer-links-color;
298
+
299
+ &:visited {
300
+ color: $footer-links-color;
301
+ }
302
+
303
+ &:hover {
304
+ color: $footer-links-hover-color;
305
+ }
306
+ }
307
+ }
308
+
309
+ .Product_footer {
310
+ list-style: none;
311
+ color: $text-color;
312
+ width: calc(100% - (#{$spacing-unit} / 2));
313
+ padding: 0 ($spacing-unit / 2);
314
+
315
+ &:first-child {
316
+ padding-right: $spacing-unit / 2;
317
+ padding-left: 0;
318
+ padding-bottom: 1px;
319
+ font-size: 0.6cm;
320
+ color: $text-color;
321
+ font-weight: 900;
322
+ }
323
+
324
+ &:last-child:hover {
325
+ color: $text-color;
326
+ }
327
+
328
+ &:last-child {
329
+ padding-right: 0;
330
+ }
331
+
332
+ &:hover {
333
+ color: $text-color;
334
+ text-decoration: none;
335
+ }
336
+ }
337
+
338
+ @media screen and (min-width: $mobile-width) {
339
+ .footer-col-wrapper {
340
+ display: flex;
341
+ }
342
+
343
+ .footer-col {
344
+ margin-bottom: $spacing-unit / 2;
345
+ width: calc(28% - (#{$spacing-unit} / 2));
346
+ padding: 0 ($spacing-unit / 2);
347
+
348
+ &:first-child {
349
+ padding-right: $spacing-unit / 2;
350
+ padding-left: 0;
351
+ }
352
+
353
+ &:last-child {
354
+ padding-right: 0;
355
+ padding-left: $spacing-unit / 2;
356
+ }
357
+ }
358
+
359
+ .footer-middle {
360
+ margin-bottom: $spacing-unit / 2;
361
+ width: calc(35% - (#{$spacing-unit} / 2));
362
+ padding: 0 ($spacing-unit / 2);
363
+
364
+ &:first-child {
365
+ padding-right: $spacing-unit / 2;
366
+ padding-left: 0;
367
+ }
368
+
369
+ &:last-child {
370
+ padding-right: 0;
371
+ padding-left: $spacing-unit / 2;
372
+ }
373
+ }
374
+
375
+ .footer-last {
376
+ margin-bottom: $spacing-unit / 2;
377
+ width: calc(35% - (#{$spacing-unit} / 2));
378
+ padding: 0 ($spacing-unit / 2);
379
+
380
+ &:first-child {
381
+ padding-right: $spacing-unit / 2;
382
+ padding-left: 0;
383
+ }
384
+
385
+ &:last-child {
386
+ padding-right: 0;
387
+ padding-left: $spacing-unit / 2;
388
+ }
389
+ }
390
+ }
391
+
392
+
393
+
394
+ //
395
+ // page content
396
+ //
397
+ .page-content {
398
+ padding: $spacing-unit 0;
399
+ flex: 1 0 auto;
400
+ }
401
+
402
+ .page-heading {
403
+ @include relative-font-size(2);
404
+ }
405
+
406
+ .post-list-heading {
407
+ @include relative-font-size(1.75);
408
+ }
409
+
410
+ //
411
+ // Posts
412
+ //
413
+
414
+ .post-list {
415
+ padding: 9px;
416
+ margin-left: 0;
417
+ list-style: none;
418
+
419
+ >li {
420
+ border-bottom: 3px solid $border-color;
421
+ padding-bottom: 5px;
422
+ >p {
423
+ // Make the description shorter
424
+ margin: 0;
425
+ overflow: hidden;
426
+ text-overflow: ellipsis;
427
+ display: -webkit-box;
428
+ -webkit-line-clamp: 3; // line height
429
+ -webkit-box-orient: vertical;
430
+ }
431
+
432
+ >h1,
433
+ h2,
434
+ h3,
435
+ h4,
436
+ h5,
437
+ h6 {
438
+ font-size: $font-size;
439
+ }
440
+ }
441
+
442
+ }
443
+
444
+ .post-meta {
445
+ font-size: $small-font-size;
446
+ color: $text-color;
447
+ word-spacing: 1px;
448
+ }
449
+
450
+ .text-muted {
451
+ color: $footer-head-link-color;
452
+ }
453
+
454
+ .text-unmuted {
455
+ color: $text-color;
456
+ }
457
+
458
+ .post-link {
459
+ padding-top: 5px;
460
+ display: block;
461
+ @include relative-font-size(2);
462
+ }
463
+
464
+ .post-header {
465
+ margin-bottom: $spacing-unit;
466
+ }
467
+
468
+ .post-title {
469
+ @include relative-font-size(2.925);
470
+ line-height: 1.15;
471
+ margin-bottom: 5px;
472
+
473
+ @media screen and (min-width: $pc-width) {
474
+ @include relative-font-size(3);
475
+ }
476
+ }
477
+
478
+ .post-content {
479
+ margin-bottom: $spacing-unit;
480
+
481
+ h4,
482
+ h5,
483
+ h6 {
484
+ margin-top: $spacing-unit;
485
+ }
486
+
487
+ h2 {
488
+ @include relative-font-size(1.75);
489
+
490
+ @media screen and (min-width: $pc-width) {
491
+ @include relative-font-size(2);
492
+ }
493
+ }
494
+
495
+ h3 {
496
+ @include relative-font-size(1.375);
497
+
498
+ @media screen and (min-width: $pc-width) {
499
+ @include relative-font-size(1.625);
500
+ }
501
+ }
502
+
503
+ h4 {
504
+ @include relative-font-size(1.25);
505
+ }
506
+
507
+ h5 {
508
+ @include relative-font-size(1.125);
509
+ }
510
+
511
+ h6 {
512
+ @include relative-font-size(1.0625);
513
+ }
514
+ }
515
+
516
+ //
517
+ // Post Nav
518
+ //
519
+
520
+ .post-nav {
521
+ padding-top: 5px;
522
+ display: inline;
523
+ list-style: none;
524
+ display: flex;
525
+ justify-content: space-evenly;
526
+ gap: 100px;
527
+ -ms-flex-align: center;
528
+ align-items: center;
529
+ margin: 0px;
530
+ }
531
+
532
+ .post-nav-svg {
533
+ fill: $footer-links-color;
534
+ width: 33px;
535
+ height: 33px;
536
+ text-align: center;
537
+ border-radius: 100%;
538
+ padding: 5px 3px 2px 5px;
539
+ transition: $tansitions-page-bar;
540
+
541
+ &:hover {
542
+ background-color: rgba(255, 255, 255, .10);
543
+ }
544
+ }
545
+
546
+ .disable-svg {
547
+ cursor: not-allowed;
548
+ fill: $footer-links-hover-color;
549
+ }
550
+
551
+ .post-nav-num {
552
+ user-select: none;
553
+ -moz-user-select: none;
554
+ -khtml-user-select: none;
555
+ -webkit-user-select: none;
556
+ -o-user-select: none;
557
+ cursor: default;
558
+ display: inline;
559
+ color: $footer-head-link-color;
560
+ }
561
+
562
+ //
563
+ // Post footer
564
+ //
565
+ .post-footer {
566
+ padding-top: 9px;
567
+ border-top: 3px solid $border-color;
568
+ margin: 0px;
569
+
570
+ >a {
571
+ >svg {
572
+ fill: $footer-links-color;
573
+ width: 33px;
574
+ height: 33px;
575
+ text-align: center;
576
+ border-radius: 100%;
577
+ padding: 5px 3px 2px 5px;
578
+ transition: $tansitions-page-bar;
579
+
580
+ &:hover {
581
+ background-color: rgba(255, 255, 255, .10);
582
+ }
583
+ }
584
+ }
585
+ }
586
+
587
+
588
+
589
+ //
590
+ // Grid Helpers
591
+ //
592
+ @media screen and (min-width: $pc-width) {
593
+ .one-half {
594
+ width: calc(50% - (#{$spacing-unit} / 2));
595
+ }
596
+ }
597
+
598
+ .btn {
599
+ padding: 8px 25px;
600
+ border: none;
601
+ border-radius: 5px;
602
+ cursor: pointer;
603
+ color: $text-color;
604
+ background-color: $btn-bg-color;
605
+ border-color: $btn-bg-color;
606
+ transition: $transition-btn;
607
+
608
+ &,
609
+ &:visited {
610
+ color: $text-color;
611
+ }
612
+
613
+ &:hover {
614
+ color: $btn-text-hover-color;
615
+ text-decoration: none;
616
+ background-color: $btn-color-hover;
617
+ border-color: $btn-color-hover;
618
+ }
619
+ }
620
+
621
+ //
622
+ // Back to top(BTT)
623
+ //
624
+ #back-to-top {
625
+ display: none;
626
+ position: fixed;
627
+ bottom: 20px;
628
+ right: 20px;
629
+ width: 50px;
630
+ height: 50px;
631
+ background-color: $BTT-bg-color;
632
+ fill: $BTT-svg-color;
633
+ border: 2px solid $BTT-bg-color;
634
+ cursor: pointer;
635
+ text-align: center;
636
+ border-radius: 50%;
637
+
638
+ svg {
639
+ padding-top: 3px;
640
+ }
641
+
642
+ }
643
+
644
+ .BTT-Entrance {
645
+ animation-duration: 0.5s;
646
+ animation-fill-mode: both;
647
+ animation-name: BTT-Entrance;
648
+ }
649
+
650
+ @keyframes BTT-Entrance {
651
+ from {
652
+ opacity: 0;
653
+ transform: translate3d(0, 100%, 0);
654
+ }
655
+
656
+ to {
657
+ opacity: 1;
658
+ transform: translate3d(0, 0, 0);
659
+ }
660
+ }
661
+
662
+ .BTT-Exit {
663
+ animation-duration: 0.25s;
664
+ animation-fill-mode: both;
665
+ animation-name: BTT-Exit;
666
+ }
667
+
668
+ @keyframes BTT-Exit {
669
+ from {
670
+ opacity: 1;
671
+ }
672
+
673
+ to {
674
+ opacity: 0;
675
+ transform: translate3d(0, 100%, 0);
676
+ }
677
+ }