jekyll-theme-fica 0.2.2 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yaml +5 -9
  3. data/404.html +12 -10
  4. data/LICENSE.txt +1 -1
  5. data/License.md +2 -8
  6. data/README.md +56 -53
  7. data/_includes/Footer.html +85 -109
  8. data/_includes/Head.html +15 -2
  9. data/_includes/Header.html +14 -10
  10. data/_includes/assets/BTT.html +1 -1
  11. data/_includes/assets/comments.html +1 -1
  12. data/_layouts/home.html +2 -2
  13. data/_layouts/post.html +5 -7
  14. data/_layouts/post_list.html +103 -0
  15. data/_posts/2022-03-31-To-Know-if-the-nav-works.md +9 -8
  16. data/_posts/{2022-04-1-Demo.md → 2022-04-1-Elements-of-Fica-Theme.md} +111 -113
  17. data/_posts/2022-04-5-Getting-Started.md +8 -9
  18. data/_posts/2022-04-6-Creating-a-new-post.md +144 -136
  19. data/_posts/2023-04-24-Fica-Customization.md +43 -0
  20. data/_sass/base.scss +79 -114
  21. data/_sass/jekyll-theme-fica.scss +1 -1
  22. data/_sass/layouts/Google-fonts.scss +103 -138
  23. data/_sass/layouts/component.scss +49 -30
  24. data/_sass/layouts/layout.scss +206 -161
  25. data/_sass/layouts/typography.scss +492 -0
  26. data/_sass/layouts/variable.scss +22 -8
  27. data/assets/css/Style.scss +1 -9
  28. data/assets/favicons/android-chrome-192x192.png +0 -0
  29. data/assets/favicons/android-chrome-512x512.png +0 -0
  30. data/assets/favicons/apple-touch-icon.png +0 -0
  31. data/assets/favicons/browserconfig.xml +9 -0
  32. data/assets/favicons/favicon-16x16.png +0 -0
  33. data/assets/favicons/favicon-32x32.png +0 -0
  34. data/assets/favicons/favicon.ico +0 -0
  35. data/assets/favicons/mstile-150x150.png +0 -0
  36. data/assets/favicons/safari-pinned-tab.svg +32 -0
  37. data/assets/favicons/site.webmanifest +19 -0
  38. data/assets/img/homepage-pic.png +0 -0
  39. data/js/Main.js +55 -2
  40. data/logo.png +0 -0
  41. data/post/index.html +3 -3
  42. metadata +24 -33
  43. data/.github/workflows/.ci_BASE_2002.yaml.swp +0 -0
  44. data/.github/workflows/.ci_LOCAL_2002.yaml.swp +0 -0
  45. data/.github/workflows/.ci_REMOTE_2002.yaml.swp +0 -0
  46. data/.github/workflows/ci_BACKUP_2002.yaml +0 -34
  47. data/.github/workflows/ci_BASE_2002.yaml +0 -27
  48. data/.github/workflows/ci_LOCAL_2002.yaml +0 -27
  49. data/.github/workflows/ci_REMOTE_2002.yaml +0 -27
  50. data/_layouts/post_home.html +0 -113
@@ -2,66 +2,90 @@
2
2
  // Site Header
3
3
  //
