jekyll-theme-fica 0.1.8 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) 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_BASE_2002.yaml.swp +0 -0
  5. data/.github/workflows/.ci_LOCAL_2002.yaml.swp +0 -0
  6. data/.github/workflows/.ci_REMOTE_2002.yaml.swp +0 -0
  7. data/.github/workflows/ci.yaml +20 -13
  8. data/.github/workflows/ci.yaml.orig +34 -0
  9. data/.github/workflows/ci_BACKUP_2002.yaml +34 -0
  10. data/.github/workflows/ci_BASE_2002.yaml +27 -0
  11. data/.github/workflows/ci_LOCAL_2002.yaml +27 -0
  12. data/.github/workflows/ci_REMOTE_2002.yaml +27 -0
  13. data/404.html +5 -3
  14. data/README.md +59 -89
  15. data/_includes/Footer.html +76 -36
  16. data/_includes/Head.html +11 -11
  17. data/_includes/Header.html +17 -23
  18. data/_includes/assets/BTT.html +8 -0
  19. data/_includes/assets/Google-Analytics.html +12 -0
  20. data/_includes/assets/anchor-headings.html +164 -0
  21. data/_includes/assets/comments.html +16 -0
  22. data/_includes/assets/toc.html +174 -0
  23. data/_layouts/default.html +12 -10
  24. data/_layouts/home.html +20 -46
  25. data/_layouts/page.html +5 -14
  26. data/_layouts/post.html +49 -50
  27. data/_layouts/post_home.html +102 -70
  28. data/_posts/2022-03-31-To-Know-if-the-nav-works.md +8 -8
  29. data/_posts/2022-04-1-Demo.md +113 -113
  30. data/_posts/2022-04-5-Getting-Started.md +74 -27
  31. data/_posts/2022-04-6-Creating-a-new-post.md +136 -124
  32. data/_sass/base.scss +472 -0
  33. data/_sass/{themes/dark theme → colors/dark-theme}/highlight.scss +0 -0
  34. data/_sass/{themes/dark theme/theme-dark.scss → colors/dark-theme/theme-dark.scss} +24 -27
  35. data/_sass/{themes/light theme → colors/light-theme}/highlight.scss +0 -0
  36. data/_sass/{themes/light theme/theme-light.scss → colors/light-theme/theme-light.scss} +18 -24
  37. data/_sass/jekyll-theme-fica.scss +1 -7
  38. data/_sass/layouts/Google-fonts.scss +139 -0
  39. data/_sass/layouts/component.scss +253 -0
  40. data/_sass/layouts/layout.scss +508 -572
  41. data/_sass/layouts/variable.scss +201 -0
  42. data/assets/css/Style.scss +7 -37
  43. data/assets/fica-icons.svg +64 -64
  44. data/assets/img/{fica_ad.png → homepage-pic.png} +0 -0
  45. data/bin/run +195 -0
  46. data/js/Main.js +21 -0
  47. data/js/back-to-top.js +16 -25
  48. data/post/index.html +3 -3
  49. metadata +36 -21
  50. data/_includes/BTT.html +0 -9
  51. data/_includes/Custom-Head.html +0 -9
  52. data/_includes/Google-Analytics.html +0 -11
  53. data/_sass/custom/styles.scss +0 -1
  54. data/_sass/custom/variables.scss +0 -1
  55. data/_sass/layouts/base.scss +0 -573
  56. data/_sass/layouts/variables.scss +0 -89
  57. data/assets/css/fica-icons.svg +0 -68
  58. data/bin/build +0 -7
  59. data/bin/server +0 -7
  60. data/docs/contributing.md +0 -69
@@ -6,8 +6,9 @@
6
6
  //-------------Basic settings-----------------------//
7
7
  // //
8
8
  $primary_color: #c7c7c7 !default;
9
- $link-color: #008f70 !default;
9
+ $link-color: #008f70 !default;
10
10
  $text-color: #000000 !default;
11
+ $text-mute-color: lighten($text-color, 50%) !default;
11
12
 
12
13
  // //
13
14
  //-------------Advance settings-----------------------//
@@ -18,35 +19,29 @@ $site-header-bg: darken($primary_color, 5%) !default;
18
19
  //
19
20
  // Site Home Banner
20
21
  //
