word-games-theme 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67fa3fa10375cc9d0ef24799a82859406a0c4f014441fbab391f47bfbf3e7237
4
- data.tar.gz: b0dd6debb6acd8d49b9517a682c4b1d3d9e623f6fa0cde388d03aa6cb74cf62d
3
+ metadata.gz: ecee8ef987a680993c81d54fb6aae0daf703d201b8b247cad0bcc3b3ec7c2382
4
+ data.tar.gz: 7475e4584448b74e8f24652be0face599a1562dc6b51d58fc78e22f5701735bc
5
5
  SHA512:
6
- metadata.gz: 2c6935d41f41014bfe242cb4b9221030a8268623dd044b3280e655ffbf2bec7db58f32c292047449e6aa40d623db4319ac1ecc39782b1d241253fc99a1489570
7
- data.tar.gz: 9435f7a2d905a41449eb183c58dd87036c35547f8661524a48759b9153ab73b922d6d5e3b6fecb5eb6860f20b545962203fa821706f515dfb46d4d6c48a330a2
6
+ metadata.gz: 927a578fbc9404dbb13b98d47915d605d080da243aba86eb9e5672b382b66fa84c42696e8decd75cff41b40b32d5adca89841e725a84cfe90e70756deada111d
7
+ data.tar.gz: e3740a3d1ce24b6c4346d42ce03bb85f8bb6da4c219db4ccbc24670f7f41e3a1b56b92b2aa448d121b5d1ced54ef15b56b20397e311d9cff4ef9b145e29ad2de
@@ -1,7 +1,7 @@
1
1
  {% if jekyll.environment == 'production' and site.MonumetricID %}
2
- <script type="text/javascript" defer src="{{site.MonumetricID}}" data-cfasync="false"></script>
2
+ <script type="text/javascript" defer delay="{{site.MonumetricID}}" data-cfasync="false"></script>
3
3
  {% endif %}
4
4
 
5
5
  {% if jekyll.environment == 'development' and site.MonumetricID %}
6
- <script type="text/javascript" defer src="{{site.MonumetricID}}" data-cfasync="false"></script>
6
+ <script type="text/javascript" delay="{{site.MonumetricID}}"></script>
7
7
  {% endif %}
@@ -22,13 +22,13 @@
22
22
  </style>
23
23
  <div class="container-fluid m-0 p-0">
24
24
  <div class="row mx-auto m-0 p-0">
25
- <div class="col-xl-3 col-lg-12">
25
+ <div class="col-lg-12">
26
26
  <div class="row">
27
- <div class="col-xl-3 p-0">
27
+ <div class="col-md-12 p-0 text-center">
28
28
  <div class="feature">
29
- <img src="/assets/images/left_obj_01.png" alt="">
30
- <span class="site-no">04</span>
31
- <h5 class="title" style="width: 300px;">High Scoring Words</h5>
29
+ <!-- <img src="/assets/images/left_obj_01.png" alt=""> -->
30
+ <!-- <span class="site-no">04</span> -->
31
+ <h5 class="title">High Scoring Words</h5>
32
32
  </div>
33
33
  </div>
34
34
  </div>
@@ -27,6 +27,33 @@
27
27
  <link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}">
28
28
 
29
29
  {%- include google-analytics.html -%}
30
- {% include adsense/adsense.html %}
30
+ <!-- {% include adsense/adsense.html %} -->
31
+ <script>
32
+ const autoLoadDuration = 5; //In Seconds
33
+ const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
34
+
35
+ const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
36
+
37
+ eventList.forEach(function (event) {
38
+ window.addEventListener(event, triggerScripts, { passive: true })
39
+ });
40
+
41
+ function triggerScripts() {
42
+ runScripts();
43
+ clearTimeout(autoLoadTimeout);
44
+ eventList.forEach(function (event) {
45
+ window.removeEventListener(event, triggerScripts, { passive: true });
46
+ });
47
+ }
48
+
49
+ function runScripts() {
50
+ console.log(document.querySelector("script"))
51
+ console.log("Javascript Executed!")
52
+ console.log(document.querySelectorAll("script[delay]"))
53
+ document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
54
+ scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
55
+ });
56
+ }
57
+ </script>
31
58
  {% include Monumetric/Monumetric.html %}
32
59
  </head>