4
4
  .site-nav {
5
+ display: flex;
6
+ align-items: center;
5
7
  background: $site-header-bg;
6
8
  height: 80px;
7
9
  width: 100%;
8
10
  z-index: 100;
9
- .nav-links {
10
- float: right;
11
+ padding-top: 5px;
12
+ padding-bottom: 5px;
13
+ .site-nav-link-container {
11
14
  margin-right: 25px;
12
15
  margin-left: 0;
16
+ a {
17
+ &:first-child {
18
+ color: rgba(0, 0, 0, 0.54);
19
+ background-color: $link-color;
20
+ transition: $transition-links;
21
+ padding: 11px 19px 13px;
22
+ border-radius: 40px;
23
+ @include animation-fade-in(0.3);
24
+
25
+ &:hover {
26
+ background-color: $btn-color-hover;
27
+ }
28
+ }
29
+ }
13
30
  }
31
+
14
32
  a {
15
- line-height: 80px;
16
33
  margin: 0 5px;
17
34
  color: $text-color;
18
35
  font-size: 17px;
19
36
  padding: 7px 13px;
20
37
  border-radius: 3px;
21
- text-transform: uppercase;
22
38
  transition: $transition-links;
23
-
39
+ @include animation-fade-in(0.6);
40
+ @include title-small;
41
+ text-transform: uppercase;
24
42
  &:hover {
25
43
  color: $text-mute-color;
26
44
  }
27
-
28
- // Download btn
29
- &:first-child {
30
- color: rgba(0, 0, 0, 0.54);
31
- background-color: $link-color;
32
- transition: $transition-links;
33
- padding: 11px 19px 13px;
34
- border-radius: 40px;
35
-
36
- &:hover {
37
- background-color: $btn-color-hover;
38
- }
39
- }
40
45
  }
41
46
 
42
- .logo {
47
+ .site-nav-logo {
48
+ display: flex;
43
49
  text-transform: none;
44
50
  color: $text-color;
45
- font-size: 35px;
51
+ font-size: 32px;
46
52
  line-height: 80px;
47
53
  padding: 0 13px;
48
54
  font-weight: bold;
55
+ margin-right: auto;
56
+ @include animation-fade-in(0.1);
49
57
 
50
58
  &:hover {
51
59
  color: $text-mute-color;
52
60
  background-color: transparent;
53
- }
54
61
 
62
+ img {
63
+ opacity: 0.5;
64
+ transition: $transition-links;
65
+ }
66
+ }
67
+ img {
68
+ width: 32px;
69
+ height: 32px;
70
+ transition: all 0.7s ease-in-out;
71
+ }
72
+ p {
73
+ margin-bottom: 0px;
74
+ line-height: 32px;
75
+ }
55
76
  @media screen and (min-width: $pc-width) {
56
77
  padding: 0 30px;
57
78
  }
79
+ @media screen and (max-width: $Site-Nav-Logo-text-autohide) {
80
+ p {
81
+ display: none;
82
+ }
83
+ }
58
84
  }
59
85
  .checkbtn {
60
86
  font-size: 40px;
61
87
  color: $text-color;
62
- float: right;
63
88
  top: 20px;
64
- // line-height: 80px;
65
89
  cursor: pointer;
66
90
  display: none;
67
91
  margin: 1% 20px 1% 0;
@@ -73,14 +97,14 @@
73
97
  background: rgba(232, 234, 237, 0.04);
74
98
  }
75
99
  }
76
- #check {
100
+ #site-nav-check {
77
101
  display: none;
78
102
  }
79
103
  @media (max-width: 885px) {
80
104
  .checkbtn {
81
105
  display: block;
82
106
  }
83
- .nav-links {
107
+ .site-nav-link-container {
84
108
  position: fixed;
85
109
  width: 100%;
86
110
  height: 100vh;
@@ -109,18 +133,25 @@
109
133
  }
110
134
  }
111
135
  }
112
- #check {
136
+ #site-nav-check {
113
137
  &:checked {
114
138
  ~ {
115
- .nav-links {
139
+ .site-nav-link-container {
116
140
  left: 0;
117
141
  }
118
142
  }
119
143
  }
120
144
  }
145
+ a {
146
+ line-height: 80px;
147
+ }
121
148
  }
122
149
  }
123
-
150
+ // .sticky {
151
+ // position: fixed;
152
+ // top: 0;
153
+ // width: 100%;
154
+ // }
124
155
  //
125
156
  // Header Banner
126
157
  //
@@ -136,7 +167,7 @@
136
167
  justify-content: space-around;
137
168
  line-height: 1.5;
138
169
 
