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
@@ -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", "layouts/typography.scss", "base", "layouts/layout","layouts/component"
@@ -1,139 +1,104 @@
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;
1
+ /* Rules for sizing the icon. */
2
+ .material-icons.md-18 {
3
+ font-size: 18px;
4
+ }
5
+
6
+ .material-icons.md-24 {
7
+ font-size: 24px;
8
+ }
9
+
10
+ .material-icons.md-36 {
11
+ font-size: 36px;
12
+ }
13
+
14
+ .material-icons.md-48 {
15
+ font-size: 48px;
16
+ }
17
+
18
+ /* Rules for using icons as black on a light background. */
19
+ .material-icons.md-dark {
20
+ color: rgba(0, 0, 0, 0.54);
21
+ }
22
+
23
+ .material-icons.md-dark.md-inactive {
24
+ color: rgba(0, 0, 0, 0.26);
25
+ }
26
+
27
+ /* Rules for using icons as white on a dark background. */
28
+ .material-icons.md-light {
29
+ color: rgba(255, 255, 255, 1);
30
+ }
31
+
32
+ .material-icons.md-light.md-inactive {
33
+ color: rgba(255, 255, 255, 0.3);
34
+ }
35
+
36
+ /* fallback */
37
+ @font-face {
38
+ font-family: 'Material Icons';
39
+ font-style: normal;
40
+ font-weight: 400;
41
+ src: url(https://fonts.gstatic.com/s/materialicons/v128/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
42
+ }
43
+ /* fallback */
44
+ @font-face {
45
+ font-family: 'Material Icons Outlined';
46
+ font-style: normal;
47
+ font-weight: 400;
48
+ src: url(https://fonts.gstatic.com/s/materialiconsoutlined/v103/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUce.woff2) format('woff2');
49
+ }
50
+ /* fallback */
51
+ @font-face {
52
+ font-family: 'Material Icons Round';
53
+ font-style: normal;
54
+ font-weight: 400;
55
+ src: url(https://fonts.gstatic.com/s/materialiconsround/v102/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmP.woff2) format('woff2');
56
+ }
57
+
58
+ .material-icons {
59
+ font-family: 'Material Icons';
60
+ font-weight: normal;
61
+ font-style: normal;
62
+ font-size: 24px;
63
+ line-height: 1;
64
+ letter-spacing: normal;
65
+ text-transform: none;
66
+ display: inline-block;
67
+ white-space: nowrap;
68
+ word-wrap: normal;
69
+ direction: ltr;
70
+ -webkit-font-feature-settings: 'liga';
71
+ -webkit-font-smoothing: antialiased;
72
+ }
73
+
74
+ .material-icons-outlined {
75
+ font-family: 'Material Icons Outlined';
76
+ font-weight: normal;
77
+ font-style: normal;
78
+ font-size: 24px;
79
+ line-height: 1;
80
+ letter-spacing: normal;
81
+ text-transform: none;
82
+ display: inline-block;
83
+ white-space: nowrap;
84
+ word-wrap: normal;
85
+ direction: ltr;
86
+ -webkit-font-feature-settings: 'liga';
87
+ -webkit-font-smoothing: antialiased;
88
+ }
89
+
90
+ .material-icons-round {
91
+ font-family: 'Material Icons Round';
92
+ font-weight: normal;
93
+ font-style: normal;
94
+ font-size: 24px;
95
+ line-height: 1;
96
+ letter-spacing: normal;
97
+ text-transform: none;
98
+ display: inline-block;
99
+ white-space: nowrap;
100
+ word-wrap: normal;
101
+ direction: ltr;
102
+ -webkit-font-feature-settings: 'liga';
103
+ -webkit-font-smoothing: antialiased;
139
104
  }