jekyll-theme-fica 0.1.5 → 0.2.0

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 +18 -0
  4. data/License.md +2 -0
  5. data/README.md +73 -86
  6. data/_includes/BTT.html +7 -0
  7. data/_includes/Footer.html +84 -71
  8. data/_includes/Google-Analytics.html +12 -10
  9. data/_includes/Head.html +12 -10
  10. data/_includes/Header.html +34 -28
  11. data/_layouts/default.html +14 -13
  12. data/_layouts/home.html +67 -48
  13. data/_layouts/page.html +3 -13
  14. data/_layouts/post.html +52 -34
  15. data/_layouts/post_home.html +113 -56
  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 +149 -0
  19. data/_posts/2022-04-6-Creating-a-new-post.md +136 -0
  20. data/_sass/custom/styles.scss +1 -0
  21. data/_sass/custom/variables.scss +1 -0
  22. data/_sass/jekyll-theme-fica.scss +8 -0
  23. data/_sass/layouts/Google-fonts.scss +139 -0
  24. data/_sass/layouts/base.scss +579 -0
  25. data/_sass/layouts/layout.scss +718 -0
  26. data/_sass/layouts/variables.scss +230 -0
  27. data/_sass/themes/dark theme/highlight.scss +363 -0
  28. data/_sass/themes/dark theme/theme-dark.scss +142 -0
  29. data/_sass/themes/{Light_Theme.scss → light theme/highlight.scss } +199 -256
  30. data/_sass/themes/light theme/theme-light.scss +136 -0
  31. data/assets/404.svg +22 -0
  32. data/assets/css/Style.scss +13 -0
  33. data/assets/fica-icons.svg +64 -54
  34. data/assets/img/{fica_ad.png → homepage-pic.png} +0 -0
  35. data/bin/run +150 -0
  36. data/docs/contributing.md +69 -0
  37. data/js/back-to-top.js +48 -0
  38. data/post/index.html +4 -0
  39. metadata +47 -13
  40. data/_includes/Custom-Head.html +0 -9
  41. data/_sass/Base.scss +0 -401
  42. data/_sass/Custom-Styles.scss +0 -2
  43. data/_sass/Custom-Variables.scss +0 -1
  44. data/_sass/Initialize.scss +0 -71
  45. data/_sass/Layout.scss +0 -474
  46. data/_sass/themes/Dark_Theme.scss +0 -269
  47. data/assets/css/Styles.scss +0 -11
