jekyll-theme-fica 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) 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 +7 -0
  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/README.md +4 -3
  14. data/_includes/Footer.html +112 -85
  15. data/_includes/Head.html +12 -13
  16. data/_includes/Header.html +17 -34
  17. data/_includes/{BTT.html → assets/BTT.html} +8 -7
  18. data/_includes/{Google-Analytics.html → assets/Google-Analytics.html} +12 -12
  19. data/_includes/assets/anchor-headings.html +164 -0
  20. data/_includes/assets/comments.html +16 -0
  21. data/_includes/assets/toc.html +174 -0
  22. data/_layouts/default.html +16 -14
  23. data/_layouts/home.html +25 -67
  24. data/_layouts/page.html +5 -3
  25. data/_layouts/post.html +50 -52
  26. data/_layouts/post_home.html +112 -112
  27. data/_posts/2022-04-5-Getting-Started.md +150 -149
  28. data/_sass/{layouts/base.scss → base.scss} +472 -579
  29. data/_sass/{themes/dark theme/highlight.scss → colors/dark-theme/highlight.scss} +362 -362
  30. data/_sass/{themes/dark theme/theme-dark.scss → colors/dark-theme/theme-dark.scss} +132 -142
  31. data/_sass/{themes/light theme/highlight.scss → colors/light-theme/highlight.scss} +198 -198
  32. data/_sass/{themes/light theme/theme-light.scss → colors/light-theme/theme-light.scss} +126 -136
  33. data/_sass/jekyll-theme-fica.scss +1 -8
  34. data/_sass/layouts/component.scss +253 -0
  35. data/_sass/layouts/layout.scss +612 -718
  36. data/_sass/layouts/variable.scss +201 -0
  37. data/assets/css/Style.scss +12 -13
  38. data/bin/run +195 -150
  39. data/js/Main.js +21 -0
  40. data/js/back-to-top.js +39 -48
  41. metadata +28 -16
  42. data/_sass/custom/styles.scss +0 -1
  43. data/_sass/custom/variables.scss +0 -1
  44. data/_sass/layouts/variables.scss +0 -230
  45. data/docs/contributing.md +0 -69