139
- .img {
170
+ .site-banner-img-container {
140
171
  padding-top: 61px;
141
172
  width: 100%;
142
173
 
@@ -144,9 +175,11 @@
144
175
  @include animation-fade-in(2.1);
145
176
  box-shadow: 0px 0px 20px 0px #00000052;
146
177
  transition: all 300ms ease 0ms;
178
+ border-radius: 15px;
147
179
 
148
180
  &:hover {
149
181
  box-shadow: 0px 0px 0px 0px #00000052;
182
+ border-radius: 0px;
150
183
  }
151
184
  }
152
185
  }
@@ -160,13 +193,14 @@
160
193
  > a {
161
194
  display: block;
162
195
  margin-top: 30px;
163
- padding: 15px 81px;
196
+ padding: 21px 81px;
164
197
  border: none;
165
- border-radius: 5px;
198
+ border-radius: 15px;
166
199
  cursor: pointer;
167
200
  color: $BTT-svg-color;
168
201
  background-color: $link-color;
169
202
  transition: $transition-btn;
203
+ @include title-medium;
170
204
 
171
205
  @include animation-fade-in(1.65);
172
206
 
@@ -184,26 +218,19 @@
184
218
  }
185
219
 
186
220
  .page-header-title {
221
+ @include display-medium;
187
222
  border-top: 8px;
188
223
  margin-bottom: 0%;
189
- font-size: $site-banner-title-fnt-sze;
190
224
  color: $header-bg-color;
191
225
  text-align: center;
192
- font-weight: bold;
193
- font-family: $font-family;
194
226
  padding-bottom: 7px;
195
- line-height: 1.5;
196
227
  @include animation-fade-in(0.1);
197
228
  }
198
229
 
199
230
  .site-banner-description {
200
231
  border-top: 8px;
201
232
  margin-bottom: 0%;
202
- font-size: $site-banner-description-fnt-sze;
203
- color: $text-color;
204
- text-align: center;
205
- font-weight: bold;
206
- font-family: $font-family;
233
+ @include title-medium;
207
234
  padding-bottom: 7px;
208
235
  @include animation-fade-in(1);
209
236
  }
@@ -224,7 +251,7 @@
224
251
  display: flex;
225
252
  padding: 40px 10px 40px 10px;
226
253
 
227
- .img {
254
+ .site-banner-img-container {
228
255
  width: $site-banner-picture-sze_wdth;
229
256
 
230
257
  > img {
@@ -244,8 +271,6 @@
244
271
  }
245
272
  }
246
273
 
247
-
248
-
249
274
  .text-muted {
250
275
  @include text-muted;
251
276
  }
@@ -254,41 +279,116 @@
254
279
  @include text-unmuted;
255
280
  }
256
281
 
257
- //
282
+ //
258
283
  // Posts