@@ -0,0 +1,230 @@
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
+ }
230
+ }
@@ -0,0 +1,363 @@
1
+ .highlight .hll {
2
+ background-color: #515151;
3
+ }
4
+
5
+ /*.highlight { background: #2d2d2d; color: #f2f0ec }*/
6
+ .highlight {
7
+ background: #1a1f35;
8
+ color: #f2f0ec;
9
+ }
10
+
11
+ .highlight .c {
12
+ color: #747369;
13
+ }
14
+
15
+ /* Comment */
16
+ .highlight .err {
17
+ color: #f2777a;
18
+ }
19
+
20
+ /* Error */
21
+ .highlight .k {
22
+ color: #cc99cc;
23
+ }
24
+
25
+ /* Keyword */
26
+ .highlight .l {
27
+ color: #f99157;
28
+ }
29
+
30
+ /* Literal */
31
+ .highlight .n {
32
+ color: #f2f0ec;
33
+ }
34
+
35
+ /* Name */
36
+ .highlight .o {
37
+ color: #66cccc;
38
+ }
39
+
40
+ /* Operator */
41
+ .highlight .p {
42
+ color: #f2f0ec;
43
+ }
44
+
45
+ /* Punctuation */
46
+ .highlight .ch {
47
+ color: #747369;
48
+ }
49
+
50
+ /* Comment.Hashbang */
51
+ .highlight .cm {
52
+ color: #747369;
53
+ }
54
+
55
+ /* Comment.Multiline */
56
+ .highlight .cp {
57
+ color: #747369;
58
+ }
59
+
60
+ /* Comment.Preproc */
61
+ .highlight .cpf {
62
+ color: #747369;
63
+ }
64
+
65
+ /* Comment.PreprocFile */
66
+ .highlight .c1 {
67
+ color: #747369;
68
+ }
69
+
70
+ /* Comment.Single */
71
+ .highlight .cs {
72
+ color: #747369;
73
+ }
74
+
75
+ /* Comment.Special */
76
+ .highlight .gd {
77
+ color: #d50000;
78
+ background-color: #ff8a80;
79
+ }
80
+
81
+ /* Generic.Deleted */
82
+ .highlight .ge {
83
+ font-style: italic;
84
+ }
85
+
86
+ /* Generic.Emph */
87
+ .highlight .gh {
88
+ color: #f2f0ec;
89
+ font-weight: bold;
90
+ }
91
+
92
+ /* Generic.Heading */
93
+ .highlight .gi {
94
+ color: #00c853;
95
+ background-color: #ccff90;
96
+ }
97
+
98
+ /* Generic.Inserted */
99
+ .highlight .gp {
100
+ color: #747369;
101
+ font-weight: bold;
102
+ }
103
+
104
+ /* Generic.Prompt */
105
+ .highlight .gs {
106
+ font-weight: bold;
107
+ }
108
+
109
+ /* Generic.Strong */
110
+ .highlight .gu {
111
+ color: #66cccc;
112
+ font-weight: bold;
113
+ }
114
+
115
+ /* Generic.Subheading */
116
+ .highlight .kc {
117
+ color: #cc99cc;
118
+ }
119
+
120
+ /* Keyword.Constant */
121
+ .highlight .kd {
122
+ color: #cc99cc;
123
+ }
124
+
125
+ /* Keyword.Declaration */
126
+ .highlight .kn {
127
+ color: #66cccc;
128
+ }
129
+
130
+ /* Keyword.Namespace */
131
+ .highlight .kp {
132
+ color: #cc99cc;
133
+ }
134
+
135
+ /* Keyword.Pseudo */
136
+ .highlight .kr {
137
+ color: #cc99cc;
138
+ }
139
+
140
+ /* Keyword.Reserved */
141
+ .highlight .kt {
142
+ color: #ffcc66;
143
+ }
144
+
145
+ /* Keyword.Type */
146
+ .highlight .ld {
147
+ color: #99cc99;
148
+ }
149
+
150
+ /* Literal.Date */
151
+ .highlight .m {
152
+ color: #f99157;
153
+ }
154
+
155
+ /* Literal.Number */
156
+ .highlight .s {
157
+ color: #99cc99;
158
+ }
159
+
160
+ /* Literal.String */
161
+ .highlight .na {
162
+ color: #6699cc;
163
+ }
164
+
165
+ /* Name.Attribute */
166
+ .highlight .nb {
167
+ color: #f2f0ec;
168
+ }
169
+
170
+ /* Name.Builtin */
171
+ .highlight .nc {
172
+ color: #ffcc66;
173
+ }
174
+
175
+ /* Name.Class */
176
+ .highlight .no {
177
+ color: #f2777a;
178
+ }
179
+
180
+ /* Name.Constant */
181
+ .highlight .nd {
182
+ color: #66cccc;
183
+ }
184
+
185
+ /* Name.Decorator */
186
+ .highlight .ni {
187
+ color: #f2f0ec;
188
+ }
189
+
190
+ /* Name.Entity */
191
+ .highlight .ne {
192
+ color: #f2777a;
193
+ }
194
+
195
+ /* Name.Exception */
196
+ .highlight .nf {
197
+ color: #6699cc;
198
+ }
199
+
200
+ /* Name.Function */
201
+ .highlight .nl {
202
+ color: #f2f0ec;
203
+ }
204
+
205
+ /* Name.Label */
206
+ .highlight .nn {
207
+ color: #ffcc66;
208
+ }
209
+
210
+ /* Name.Namespace */
211
+ .highlight .nx {
212
+ color: #6699cc;
213
+ }
214
+
215
+ /* Name.Other */
216
+ .highlight .py {
217
+ color: #f2f0ec;
218
+ }
219
+
220
+ /* Name.Property */
221
+ .highlight .nt {
222
+ color: #66cccc;
223
+ }
224
+
225
+ /* Name.Tag */
226
+ .highlight .nv {
227
+ color: #f2777a;
228
+ }
229
+
230
+ /* Name.Variable */
231
+ .highlight .ow {
232
+ color: #66cccc;
233
+ }
234
+
235
+ /* Operator.Word */
236
+ .highlight .w {
237
+ color: #f2f0ec;
238
+ }
239
+
240
+ /* Text.Whitespace */
241
+ .highlight .mb {
242
+ color: #f99157;
243
+ }
244
+
245
+ /* Literal.Number.Bin */
246
+ .highlight .mf {
247
+ color: #f99157;
248
+ }
249
+
250
+ /* Literal.Number.Float */
251
+ .highlight .mh {
252
+ color: #f99157;
253
+ }
254
+
255
+ /* Literal.Number.Hex */
256
+ .highlight .mi {
257
+ color: #f99157;
258
+ }
259
+
260
+ /* Literal.Number.Integer */
261
+ .highlight .mo {
262
+ color: #f99157;
263
+ }
264
+
265
+ /* Literal.Number.Oct */
266
+ .highlight .sa {
267
+ color: #99cc99;
268
+ }
269
+
270
+ /* Literal.String.Affix */
271
+ .highlight .sb {
272
+ color: #99cc99;
273
+ }
274
+
275
+ /* Literal.String.Backtick */
276
+ .highlight .sc {
277
+ color: #f2f0ec;
278
+ }
279
+
280
+ /* Literal.String.Char */
281
+ .highlight .dl {
282
+ color: #99cc99;
283
+ }
284
+
285
+ /* Literal.String.Delimiter */
286
+ .highlight .sd {
287
+ color: #747369;
288
+ }
289
+
290
+ /* Literal.String.Doc */
291
+ .highlight .s2 {
292
+ color: #99cc99;
293
+ }
294
+
295
+ /* Literal.String.Double */
296
+ .highlight .se {
297
+ color: #f99157;
298
+ }
299
+
300
+ /* Literal.String.Escape */
301
+ .highlight .sh {
302
+ color: #99cc99;
303
+ }
304
+
305
+ /* Literal.String.Heredoc */
306
+ .highlight .si {
307
+ color: #f99157;
308
+ }
309
+
310
+ /* Literal.String.Interpol */
311
+ .highlight .sx {
312
+ color: #99cc99;
313
+ }
314
+
315
+ /* Literal.String.Other */
316
+ .highlight .sr {
317
+ color: #99cc99;
318
+ }
319
+
320
+ /* Literal.String.Regex */
321
+ .highlight .s1 {
322
+ color: #99cc99;
323
+ }
324
+
325
+ /* Literal.String.Single */
326
+ .highlight .ss {
327
+ color: #99cc99;
328
+ }
329
+
330
+ /* Literal.String.Symbol */
331
+ .highlight .bp {
332
+ color: #f2f0ec;
333
+ }
334
+
335
+ /* Name.Builtin.Pseudo */
336
+ .highlight .fm {
337
+ color: #6699cc;
338
+ }
339
+
340
+ /* Name.Function.Magic */
341
+ .highlight .vc {
342
+ color: #f2777a;
343
+ }
344
+
345
+ /* Name.Variable.Class */
346
+ .highlight .vg {
347
+ color: #f2777a;
348
+ }
349
+
350
+ /* Name.Variable.Global */
351
+ .highlight .vi {
352
+ color: #f2777a;
353
+ }
354
+
355
+ /* Name.Variable.Instance */
356
+ .highlight .vm {
357
+ color: #f2777a;
358
+ }
359
+
360
+ /* Name.Variable.Magic */
361
+ .highlight .il {
362
+ color: #f99157;
363
+ }
@@ -0,0 +1,142 @@
1
+ //
2
+ // Dark Theme
3
+ //
4
+
5
+ // //
6
+ //-------------Basic settings-----------------------//
7
+ // //
8
+ $primary_color: #1d2127 !default;
9
+ $link-color: #4dd0e1!default;
10
+ $text-color: #e7e7e7 !default;
11
+
12
+ // //
13
+ //-------------Advance settings-----------------------//
14
+ // //
15
+ //
16
+ // Header
17
+ //
18
+ $header-link-color: darken($text-color, 40%) !default;
19
+ $site-header-bg: darken($primary_color, 5%) !default;
20
+
21
+ //
22
+ // Site Home Banner
23
+ //
24
+ $header-bg-color: $link-color !default;
25
+ $home-header-title-color: darken($primary_color, 3%) !default;
26
+ $btn-download-bg-color: darken($home-header-title-color, 1%) !default;
27
+ $btn-download-hover-color: darken($btn-download-bg-color, 2%) !default;
28
+
29
+ //
30
+ // Site Nav
31
+ //
32
+ $menu-bdr-color: darken($primary_color, 6%) !default;
33
+ $menu-color: $text-color !default;
34
+ $menu-bg-color-chae: darken($primary_color, 6%) !default;
35
+
36
+ //
37
+ // Site Footer
38
+ //
39
+ $footer-bg-color: darken($primary_color, 2%) !default;
40
+ $footer-info-bg-color: darken($footer-bg-color, 2%) !default;
41
+ $footer-head-link-color: darken($text-color, 50%) !default;
42
+ $footer-links-color: darken($text-color, 10%) !default;
43
+ $footer-links-hover-color: darken($footer-links-color, 30%) !default;
44
+
45
+ //
46
+ // Site Scroll
47
+ //
48
+ $scroll_bar_bg_color: darken($text-color, 10%) !default;
49
+
50
+ //
51
+ // Error Pages
52
+ //
53
+ $error-div-bg-color: darken($primary_color, 2%) !default;
54
+ $error-btn-svg-color: $primary_color !default;
55
+ $error-btn-bg-color: $primary_color !default;
56
+ $error-btn-hover-color: darken($error-btn-bg-color, 7%) !default;
57
+
58
+ //
59
+ // Page bar
60
+ //
61
+ $page-bar-top-bar-color: darken($primary_color, 5%) !default;
62
+ $page-bar-btn-bg-color: darken($primary_color, 2%) !default;
63
+ $page-bar-svg-color: $text-color !default;
64
+ $page-bar-btn-hover-color: darken($page-bar-btn-bg-color, 5%) !default;
65
+ $page-bar-svg-hover-color: darken($page-bar-svg-color, 30%) !default;
66
+ $page-bar-btn-disabled: lighten($page-bar-btn-bg-color, 5%) !default;
67
+
68
+ //
69
+ // Button
70
+ //
71
+ // $btn-bg-color: #525252 !default;
72
+ // $btn-color-hover: #353535 !default;
73
+ $btn-bg-color: lighten($primary_color, 8%) !default;
74
+ $btn-color-hover: darken($btn-bg-color, 5%) !default;
75
+ $btn-text-hover-color: darken($text-color, 50%) !default;
76
+
77
+ //
78
+ // Highlight
79
+ //
80
+ $highlight-bg-color: darken($link-color, 20%) !default;
81
+ $highlight-text-color: darken($text-color, 100%) !default;
82
+
83
+ //
84
+ // Prompt Tip
85
+ //
86
+ $prompt-tip-icon-color: #395021 !default;
87
+ $prompt-tip-bg-color: #5a8034 !default;
88
+
89
+ //
90
+ // Prompt Info
91
+ //
92
+ $prompt-info-icon-color: #12447d !default;
93
+ $prompt-info-bg-color: #1a61b3 !default;
94
+
95
+ //
96
+ // Prompt Warning
97
+ //
98
+ $prompt-warning-icon-color: #754e12 !default;
99
+ $prompt-warning-bg-color: #b3761a !default;
100
+
101
+ //
102
+ // Prompt Danger
103
+ //
104
+ $prompt-danger-icon-color: #670e0e !default;
105
+ $prompt-danger-bg-color: #b31a1a !default;
106
+
107
+ //
108
+ // Code
109
+ //
110
+ $code-background-color: darken($primary_color, 6%) !default;
111
+ $code-text-color: #4dd0e1 !default;
112
+ $blockquote-text-color: darken($text-color, 40%) !default;
113
+
114
+ //
115
+ // links
116
+ //
117
+ $link-visited-color: $link-color !default;
118
+ $link-hover-color: darken($link-color, 33%) !default;
119
+
120
+ //
121
+ // Table
122
+ //
123
+ $table-text-color: $text-color !default;
124
+ $table-zebra-color: darken($primary_color, 2%) !default;
125
+ $table-header-bg-color: darken($primary_color, 3%) !default;
126
+
127
+ $Github: #f0f6fc !default;
128
+
129
+ $border-color: lighten($primary_color, 3%) !default;
130
+
131
+ //
132
+ // Back to Top
133
+ //
134
+ $BTT-bg-color: $code-text-color !default;
135
+ $BTT-svg-color: rgba(0, 0, 0, 0.54) !default;
136
+
137
+ //
138
+ // BOLD
139
+ //
140
+ $Bold-color: #88ffff !default;
141
+
142
+ @import "themes/dark theme/highlight"