jekyll-theme-fica 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  3. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  4. data/.github/workflows/ci.yaml +5 -2
  5. data/.github/workflows/ci.yaml.orig +34 -0
  6. data/404.html +12 -10
  7. data/License.md +2 -8
  8. data/README.md +53 -49
  9. data/_includes/Footer.html +88 -85
  10. data/_includes/Head.html +24 -12
  11. data/_includes/Header.html +21 -34
  12. data/_includes/assets/BTT.html +8 -0
  13. data/_includes/{Google-Analytics.html → assets/Google-Analytics.html} +12 -12
  14. data/_includes/assets/anchor-headings.html +164 -0
  15. data/_includes/assets/comments.html +16 -0
  16. data/_includes/assets/toc.html +174 -0
  17. data/_layouts/default.html +16 -14
  18. data/_layouts/home.html +25 -67
  19. data/_layouts/page.html +5 -3
  20. data/_layouts/post.html +48 -52
  21. data/_layouts/post_list.html +103 -0
  22. data/_posts/2022-03-31-To-Know-if-the-nav-works.md +9 -8
  23. data/_posts/{2022-04-1-Demo.md → 2022-04-1-Elements-of-Fica-Theme.md} +111 -113
  24. data/_posts/2022-04-5-Getting-Started.md +149 -149
  25. data/_posts/2022-04-6-Creating-a-new-post.md +144 -136
  26. data/_posts/2023-04-24-Fica-Customization.md +43 -0
  27. data/_sass/base.scss +437 -0
  28. data/_sass/{themes/dark theme/highlight.scss → colors/dark-theme/highlight.scss} +362 -362
  29. data/_sass/{themes/dark theme/theme-dark.scss → colors/dark-theme/theme-dark.scss} +132 -142
  30. data/_sass/{themes/light theme/highlight.scss → colors/light-theme/highlight.scss} +198 -198
  31. data/_sass/{themes/light theme/theme-light.scss → colors/light-theme/theme-light.scss} +126 -136
  32. data/_sass/jekyll-theme-fica.scss +1 -8
  33. data/_sass/layouts/Google-fonts.scss +103 -138
  34. data/_sass/layouts/component.scss +272 -0
  35. data/_sass/layouts/layout.scss +657 -718
  36. data/_sass/layouts/typography.scss +492 -0
  37. data/_sass/layouts/variable.scss +215 -0
  38. data/assets/css/Style.scss +4 -13
  39. data/assets/favicons/android-chrome-192x192.png +0 -0
  40. data/assets/favicons/android-chrome-512x512.png +0 -0
  41. data/assets/favicons/apple-touch-icon.png +0 -0
  42. data/assets/favicons/browserconfig.xml +9 -0
  43. data/assets/favicons/favicon-16x16.png +0 -0
  44. data/assets/favicons/favicon-32x32.png +0 -0
  45. data/assets/favicons/favicon.ico +0 -0
  46. data/assets/favicons/mstile-150x150.png +0 -0
  47. data/assets/favicons/safari-pinned-tab.svg +32 -0
  48. data/assets/favicons/site.webmanifest +19 -0
  49. data/assets/img/homepage-pic.png +0 -0
  50. data/bin/run +195 -150
  51. data/js/Main.js +74 -0
  52. data/js/back-to-top.js +39 -48
  53. data/logo.png +0 -0
  54. data/post/index.html +3 -3
  55. metadata +35 -32
  56. data/_includes/BTT.html +0 -7
  57. data/_layouts/post_home.html +0 -113
  58. data/_sass/custom/styles.scss +0 -1
  59. data/_sass/custom/variables.scss +0 -1
  60. data/_sass/layouts/base.scss +0 -579
  61. data/_sass/layouts/variables.scss +0 -230
  62. data/docs/contributing.md +0 -69
