jekyll-theme-fica 0.1.9 → 0.2.0

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 (40) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yaml +13 -13
  3. data/404.html +5 -3
  4. data/README.md +58 -89
  5. data/_includes/BTT.html +6 -8
  6. data/_includes/Footer.html +84 -71
  7. data/_includes/Google-Analytics.html +8 -7
  8. data/_includes/Head.html +12 -11
  9. data/_includes/Header.html +34 -23
  10. data/_layouts/default.html +14 -14
  11. data/_layouts/home.html +67 -51
  12. data/_layouts/page.html +3 -14
  13. data/_layouts/post.html +51 -50
  14. data/_layouts/post_home.html +113 -81
  15. data/_posts/2022-03-31-To-Know-if-the-nav-works.md +8 -8
  16. data/_posts/2022-04-1-Demo.md +113 -113
  17. data/_posts/2022-04-5-Getting-Started.md +149 -103
  18. data/_posts/2022-04-6-Creating-a-new-post.md +136 -124
  19. data/_sass/custom/variables.scss +1 -1
  20. data/_sass/jekyll-theme-fica.scss +8 -7
  21. data/_sass/layouts/Google-fonts.scss +139 -0
  22. data/_sass/layouts/base.scss +579 -587
  23. data/_sass/layouts/layout.scss +717 -676
  24. data/_sass/layouts/variables.scss +229 -88
  25. data/_sass/themes/dark theme/highlight.scss +362 -362
  26. data/_sass/themes/dark theme/theme-dark.scss +141 -134
  27. data/_sass/themes/light theme/highlight.scss +198 -198
  28. data/_sass/themes/light theme/theme-light.scss +135 -131
  29. data/assets/css/Style.scss +12 -41
  30. data/assets/fica-icons.svg +64 -64
  31. data/assets/img/{fica_ad.png → homepage-pic.png} +0 -0
  32. data/bin/run +150 -0
  33. data/docs/contributing.md +69 -69
  34. data/js/back-to-top.js +47 -47
  35. data/post/index.html +3 -3
  36. metadata +11 -8
  37. data/_includes/Custom-Head.html +0 -9
  38. data/assets/css/fica-icons.svg +0 -68
  39. data/bin/build +0 -7
  40. data/bin/server +0 -7
