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.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.github/workflows/.ci_BASE_2002.yaml.swp +0 -0
- data/.github/workflows/.ci_LOCAL_2002.yaml.swp +0 -0
- data/.github/workflows/.ci_REMOTE_2002.yaml.swp +0 -0
- data/.github/workflows/ci.yaml +20 -13
- data/.github/workflows/ci.yaml.orig +34 -0
- data/.github/workflows/ci_BACKUP_2002.yaml +34 -0
- data/.github/workflows/ci_BASE_2002.yaml +27 -0
- data/.github/workflows/ci_LOCAL_2002.yaml +27 -0
- data/.github/workflows/ci_REMOTE_2002.yaml +27 -0
- data/404.html +5 -3
- data/README.md +59 -89
- data/_includes/Footer.html +76 -36
- data/_includes/Head.html +11 -11
- data/_includes/Header.html +17 -23
- data/_includes/assets/BTT.html +8 -0
- data/_includes/assets/Google-Analytics.html +12 -0
- data/_includes/assets/anchor-headings.html +164 -0
- data/_includes/assets/comments.html +16 -0
- data/_includes/assets/toc.html +174 -0
- data/_layouts/default.html +12 -10
- data/_layouts/home.html +20 -46
- data/_layouts/page.html +5 -14
- data/_layouts/post.html +49 -50
- data/_layouts/post_home.html +102 -70
- data/_posts/2022-03-31-To-Know-if-the-nav-works.md +8 -8
- data/_posts/2022-04-1-Demo.md +113 -113
- data/_posts/2022-04-5-Getting-Started.md +74 -27
- data/_posts/2022-04-6-Creating-a-new-post.md +136 -124
- data/_sass/base.scss +472 -0
- data/_sass/{themes/dark theme → colors/dark-theme}/highlight.scss +0 -0
- data/_sass/{themes/dark theme/theme-dark.scss → colors/dark-theme/theme-dark.scss} +24 -27
- data/_sass/{themes/light theme → colors/light-theme}/highlight.scss +0 -0
- data/_sass/{themes/light theme/theme-light.scss → colors/light-theme/theme-light.scss} +18 -24
- data/_sass/jekyll-theme-fica.scss +1 -7
- data/_sass/layouts/Google-fonts.scss +139 -0
- data/_sass/layouts/component.scss +253 -0
- data/_sass/layouts/layout.scss +508 -572
- data/_sass/layouts/variable.scss +201 -0
- data/assets/css/Style.scss +7 -37
- data/assets/fica-icons.svg +64 -64
- data/assets/img/{fica_ad.png → homepage-pic.png} +0 -0
- data/bin/run +195 -0
- data/js/Main.js +21 -0
- data/js/back-to-top.js +16 -25
- data/post/index.html +3 -3
- metadata +36 -21
- data/_includes/BTT.html +0 -9
- data/_includes/Custom-Head.html +0 -9
- data/_includes/Google-Analytics.html +0 -11
- data/_sass/custom/styles.scss +0 -1
- data/_sass/custom/variables.scss +0 -1
- data/_sass/layouts/base.scss +0 -573
- data/_sass/layouts/variables.scss +0 -89
- data/assets/css/fica-icons.svg +0 -68
- data/bin/build +0 -7
- data/bin/server +0 -7
- data/docs/contributing.md +0 -69
data/js/back-to-top.js
CHANGED
@@ -3,18 +3,19 @@ const BackToTop = document.querySelector("#back-to-top");
|
|
3
3
|
window.addEventListener("scroll", scrollFunction);
|
4
4
|
|
5
5
|
function scrollFunction() {
|
6
|
-
if (window.pageYOffset > 200) {
|
7
|
-
|
6
|
+
if (window.pageYOffset > 200) {
|
7
|
+
// Show BackToTop
|
8
|
+
if (!BackToTop.classList.contains("BTT-Entrance")) {
|
8
9
|
BackToTop.classList.remove("BTT-Exit");
|
9
10
|
BackToTop.classList.add("BTT-Entrance");
|
10
11
|
BackToTop.style.display = "block";
|
11
12
|
}
|
12
|
-
}
|
13
|
-
|
14
|
-
if(BackToTop.classList.contains("BTT-Entrance")) {
|
13
|
+
} else {
|
14
|
+
// Hide BackToTop
|
15
|
+
if (BackToTop.classList.contains("BTT-Entrance")) {
|
15
16
|
BackToTop.classList.remove("BTT-Entrance");
|
16
17
|
BackToTop.classList.add("BTT-Exit");
|
17
|
-
setTimeout(function() {
|
18
|
+
setTimeout(function () {
|
18
19
|
BackToTop.style.display = "none";
|
19
20
|
}, 250);
|
20
21
|
}
|
@@ -24,25 +25,15 @@ function scrollFunction() {
|
|
24
25
|
BackToTop.addEventListener("click", smoothScrollBackToTop);
|
25
26
|
|
26
27
|
function smoothScrollBackToTop() {
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
let start = null;
|
32
|
-
|
33
|
-
window.requestAnimationFrame(step);
|
34
|
-
|
35
|
-
function step(timestamp) {
|
36
|
-
if (!start) start = timestamp;
|
37
|
-
const progress = timestamp - start;
|
38
|
-
window.scrollTo(0, easeInOutCubic(progress, startPosition, distance, duration));
|
39
|
-
if (progress < duration) window.requestAnimationFrame(step);
|
40
|
-
}
|
28
|
+
window.scrollTo(
|
29
|
+
0,
|
30
|
+
0
|
31
|
+
);
|
41
32
|
}
|
42
33
|
|
43
34
|
function easeInOutCubic(t, b, c, d) {
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
}
|
35
|
+
t /= d / 2;
|
36
|
+
if (t < 1) return (c / 2) * t * t * t + b;
|
37
|
+
t -= 2;
|
38
|
+
return (c / 2) * (t * t * t + 2) + b;
|
39
|
+
}
|
data/post/index.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
---
|
2
|
-
layout: post_home
|
3
|
-
site-title:
|
1
|
+
---
|
2
|
+
layout: post_home
|
3
|
+
site-title: Posts
|
4
4
|
---
|
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.
|
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-
|
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.
|
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.
|
74
|
+
version: '2.8'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: bundler
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,17 +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
|
-
- _includes/Custom-Head.html
|
103
111
|
- _includes/Footer.html
|
104
|
-
- _includes/Google-Analytics.html
|
105
112
|
- _includes/Head.html
|
106
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
|
107
119
|
- _layouts/default.html
|
108
120
|
- _layouts/home.html
|
109
121
|
- _layouts/page.html
|
@@ -113,24 +125,22 @@ files:
|
|
113
125
|
- _posts/2022-04-1-Demo.md
|
114
126
|
- _posts/2022-04-5-Getting-Started.md
|
115
127
|
- _posts/2022-04-6-Creating-a-new-post.md
|
116
|
-
- _sass/
|
117
|
-
- _sass/
|
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
|
118
133
|
- _sass/jekyll-theme-fica.scss
|
119
|
-
- _sass/layouts/
|
134
|
+
- _sass/layouts/Google-fonts.scss
|
135
|
+
- _sass/layouts/component.scss
|
120
136
|
- _sass/layouts/layout.scss
|
121
|
-
- _sass/layouts/
|
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
|
-
- assets/css/fica-icons.svg
|
129
140
|
- assets/fica-icons.svg
|
130
|
-
- assets/img/
|
131
|
-
- bin/
|
132
|
-
-
|
133
|
-
- docs/contributing.md
|
141
|
+
- assets/img/homepage-pic.png
|
142
|
+
- bin/run
|
143
|
+
- js/Main.js
|
134
144
|
- js/back-to-top.js
|
135
145
|
- logo.png
|
136
146
|
- post/index.html
|
@@ -138,6 +148,11 @@ homepage: https://github.com/Involts/jekyll-theme-fica
|
|
138
148
|
licenses:
|
139
149
|
- MIT
|
140
150
|
metadata:
|
151
|
+
bug_tracker_uri: https://github.com/Involts/jekyll-theme-fica/issues
|
152
|
+
documentation_uri: https://github.com/Involts/jekyll-theme-fica#readme
|
153
|
+
homepage_uri: https://involts.github.io/jekyll-theme-fica/
|
154
|
+
source_code_uri: https://github.com/Involts/jekyll-theme-fica
|
155
|
+
wiki_uri: https://github.com/Involts/jekyll-theme-fica/wiki
|
141
156
|
plugin_type: theme
|
142
157
|
post_install_message:
|
143
158
|
rdoc_options: []
|
@@ -154,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
169
|
- !ruby/object:Gem::Version
|
155
170
|
version: '0'
|
156
171
|
requirements: []
|
157
|
-
rubygems_version: 3.3.
|
172
|
+
rubygems_version: 3.3.20
|
158
173
|
signing_key:
|
159
174
|
specification_version: 4
|
160
175
|
summary: A modern theme with minimal look
|
data/_includes/BTT.html
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
<!-- BTT = Back To Top -->
|
2
|
-
|
3
|
-
<buttton id="back-to-top" role="button" title=" Return to top" data-toggle="tooltip" data-placement="left">
|
4
|
-
<svg viewBox="0 0 24 24" width="40px" height="40px">
|
5
|
-
<path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6 1.41 1.41z" />
|
6
|
-
</svg>
|
7
|
-
</buttton>
|
8
|
-
|
9
|
-
<script src="{{site.baseurl}}/js/back-to-top.js"></script>
|
data/_includes/Custom-Head.html
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
<!-- start custom head snippets, customize with your own _includes/head-custom.html file -->
|
2
|
-
|
3
|
-
<!-- Setup Google Analytics -->
|
4
|
-
{% include google-analytics.html %}
|
5
|
-
|
6
|
-
<!-- You can set your favicon here -->
|
7
|
-
<!-- link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}" -->
|
8
|
-
|
9
|
-
<!-- end custom head snippets -->
|
@@ -1,11 +0,0 @@
|
|
1
|
-
{%- if site.google_analytics -%}
|
2
|
-
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
|
3
|
-
<script>
|
4
|
-
window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
|
5
|
-
window.dataLayer = window.dataLayer || [];
|
6
|
-
function gtag(){window.dataLayer.push(arguments);}
|
7
|
-
gtag('js', new Date());
|
8
|
-
|
9
|
-
gtag('config', '{{ site.google_analytics }}');
|
10
|
-
</script>
|
11
|
-
{%- endif -%}
|
data/_sass/custom/styles.scss
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
// put your custom layout here!
|
data/_sass/custom/variables.scss
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
// put your custom variables here!
|