word-games-theme 1.8.8 → 1.9.0
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/_includes/wordle-solver/wordle-solver.html +35 -14
- data/_layouts/blog.html +6 -7
- data/assets/css/style.css +6 -3
- data/assets/css/wordleSolver.css +1 -1
- data/assets/js/X-letter-test.js +0 -3
- 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: '0834e7bcbbfbe0dec5e6958fd067a87ddacde0e2644690a85e53d995faa23fe9'
|
|
4
|
+
data.tar.gz: 26828786360b864f851fefde25249a5f729dcbfd8704b76a2d3f89f0961da24b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40ff40a7cc4a3ba2b3da00e5497d80fb7f91396a7cc8344d0eb3ebbdb0d6e6de72eb6437400a3dfa55e328630d54a320a718f89926df54a125d9b896832fb582
|
|
7
|
+
data.tar.gz: '090da91e6b6271cc0870bc30c88cba4e2c9a411a92c5f4a45c21336a9800cf3cc4c367d78f1c73ba7de9e7e797f222ed4cf451a725c04a46b08ec40ad68e2190'
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
<style>
|
|
2
|
+
.greenLetters{
|
|
3
|
+
border-color: green !important;
|
|
4
|
+
}
|
|
5
|
+
.yellowLetters{
|
|
6
|
+
border-color: #C59E28 !important;
|
|
7
|
+
}
|
|
8
|
+
.greyLetters{
|
|
9
|
+
border-color: gray !important;
|
|
10
|
+
}
|
|
11
|
+
</style>
|
|
1
12
|
<div class="container wordleSolver-container">
|
|
2
13
|
<div class="row">
|
|
3
14
|
<div class="col-md-10 mx-auto ws">
|
|
@@ -184,22 +195,32 @@
|
|
|
184
195
|
</div>
|
|
185
196
|
</div>
|
|
186
197
|
</div>
|
|
187
|
-
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
|
|
188
|
-
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
|
189
198
|
<script>
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
if (
|
|
196
|
-
|
|
199
|
+
let inputs = document.querySelectorAll('input');
|
|
200
|
+
for (let ws of inputs) {
|
|
201
|
+
ws.addEventListener('keypress', function (e) {
|
|
202
|
+
let target = e.srcElement;
|
|
203
|
+
let idx = parseInt(target.getAttribute('tabIndex'));
|
|
204
|
+
if (e.which === 32) {
|
|
205
|
+
e.preventDefault();
|
|
206
|
+
idx += idx < inputs.length - 1 ? 1 : 0;
|
|
207
|
+
inputs[idx].focus();
|
|
197
208
|
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
209
|
+
})
|
|
210
|
+
ws.addEventListener('keydown', function (e) {
|
|
211
|
+
var target = e.srcElement;
|
|
212
|
+
let idx = parseInt(target.getAttribute('tabIndex'));
|
|
213
|
+
if (e.keyCode === 8 || e.keyCode === 9) {
|
|
214
|
+
switch (e.keyCode) {
|
|
215
|
+
case 8:
|
|
216
|
+
idx -= idx > 0 ? 1 : 0;
|
|
217
|
+
this.value = '';
|
|
218
|
+
inputs[idx].focus();
|
|
219
|
+
break;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
}
|
|
203
224
|
function move(first, last) {
|
|
204
225
|
if (first.value.length) {
|
|
205
226
|
document.getElementById(last).focus()
|
data/_layouts/blog.html
CHANGED
|
@@ -38,20 +38,19 @@
|
|
|
38
38
|
<div class="card-footer bg-white">
|
|
39
39
|
<div class="wrapfooter">
|
|
40
40
|
{% if post.author %}
|
|
41
|
-
<
|
|
42
|
-
<img class="author-thumb" loading="lazy"
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
<a target="_blank" href="/author/{{authorName | downcase | replace: ' ' , '-' }}" class="meta-footer-thumb">
|
|
42
|
+
<img class="author-thumb" loading="lazy" src="{{ image }}"
|
|
43
|
+
alt="{{ authorName }}" {%- if site.crossorigin -%}
|
|
44
|
+
crossorigin="anonymous" {%- endif -%}>
|
|
45
|
+
</a>
|
|
45
46
|
{% endif %}
|
|
46
47
|
|
|
47
48
|
<span class="author-meta">
|
|
48
49
|
<span class="post-name">
|
|
49
|
-
<a target="_blank" href="/
|
|
50
|
+
<a target="_blank" href="/author/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName}}</a>
|
|
50
51
|
</span><br>
|
|
51
52
|
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
52
53
|
</span>
|
|
53
|
-
<!-- <span class="post-read-more "><a class="text-dark" href="{{ post.url }}"
|
|
54
|
-
title="Read Story">Read More</a></span> -->
|
|
55
54
|
</div>
|
|
56
55
|
</div>
|
|
57
56
|
</div>
|
data/assets/css/style.css
CHANGED
|
@@ -95,6 +95,10 @@ header {
|
|
|
95
95
|
top: 50px !important;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
+
.show{
|
|
99
|
+
display: block !important;
|
|
100
|
+
padding: 15px !important;
|
|
101
|
+
}
|
|
98
102
|
.dropdown-menu.show {
|
|
99
103
|
padding: 3.5rem;
|
|
100
104
|
display: grid;
|
|
@@ -294,9 +298,8 @@ header {
|
|
|
294
298
|
font-style: normal;
|
|
295
299
|
outline: none;
|
|
296
300
|
}
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
background: url(/assets/images/angle-arrow-down.svg) no-repeat;
|
|
301
|
+
.angle-arrow2 {
|
|
302
|
+
background: url(/assets/images/angle-arrow-down.svg) no-repeat center center;
|
|
300
303
|
background-size: contain;
|
|
301
304
|
object-fit: cover;
|
|
302
305
|
width: 10px;
|
data/assets/css/wordleSolver.css
CHANGED
data/assets/js/X-letter-test.js
CHANGED
|
@@ -19,9 +19,6 @@ let includeValue = params.get('include')
|
|
|
19
19
|
let lengthValue = params.get('length')
|
|
20
20
|
let dictonary = params.get('dictionary')
|
|
21
21
|
|
|
22
|
-
$(function () {
|
|
23
|
-
$('[data-toggle="tooltip"]').tooltip()
|
|
24
|
-
})
|
|
25
22
|
|
|
26
23
|
let tab_link_wrapper = document.querySelector('.tab_link_wrapper')
|
|
27
24
|
tab_link_wrapper.style.display = "none"
|
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: 1.
|
|
4
|
+
version: 1.9.0
|
|
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-04-
|
|
11
|
+
date: 2023-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|