word-games-theme 2.0.0 → 2.0.2
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/_layouts/xyzpages.html +1 -1
- data/assets/css/style.css +2 -1
- data/assets/js/theme.js +19 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab85e4ab45dd55212e9c8107230e6ccc1df9eccc5073ba20aa76b9c992321975
|
4
|
+
data.tar.gz: f1668bef528bc09918e90d53e12e495c2b62e648e464ae83be73e57b1a00ad7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e346bf99e31e4ee7948bfc253572bfe78aa9dfccad5dec3950d0bbaad406725c49da7610bb685f280b161d2b3015786eb5fef25f41fffdd9b3f2ad9217bf4a76
|
7
|
+
data.tar.gz: 58a9e4bad58a9fbc00fd7c98e010da4253a66445c7f18119e9f41535fce08d0872bac4b6ba09a0d9f02f324a31889175a0e743cc6ec948da8e21449fbeebf800
|
data/_layouts/xyzpages.html
CHANGED
@@ -110,7 +110,7 @@
|
|
110
110
|
|
111
111
|
{% include xyzpages/xyzFooter.html %}
|
112
112
|
|
113
|
-
<script defer src="/assets/js/xyz.js"></script>
|
113
|
+
<script defer src="{{ site.baseurl }}/{% ministamp assets/js/xyz.js assets/js/xyz.js %}"></script>
|
114
114
|
{%- include script.html -%}
|
115
115
|
</body>
|
116
116
|
|
data/assets/css/style.css
CHANGED
data/assets/js/theme.js
CHANGED
@@ -24,22 +24,33 @@ if ("{{ site.removeBootstrapJs }}" === "true") {
|
|
24
24
|
});
|
25
25
|
}
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
|
28
|
+
var x = window.matchMedia("(max-width: 768px)")
|
29
|
+
let navbarDropdown = document.querySelector("#navbarDropdown");
|
30
|
+
let dropmenu = document.querySelector(".dropmenu");
|
31
|
+
navbarDropdown.addEventListener("click", () => {
|
30
32
|
if (dropmenu.classList.contains("show")) {
|
31
33
|
dropmenu.classList.remove("show");
|
34
|
+
dropmenu.style.display = "none"
|
32
35
|
} else {
|
33
36
|
dropmenu.classList.add("show");
|
37
|
+
if (x.matches) {
|
38
|
+
dropmenu.style.display = "block"
|
39
|
+
} else {
|
40
|
+
dropmenu.style.display = "grid"
|
41
|
+
}
|
42
|
+
|
34
43
|
}
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
44
|
+
});
|
45
|
+
const navbarToggler = document.querySelector('.navbar-toggler')
|
46
|
+
const navBar = document.querySelector('#navbarSupportedContent')
|
47
|
+
navbarToggler.addEventListener('click', () => {
|
39
48
|
if (navBar.classList.contains("show")) {
|
40
49
|
navBar.classList.remove("show");
|
50
|
+
navBar.style.display = "none"
|
41
51
|
} else {
|
42
52
|
navBar.classList.add("show");
|
53
|
+
navBar.style.display = "block"
|
43
54
|
}
|
44
|
-
|
55
|
+
})
|
45
56
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: word-games-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- manpreet-appscms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|