@@ -1,89 +1,230 @@
1
- @charset "utf-8";
2
- //
3
- // Fonts
4
- //
5
- $text-font-family: "Roboto",
6
- sans-serif !default;
7
- $code-font-family: "Cascadia Code",
8
- sans-serif;
9
-
10
- $text-font-weight: 340 !default;
11
-
12
- //
13
- // Table
14
- //
15
- $table-text-align: left !default;
16
-
17
- //
18
- // Headers
19
- //
20
- //
21
- $h2-h6_fnt-wght: 450;
22
- $h1_fnt-wght: 700;
23
- $h1_fnt-sze: 35px;
24
-
25
- $font-size: 17px !default;
26
- $small-font-size: $font-size * 0.875 !default;
27
-
28
- $line-height: 1.5 !default;
29
- $spacing-unit: 30px !default;
30
-
31
- //
32
- // Site banner
33
- //
34
- $site-banner-title-fnt-sze: 2.2rem;
35
- $site-banner-description-fnt-sze: 1.2rem;
36
- $site-banner-picture-sze_wdth: 100%; //make sure that the width and height are the same
37
- $site-banner-picture-sze_hght: 100%; //make sure that the width and height are the same
38
-
39
- //
40
- // Transitions
41
- //
42
- $transition-btn: color 0.2s, background-color 0.2s, border-color 0.2s ease-in-out;
43
- $transition-links: color 0.3s ease-in-out;
44
- $tansitions-page-bar: background-color 0.3s, fill 0.3s ease-in-out;
45
-
46
- //
47
- // Animations
48
- //
49
- $animation-site-pic: 2s; //animations for banner-pic
50
- $animation-main: 1s; //animations for banner description and the body of the site.
51
-
52
- //
53
- // Content width
54
- //
55
- $content-width: 800px !default;
56
-
57
- $mobile-width: 710px !default;
58
- $pc-width: 800px !default;
59
-
60
- //
61
- // Media queries
62
- //
63
- @mixin media-query($device) {
64
- @media screen and (max-width: $device) {
65
- @content;
66
- }
67
- }
68
-
69
- @mixin relative-font-size($ratio) {
70
- font-size: #{$ratio}rem;
71
- }
72
-
73
- @mixin large {
74
- @media screen and (min-width: #{$large-breakpoint}) {
75
- @content;
76
- }
77
- }
78
-
79
- @mixin medium {
80
- @media screen and (min-width: #{$medium-breakpoint}) and (max-width: #{$large-breakpoint}) {
81
- @content;
82
- }
83
- }
84
-
85
- @mixin small {
86
- @media screen and (max-width: #{$medium-breakpoint}) {
87
- @content;
88
- }
1
+ @charset "utf-8";
2
+ //
3
+ // Fonts
4
+ //
5
+ $text-font-family: "Roboto",
6
+ sans-serif !default;
7
+ $code-font-family: "Noto Sans",
8
+ sans-serif !default;
9
+
10
+ $text-font-weight: 390 !default;
11
+
12
+ //
13
+ // Table
14
+ //
15
+ $table-text-align: left !default;
16
+
17
+ //
18
+ // Headers
19
+ //
20
+ //
21
+ $h2-h6_fnt-wght: 450;
22
+ $h1_fnt-wght: 700;
23
+ $h1_fnt-sze: 2.4rem;
24
+
25
+ $font-size: 1rem !default;
26
+ $small-font-size: $font-size * 0.875 !default;
27
+
28
+ $line-height: 1.5 !default;
29
+ $spacing-unit: 30px !default;
30
+
31
+ //
32
+ // Site banner
33
+ //
34
+ $site-banner-title-fnt-sze: 50px;
35
+ $site-banner-description-fnt-sze: 18px;
36
+ $site-banner-picture-sze_wdth: 60%; //make sure that the width and height are the same
37
+
38
+ //
39
+ // Transitions
40
+ //
41
+ $transition-btn: all 0.2s ease-in-out;
42
+ $transition-links: color 0.3s ease-in-out;
43
+ $tansitions-page-bar: all 0.3s ease-in-out;
44
+
45
+ //
46
+ // Animations
47
+ //
48
+ $animation-site-pic: 2s; //animations for banner-pic
49
+ $animation-main: 1s; //animations for banner description and the body of the site.
50
+ $animation-left: 250ms;
51
+
52
+ //
53
+ // Content width
54
+ //
55
+ $content-width: 800px !default;
56
+
57
+ $mobile-width: 710px !default;
58
+ $pc-width: 800px !default;
59
+
60
+ // //
61
+ // ---------- site queries ---------- //
62
+ // //
63
+
64
+ @mixin media-query($device) {
65
+ @media screen and (max-width: $device) {
66
+ @content;
67
+ }
68
+ }
69
+
70
+ @mixin animation-fade-in($speed) {
71
+ opacity: 0;
72
+ animation: fade-in 1s linear forwards;
73
+ animation-delay: #{$speed}s;
74
+ -webkit-animation-delay: #{$speed}s;
75
+ }
76
+
77
+
78
+
79
+ @mixin relative-font-size($ratio) {
80
+ font-size: #{$ratio}rem;
81
+ }
82
+
83
+ // //
84
+ // ---------- Media queries ---------- //
85
+ // //
86
+
87
+ @mixin large {
88
+ @media screen and (min-width: #{$large-breakpoint}) {
89
+ @content;
90
+ }
91
+ }
92
+
93
+ @mixin medium {
94
+ @media screen and (min-width: #{$medium-breakpoint}) and (max-width: #{$large-breakpoint}) {
95
+ @content;
96
+ }
97
+ }
98
+
99
+ @mixin small {
100
+ @media screen and (max-width: #{$medium-breakpoint}) {
101
+ @content;
102
+ }
103
+ }
104
+
105
+ // //
106
+ //---------- scss mixin --------- //
107
+ // //
108
+
109
+ @mixin text-muted {
110
+ color: $footer-head-link-color;
111
+ }
112
+
113
+ @mixin text-unmuted {
114
+ color: $text-color;
115
+ }
116
+
117
+ @mixin footer-wrapper {
118
+ margin-bottom: $spacing-unit / 2;
119
+ width: calc(28% - (#{$spacing-unit} / 2));
120
+ padding: 0 ($spacing-unit / 2);
121
+
122
+ &:first-child {
123
+ padding-right: $spacing-unit / 2;
124
+ padding-left: 0;
125
+ }
126
+
127
+ &:last-child {
128
+ padding-right: 0;
129
+ padding-left: $spacing-unit / 2;
130
+ }
131
+ }
132
+
133
+ @mixin prompt($gf-icon, $gf-color, $bg-color, $fnt-fam) {
134
+ border-radius: 5px;
135
+ padding: 0.80rem 1.2rem;
136
+ font-style: normal;
137
+ color: $text-color;
138
+ font-weight: 400;
139
+ display: flex;
140
+ border-left: 6px solid $gf-color;
141
+ background-color: $bg-color;
142
+ font-size: 0.975rem;
143
+
144
+ &::before {
145
+ content: $gf-icon;
146
+ font-family: $fnt-fam;
147
+ color: $gf-color;
148
+ font-size: 34px;
149
+ line-height: 1;
150
+ padding-right: 10px;
151
+ padding-bottom: 13px;
152
+ }
153
+ }
154
+
155
+ @mixin horizontal-scroll {
156
+ &::-webkit-scrollbar {
157
+ width: 7px;
158
+ height: 9px;
159
+ }
160
+
161
+ &::-webkit-scrollbar-track {
162
+ background-color: $code-background-color;
163
+ }
164
+
165
+ &::-webkit-scrollbar-thumb {
166
+ background: $scroll_bar_bg_color;
167
+ border-radius: 4px;
168
+ }
169
+
170
+ }
171
+
172
+
173
+ // //
174
+ //---------- Animations --------- //
175
+ // //
176
+
177
+
178
+ @keyframes left-animation {
179
+ from {
180
+ opacity: 0;
181
+ transform: translate3d(100%, 0, 0);
182
+ }
183
+
184
+ to {
185
+ opacity: 1;
186
+ transform: translate3d(0, 0, 0);
187
+ }
188
+ }
189
+
190
+ @keyframes BTT-Entrance {
191
+ from {
192
+ opacity: 0;
193
+ transform: translate3d(0, 100%, 0);
194
+ }
195
+
196
+ to {
197
+ opacity: 1;
198
+ transform: translate3d(0, 0, 0);
199
+ }
200
+ }
201
+
202
+ @keyframes BTT-Exit {
203
+ from {
204
+ opacity: 1;
205
+ }
206
+
207
+ to {
208
+ opacity: 0;
209
+ transform: translate3d(0, 100%, 0);
210
+ }
211
+ }
212
+
213
+ @keyframes slide {
214
+ 100% {
215
+ transform: translateX(0);
216
+ }
217
+ }
218
+
219
+ @keyframes slide-up {
220
+ 100% {
221
+ opacity: 1;
222
+ transform: translateY(0);
223
+ }
224
+ }
225
+
226
+ @keyframes fade-in {
227
+ 100% {
228
+ opacity: 1;
229
+ }
89
230
  }