@@ -1,136 +1,126 @@
1
- //
2
- // Light Theme
3
- //
4
-
5
- // //
6
- //-------------Basic settings-----------------------//
7
- // //
8
- $primary_color: #c7c7c7 !default;
9
- $link-color: #008f70 !default;
10
- $text-color: #000000 !default;
11
-
12
- // //
13
- //-------------Advance settings-----------------------//
14
- // //
15
- $header-link-color: lighten($text-color, 40%) !default;
16
- $site-header-bg: darken($primary_color, 5%) !default;
17
-
18
- //
19
- // Site Home Banner
20
- //
21
- $header-bg-color: $link-color !default;
22
- $home-header-title-color: darken($primary_color, 10%) !default;
23
-
24
- //
25
- // Site Nav
26
- //
27
- $menu-bdr-color: lighten($primary_color, 6%) !default;
28
- $menu-color: $text-color !default;
29
- $menu-bg-color-chae: lighten($primary_color, 6%) !default;
30
-
31
- //
32
- // Site Footer
33
- //
34
- $footer-bg-color: lighten($primary_color, 5%) !default;
35
- $footer-head-link-color: lighten($text-color, 50%) !default;
36
- $footer-links-color: lighten($text-color, 10%) !default;
37
- $footer-links-hover-color: lighten($footer-links-color, 30%) !default;
38
-
39
- //
40
- // Site Scroll
41
- //
42
- $scroll_bar_bg_color: lighten($text-color, 60%) !default;
43
-
44
- //
45
- // Error Pages
46
- //
47
- $error-div-bg-color: darken($primary_color, 2%) !default;
48
- $error-btn-svg-color: #1d2127 !default;
49
- $error-btn-bg-color: $primary_color !default;
50
- $error-btn-hover-color: darken($error-btn-bg-color, 7%) !default;
51
-
52
- //
53
- // page_bar
54
- //
55
- $page-bar-top-bar-color: darken($primary_color, 5%) !default;
56
- $page-bar-btn-bg-color: darken($primary_color, 2%) !default;
57
- $page-bar-svg-color: $text-color !default;
58
- $page-bar-btn-hover-color: darken($page-bar-btn-bg-color, 5%) !default;
59
- $page-bar-svg-hover-color: darken($page-bar-svg-color, 30%) !default;
60
- $page-bar-btn-disabled: lighten($page-bar-btn-bg-color, 5%) !default;
61
-
62
- //
63
- // btn
64
- //
65
- // $btn-bg-color: #525252 !default;
66
- // $btn-color-hover: #353535 !default;
67
- $btn-bg-color: lighten($primary_color, 8%) !default;
68
- $btn-color-hover: darken($btn-bg-color, 5%) !default;
69
- $btn-text-hover-color: lighten($text-color, 50%) !default;
70
-
71
- //
72
- // highlight
73
- //
74
- $highlight-bg-color: darken($link-color, 5%) !default;
75
- $highlight-text-color: lighten($text-color, 100%) !default;
76
-
77
- //
78
- // prompt Tip
79
- //
80
- $prompt-tip-icon-color: #395021 !default;
81
- $prompt-tip-bg-color: #82be46 !default;
82
-
83
- //
84
- // Prompt Info
85
- //
86
- $prompt-info-icon-color: #12447d !default;
87
- $prompt-info-bg-color: #1e6ec9 !default;
88
-
89
- //
90
- // Prompt Warning
91
- //
92
- $prompt-warning-icon-color: #754e12 !default;
93
- $prompt-warning-bg-color: #dd9222 !default;
94
-
95
- //
96
- // Prompt Danger
97
- //
98
- $prompt-danger-icon-color: #670e0e !default;
99
- $prompt-danger-bg-color: #d32121 !default;
100
-
101
- //
102
- //code
103
- //
104
- $code-background-color: darken($primary_color, 3%) !default;
105
- $code-text-color: #378f8f !default;
106
- $blockquote-text-color: lighten($text-color, 40%) !default;
107
-
108
- //
109
- // links
110
- //
111
- $link-visited-color: $code-text-color !default;
112
- $link-hover-color: darken($link-color, 15%) !default;
113
-
114
- //
115
- //table
116
- //
117
- $table-text-color: $text-color !default;
118
- $table-zebra-color: lighten($primary_color, 2%) !default;
119
- $table-header-bg-color: lighten($primary_color, 3%) !default;
120
-
121
- $Github: $text-color !default;
122
-
123
- $border-color: darken($primary_color, 2%) !default;
124
-
125
- //
126
- // Back to Top
127
- //
128
- $BTT-bg-color: $code-text-color !default;
129
- $BTT-svg-color: rgba(255, 255, 255, 1) !default;
130
-
131
- //
132
- // BOLD
133
- //
134
- $Bold-color: #427c7c !default;
135
-
136
- @import "themes/light theme/highlight"
1
+ //
2
+ // Light Theme
3
+ //
4
+
5
+ // //
6
+ //-------------Basic settings-----------------------//
7
+ // //
8
+ $primary_color: #c7c7c7 !default;
9
+ $link-color: #008f70 !default;
10
+ $text-color: #000000 !default;
11
+ $text-mute-color: lighten($text-color, 50%) !default;
12
+
13
+ // //
14
+ //-------------Advance settings-----------------------//
15
+ // //
16
+ $header-link-color: lighten($text-color, 40%) !default;
17
+ $site-header-bg: darken($primary_color, 5%) !default;
18
+
19
+ //
20
+ // Site Home Banner
21
+ //
22
+ $header-bg-color: $link-color !default;
23
+ $home-header-title-color: darken($primary_color, 10%) !default;
24
+
25
+ //
26
+ // Site Nav
27
+ //
28
+ $menu-bdr-color: lighten($primary_color, 6%) !default;
29
+ $menu-color: $text-color !default;
30
+ $menu-bg-color-chae: lighten($primary_color, 6%) !default;
31
+
32
+ //
33
+ // Site Footer
34
+ //
35
+ $footer-bg-color: lighten($primary_color, 5%) !default;
36
+ $footer-links-color: lighten($text-color, 10%) !default;
37
+ $footer-links-hover-color: lighten($footer-links-color, 30%) !default;
38
+
39
+ //
40
+ // Error Pages
41
+ //
42
+ $error-div-bg-color: darken($primary_color, 2%) !default;
43
+ $error-btn-svg-color: #1d2127 !default;
44
+ $error-btn-bg-color: $primary_color !default;
45
+ $error-btn-hover-color: darken($error-btn-bg-color, 7%) !default;
46
+
47
+ //
48
+ // page_bar
49
+ //
50
+ $page-bar-top-bar-color: darken($primary_color, 5%) !default;
51
+ $page-bar-btn-bg-color: darken($primary_color, 2%) !default;
52
+ $page-bar-svg-color: $text-color !default;
53
+ $page-bar-btn-hover-color: darken($page-bar-btn-bg-color, 5%) !default;
54
+ $page-bar-svg-hover-color: darken($page-bar-svg-color, 30%) !default;
55
+ $page-bar-btn-disabled: lighten($page-bar-btn-bg-color, 5%) !default;
56
+
57
+ //
58
+ // btn
59
+ //
60
+ // $btn-bg-color: #525252 !default;
61
+ // $btn-color-hover: #353535 !default;
62
+ $btn-bg-color: lighten($primary_color, 8%) !default;
63
+ $btn-color-hover: darken($btn-bg-color, 5%) !default;
64
+ $btn-text-hover-color: lighten($text-color, 50%) !default;
65
+
66
+ //
67
+ // highlight
68
+ //
69
+ $highlight-bg-color: darken($link-color, 5%) !default;
70
+ $highlight-text-color: lighten($text-color, 100%) !default;
71
+
72
+ //
73
+ // prompt Tip
74
+ //
75
+ $prompt-tip-icon-color: #395021 !default;
76
+ $prompt-tip-bg-color: #82be46 !default;
77
+
78
+ //
79
+ // Prompt Info
80
+ //
81
+ $prompt-info-icon-color: #12447d !default;
82
+ $prompt-info-bg-color: #1e6ec9 !default;
83
+
84
+ //
85
+ // Prompt Warning
86
+ //
87
+ $prompt-warning-icon-color: #754e12 !default;
88
+ $prompt-warning-bg-color: #dd9222 !default;
89
+
90
+ //
91
+ // Prompt Danger
92
+ //
93
+ $prompt-danger-icon-color: #670e0e !default;
94
+ $prompt-danger-bg-color: #d32121 !default;
95
+
96
+ //
97
+ //code
98
+ //
99
+ $code-background-color: darken($primary_color, 3%) !default;
100
+ $code-text-color: lighten($text-color, 10%) !default;
101
+ $blockquote-text-color: lighten($text-color, 40%) !default;
102
+
103
+ //
104
+ // links
105
+ //
106
+ $link-visited-color: $link-color !default;
107
+ $link-hover-color: darken($link-color, 15%) !default;
108
+
109
+ //
110
+ //table
111
+ //
112
+ $table-text-color: $text-color !default;
113
+ $table-zebra-color: lighten($primary_color, 2%) !default;
114
+ $table-header-bg-color: lighten($primary_color, 3%) !default;
115
+
116
+ $Github: $text-color !default;
117
+
118
+ $border-color: darken($primary_color, 2%) !default;
119
+
120
+ //
121
+ // Back to Top
122
+ //
123
+ $BTT-bg-color: #378f8f !default;
124
+ $BTT-svg-color: rgba(255, 255, 255, 1) !default;
125
+
126
+ @import "colors/light-theme/highlight"
@@ -1,8 +1 @@
1
- @import
2
- "themes/dark theme/theme-dark",
3
- "custom/variables",
4
- "layouts/variables",
5
- "layouts/Google-fonts",
6
- "custom/styles",
7
- "layouts/layout",
8
- "layouts/base";
1
+ @import "layouts/variable", "colors/dark-theme/theme-dark", "layouts/Google-fonts", "base", "layouts/layout","layouts/component"
@@ -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
+ }