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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7307d0eec01ff734803cd11361d990a5438ab8df012564433a4850e63daafb9f
4
- data.tar.gz: c76dbfe3306328d6e41b469861357db482143f8f20414162a934f7af624e92ec
3
+ metadata.gz: '0834e7bcbbfbe0dec5e6958fd067a87ddacde0e2644690a85e53d995faa23fe9'
4
+ data.tar.gz: 26828786360b864f851fefde25249a5f729dcbfd8704b76a2d3f89f0961da24b
5
5
  SHA512:
6
- metadata.gz: 6eb83a48d8ee7396e9a7feaaad612be3ba71d1dd91034dc2c2bb64278df86d6a782e33c2e6312774cd3a86b125464f977963a62f74d51b5764a74492577309e1
7
- data.tar.gz: 14a5beac4f30d0730f94c0bab09a25e9eef4a06ee0d6bf10dcec2bb09f315034724a1e91a7c592716b028b9b18a4724c954ad9c25a5b3b63a7af8f4ca0523975
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
- $(document).on('keypress', 'input', function (e) {
191
- if (e.which === 32) {
192
- e.preventDefault();
193
- var $next = $('[tabIndex=' + (+this.tabIndex + 1) + ']');
194
-
195
- if (!$next.length) {
196
- $next = $('[tabIndex=1]');
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
- $next.focus().click();
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
- <span class="meta-footer-thumb">
42
- <img class="author-thumb" loading="lazy" height="35px" width="35px"
43
- src="{{ image }}" alt="{{ authorName }}">
44
- </span>
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="/blog">{{authorName}}</a>
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
- .serachSection .serachBox .advancedFilter .angle-arrow2 {
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;
@@ -39,7 +39,7 @@
39
39
 
40
40
  .forms_data .wordleSolver-field:focus {
41
41
  box-shadow: unset !important;
42
- border-color: #ced4da !important;
42
+ /* border-color: #ced4da !important; */
43
43
  }
44
44
 
45
45
  #addMore {
@@ -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.8.8
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-25 00:00:00.000000000 Z
11
+ date: 2023-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll