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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-fica
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Involts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-03 00:00:00.000000000 Z
11
+ date: 2022-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '2.1'
67
+ version: '2.8'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '2.1'
74
+ version: '2.8'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: bundler
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -93,16 +93,29 @@ executables: []
93
93
  extensions: []
94
94
  extra_rdoc_files: []
95
95
  files:
96
+ - ".github/ISSUE_TEMPLATE/bug_report.md"
97
+ - ".github/ISSUE_TEMPLATE/feature_request.md"
98
+ - ".github/workflows/.ci_BASE_2002.yaml.swp"
99
+ - ".github/workflows/.ci_LOCAL_2002.yaml.swp"
100
+ - ".github/workflows/.ci_REMOTE_2002.yaml.swp"
96
101
  - ".github/workflows/ci.yaml"
102
+ - ".github/workflows/ci.yaml.orig"
103
+ - ".github/workflows/ci_BACKUP_2002.yaml"
104
+ - ".github/workflows/ci_BASE_2002.yaml"
105
+ - ".github/workflows/ci_LOCAL_2002.yaml"
106
+ - ".github/workflows/ci_REMOTE_2002.yaml"
97
107
  - 404.html
98
108
  - LICENSE.txt
99
109
  - License.md
100
110
  - README.md
101
- - _includes/BTT.html
102
111
  - _includes/Footer.html
103
- - _includes/Google-Analytics.html
104
112
  - _includes/Head.html
105
113
  - _includes/Header.html
114
+ - _includes/assets/BTT.html
115
+ - _includes/assets/Google-Analytics.html
116
+ - _includes/assets/anchor-headings.html
117
+ - _includes/assets/comments.html
118
+ - _includes/assets/toc.html
106
119
  - _layouts/default.html
107
120
  - _layouts/home.html
108
121
  - _layouts/page.html
@@ -112,23 +125,22 @@ files:
112
125
  - _posts/2022-04-1-Demo.md
113
126
  - _posts/2022-04-5-Getting-Started.md
114
127
  - _posts/2022-04-6-Creating-a-new-post.md
115
- - _sass/custom/styles.scss
116
- - _sass/custom/variables.scss
128
+ - _sass/base.scss
129
+ - _sass/colors/dark-theme/highlight.scss
130
+ - _sass/colors/dark-theme/theme-dark.scss
131
+ - _sass/colors/light-theme/highlight.scss
132
+ - _sass/colors/light-theme/theme-light.scss
117
133
  - _sass/jekyll-theme-fica.scss
118
134
  - _sass/layouts/Google-fonts.scss
119
- - _sass/layouts/base.scss
135
+ - _sass/layouts/component.scss
120
136
  - _sass/layouts/layout.scss
121
- - _sass/layouts/variables.scss
122
- - _sass/themes/dark theme/highlight.scss
123
- - _sass/themes/dark theme/theme-dark.scss
124
- - _sass/themes/light theme/highlight.scss
125
- - _sass/themes/light theme/theme-light.scss
137
+ - _sass/layouts/variable.scss
126
138
  - assets/404.svg
127
139
  - assets/css/Style.scss
128
140
  - assets/fica-icons.svg
129
141
  - assets/img/homepage-pic.png
130
142
  - bin/run
131
- - docs/contributing.md
143
+ - js/Main.js
132
144
  - js/back-to-top.js
133
145
  - logo.png
134
146
  - post/index.html
@@ -157,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
169
  - !ruby/object:Gem::Version
158
170
  version: '0'
159
171
  requirements: []
160
- rubygems_version: 3.1.6
172
+ rubygems_version: 3.3.20
161
173
  signing_key:
162
174
  specification_version: 4
163
175
  summary: A modern theme with minimal look