@@ -100,7 +100,35 @@
100
100
  {%- include Rating/structureddata.html -%}
101
101
  {%- endif -%}
102
102
 
103
- {% include adsense/adsense.html %}
104
103
  {%- include google-analytics.html -%}
105
104
 
105
+
106
+
107
+ <script>
108
+ const autoLoadDuration = 5; //In Seconds
109
+ const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
110
+
111
+ const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
112
+
113
+ eventList.forEach(function (event) {
114
+ window.addEventListener(event, triggerScripts, { passive: true })
115
+ });
116
+
117
+ function triggerScripts() {
118
+ runScripts();
119
+ clearTimeout(autoLoadTimeout);
120
+ eventList.forEach(function (event) {
121
+ window.removeEventListener(event, triggerScripts, { passive: true });
122
+ });
123
+ }
124
+
125
+ function runScripts() {
126
+ console.log(document.querySelector("script"))
127
+ console.log("Javascript Executed!")
128
+ console.log(document.querySelectorAll("script[delay]"))
129
+ document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
130
+ scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
131
+ });
132
+ }
133
+ </script>
106
134
  </head>
@@ -59,7 +59,6 @@
59
59
  e.target.value = e.target.value.replace(/\?$/, '')
60
60
  }
61
61
  })
62
-
63
62
  </script>
64
63
 
65
64
  {% include Monumetric/Monumetric.html %}
@@ -43,6 +43,33 @@
43
43
  background-color: #F8F9FA !important;
44
44
  }
45
45
  </style>
46
+ <script>
47
+ const autoLoadDuration = 5; //In Seconds
48
+ const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
49
+
50
+ const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
51
+
52
+ eventList.forEach(function (event) {
53
+ window.addEventListener(event, triggerScripts, { passive: true })
54
+ });
55
+
56
+ function triggerScripts() {
57
+ runScripts();
58
+ clearTimeout(autoLoadTimeout);
59
+ eventList.forEach(function (event) {
60
+ window.removeEventListener(event, triggerScripts, { passive: true });
61
+ });
62
+ }
63
+
64
+ function runScripts() {
65
+ console.log(document.querySelector("script"))
66
+ console.log("Javascript Executed!")
67
+ console.log(document.querySelectorAll("script[delay]"))
68
+ document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
69
+ scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
70
+ });
71
+ }
72
+ </script>
46
73
 
47
74
  </head>
48
75
 
@@ -23,7 +23,24 @@
23
23
  text-align: center;
24
24
  width: 100%;
25
25
  }
26
-
26
+ .feature .feature-title,
27
+ .feature-description {
28
+ width: 100% !important;
29
+ text-align: center;
30
+ }
31
+ .feature img,
32
+ .site-no {
33
+ display: none;
34
+ }
35
+ .card-body .card-text {
36
+ color: #6c757d !important;
37
+ }
38
+ .card-body {
39
+ border-radius: 10px;
40
+ background-color: #f7f7f7;
41
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
42
+ margin: 20px 0;
43
+ }
27
44
  .card-body > i {
28
45
  font-size: 20px;
29
46
  }
@@ -50,31 +67,3 @@
50
67
  background-color: #f7f7f7;
51
68
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
52
69
  }
53
-
54
- @media (max-width: 1125px) {
55
- .feature {
56
- padding: 15px;
57
- background-color: #b641da;
58
- margin-left: 0;
59
- margin-top: 0;
60
- margin-bottom: 0;
61
- }
62
- .feature .feature-title,
63
- .feature-description {
64
- width: 100% !important;
65
- text-align: center;
66
- }
67
- .feature img,
68
- .site-no {
69
- display: none;
70
- }
71
- .card-body .card-text {
72
- color: #6c757d !important;
73
- }
74
- .card-body {
75
- border-radius: 10px;
76
- background-color: #f7f7f7;
77
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
78
- margin: 20px 0;
79
- }
80
- }
data/assets/css/style.css CHANGED
@@ -64,7 +64,7 @@ header {
64
64
  }
65
65
  .dropdown:hover .dropdown-menu {
66
66
  display: grid;
67
- grid-template-columns: auto auto auto;
67
+ grid-template-columns: auto auto;
68
68
  border: none;
69
69
  font-size: 14px;
70
70
  left: -70px;
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: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-16 00:00:00.000000000 Z
11
+ date: 2021-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll