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.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yaml +27 -0
- data/404.html +16 -0
- data/License.md +2 -0
- data/README.md +81 -43
- data/_includes/BTT.html +9 -0
- data/_includes/Custom-Head.html +2 -2
- data/_includes/Google-Analytics.html +11 -10
- data/_includes/Head.html +5 -4
- data/_includes/Header.html +14 -19
- data/_layouts/default.html +12 -11
- data/_layouts/home.html +46 -17
- data/_layouts/page.html +1 -0
- data/_layouts/post.html +51 -34
- data/_layouts/post_home.html +72 -47
- data/_posts/2022-03-31-To-Know-if-the-nav-works.md +8 -0
- data/_posts/2022-04-1-Demo.md +114 -0
- data/_posts/2022-04-5-Getting-Started.md +103 -0
- data/_posts/2022-04-6-Creating-a-new-post.md +124 -0
- data/_sass/custom/styles.scss +1 -0
- data/_sass/custom/variables.scss +1 -0
- data/_sass/jekyll-theme-fica.scss +7 -0
- data/_sass/layouts/base.scss +587 -0
- data/_sass/layouts/layout.scss +677 -0
- data/_sass/layouts/variables.scss +89 -0
- data/_sass/themes/dark theme/highlight.scss +363 -0
- data/_sass/themes/dark theme/theme-dark.scss +135 -0
- data/_sass/themes/light theme/highlight.scss +199 -0
- data/_sass/themes/light theme/theme-light.scss +132 -0
- data/assets/404.svg +22 -0
- data/assets/css/Style.scss +42 -0
- data/assets/css/fica-icons.svg +68 -0
- data/assets/fica-icons.svg +64 -54
- data/assets/img/fica_ad.png +0 -0
- data/bin/build +7 -0
- data/bin/server +7 -0
- data/docs/contributing.md +69 -0
- data/js/back-to-top.js +48 -0
- data/post/index.html +4 -0
- metadata +41 -9
- data/_sass/Base.scss +0 -397
- data/_sass/Color_scheme.scss +0 -121
- data/_sass/Custom-Styles.scss +0 -2
- data/_sass/Custom-Variables.scss +0 -1
- data/_sass/Initialize.scss +0 -71
- data/_sass/Layout.scss +0 -462
- data/assets/css/Styles.scss +0 -16
@@ -0,0 +1,89 @@
|
|
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
|
+
}
|
89
|
+
}
|
@@ -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,135 @@
|
|
1
|
+
//
|
2
|
+
// Dark Theme
|
3
|
+
//
|
4
|
+
|
5
|
+
// //
|
6
|
+
//-------------Basic settings-----------------------//
|
7
|
+
// //
|
8
|
+
$primary_color: #1d2127 !default;
|
9
|
+
$link-color: #4dd0e1!default;
|
10
|
+
$text-color: #ffffff !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
|
+
|
27
|
+
//
|
28
|
+
// Site Nav
|
29
|
+
//
|
30
|
+
$menu-bdr-color: darken($primary_color, 6%) !default;
|
31
|
+
$menu-color: $text-color !default;
|
32
|
+
$menu-bg-color-chae: darken($primary_color, 6%) !default;
|
33
|
+
|
34
|
+
//
|
35
|
+
// Site Footer
|
36
|
+
//
|
37
|
+
$footer-bg-color: darken($primary_color, 2%) !default;
|
38
|
+
$footer-head-link-color: darken($text-color, 50%) !default;
|
39
|
+
$footer-links-color: darken($text-color, 10%) !default;
|
40
|
+
$footer-links-hover-color: darken($footer-links-color, 30%) !default;
|
41
|
+
|
42
|
+
//
|
43
|
+
// Site Scroll
|
44
|
+
//
|
45
|
+
$scroll_bar_bg_color: darken($text-color, 10%) !default;
|
46
|
+
|
47
|
+
//
|
48
|
+
// Error Pages
|
49
|
+
//
|
50
|
+
$error-div-bg-color: darken($primary_color, 2%) !default;
|
51
|
+
$error-btn-svg-color: $primary_color !default;
|
52
|
+
$error-btn-bg-color: $primary_color !default;
|
53
|
+
$error-btn-hover-color: darken($error-btn-bg-color, 7%) !default;
|
54
|
+
|
55
|
+
//
|
56
|
+
// Page bar
|
57
|
+
//
|
58
|
+
$page-bar-top-bar-color: darken($primary_color, 5%) !default;
|
59
|
+
$page-bar-btn-bg-color: darken($primary_color, 2%) !default;
|
60
|
+
$page-bar-svg-color: $text-color !default;
|
61
|
+
$page-bar-btn-hover-color: darken($page-bar-btn-bg-color, 5%) !default;
|
62
|
+
$page-bar-svg-hover-color: darken($page-bar-svg-color, 30%) !default;
|
63
|
+
$page-bar-btn-disabled: lighten($page-bar-btn-bg-color, 5%) !default;
|
64
|
+
|
65
|
+
//
|
66
|
+
// Button
|
67
|
+
//
|
68
|
+
// $btn-bg-color: #525252 !default;
|
69
|
+
// $btn-color-hover: #353535 !default;
|
70
|
+
$btn-bg-color: lighten($primary_color, 8%) !default;
|
71
|
+
$btn-color-hover: darken($btn-bg-color, 5%) !default;
|
72
|
+
$btn-text-hover-color: darken($text-color, 50%) !default;
|
73
|
+
|
74
|
+
//
|
75
|
+
// Highlight
|
76
|
+
//
|
77
|
+
$highlight-bg-color: darken($link-color, 20%) !default;
|
78
|
+
$highlight-text-color: darken($text-color, 100%) !default;
|
79
|
+
|
80
|
+
//
|
81
|
+
// Prompt Tip
|
82
|
+
//
|
83
|
+
$prompt-tip-bg-color: #5a8034 !default;
|
84
|
+
|
85
|
+
//
|
86
|
+
// Prompt Info
|
87
|
+
//
|
88
|
+
$prompt-info-bg-color: #1a61b3 !default;
|
89
|
+
|
90
|
+
//
|
91
|
+
// Prompt Warning
|
92
|
+
//
|
93
|
+
$prompt-warning-bg-color: #b3761a !default;
|
94
|
+
|
95
|
+
//
|
96
|
+
// Prompt Danger
|
97
|
+
//
|
98
|
+
$prompt-danger-bg-color: #b31a1a !default;
|
99
|
+
|
100
|
+
//
|
101
|
+
// Code
|
102
|
+
//
|
103
|
+
$code-background-color: darken($primary_color, 3%) !default;
|
104
|
+
$code-text-color: #4dd0e1 !default;
|
105
|
+
$blockquote-text-color: darken($text-color, 40%) !default;
|
106
|
+
|
107
|
+
//
|
108
|
+
// links
|
109
|
+
//
|
110
|
+
$link-visited-color: $link-color !default;
|
111
|
+
$link-hover-color: darken($link-color, 33%) !default;
|
112
|
+
|
113
|
+
//
|
114
|
+
// Table
|
115
|
+
//
|
116
|
+
$table-text-color: $text-color !default;
|
117
|
+
$table-zebra-color: darken($primary_color, 2%) !default;
|
118
|
+
$table-header-bg-color: darken($primary_color, 3%) !default;
|
119
|
+
|
120
|
+
$Github: #f0f6fc !default;
|
121
|
+
|
122
|
+
$border-color: lighten($primary_color, 3%) !default;
|
123
|
+
|
124
|
+
//
|
125
|
+
// Back to Top
|
126
|
+
//
|
127
|
+
$BTT-bg-color: $code-text-color !default;
|
128
|
+
$BTT-svg-color: darken($text-color, 100%) !default;
|
129
|
+
|
130
|
+
//
|
131
|
+
// BOLD
|
132
|
+
//
|
133
|
+
$Bold-color: #88ffff !default;
|
134
|
+
|
135
|
+
@import "themes/dark theme/highlight"
|