jekyll-theme-fica 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) 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.yaml +5 -2
  5. data/.github/workflows/ci.yaml.orig +34 -0
  6. data/404.html +12 -10
  7. data/License.md +2 -8
  8. data/README.md +53 -49
  9. data/_includes/Footer.html +88 -85
  10. data/_includes/Head.html +24 -12
  11. data/_includes/Header.html +21 -34
  12. data/_includes/assets/BTT.html +8 -0
  13. data/_includes/{Google-Analytics.html → assets/Google-Analytics.html} +12 -12
  14. data/_includes/assets/anchor-headings.html +164 -0
  15. data/_includes/assets/comments.html +16 -0
  16. data/_includes/assets/toc.html +174 -0
  17. data/_layouts/default.html +16 -14
  18. data/_layouts/home.html +25 -67
  19. data/_layouts/page.html +5 -3
  20. data/_layouts/post.html +48 -52
  21. data/_layouts/post_list.html +103 -0
  22. data/_posts/2022-03-31-To-Know-if-the-nav-works.md +9 -8
  23. data/_posts/{2022-04-1-Demo.md → 2022-04-1-Elements-of-Fica-Theme.md} +111 -113
  24. data/_posts/2022-04-5-Getting-Started.md +149 -149
  25. data/_posts/2022-04-6-Creating-a-new-post.md +144 -136
  26. data/_posts/2023-04-24-Fica-Customization.md +43 -0
  27. data/_sass/base.scss +437 -0
  28. data/_sass/{themes/dark theme/highlight.scss → colors/dark-theme/highlight.scss} +362 -362
  29. data/_sass/{themes/dark theme/theme-dark.scss → colors/dark-theme/theme-dark.scss} +132 -142
  30. data/_sass/{themes/light theme/highlight.scss → colors/light-theme/highlight.scss} +198 -198
  31. data/_sass/{themes/light theme/theme-light.scss → colors/light-theme/theme-light.scss} +126 -136
  32. data/_sass/jekyll-theme-fica.scss +1 -8
  33. data/_sass/layouts/Google-fonts.scss +103 -138
  34. data/_sass/layouts/component.scss +272 -0
  35. data/_sass/layouts/layout.scss +657 -718
  36. data/_sass/layouts/typography.scss +492 -0
  37. data/_sass/layouts/variable.scss +215 -0
  38. data/assets/css/Style.scss +4 -13
  39. data/assets/favicons/android-chrome-192x192.png +0 -0
  40. data/assets/favicons/android-chrome-512x512.png +0 -0
  41. data/assets/favicons/apple-touch-icon.png +0 -0
  42. data/assets/favicons/browserconfig.xml +9 -0
  43. data/assets/favicons/favicon-16x16.png +0 -0
  44. data/assets/favicons/favicon-32x32.png +0 -0
  45. data/assets/favicons/favicon.ico +0 -0
  46. data/assets/favicons/mstile-150x150.png +0 -0
  47. data/assets/favicons/safari-pinned-tab.svg +32 -0
  48. data/assets/favicons/site.webmanifest +19 -0
  49. data/assets/img/homepage-pic.png +0 -0
  50. data/bin/run +195 -150
  51. data/js/Main.js +74 -0
  52. data/js/back-to-top.js +39 -48
  53. data/logo.png +0 -0
  54. data/post/index.html +3 -3
  55. metadata +35 -32
  56. data/_includes/BTT.html +0 -7
  57. data/_layouts/post_home.html +0 -113
  58. data/_sass/custom/styles.scss +0 -1
  59. data/_sass/custom/variables.scss +0 -1
  60. data/_sass/layouts/base.scss +0 -579
  61. data/_sass/layouts/variables.scss +0 -230
  62. data/docs/contributing.md +0 -69