21
- $header-bg-color: $link-color !default;
22
+ $header-bg-color: $link-color !default;
22
23
  $home-header-title-color: darken($primary_color, 10%) !default;
23
24
 
24
25
  //
25
26
  // Site Nav
26
27
  //
27
28
  $menu-bdr-color: lighten($primary_color, 6%) !default;
28
- $menu-color: $text-color !default;
29
+ $menu-color: $text-color !default;
29
30
  $menu-bg-color-chae: lighten($primary_color, 6%) !default;
30
31
 
31
32
  //
32
33
  // Site Footer
33
34
  //
34
35
  $footer-bg-color: lighten($primary_color, 5%) !default;
35
- $footer-head-link-color: lighten($text-color, 50%) !default;
36
36
  $footer-links-color: lighten($text-color, 10%) !default;
37
37
  $footer-links-hover-color: lighten($footer-links-color, 30%) !default;
38
38
 
39
- //
40
- // Site Scroll
41
- //
42
- $scroll_bar_bg_color: lighten($text-color, 60%) !default;
43
-
44
39
  //
45
40
  // Error Pages
46
41
  //
47
42
  $error-div-bg-color: darken($primary_color, 2%) !default;
48
43
  $error-btn-svg-color: #1d2127 !default;
49
- $error-btn-bg-color: $primary_color !default;
44
+ $error-btn-bg-color: $primary_color !default;
50
45
  $error-btn-hover-color: darken($error-btn-bg-color, 7%) !default;
51
46
 
52
47
  //
@@ -54,7 +49,7 @@ $error-btn-hover-color: darken($error-btn-bg-color, 7%) !default;
54
49
  //
55
50
  $page-bar-top-bar-color: darken($primary_color, 5%) !default;
56
51
  $page-bar-btn-bg-color: darken($primary_color, 2%) !default;
57
- $page-bar-svg-color: $text-color !default;
52
+ $page-bar-svg-color: $text-color !default;
58
53
  $page-bar-btn-hover-color: darken($page-bar-btn-bg-color, 5%) !default;
59
54
  $page-bar-svg-hover-color: darken($page-bar-svg-color, 30%) !default;
60
55
  $page-bar-btn-disabled: lighten($page-bar-btn-bg-color, 5%) !default;
@@ -77,56 +72,55 @@ $highlight-text-color: lighten($text-color, 100%) !default;
77
72
  //
78
73
  // prompt Tip
79
74
  //
75
+ $prompt-tip-icon-color: #395021 !default;
80
76
  $prompt-tip-bg-color: #82be46 !default;
81
77
 
82
78
  //
83
79
  // Prompt Info
84
80
  //
81
+ $prompt-info-icon-color: #12447d !default;
85
82
  $prompt-info-bg-color: #1e6ec9 !default;
86
83
 
87
84
  //
88
85
  // Prompt Warning
89
86
  //
87
+ $prompt-warning-icon-color: #754e12 !default;
90
88
  $prompt-warning-bg-color: #dd9222 !default;
91
89
 
92
90
  //
93
91
  // Prompt Danger
94
92
  //
93
+ $prompt-danger-icon-color: #670e0e !default;
95
94
  $prompt-danger-bg-color: #d32121 !default;
96
95
 
97
96
  //
98
97
  //code
99
98
  //
100
99
  $code-background-color: darken($primary_color, 3%) !default;
101
- $code-text-color: #378f8f !default;
102
- $blockquote-text-color: lighten($text-color, 30%) !default;
100
+ $code-text-color: lighten($text-color, 10%) !default;
101
+ $blockquote-text-color: lighten($text-color, 40%) !default;
103
102
 
104
103
  //
105
104
  // links
106
105
  //
107
106
  $link-visited-color: $link-color !default;
108
- $link-hover-color: darken($link-color, 10%) !default;
107
+ $link-hover-color: darken($link-color, 15%) !default;
109
108
 
110
109
  //
111
110
  //table
112
111
  //
113
- $table-text-color: $text-color !default;
112
+ $table-text-color: $text-color !default;
114
113
  $table-zebra-color: lighten($primary_color, 2%) !default;
115
114
  $table-header-bg-color: lighten($primary_color, 3%) !default;
116
115
 
117
- $Github: $text-color !default;
116
+ $Github: $text-color !default;
118
117
 