259
- //
260
- .post-header {
261
- margin-bottom: $font-spacing;
262
- }
284
+ //
285
+ .post {
286
+ // Animation
287
+ opacity: 0;
288
+ transform: translateY(3rem);
289
+ animation: 208.898ms linear 0s 1 normal forwards running slide-up;
290
+ animation-delay: 252.00568990042672ms;
291
+ .post-header {
292
+ margin-bottom: $font-spacing;
293
+ }
294
+
295
+ .post-title {
296
+ @include display-large;
297
+ line-height: 1.15;
298
+ margin-bottom: 5px;
299
+ }
300
+ .post-info {
301
+ display: flex;
302
+ justify-content: space-between;
303
+ padding-bottom: 15px;
304
+ cursor: default;
305
+ user-select: none;
306
+ -moz-user-select: none;
307
+ -khtml-user-select: none;
308
+ -webkit-user-select: none;
309
+ -o-user-select: none;
310
+ align-items: baseline;
263
311
 
264
- .post-title {
265
- @include relative-font-size(2.925);
266
- line-height: 1.15;
267
- margin-bottom: 5px;
312
+ .post-info-date {
313
+ color: $text-mute-color;
314
+ font-size: $small-font-size;
315
+ word-spacing: 1px;
316
+
317
+ &::before {
318
+ content: "calendar_today";
319
+ font-family: "Material Icons Round";
320
+ font-size: 12px;
321
+ line-height: 1;
322
+ padding-right: 5px;
323
+ }
324
+ }
325
+
326
+ .post-info-pin {
327
+ background-color: $table-header-bg-color;
328
+ color: $text-mute-color;
329
+ border-radius: 5px;
330
+ padding: 2px 5px 2px 5px;
331
+ cursor: default;
332
+ user-select: none;
333
+ -moz-user-select: none;
334
+ -khtml-user-select: none;
335
+ -webkit-user-select: none;
336
+ -o-user-select: none;
337
+ display: flex;
338
+ align-items: center;
339
+ gap: 4px;
340
+
341
+ > span {
342
+ transform: rotate(45deg);
343
+ font-size: 15px;
344
+ line-height: 1.4rem;
345
+ height: 1.3rem;
346
+ }
347
+
348
+ > p {
349
+ margin-bottom: 0;
350
+ display: none;
351
+ text-transform: capitalize;
352
+ }
268
353
 
269
- @media screen and (min-width: $pc-width) {
270
- @include relative-font-size(3.7);
354
+ @media screen and (min-width: $mobile-width) {
355
+ > p {
356
+ display: inline-block;
357
+ }
358
+ }
359
+ }
271
360
  }
272
361
  }
273
362
  .post-list {
363
+ display: flex;
364
+ flex-direction: column;
365
+ gap: 12px;
274
366
  padding: 9px;
275
367
  margin-left: 0;
276
368
  list-style: none;
277
-
278
- .post {
279
- border-bottom: 2px solid $border-color;
369
+ .post-container {
370
+ border: 2px solid $border-color;
280
371
  padding-bottom: 10px;
281
- padding-top: 10px;
282
-
372
+ padding: 10px;
373
+ cursor: pointer;
374
+ border-radius: 12px;
375
+ a {
376
+ color: $text-color;
377
+ }
378
+ &:hover {
379
+ background: linear-gradient(0deg,rgba(68,71,70,.15),rgba(68,71,70,.15));
380
+ }
381
+ }
382
+ .post {
283
383
  .post-meta {
284
384
  font-size: $small-font-size;
285
385
  color: $text-color;
286
386
  word-spacing: 1px;
287
387
  }
288
388
 
289
- .post-link {
290
- @include relative-font-size(3);
291
- line-height: 1.5;
389
+ .post-header {
390
+ @include headline-large;
391
+ margin: 12px 0px 0px 0px;
292
392
  }
293
393
 
294
394
  .post-info {
@@ -354,87 +454,34 @@
354
454
  }
355
455
  }
356
456
 
357
- > p {
358
- // Make the description shorter
359
- margin: 0;
360
- overflow: hidden;
361
- text-overflow: ellipsis;
362
- display: -webkit-box;
363
- -webkit-line-clamp: 3; // line height
364
- -webkit-box-orient: vertical;
365
- }
366
-
367
- > h1,
368
- h2,
369
- h3,
370
- h4,
371
- h5,
372
- h6 {
373
- font-size: $font-size;
374
- }
375
- }
376
- }
377
-
378
- .post-info {
379
- display: flex;
380
- justify-content: space-between;
381
- padding-bottom: 15px;
382
- cursor: default;
383
- user-select: none;
384
- -moz-user-select: none;
385
- -khtml-user-select: none;
386
- -webkit-user-select: none;
387
- -o-user-select: none;
388
- align-items: baseline;
389
-
390
- .post-info-date {
391
- color: $text-mute-color;
392
- font-size: $small-font-size;
393
- word-spacing: 1px;
394
-
395
- &::before {
396
- content: "calendar_today";
397
- font-family: "Material Icons Round";
398
- font-size: 12px;
399
- line-height: 1;
400
- padding-right: 5px;
401
- }
402
- }
403
-
404
- .post-info-pin {
405
- background-color: $table-header-bg-color;
406
- color: $text-mute-color;
407
- border-radius: 5px;
408
- padding: 2px 5px 2px 5px;
409
- cursor: default;
410
- user-select: none;
411
- -moz-user-select: none;
412
- -khtml-user-select: none;
413
- -webkit-user-select: none;
414
- -o-user-select: none;
415
- display: flex;
416
- align-items: center;
417
- gap: 4px;
418
-
419
- > span {
420
- transform: rotate(45deg);
421
- font-size: 15px;
422
- line-height: 1.4rem;
423
- height: 1.3rem;
424
- }
425
-
426
- > p {
427
- margin-bottom: 0;
428
- display: none;
429
- text-transform: capitalize;
430
- }
457
+ }
458
+ .post-descriptions {
459
+ p {
460
+ // Make the description shorter
461
+ margin: 0;
462
+ overflow: hidden;
463
+ text-overflow: ellipsis;
464
+ display: -webkit-box;
465
+ -webkit-line-clamp: 3; // line height
466
+ -webkit-box-orient: vertical;
467
+ }
431
468
 
432
- @media screen and (min-width: $mobile-width) {
433
- > p {
434
- display: inline-block;
469
+ > h1,
470
+ h2,
471
+ h3,
472
+ h4,
473
+ h5,
474
+ h6,
475
+ a {
476
+ @include body-medium;
477
+ a[href^="#"] {
478
+ display: none
479
+ }
435
480
  }
436
481
  }
437
- }
482
+ }
483
+ .site-post-list-title {
484
+ @include display-large;
438
485
  }
439
486
 
440
487
  //
@@ -443,7 +490,6 @@
443
490
  .site-footer {
444
491
  background-color: $footer-bg-color;
445
492
  padding-top: $font-spacing;
446
- padding-bottom: 10px;
447
493
 
448
494
  .site-footer-wrapper {
449
495
  display: flex;
@@ -454,34 +500,32 @@
454
500
  list-style: none;
455
501
  font-size: 20px;
456
502
  margin-bottom: 10px;
503
+ p {
504
+ font-weight: 700;
505
+ letter-spacing: 1px;
506
+ text-transform: uppercase;
507
+ margin-bottom: 10px;
508
+ }
457
509
 
458
- .links-footer {
510
+ a {
511
+ display: block;
459
512
  width: calc(100% - (#{$font-spacing} / 2));
460
513
  transition: $transition-links;
461
514
  word-break: break-all;
462
-
463
- &:first-child {
464
- font-weight: 700;
465
- letter-spacing: 1px;
466
- text-transform: uppercase;
467
- margin-bottom: 10px;
468
- }
515
+ color: rgba(128, 134, 139, 0.57);
516
+ font-weight: 500;
517
+ line-height: 3.3;
469
518
 
470
519
  &:not(:first-child) {
471
520
  padding: 2px 0;
472
521
  }
473
522
 
474
- > a {
523
+ &:visited {
475
524
  color: rgba(128, 134, 139, 0.57);
476
- font-weight: 500;
477
-
478
- &:visited {
479
- color: rgba(128, 134, 139, 0.57);
480
- }
525
+ }
481
526
 
482
- &:hover {
483
- color: $footer-links-hover-color;
484
- }
527
+ &:hover {
528
+ color: $footer-links-hover-color;
485
529
  }
486
530
  }
487
531
 
@@ -495,6 +539,7 @@
495
539
  padding: 1px 0px 0px;
496
540
  font-size: 2rem;
497
541
  font-weight: 900;
542
+ font-family: $md-ref-typeface-plain;
498
543
  }
499
544
 
500
545
  &:hover {
@@ -522,13 +567,12 @@
522
567
  }
523
568
  }
524
569
  .footer-info {
525
- padding-top: 10px;
570
+ @include label-small;
526
571
  border-top: 1px solid $border-color;
527
- font-size: 0.8rem;
528
572
  justify-content: space-between;
529
573
  display: flex;
530
574
  flex-direction: column;
531
- padding: 10px 10px 0;
575
+ padding: 20px 10px 20px;
532
576
  margin-left: 0px;
533
577
  margin-right: 0px;
534
578
 
@@ -583,6 +627,7 @@
583
627
 
584
628
  &:hover {
585
629
  background-color: rgba(255, 255, 255, 0.1);
630
+ color: inherit;
586
631
  }
587
632
  }
588
633