@@ -0,0 +1,272 @@
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
+ .btn {
86
+ padding: 8px 25px;
87
+ border: none;
88
+ border-radius: 5px;
89
+ cursor: pointer;
90
+ color: $text-color;
91
+ background-color: $btn-bg-color;
92
+ transition: $transition-btn;
93
+
94
+ &,
95
+ &:visited {
96
+ color: $text-color;
97
+ }
98
+
99
+ &:hover {
100
+ color: $btn-text-hover-color;
101
+ text-decoration: none;
102
+ background-color: $btn-color-hover;
103
+ border-color: $btn-color-hover;
104
+ }
105
+ }
106
+
107
+ //
108
+ // Back to top(BTT)
109
+ //
110
+ #back-to-top {
111
+ display: none;
112
+ position: fixed;
113
+ bottom: 20px;
114
+ right: 20px;
115
+ width: 50px;
116
+ height: 50px;
117
+ background-color: $BTT-bg-color;
118
+ color: $BTT-svg-color;
119
+ border: 2px solid $BTT-bg-color;
120
+ cursor: pointer;
121
+ text-align: center;
122
+ border-radius: 50%;
123
+ text-align: center;
124
+ transition: $transition-btn;
125
+ z-index: 2;
126
+
127
+ > i {
128
+ // padding-top: 3px;
129
+ font-size: 48px;
130
+ font-weight: 700;
131
+ }
132
+
133
+ &:hover {
134
+ bottom: 30px;
135
+ }
136
+ }
137
+
138
+ .BTT-Entrance {
139
+ animation-duration: 0.5s;
140
+ animation-fill-mode: both;
141
+ animation-name: BTT-Entrance;
142
+ }
143
+
144
+ .BTT-Exit {
145
+ animation-duration: 0.25s;
146
+ animation-fill-mode: both;
147
+ animation-name: BTT-Exit;
148
+ }
149
+
150
+ .post-nav {
151
+ padding-top: 5px;
152
+ display: inline;
153
+ list-style: none;
154
+ display: flex;
155
+ justify-content: space-evenly;
156
+ gap: 80px;
157
+ -ms-flex-align: center;
158
+ align-items: center;
159
+ margin: 0px;
160
+
161
+ @media screen and (min-width: $mobile-width) {
162
+ gap: 100px;
163
+ }
164
+ }
165
+
166
+ .post-nav-svg {
167
+ color: $footer-links-color;
168
+ transition: $tansitions-page-bar;
169
+ padding: 8px;
170
+ border-radius: 50px;
171
+
172
+ &:hover {
173
+ background-color: rgba(255, 255, 255, 0.1);
174
+ }
175
+ }
176
+
177
+ .disable-svg {
178
+ cursor: not-allowed;
179
+ color: $text-mute-color;
180
+ }
181
+
182
+ .post-nav-num {
183
+ user-select: none;
184
+ -moz-user-select: none;
185
+ -khtml-user-select: none;
186
+ -webkit-user-select: none;
187
+ -o-user-select: none;
188
+ cursor: default;
189
+ display: inline;
190
+ @include text-muted;
191
+ }
192
+
193
+ //
194
+ // Post footer
195
+ //
196
+ .post-footer {
197
+ padding-top: 13px;
198
+ border-top: 3px solid $border-color;
199
+ margin: 0px;
200
+ }
201
+
202
+ //
203
+ // Table Of Contents(Toc)
204
+ //
205
+ .post-toc {
206
+ position: sticky;
207
+ top: 2rem;
208
+ border-left: 1px solid $text-color;
209
+ margin-left: 10px;
210
+ padding-left: 10px;
211
+ align-self: start;
212
+ margin-bottom: 15px;
213
+
214
+ li {
215
+ margin-left: 1rem;
216
+ margin: 7px;
217
+ padding-left: 1rem;
218
+ list-style: none;
219
+ }
220
+ ul,
221
+ ol {
222
+ list-style: none;
223
+ margin: 0;
224
+ padding: 0;
225
+ }
226
+ a {
227
+ padding-left: 1rem;
228
+ color: $text-mute-color;
229
+
230
+ &:visited {
231
+ color: $text-mute-color;
232
+ }
233
+
234
+ &:hover {
235
+ color: $text-color;
236
+ }
237
+ }
238
+ ul {
239
+ padding: 0;
240
+ }
241
+
242
+ li {
243
+ padding-bottom: 5px;
244
+ }
245
+ li.active > a {
246
+ border-radius: 5px;
247
+ display: flex;
248
+ border: 1px solid;
249
+ animation-duration: 0.3s;
250
+ animation-fill-mode: both;
251
+ animation-name: TOC-Entrance;
252
+ }
253
+ li.decative {
254
+ a {
255
+ animation-duration: 0.3s;
256
+ animation-fill-mode: both;
257
+ animation-name: TOC-Exit;
258
+ opacity: 0.5;
259
+
260
+ &:hover {
261
+ opacity: 1;
262
+ }
263
+ }
264
+ ul {
265
+ display: none;
266
+ }
267
+ }
268
+ @media screen and (max-width: 1111px) {
269
+ display: none;
270
+ width: 0px;
271
+ }
272
+ }