@@ -1 +0,0 @@
1
- // put your custom layout here!
@@ -1 +0,0 @@
1
- // put your custom variables here!
@@ -1,230 +0,0 @@
1
- @charset "utf-8";
2
- //
3
- // Fonts
4
- //
5
- $text-font-family: "Roboto",
6
- sans-serif !default;
7
- $code-font-family: "Noto Sans",
8
- sans-serif !default;
9
-
10
- $text-font-weight: 390 !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: 2.4rem;
24
-
25
- $font-size: 1rem !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: 50px;
35
- $site-banner-description-fnt-sze: 18px;
36
- $site-banner-picture-sze_wdth: 60%; //make sure that the width and height are the same
37
-
38
- //
39
- // Transitions
40
- //
41
- $transition-btn: all 0.2s ease-in-out;
42
- $transition-links: color 0.3s ease-in-out;
43
- $tansitions-page-bar: all 0.3s ease-in-out;
44
-
45
- //
46
- // Animations
47
- //
48
- $animation-site-pic: 2s; //animations for banner-pic
49
- $animation-main: 1s; //animations for banner description and the body of the site.
50
- $animation-left: 250ms;
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
- // ---------- site queries ---------- //
62
- // //
63
-
64
- @mixin media-query($device) {
65
- @media screen and (max-width: $device) {
66
- @content;
67
- }
68
- }
69
-
70
- @mixin animation-fade-in($speed) {
71
- opacity: 0;
72
- animation: fade-in 1s linear forwards;
73
- animation-delay: #{$speed}s;
74
- -webkit-animation-delay: #{$speed}s;
75
- }
76
-
77
-
78
-
79
- @mixin relative-font-size($ratio) {
80
- font-size: #{$ratio}rem;
81
- }
82
-
83
- // //
84
- // ---------- Media queries ---------- //
85
- // //
86
-
87
- @mixin large {
88
- @media screen and (min-width: #{$large-breakpoint}) {
89
- @content;
90
- }
91
- }
92
-
93
- @mixin medium {
94
- @media screen and (min-width: #{$medium-breakpoint}) and (max-width: #{$large-breakpoint}) {
95
- @content;
96
- }
97
- }
98
-
99
- @mixin small {
100
- @media screen and (max-width: #{$medium-breakpoint}) {
101
- @content;
102
- }
103
- }
104
-
105
- // //
106
- //---------- scss mixin --------- //
107
- // //
108
-
109
- @mixin text-muted {
110
- color: $footer-head-link-color;
111
- }
112
-
113
- @mixin text-unmuted {
114
- color: $text-color;
115
- }
116
-
117
- @mixin footer-wrapper {
118
- margin-bottom: $spacing-unit / 2;
119
- width: calc(28% - (#{$spacing-unit} / 2));
120
- padding: 0 ($spacing-unit / 2);
121
-
122
- &:first-child {
123
- padding-right: $spacing-unit / 2;
124
- padding-left: 0;
125
- }
126
-
127
- &:last-child {
128
- padding-right: 0;
129
- padding-left: $spacing-unit / 2;
130
- }
131
- }
132
-
133
- @mixin prompt($gf-icon, $gf-color, $bg-color, $fnt-fam) {
134
- border-radius: 5px;
135
- padding: 0.80rem 1.2rem;
136
- font-style: normal;
137
- color: $text-color;
138
- font-weight: 400;
139
- display: flex;
140
- border-left: 6px solid $gf-color;
141
- background-color: $bg-color;
142
- font-size: 0.975rem;
143
-
144
- &::before {
145
- content: $gf-icon;
146
- font-family: $fnt-fam;
147
- color: $gf-color;
148
- font-size: 34px;
149
- line-height: 1;
150
- padding-right: 10px;
151
- padding-bottom: 13px;
152
- }
153
- }
154
-
155
- @mixin horizontal-scroll {
156
- &::-webkit-scrollbar {
157
- width: 7px;
158
- height: 9px;
159
- }
160
-
161
- &::-webkit-scrollbar-track {
162
- background-color: $code-background-color;
163
- }
164
-
165
- &::-webkit-scrollbar-thumb {
166
- background: $scroll_bar_bg_color;
167
- border-radius: 4px;
168
- }
169
-
170
- }
171
-
172
-
173
- // //
174
- //---------- Animations --------- //
175
- // //
176
-
177
-
178
- @keyframes left-animation {
179
- from {
180
- opacity: 0;
181
- transform: translate3d(100%, 0, 0);
182
- }
183
-
184
- to {
185
- opacity: 1;
186
- transform: translate3d(0, 0, 0);
187
- }
188
- }
189
-
190
- @keyframes BTT-Entrance {
191
- from {
192
- opacity: 0;
193
- transform: translate3d(0, 100%, 0);
194
- }
195
-
196
- to {
197
- opacity: 1;
198
- transform: translate3d(0, 0, 0);
199
- }
200
- }
201
-
202
- @keyframes BTT-Exit {
203
- from {
204
- opacity: 1;
205
- }
206
-
207
- to {
208
- opacity: 0;
209
- transform: translate3d(0, 100%, 0);
210
- }
211
- }
212
-
213
- @keyframes slide {
214
- 100% {
215
- transform: translateX(0);
216
- }
217
- }
218
-
219
- @keyframes slide-up {
220
- 100% {
221
- opacity: 1;
222
- transform: translateY(0);
223
- }
224
- }
225
-
226
- @keyframes fade-in {
227
- 100% {
228
- opacity: 1;
229
- }
230
- }
data/docs/contributing.md DELETED
@@ -1,69 +0,0 @@
1
- # Contributing to the Fica Theme
2
-
3
- Hi there! We're thrilled that you'd like to contribute to the Fica Theme. Your help is essential for keeping it great.
4
-
5
- the Fica Theme is an open source project supported by the efforts of an entire community and built one contribution at a time by users like you. We'd love for you to get involved. Whatever your level of skill or however much time you can give, your contribution is greatly appreciated. There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests, helping other users by commenting on issues, or writing code which can be incorporated into the Fica Theme itself.
6
-
7
- Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue, assessing changes, and helping you finalize your pull requests.
8
-
9
- ## How to report a bug
10
-
11
- Think you found a bug? Please check [the list of open issues](https://github.com/Involts/jekyll-theme-fica/issues) to see if your bug has already been reported. If it hasn't please [submit a new issue](https://github.com/Involts/jekyll-theme-fica/issues/new).
12
-
13
- Here are a few tips for writing *great* bug reports:
14
-
15
- * Describe the specific problem (e.g., "widget doesn't turn clockwise" versus "getting an error")
16
- * Include the steps to reproduce the bug, what you expected to happen, and what happened instead
17
- * Check that you are using the latest version of the project and its dependencies
18
- * Include what version of the project your using, as well as any relevant dependencies
19
- * Only include one bug per issue. If you have discovered two bugs, please file two issues
20
- * Even if you don't know how to fix the bug, including a failing test may help others track it down
21
-
22
- **If you find a security vulnerability, do not open an issue. Please email security@github.com instead.**
23
-
24
- ## How to suggest a feature or enhancement
25
-
26
- If you find yourself wishing for a feature that doesn't exist in the Fica Theme, you are probably not alone. There are bound to be others out there with similar needs. Many of the features that the Fica Theme has today have been added because our users saw the need.
27
-
28
- Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and goals of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible, including describing the problem you're trying to solve.
29
-
30
- [Open an issue](https://github.com/Involts/jekyll-theme-fica/issues/new) which describes the feature you would like to see, why you want it, how it should work, etc.
31
-
32
-
33
-
34
- ## Your first contribution
35
-
36
- We'd love for you to contribute to the project. Unsure where to begin contributing to the Fica Theme? You can start by looking through these "good first issue" and "help wanted" issues:
37
-
38
- * [Good first issues](https://github.com/Involts/jekyll-theme-fica/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) - issues which should only require a few lines of code and a test or two
39
- * [Help wanted issues](https://github.com/Involts/jekyll-theme-fica/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) - issues which may be a bit more involved, but are specifically seeking community contributions
40
-
41
- ## How to propose changes
42
-
43
- Here's a few general guidelines for proposing changes:
44
-
45
- * If you are making visual changes, include a screenshot of what the affected element looks like, both before and after.
46
- * Follow the [Jekyll style guide](https://ben.balter.com/jekyll-style-guide).
47
- * If you are changing any user-facing functionality, please be sure to update the documentation
48
- * Each pull request should implement **one** feature or bug fix. If you want to add or fix more than one thing, submit more than one pull request
49
- * Do not commit changes to files that are irrelevant to your feature or bug fix
50
- * Don't bump the version number in your pull request (it will be bumped prior to release)
51
- * Write [a good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
52
-
53
- At a high level, [the process for proposing changes](https://docs.github.com/get-started/quickstart/github-flow) is:
54
-
55
- 1. [Fork](https://github.com/Involts/jekyll-theme-fica/fork) and clone the project
56
- 2. Configure and install the dependencies: `bin/run insdep`
57
- 3. Make sure the tests pass on your machine: `bin/run chktheme`
58
- 4. Create a new branch: `git checkout -b my-branch-name`
59
- 5. Make your change, add tests, and make sure the tests still pass
60
- 6. Push to your fork and [submit a pull request](https://github.com/Involts/jekyll-theme-fica/compare)
61
- 7. Pat your self on the back and wait for your pull request to be reviewed and merged
62
-
63
- ## Bootstrapping your local development environment
64
-
65
- `bin/run insdep`
66
-
67
- ## Running tests
68
-
69
- `bin/run server`