@@ -1,718 +1,657 @@
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
- .site-header-home {
16
- background-color: $home-header-title-color;
17
- border-top: 5px solid $home-header-title-color;
18
- border-bottom: 5px solid $home-header-title-color;
19
- min-height: $spacing-unit * 1.865;
20
- line-height: $line-height * $font-size * 2.25;
21
-
22
- // Positioning context for the mobile navigation icon
23
- position: relative;
24
-
25
- }
26
-
27
- //
28
- // Site Nav and Title
29
- //
30
- .site-nav {
31
- transition: all 0.3s ease-in-out;
32
- position: absolute;
33
- top: 9px;
34
- right: $spacing-unit / 2;
35
- background-color: $menu-bdr-color;
36
- border-radius: 10px;
37
- text-align: right;
38
- z-index: 10000;
39
-
40
- .btn-nav {
41
- font-weight: 700;
42
- color: $text-color;
43
- line-height: $line-height;
44
- letter-spacing: 0rem;
45
- display: block;
46
- padding: 5px 10px;
47
-
48
- font-family: $text-font-family;
49
-
50
- margin-left: 20px;
51
-
52
- &:hover {
53
- color: $header-link-color;
54
- }
55
- }
56
-
57
- .nav-trigger {
58
- display: none;
59
- float: right;
60
- padding-right: 100px;
61
- padding-left: 1px;
62
- }
63
-
64
- .menu-icon {
65
- float: right;
66
- width: 36px;
67
- height: 26px;
68
- line-height: 0;
69
- padding-top: 10px;
70
- text-align: center;
71
-
72
- >svg path {
73
- fill: $menu-color;
74
- }
75
- }
76
-
77
- label[for="nav-trigger"] {
78
- display: block;
79
- float: right;
80
- width: 36px;
81
- height: 36px;
82
- z-index: 2;
83
- cursor: pointer;
84
- }
85
-
86
- input~.trigger {
87
- clear: both;
88
- display: none;
89
- }
90
-
91
- input:checked~.trigger {
92
- display: block;
93
- padding-bottom: 5px;
94
- }
95
-
96
- .page-link {
97
- font-weight: 600;
98
- color: $text-color;
99
- line-height: $line-height;
100
- letter-spacing: 0rem;
101
- display: block;
102
- padding: 5px 10px;
103
- transition: all 0.4s ease;
104
-
105
- font-family: $text-font-family;
106
-
107
- // Gaps between nav items, but not on the last one
108
- &:not(:last-child) {
109
- margin-right: 0;
110
- }
111
-
112
- margin-left: 20px;
113
-
114
- &:hover {
115
- color: $header-link-color;
116
- }
117
-
118
- }
119
-
120
- @media screen and (min-width: $mobile-width) {
121
- position: static;
122
- float: right;
123
- border: none;
124
- background-color: inherit;
125
-
126
- .btn-nav {
127
- padding: 11px 19px 13px;
128
- border: none;
129
- border-radius: 40px;
130
- display: inline;
131
- margin-right: 20px;
132
- cursor: pointer;
133
- color: $BTT-svg-color;
134
- background-color: $link-color;
135
- transition: $transition-btn;
136
-
137
- &,
138
- &:visited {
139
- color: $BTT-svg-color;
140
- }
141
-
142
- &:hover {
143
- color: $btn-text-hover-color;
144
- text-decoration: none;
145
- background-color: $btn-color-hover;
146
- border-color: $btn-color-hover;
147
- }
148
- }
149
-
150
- label[for="nav-trigger"] {
151
- display: none;
152
- }
153
-
154
- .menu-icon {
155
- display: none;
156
- }
157
-
158
- input~.trigger {
159
- display: block;
160
- }
161
-
162
- .page-link {
163
- display: inline;
164
- padding: 0;
165
-
166
- &:not(:last-child) {
167
- margin-right: 20px;
168
- }
169
-
170
- margin-left: auto;
171
- }
172
- }
173
- }
174
-
175
- .site-title {
176
- @include relative-font-size(1.9);
177
- font-weight: 690;
178
- letter-spacing: -1px;
179
- margin-bottom: 0;
180
- font-family: $text-font-family;
181
-
182
- @include media-query($mobile-width) {
183
- padding-right: 45px;
184
- }
185
-
186
- &,
187
- &:visited {
188
- color: $text-color;
189
- }
190
-
191
- &:hover {
192
- color: $header-link-color;
193
- }
194
-
195
- @include animation-fade-in(105m);
196
- animation-duration: $animation-main;
197
- -webkit-animation-timing-function: cubic-bezier(0.55, 0.09, 0.68, 0.53);
198
- animation-timing-function: cubic-bezier(0.55, 0.09, 0.68, 0.53);
199
- }
200
-
201
- //
202
- // Header Banner
203
- //
204
- .site-banner {
205
- padding: 40px 15px 40px 15px;
206
- color: $text-color;
207
- background-color: $home-header-title-color;
208
- text-align: center;
209
- justify-content: space-around;
210
-
211
- >img {
212
- padding-top: 61px;
213
- width: 100%;
214
- @include animation-fade-in(2.10);
215
- }
216
-
217
- .banner-content {
218
- display: flex;
219
- justify-content: center;
220
- align-items: center;
221
- flex-direction: column;
222
-
223
- >a {
224
- display: block;
225
- margin-top: 30px;
226
- padding: 15px 81px;
227
- border: none;
228
- border-radius: 5px;
229
- cursor: pointer;
230
- color: $BTT-svg-color;
231
- background-color: $link-color;
232
- transition: $transition-btn;
233
-
234
- @include animation-fade-in(1.65);
235
-
236
- &,
237
- &:visited {
238
- color: $BTT-svg-color;
239
- }
240
-
241
- &:hover {
242
- color: $btn-text-hover-color;
243
- text-decoration: none;
244
- background-color: $btn-color-hover;
245
- border-color: $btn-color-hover;
246
- }
247
- }
248
-
249
- .page-header-title {
250
- border-top: 8px;
251
- margin-bottom: 0%;
252
- font-size: $site-banner-title-fnt-sze;
253
- color: $header-bg-color;
254
- text-align: center;
255
- font-weight: bold;
256
- font-family: $text-font-family;
257
- padding-bottom: 7px;
258
- line-height: 1.5;
259
- @include animation-fade-in(.10);
260
- }
261
-
262
- .site-banner-description {
263
- border-top: 8px;
264
- margin-bottom: 0%;
265
- font-size: $site-banner-description-fnt-sze;
266
- color: $text-color;
267
- text-align: center;
268
- font-weight: bold;
269
- font-family: $text-font-family;
270
- padding-bottom: 7px;
271
- @include animation-fade-in(1);
272
- }
273
-
274
- }
275
-
276
-
277
- // For Large Screens
278
- @media screen and (min-width: $mobile-width) {
279
- border-bottom: 100px solid $home-header-title-color;
280
-
281
- .banner-content {
282
- >a {
283
- display: none;
284
- }
285
- }
286
- }
287
-
288
- @media screen and (min-width: 993px) {
289
- display: flex;
290
- padding: 40px 10px 40px 10px;
291
-
292
- >img {
293
- width: $site-banner-picture-sze_wdth;
294
- @include animation-fade-in(2.65);
295
- }
296
-
297
- .banner-content {
298
- transform: translateX(30vw);
299
- animation: slide 1250ms cubic-bezier(0.75, 0, 0.33, 1) forwards;
300
- animation-delay: 2s;
301
-
302
- >a {
303
- display: block;
304
- }
305
- }
306
- }
307
-
308
- }
309
-
310
- //
311
- // Site footer
312
- //
313
- .site-footer {
314
- background-color: $footer-bg-color;
315
- padding-top: $spacing-unit;
316
- position: relative;
317
-
318
- .footer-col {
319
- margin-bottom: 10px;
320
- }
321
-
322
- .footer-middle {
323
- margin-bottom: 10px;
324
- }
325
-
326
- .footer-last {
327
- margin-bottom: 10px;
328
- }
329
-
330
- .Links_footer {
331
- list-style: none;
332
- width: calc(100% - (#{$spacing-unit} / 2));
333
- transition: $transition-links;
334
- word-break: break-all;
335
-
336
- &:first-child {
337
- font-weight: bolder;
338
- padding-right: $spacing-unit / 2;
339
- padding-left: 0;
340
- padding-bottom: 4px;
341
- font-size: larger;
342
- color: $footer-head-link-color;
343
- }
344
-
345
- >a {
346
- color: $footer-links-color;
347
-
348
- &:visited {
349
- color: $footer-links-color;
350
- }
351
-
352
- &:hover {
353
- color: $footer-links-hover-color;
354
- }
355
- }
356
- }
357
-
358
- .Product_footer {
359
- list-style: none;
360
- color: $text-color;
361
- width: calc(100% - (#{$spacing-unit} / 2));
362
- padding: 0 ($spacing-unit / 2);
363
-
364
- &:first-child {
365
- padding: 1px 0px 0px;
366
- font-size: 0.6cm;
367
- font-weight: 900;
368
- }
369
-
370
- &:hover {
371
- color: $text-color;
372
- text-decoration: none;
373
- }
374
- }
375
-
376
- @media screen and (min-width: 650px) {
377
- .footer-col-wrapper {
378
- display: flex;
379
- }
380
-
381
- .footer-col {
382
- @include footer-wrapper;
383
- }
384
-
385
- .footer-middle {
386
- @include footer-wrapper;
387
- width: calc(35% - (#{$spacing-unit} / 2));
388
- }
389
-
390
- .footer-last {
391
- @include footer-wrapper;
392
- width: calc(35% - (#{$spacing-unit} / 2));
393
- }
394
- }
395
- }
396
-
397
- .footer-info {
398
- padding-top: 10px;
399
- border-top: 1px solid $border-color;
400
- font-size: 0.8rem;
401
- justify-content: space-between;
402
- display: flex;
403
- flex-direction: column;
404
- padding: 10px 10px;
405
- margin-left: 0px;
406
- margin-right: 0px;
407
-
408
- >span {
409
- margin-bottom: 3px;
410
-
411
- >a {
412
- color: #9e9e9e;
413
-
414
- &:visited {
415
- color: #9e9e9e;
416
- }
417
-
418
- &:hover {
419
- color: $text-color;
420
- }
421
- }
422
- }
423
-
424
- @media screen and (min-width: 650px) {
425
- flex-direction: row;
426
- margin-left: 100px;
427
- margin-right: 100px;
428
- }
429
- }
430
-
431
- //
432
- // page content
433
- //
434
- .page-content {
435
- padding: $spacing-unit 0;
436
- flex: 1 0 auto;
437
- }
438
-
439
- .page-heading {
440
- @include relative-font-size(2.5);
441
- }
442
-
443
- .post-list-heading {
444
- @include relative-font-size(1.75);
445
- }
446
-
447
- //
448
- // Posts
449
- //
450
-
451
- .post-list {
452
- padding: 9px;
453
- margin-left: 0;
454
- list-style: none;
455
-
456
- >li {
457
- border-bottom: 2px solid $border-color;
458
- padding-bottom: 10px;
459
- padding-top: 10px;
460
-
461
- >p {
462
- // Make the description shorter
463
- margin: 0;
464
- overflow: hidden;
465
- text-overflow: ellipsis;
466
- display: -webkit-box;
467
- -webkit-line-clamp: 3; // line height
468
- -webkit-box-orient: vertical;
469
- }
470
-
471
- >h1,
472
- h2,
473
- h3,
474
- h4,
475
- h5,
476
- h6 {
477
- font-size: $font-size;
478
- }
479
- }
480
-
481
- }
482
-
483
- .post-meta {
484
- font-size: $small-font-size;
485
- color: $text-color;
486
- word-spacing: 1px;
487
- }
488
-
489
- .text-muted {
490
- @include text-muted;
491
- }
492
-
493
- .text-unmuted {
494
- @include text-unmuted;
495
- }
496
-
497
- .post-link {
498
- @include relative-font-size(2);
499
- }
500
-
501
- .post-header {
502
- margin-bottom: $spacing-unit;
503
- }
504
-
505
- .post-title {
506
- @include relative-font-size(2.925);
507
- line-height: 1.15;
508
- margin-bottom: 5px;
509
-
510
- @media screen and (min-width: $pc-width) {
511
- @include relative-font-size(3);
512
- }
513
- }
514
-
515
- .post-content {
516
- margin-bottom: $spacing-unit;
517
-
518
- h4,
519
- h5,
520
- h6 {
521
- margin-top: $spacing-unit;
522
- }
523
- }
524
-
525
- .post-info {
526
- display: flex;
527
- justify-content: space-between;
528
- padding-bottom: 15px;
529
- cursor: default;
530
- user-select: none;
531
- -moz-user-select: none;
532
- -khtml-user-select: none;
533
- -webkit-user-select: none;
534
- -o-user-select: none;
535
- align-items: baseline;
536
-
537
- .post-info-date {
538
- color: $footer-head-link-color;
539
- font-size: $small-font-size;
540
- word-spacing: 1px;
541
-
542
- &::before {
543
- content: "calendar_today";
544
- font-family: "Material Icons Round";
545
- font-size: 12px;
546
- line-height: 1;
547
- padding-right: 5px;
548
- }
549
- }
550
-
551
- .post-info-pin {
552
- background-color: $table-header-bg-color;
553
- color: $footer-head-link-color;
554
- border-radius: 5px;
555
- padding: 2px 5px 2px 5px;
556
- cursor: default;
557
- user-select: none;
558
- -moz-user-select: none;
559
- -khtml-user-select: none;
560
- -webkit-user-select: none;
561
- -o-user-select: none;
562
- display: flex;
563
- align-items: center;
564
- gap: 4px;
565
-
566
- >span {
567
- transform: rotate(45deg);
568
- font-size: 15px;
569
- line-height: 1.4rem;
570
- height: 1.3rem;
571
- }
572
-
573
- >p {
574
- margin-bottom: 0;
575
- display: none;
576
- text-transform: capitalize;
577
- }
578
-
579
- @media screen and (min-width: $mobile-width) {
580
- >p {
581
- display: inline-block;
582
- }
583
- }
584
- }
585
- }
586
-
587
- //
588
- // Post Nav
589
- //
590
-
591
- .post-nav {
592
- padding-top: 5px;
593
- display: inline;
594
- list-style: none;
595
- display: flex;
596
- justify-content: space-evenly;
597
- gap: 80px;
598
- -ms-flex-align: center;
599
- align-items: center;
600
- margin: 0px;
601
-
602
- @media screen and (min-width: $mobile-width) {
603
- gap: 100px;
604
- }
605
- }
606
-
607
- .post-nav-svg {
608
- color: $footer-links-color;
609
- transition: $tansitions-page-bar;
610
- padding: 8px;
611
- border-radius: 50px;
612
-
613
- &:hover {
614
- background-color: rgba(255, 255, 255, .10);
615
- }
616
- }
617
-
618
- .disable-svg {
619
- cursor: not-allowed;
620
- color: $footer-head-link-color;
621
- }
622
-
623
- .post-nav-num {
624
- user-select: none;
625
- -moz-user-select: none;
626
- -khtml-user-select: none;
627
- -webkit-user-select: none;
628
- -o-user-select: none;
629
- cursor: default;
630
- display: inline;
631
- @include text-muted;
632
- }
633
-
634
-
635
- //
636
- // Post footer
637
- //
638
- .post-footer {
639
- padding-top: 9px;
640
- border-top: 3px solid $border-color;
641
- margin: 0px;
642
-
643
- >a {
644
- >svg {
645
- fill: $footer-links-color;
646
- width: 33px;
647
- height: 33px;
648
- text-align: center;
649
- border-radius: 100%;
650
- padding: 5px 3px 2px 5px;
651
- transition: $tansitions-page-bar;
652
-
653
- &:hover {
654
- background-color: rgba(255, 255, 255, .10);
655
- }
656
- }
657
- }
658
- }
659
-
660
- .btn {
661
- padding: 8px 25px;
662
- border: none;
663
- border-radius: 5px;
664
- cursor: pointer;
665
- color: $text-color;
666
- background-color: $btn-bg-color;
667
- transition: $transition-btn;
668
-
669
- &,
670
- &:visited {
671
- color: $text-color;
672
- }
673
-
674
- &:hover {
675
- color: $btn-text-hover-color;
676
- text-decoration: none;
677
- background-color: $btn-color-hover;
678
- border-color: $btn-color-hover;
679
- }
680
- }
681
-
682
- //
683
- // Back to top(BTT)
684
- //
685
- #back-to-top {
686
- display: none;
687
- position: fixed;
688
- bottom: 20px;
689
- right: 20px;
690
- width: 50px;
691
- height: 50px;
692
- background-color: $BTT-bg-color;
693
- color: $BTT-svg-color;
694
- border: 2px solid $BTT-bg-color;
695
- cursor: pointer;
696
- text-align: center;
697
- border-radius: 50%;
698
- text-align: center;
699
- z-index: 2;
700
-
701
- >i {
702
- // padding-top: 3px;
703
- font-size: 48px;
704
- font-weight: 700;
705
- }
706
- }
707
-
708
- .BTT-Entrance {
709
- animation-duration: 0.5s;
710
- animation-fill-mode: both;
711
- animation-name: BTT-Entrance;
712
- }
713
-
714
- .BTT-Exit {
715
- animation-duration: 0.25s;
716
- animation-fill-mode: both;
717
- animation-name: BTT-Exit;
718
- }
1
+ //
2
+ // Site Header
3
+ //
4
+ .site-nav {
5
+ display: flex;
6
+ align-items: center;
7
+ background: $site-header-bg;
8
+ height: 80px;
9
+ width: 100%;
10
+ z-index: 100;
11
+ padding-top: 5px;
12
+ padding-bottom: 5px;
13
+ .site-nav-link-container {
14
+ margin-right: 25px;
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
+ }
30
+ }
31
+
32
+ a {
33
+ margin: 0 5px;
34
+ color: $text-color;
35
+ font-size: 17px;
36
+ padding: 7px 13px;
37
+ border-radius: 3px;
38
+ transition: $transition-links;
39
+ @include animation-fade-in(0.6);
40
+ @include title-small;
41
+ text-transform: uppercase;
42
+ &:hover {
43
+ color: $text-mute-color;
44
+ }
45
+ }
46
+
47
+ .site-nav-logo {
48
+ display: flex;
49
+ text-transform: none;
50
+ color: $text-color;
51
+ font-size: 32px;
52
+ line-height: 80px;
53
+ padding: 0 13px;
54
+ font-weight: bold;
55
+ margin-right: auto;
56
+ @include animation-fade-in(0.1);
57
+
58
+ &:hover {
59
+ color: $text-mute-color;
60
+ background-color: transparent;
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
+ }
76
+ @media screen and (min-width: $pc-width) {
77
+ padding: 0 30px;
78
+ }
79
+ @media screen and (max-width: $Site-Nav-Logo-text-autohide) {
80
+ p {
81
+ display: none;
82
+ }
83
+ }
84
+ }
85
+ .checkbtn {
86
+ font-size: 40px;
87
+ color: $text-color;
88
+ top: 20px;
89
+ cursor: pointer;
90
+ display: none;
91
+ margin: 1% 20px 1% 0;
92
+ padding: 10px;
93
+ border-radius: 43px;
94
+ transition: $transition-btn;
95
+
96
+ &:hover {
97
+ background: rgba(232, 234, 237, 0.04);
98
+ }
99
+ }
100
+ #site-nav-check {
101
+ display: none;
102
+ }
103
+ @media (max-width: 885px) {
104
+ .checkbtn {
105
+ display: block;
106
+ }
107
+ .site-nav-link-container {
108
+ position: fixed;
109
+ width: 100%;
110
+ height: 100vh;
111
+ background: $primary_color;
112
+ top: 80px;
113
+ left: 100%;
114
+ text-align: center;
115
+ transition: all 0.5s;
116
+ a {
117
+ display: block;
118
+ margin: 0;
119
+ font-size: 20px;
120
+
121
+ &:first-child {
122
+ background-color: transparent;
123
+ border-radius: 3px;
124
+ color: $link-color;
125
+ }
126
+
127
+ &:hover {
128
+ background: $btn-bg-color;
129
+ color: rgba(0, 0, 0, 0.54);
130
+ }
131
+ &.active {
132
+ background: $btn-bg-color;
133
+ }
134
+ }
135
+ }
136
+ #site-nav-check {
137
+ &:checked {
138
+ ~ {
139
+ .site-nav-link-container {
140
+ left: 0;
141
+ }
142
+ }
143
+ }
144
+ }
145
+ a {
146
+ line-height: 80px;
147
+ }
148
+ }
149
+ }
150
+ // .sticky {
151
+ // position: fixed;
152
+ // top: 0;
153
+ // width: 100%;
154
+ // }
155
+ //
156
+ // Header Banner
157
+ //
158
+ .header-home-mod {
159
+ position: static;
160
+ background-color: $home-header-title-color;
161
+ }
162
+ .site-banner {
163
+ padding: 40px 15px 40px 15px;
164
+ color: $text-color;
165
+ background-color: $home-header-title-color;
166
+ text-align: center;
167
+ justify-content: space-around;
168
+ line-height: 1.5;
169
+
170
+ .site-banner-img-container {
171
+ padding-top: 61px;
172
+ width: 100%;
173
+
174
+ > img {
175
+ @include animation-fade-in(2.1);
176
+ box-shadow: 0px 0px 20px 0px #00000052;
177
+ transition: all 300ms ease 0ms;
178
+ border-radius: 15px;
179
+
180
+ &:hover {
181
+ box-shadow: 0px 0px 0px 0px #00000052;
182
+ border-radius: 0px;
183
+ }
184
+ }
185
+ }
186
+
187
+ .banner-content {
188
+ display: flex;
189
+ justify-content: center;
190
+ align-items: center;
191
+ flex-direction: column;
192
+
193
+ > a {
194
+ display: block;
195
+ margin-top: 30px;
196
+ padding: 21px 81px;
197
+ border: none;
198
+ border-radius: 15px;
199
+ cursor: pointer;
200
+ color: $BTT-svg-color;
201
+ background-color: $link-color;
202
+ transition: $transition-btn;
203
+ @include title-medium;
204
+
205
+ @include animation-fade-in(1.65);
206
+
207
+ &,
208
+ &:visited {
209
+ color: $BTT-svg-color;
210
+ }
211
+
212
+ &:hover {
213
+ color: $btn-text-hover-color;
214
+ text-decoration: none;
215
+ background-color: $btn-color-hover;
216
+ border-color: $btn-color-hover;
217
+ }
218
+ }
219
+
220
+ .page-header-title {
221
+ @include display-medium;
222
+ border-top: 8px;
223
+ margin-bottom: 0%;
224
+ color: $header-bg-color;
225
+ text-align: center;
226
+ padding-bottom: 7px;
227
+ @include animation-fade-in(0.1);
228
+ }
229
+
230
+ .site-banner-description {
231
+ border-top: 8px;
232
+ margin-bottom: 0%;
233
+ @include title-medium;
234
+ padding-bottom: 7px;
235
+ @include animation-fade-in(1);
236
+ }
237
+ }
238
+
239
+ // For Large Screens
240
+ @media screen and (min-width: $mobile-width) {
241
+ border-bottom: 100px solid $home-header-title-color;
242
+
243
+ .banner-content {
244
+ > a {
245
+ display: none;
246
+ }
247
+ }
248
+ }
249
+
250
+ @media screen and (min-width: 993px) {
251
+ display: flex;
252
+ padding: 40px 10px 40px 10px;
253
+
254
+ .site-banner-img-container {
255
+ width: $site-banner-picture-sze_wdth;
256
+
257
+ > img {
258
+ @include animation-fade-in(2.65);
259
+ }
260
+ }
261
+
262
+ .banner-content {
263
+ transform: translateX(30vw);
264
+ animation: slide 1250ms cubic-bezier(0.75, 0, 0.33, 1) forwards;
265
+ animation-delay: 2s;
266
+
267
+ > a {
268
+ display: block;
269
+ }
270
+ }
271
+ }
272
+ }
273
+
274
+ .text-muted {
275
+ @include text-muted;
276
+ }
277
+
278
+ .text-unmuted {
279
+ @include text-unmuted;
280
+ }
281
+
282
+ //
283
+ // Posts
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;
311
+
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
+ }
353
+
354
+ @media screen and (min-width: $mobile-width) {
355
+ > p {
356
+ display: inline-block;
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ .post-list {
363
+ display: flex;
364
+ flex-direction: column;
365
+ gap: 12px;
366
+ padding: 9px;
367
+ margin-left: 0;
368
+ list-style: none;
369
+ .post-container {
370
+ border: 2px solid $border-color;
371
+ padding-bottom: 10px;
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 {
383
+ .post-meta {
384
+ font-size: $small-font-size;
385
+ color: $text-color;
386
+ word-spacing: 1px;
387
+ }
388
+
389
+ .post-header {
390
+ @include headline-large;
391
+ margin: 12px 0px 0px 0px;
392
+ }
393
+
394
+ .post-info {
395
+ display: flex;
396
+ justify-content: space-between;
397
+ padding-bottom: 15px;
398
+ cursor: default;
399
+ user-select: none;
400
+ -moz-user-select: none;
401
+ -khtml-user-select: none;
402
+ -webkit-user-select: none;
403
+ -o-user-select: none;
404
+ align-items: baseline;
405
+ line-height: 1.5;
406
+
407
+ .post-info-date {
408
+ color: $text-mute-color;
409
+ font-size: $small-font-size;
410
+ word-spacing: 1px;
411
+
412
+ &::before {
413
+ content: "calendar_today";
414
+ font-family: "Material Icons Round";
415
+ font-size: 12px;
416
+ line-height: 1;
417
+ padding-right: 5px;
418
+ }
419
+ }
420
+
421
+ .post-info-pin {
422
+ background-color: $table-header-bg-color;
423
+ color: $text-mute-color;
424
+ border-radius: 5px;
425
+ padding: 2px 5px 2px 5px;
426
+ cursor: default;
427
+ user-select: none;
428
+ -moz-user-select: none;
429
+ -khtml-user-select: none;
430
+ -webkit-user-select: none;
431
+ -o-user-select: none;
432
+ display: flex;
433
+ align-items: center;
434
+ gap: 4px;
435
+
436
+ > span {
437
+ transform: rotate(45deg);
438
+ font-size: 15px;
439
+ line-height: 1.4rem;
440
+ height: 1.3rem;
441
+ }
442
+
443
+ > p {
444
+ margin-bottom: 0;
445
+ display: none;
446
+ text-transform: capitalize;
447
+ }
448
+
449
+ @media screen and (min-width: $mobile-width) {
450
+ > p {
451
+ display: inline-block;
452
+ }
453
+ }
454
+ }
455
+ }
456
+
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
+ }
468
+
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
+ }
480
+ }
481
+ }
482
+ }
483
+ .site-post-list-title {
484
+ @include display-large;
485
+ }
486
+
487
+ //
488
+ // Site footer
489
+ //
490
+ .site-footer {
491
+ background-color: $footer-bg-color;
492
+ padding-top: $font-spacing;
493
+
494
+ .site-footer-wrapper {
495
+ display: flex;
496
+ flex-direction: column-reverse;
497
+ }
498
+
499
+ .footer-col {
500
+ list-style: none;
501
+ font-size: 20px;
502
+ margin-bottom: 10px;
503
+ p {
504
+ font-weight: 700;
505
+ letter-spacing: 1px;
506
+ text-transform: uppercase;
507
+ margin-bottom: 10px;
508
+ }
509
+
510
+ a {
511
+ display: block;
512
+ width: calc(100% - (#{$font-spacing} / 2));
513
+ transition: $transition-links;
514
+ word-break: break-all;
515
+ color: rgba(128, 134, 139, 0.57);
516
+ font-weight: 500;
517
+ line-height: 3.3;
518
+
519
+ &:not(:first-child) {
520
+ padding: 2px 0;
521
+ }
522
+
523
+ &:visited {
524
+ color: rgba(128, 134, 139, 0.57);
525
+ }
526
+
527
+ &:hover {
528
+ color: $footer-links-hover-color;
529
+ }
530
+ }
531
+
532
+ .footer-product {
533
+ list-style: none;
534
+ color: $text-color;
535
+ width: calc(100% - (#{$font-spacing} / 2));
536
+ padding: 0 ($font-spacing / 2);
537
+
538
+ &:first-child {
539
+ padding: 1px 0px 0px;
540
+ font-size: 2rem;
541
+ font-weight: 900;
542
+ font-family: $md-ref-typeface-plain;
543
+ }
544
+
545
+ &:hover {
546
+ color: $text-color;
547
+ text-decoration: none;
548
+ }
549
+ }
550
+ }
551
+
552
+ @media screen and (min-width: 1000px) {
553
+ .site-footer-wrapper {
554
+ flex-direction: row;
555
+ }
556
+
557
+ .footer-col {
558
+ &:not(:first-child) {
559
+ @include footer-wrapper;
560
+ }
561
+
562
+ &:first-child {
563
+ @include footer-wrapper;
564
+ width: calc(42% - (#{$font-spacing} / 2));
565
+ }
566
+ }
567
+ }
568
+ }
569
+ .footer-info {
570
+ @include label-small;
571
+ border-top: 1px solid $border-color;
572
+ justify-content: space-between;
573
+ display: flex;
574
+ flex-direction: column;
575
+ padding: 20px 10px 20px;
576
+ margin-left: 0px;
577
+ margin-right: 0px;
578
+
579
+ > span {
580
+ margin-bottom: 3px;
581
+
582
+ > a {
583
+ color: #9e9e9e;
584
+
585
+ &:visited {
586
+ color: #9e9e9e;
587
+ }
588
+
589
+ &:hover {
590
+ color: $text-color;
591
+ }
592
+ }
593
+ }
594
+
595
+ @media screen and (min-width: 692px) {
596
+ flex-direction: row;
597
+ margin-left: 100px;
598
+ margin-right: 100px;
599
+ }
600
+ }
601
+
602
+ //
603
+ // Post Nav
604
+ //
605
+
606
+ .post-nav {
607
+ padding-top: 5px;
608
+ display: inline;
609
+ list-style: none;
610
+ display: flex;
611
+ justify-content: space-evenly;
612
+ gap: 80px;
613
+ -ms-flex-align: center;
614
+ align-items: center;
615
+ margin: 0px;
616
+
617
+ @media screen and (min-width: $mobile-width) {
618
+ gap: 100px;
619
+ }
620
+ }
621
+
622
+ .post-nav-svg {
623
+ color: $footer-links-color;
624
+ transition: $tansitions-page-bar;
625
+ padding: 8px;
626
+ border-radius: 50px;
627
+
628
+ &:hover {
629
+ background-color: rgba(255, 255, 255, 0.1);
630
+ color: inherit;
631
+ }
632
+ }
633
+
634
+ .disable-svg {
635
+ cursor: not-allowed;
636
+ color: $text-mute-color;
637
+ }
638
+
639
+ .post-nav-num {
640
+ user-select: none;
641
+ -moz-user-select: none;
642
+ -khtml-user-select: none;
643
+ -webkit-user-select: none;
644
+ -o-user-select: none;
645
+ cursor: default;
646
+ display: inline;
647
+ @include text-muted;
648
+ }
649
+
650
+ //
651
+ // Post footer
652
+ //
653
+ .post-footer {
654
+ padding-top: 13px;
655
+ border-top: 3px solid $border-color;
656
+ margin: 0px;
657
+ }