cybersynth-theme 0.1.2 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +51 -36
- data/_sass/cybersynth-theme.scss +1 -1
- data/_sass/fonts.scss +2 -0
- data/assets/js/main.js +10 -0
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 05aa26baff283480512f92de4203c7cb58e80438efe5ebc9439f2f73640e43b4
|
|
4
|
+
data.tar.gz: 5ca815409945cccf17f0be774062fe0894ecd92d9f92e15dcf10c380cc7cb76d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a16b5799956f1e40d7846d76e638d46c51fc367185cecced1248d1ab1d9634f1b38f2356f736a39228f023c55d0be3540e4713b8ea9fd9ad58a5ec17616ce956
|
|
7
|
+
data.tar.gz: 49c73eb1b6d1f3bb9e23ce503eec8d5b2bf2d7cf53ca7c48e20194c78bd28f730d603a4c25b2d82792735c29a91230e181b750cebd5542b59a217381683c88e3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,36 +1,51 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
## [Unreleased]
|
|
9
|
-
|
|
10
|
-
## [0.1.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
[0.1.
|
|
35
|
-
|
|
36
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.1.4] - 2024-03-17
|
|
11
|
+
|
|
12
|
+
## Changed
|
|
13
|
+
|
|
14
|
+
- Updated gemspec.
|
|
15
|
+
|
|
16
|
+
## [0.1.3] - 2024-03-17
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Fixed Changelog URL.
|
|
21
|
+
|
|
22
|
+
## [0.1.2] - 2024-03-17
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- CHANGELOG.
|
|
27
|
+
- Rubygems Metadata.
|
|
28
|
+
- Creates Rakefile for building task.
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
- Fixes title position.
|
|
33
|
+
|
|
34
|
+
## [0.1.1] - 2024-03-17
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
|
|
38
|
+
- Points to remote repository so it works on GitHub.
|
|
39
|
+
|
|
40
|
+
## [0.1.0] - 2024-03-17
|
|
41
|
+
|
|
42
|
+
### Added
|
|
43
|
+
|
|
44
|
+
- First implementation of project.
|
|
45
|
+
|
|
46
|
+
[unreleased]: https://github.com/ziinahzoor/cybersynth-theme/compare/v0.1.4...main
|
|
47
|
+
[0.1.4]: https://github.com/ziinahzoor/cybersynth-theme/compare/v0.1.3...v0.1.4
|
|
48
|
+
[0.1.3]: https://github.com/ziinahzoor/cybersynth-theme/compare/v0.1.2...v0.1.3
|
|
49
|
+
[0.1.2]: https://github.com/ziinahzoor/cybersynth-theme/compare/v0.1.1...v0.1.2
|
|
50
|
+
[0.1.1]: https://github.com/ziinahzoor/cybersynth-theme/compare/v0.1.0...v0.1.1
|
|
51
|
+
[0.1.0]: https://github.com/ziinahzoor/cybersynth-theme/releases/tag/v0.1.0
|
data/_sass/cybersynth-theme.scss
CHANGED
data/_sass/fonts.scss
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
@import url('https://fonts.googleapis.com/css?family=Arvo:400,700,400italic');
|
|
2
2
|
@import url('https://fonts.googleapis.com/css2?family=Iceberg&display=swap');
|
|
3
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');
|
|
4
|
+
@import url('https://fonts.cdnfonts.com/css/tengwar-annatar');
|
data/assets/js/main.js
CHANGED
|
@@ -11,6 +11,11 @@ function addHeaders() {
|
|
|
11
11
|
|
|
12
12
|
const headers = document.querySelectorAll('section h1,h2,h3,h4,h5,h6');
|
|
13
13
|
|
|
14
|
+
if (!headers.length) {
|
|
15
|
+
nav.parentElement.removeChild(nav);
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
|
|
14
19
|
let currentList = list;
|
|
15
20
|
let lastNesting = 0;
|
|
16
21
|
|
|
@@ -108,6 +113,11 @@ let selectedHeader;
|
|
|
108
113
|
|
|
109
114
|
function handleShownElement() {
|
|
110
115
|
var elements = [...document.querySelectorAll('section h1,h2,h3,h4,h5,h6')];
|
|
116
|
+
|
|
117
|
+
if (!elements.length) {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
|
|
111
121
|
var screenMiddlePoint = window.innerHeight / 2;
|
|
112
122
|
|
|
113
123
|
const filteredElements = elements.filter(e => e.getBoundingClientRect().bottom <= screenMiddlePoint);
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cybersynth-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rafael Rosa Becker dos Santos
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-08-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -68,7 +68,8 @@ licenses:
|
|
|
68
68
|
metadata:
|
|
69
69
|
homepage_uri: https://github.com/ziinahzoor/cybersynth-theme
|
|
70
70
|
source_code_uri: https://github.com/ziinahzoor/cybersynth-theme
|
|
71
|
-
changelog_uri: https://github.com/ziinahzoor/cybersynth-
|
|
71
|
+
changelog_uri: https://github.com/ziinahzoor/cybersynth-theme/blob/main/CHANGELOG.md
|
|
72
|
+
documentation_uri: https://github.com/ziinahzoor/cybersynth-theme/blob/main/README.md
|
|
72
73
|
post_install_message:
|
|
73
74
|
rdoc_options: []
|
|
74
75
|
require_paths:
|
|
@@ -77,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
77
78
|
requirements:
|
|
78
79
|
- - ">="
|
|
79
80
|
- !ruby/object:Gem::Version
|
|
80
|
-
version:
|
|
81
|
+
version: 2.5.0
|
|
81
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
83
|
requirements:
|
|
83
84
|
- - ">="
|