119
118
  $border-color: darken($primary_color, 2%) !default;
120
119
 
121
120
  //
122
121
  // Back to Top
123
122
  //
124
- $BTT-bg-color: $code-text-color !default;
125
- $BTT-svg-color: darken($text-color, 100%) !default;
126
-
127
- //
128
- // BOLD
129
- //
130
- $Bold-color: #427c7c !default;
123
+ $BTT-bg-color: #378f8f !default;
124
+ $BTT-svg-color: rgba(255, 255, 255, 1) !default;
131
125
 
132
- @import "themes/light theme/highlight"
126
+ @import "colors/light-theme/highlight"
@@ -1,7 +1 @@
1
- @import
2
- "themes/dark theme/theme-dark",
3
- "custom/variables",
4
- "layouts/variables",
5
- "custom/styles",
6
- "layouts/layout",
7
- "layouts/base";
1
+ @import "layouts/variable", "colors/dark-theme/theme-dark", "layouts/Google-fonts", "base", "layouts/layout","layouts/component"
@@ -0,0 +1,139 @@
1
+ @mixin material-icons {
2
+ font-family: 'Material Icons';
3
+ font-weight: normal;
4
+ font-style: normal;
5
+ font-size: 24px;
6
+ /* Preferred icon size */
7
+ display: inline-block;
8
+ line-height: 1;
9
+ text-transform: none;
10
+ letter-spacing: normal;
11
+ word-wrap: normal;
12
+ white-space: nowrap;
13
+ direction: ltr;
14
+ user-select: none;
15
+ -moz-user-select: none;
16
+ -khtml-user-select: none;
17
+ -webkit-user-select: none;
18
+ -o-user-select: none;
19
+
20
+ /* Support for all WebKit browsers. */
21
+ -webkit-font-smoothing: antialiased;
22
+ /* Support for Safari and Chrome. */
23
+ text-rendering: optimizeLegibility;
24
+
25
+ /* Support for Firefox. */
26
+ -moz-osx-font-smoothing: grayscale;
27
+
28
+ /* Support for IE. */
29
+ font-feature-settings: 'liga';
30
+ }
31
+
32
+ .material-icons {
33
+ @include material-icons();
34
+ }
35
+
36
+ /* Rules for sizing the icon. */
37
+ .material-icons.md-18 {
38
+ font-size: 18px;
39
+ }
40
+
41
+ .material-icons.md-24 {
42
+ font-size: 24px;
43
+ }
44
+
45
+ .material-icons.md-36 {
46
+ font-size: 36px;
47
+ }
48
+
49
+ .material-icons.md-48 {
50
+ font-size: 48px;
51
+ }
52
+
53
+ /* Rules for using icons as black on a light background. */
54
+ .material-icons.md-dark {
55
+ color: rgba(0, 0, 0, 0.54);
56
+ }
57
+
58
+ .material-icons.md-dark.md-inactive {
59
+ color: rgba(0, 0, 0, 0.26);
60
+ }
61
+
62
+ /* Rules for using icons as white on a dark background. */
63
+ .material-icons.md-light {
64
+ color: rgba(255, 255, 255, 1);
65
+ }
66
+
67
+ .material-icons.md-light.md-inactive {
68
+ color: rgba(255, 255, 255, 0.3);
69
+ }
70
+
71
+ /* fallback */
72
+ @font-face {
73
+ font-family: 'Material Icons';
74
+ font-style: normal;
75
+ font-weight: 400;
76
+ src: url(https://fonts.gstatic.com/s/materialicons/v128/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
77
+ }
78
+ /* fallback */
79
+ @font-face {
80
+ font-family: 'Material Icons Outlined';
81
+ font-style: normal;
82
+ font-weight: 400;
83
+ src: url(https://fonts.gstatic.com/s/materialiconsoutlined/v103/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUce.woff2) format('woff2');
84
+ }
85
+ /* fallback */
86
+ @font-face {
87
+ font-family: 'Material Icons Round';
88
+ font-style: normal;
89
+ font-weight: 400;
90
+ src: url(https://fonts.gstatic.com/s/materialiconsround/v102/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmP.woff2) format('woff2');
91
+ }
92
+
93
+ .material-icons {
94
+ font-family: 'Material Icons';
95
+ font-weight: normal;
96
+ font-style: normal;
97
+ font-size: 24px;
98
+ line-height: 1;
99
+ letter-spacing: normal;
100
+ text-transform: none;
101
+ display: inline-block;
102
+ white-space: nowrap;
103
+ word-wrap: normal;
104
+ direction: ltr;
105
+ -webkit-font-feature-settings: 'liga';
106
+ -webkit-font-smoothing: antialiased;
107
+ }
108
+
109
+ .material-icons-outlined {
110
+ font-family: 'Material Icons Outlined';
111
+ font-weight: normal;
112
+ font-style: normal;
113
+ font-size: 24px;
114
+ line-height: 1;
115
+ letter-spacing: normal;
116
+ text-transform: none;
117
+ display: inline-block;
118
+ white-space: nowrap;
119
+ word-wrap: normal;
120
+ direction: ltr;
121
+ -webkit-font-feature-settings: 'liga';
122
+ -webkit-font-smoothing: antialiased;
123
+ }
124
+
125
+ .material-icons-round {
126
+ font-family: 'Material Icons Round';
127
+ font-weight: normal;
128
+ font-style: normal;
129
+ font-size: 24px;
130
+ line-height: 1;
131
+ letter-spacing: normal;
132
+ text-transform: none;
133
+ display: inline-block;
134
+ white-space: nowrap;
135
+ word-wrap: normal;
136
+ direction: ltr;
137
+ -webkit-font-feature-settings: 'liga';
138
+ -webkit-font-smoothing: antialiased;
139
+ }
@@ -0,0 +1,253 @@
1
+ //
2
+ // Prompts
3
+ //
4
+ .prompt-tip {
5
+ @include prompt(
6
+ "tips_and_updates",
7
+ $prompt-tip-icon-color,
8
+ $prompt-tip-bg-color,
9
+ "Material Icons Outlined"
10
+ );
11
+ }
12
+
13
+ .prompt-tip {
14
+ @include prompt(
15
+ "tips_and_updates",
16
+ $prompt-tip-icon-color,
17
+ $prompt-tip-bg-color,
18
+ "Material Icons Outlined"
19
+ );
20
+ }
21
+
22
+ .prompt-info {
23
+ @include prompt(
24
+ "info",
25
+ $prompt-info-icon-color,
26
+ $prompt-info-bg-color,
27
+ "Material Icons Outlined"
28
+ );
29
+ }
30
+
31
+ .prompt-warning {
32
+ @include prompt(
33
+ "warning",
34
+ $prompt-warning-icon-color,
35
+ $prompt-warning-bg-color,
36
+ "Material Icons Round"
37
+ );
38
+ }
39
+
40
+ .prompt-danger {
41
+ @include prompt(
42
+ "dangerous",
43
+ $prompt-danger-icon-color,
44
+ $prompt-danger-bg-color,
45
+ "Material Icons Round"
46
+ );
47
+ }
48
+
49
+ //
50
+ // Tables
51
+ //
52
+ table {
53
+ margin-bottom: $font-spacing;
54
+ width: 100%;
55
+ text-align: $table-text-align;
56
+ color: $table-text-color;
57
+ border-collapse: collapse;
58
+
59
+ @include horizontal-scroll();
60
+
61
+ tr {
62
+ &:nth-child(even) {
63
+ background-color: $table-zebra-color;
64
+ }
65
+ }
66
+
67
+ th {
68
+ padding: ($font-spacing / 3) ($font-spacing / 2);
69
+ border-bottom: 3px solid $text-color;
70
+ border-left: 1px solid $border-color;
71
+ border-right: 1px solid $border-color;
72
+ }
73
+
74
+ td {
75
+ padding: ($font-spacing / 3) ($font-spacing / 2);
76
+ border-left: 1px solid $border-color;
77
+ border-right: 1px solid $border-color;
78
+ }
79
+
80
+ th {
81
+ background-color: $table-header-bg-color;
82
+ }
83
+ }
84
+
85
+
86
+ .btn {
87
+ padding: 8px 25px;
88
+ border: none;
89
+ border-radius: 5px;
90
+ cursor: pointer;
91
+ color: $text-color;
92
+ background-color: $btn-bg-color;
93
+ transition: $transition-btn;
94
+
95
+ &,
96
+ &:visited {
97
+ color: $text-color;
98
+ }
99
+
100
+ &:hover {
101
+ color: $btn-text-hover-color;
102
+ text-decoration: none;
103
+ background-color: $btn-color-hover;
104
+ border-color: $btn-color-hover;
105
+ }
106
+ }
107
+
108
+ //
109
+ // Back to top(BTT)
110
+ //
111
+ #back-to-top {
112
+ display: none;
113
+ position: fixed;
114
+ bottom: 20px;
115
+ right: 20px;
116
+ width: 50px;
117
+ height: 50px;
118
+ background-color: $BTT-bg-color;
119
+ color: $BTT-svg-color;
120
+ border: 2px solid $BTT-bg-color;
121
+ cursor: pointer;
122
+ text-align: center;
123
+ border-radius: 50%;
124
+ text-align: center;
125
+ transition: $transition-btn;
126
+ z-index: 2;
127
+
128
+ > i {
129
+ // padding-top: 3px;
130
+ font-size: 48px;
131
+ font-weight: 700;
132
+ }
133
+
134
+ &:hover {
135
+ bottom: 30px;
136
+ }
137
+ }
138
+
139
+ .BTT-Entrance {
140
+ animation-duration: 0.5s;
141
+ animation-fill-mode: both;
142
+ animation-name: BTT-Entrance;
143
+ }
144
+
145
+ .BTT-Exit {
146
+ animation-duration: 0.25s;
147
+ animation-fill-mode: both;
148
+ animation-name: BTT-Exit;
149
+ }
150
+
151
+ .post-nav {
152
+ padding-top: 5px;
153
+ display: inline;
154
+ list-style: none;
155
+ display: flex;
156
+ justify-content: space-evenly;
157
+ gap: 80px;
158
+ -ms-flex-align: center;
159
+ align-items: center;
160
+ margin: 0px;
161
+
162
+ @media screen and (min-width: $mobile-width) {
163
+ gap: 100px;
164
+ }
165
+ }
166
+
167
+ .post-nav-svg {
168
+ color: $footer-links-color;
169
+ transition: $tansitions-page-bar;
170
+ padding: 8px;
171
+ border-radius: 50px;
172
+
173
+ &:hover {
174
+ background-color: rgba(255, 255, 255, 0.1);
175
+ }
176
+ }
177
+
178
+ .disable-svg {
179
+ cursor: not-allowed;
180
+ color: $text-mute-color;
181
+ }
182
+
183
+ .post-nav-num {
184
+ user-select: none;
185
+ -moz-user-select: none;
186
+ -khtml-user-select: none;
187
+ -webkit-user-select: none;
188
+ -o-user-select: none;
189
+ cursor: default;
190
+ display: inline;
191
+ @include text-muted;
192
+ }
193
+
194
+ //
195
+ // Post footer
196
+ //
197
+ .post-footer {
198
+ padding-top: 13px;
199
+ border-top: 3px solid $border-color;
200
+ margin: 0px;
201
+ }
202
+
203
+
204
+ //
205
+ // Table Of Contents(Toc)
206
+ //
207
+ .post-toc {
208
+ flex: 0 0 20%;
209
+ border-left: 1px solid $text-color;
210
+ margin-left: 10px;
211
+ padding-left: 10px;
212
+ display: none;
213
+ height: 10%;
214
+
215
+ ul, li {
216
+ list-style: none;
217
+ width: 100%;
218
+ margin-left: 0px;
219
+ padding: 4px 20px;
220
+
221
+ >a {
222
+ color: $text-mute-color;
223
+ font-size: 15px;
224
+ font-weight: 400;
225
+ word-spacing: 0px;
226
+
227
+ &:visited {
228
+ color: $text-mute-color;
229
+ }
230
+
231
+ &:hover {
232
+ color: $text-color;
233
+ }
234
+ }
235
+ }
236
+
237
+ ul {
238
+ padding: 0;
239
+ }
240
+
241
+ li {
242
+ padding-bottom: 5px;
243
+ }
244
+
245
+ h2 {
246
+ font-size: 20px;
247
+ padding-left: 5px;
248
+ }
249
+
250
+ @media screen and (min-width: 1111px) {
251
+ display: block;
252
+ }
253
+ }