Blane187 commited on
Commit
6d71051
·
verified ·
1 Parent(s): a89ff65

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +36 -1
index.html CHANGED
@@ -62,7 +62,26 @@
62
  }
63
  }
64
 
65
- /* Additional styling */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  .highlight {
67
  font-weight: bold;
68
  color: #61dafb;
@@ -110,5 +129,21 @@
110
  <h2>📬 Contact</h2>
111
  <p>For inquiries or collaboration, feel free to reach out to us through <a href="https://github.com/kindahex" target="_blank">GitHub</a>, or <a href="https://huggingface.co/spaces/kindahex/README/discussions" target="_blank">Hugging Face discussions</a>.</p>
112
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  </body>
114
  </html>
 
62
  }
63
  }
64
 
65
+ @keyframes idlePulse {
66
+ 0% {
67
+ transform: scale(1);
68
+ background-color: #282c34;
69
+ }
70
+ 50% {
71
+ transform: scale(1.02);
72
+ background-color: #3b4048;
73
+ }
74
+ 100% {
75
+ transform: scale(1);
76
+ background-color: #282c34;
77
+ }
78
+ }
79
+
80
+ /* Idle state styling */
81
+ .idle {
82
+ animation: idlePulse 3s infinite ease-in-out;
83
+ }
84
+
85
  .highlight {
86
  font-weight: bold;
87
  color: #61dafb;
 
129
  <h2>📬 Contact</h2>
130
  <p>For inquiries or collaboration, feel free to reach out to us through <a href="https://github.com/kindahex" target="_blank">GitHub</a>, or <a href="https://huggingface.co/spaces/kindahex/README/discussions" target="_blank">Hugging Face discussions</a>.</p>
131
  </div>
132
+
133
+ <script>
134
+ let idleTimer;
135
+
136
+ function resetTimer() {
137
+ clearTimeout(idleTimer);
138
+ document.body.classList.remove('idle');
139
+ idleTimer = setTimeout(() => {
140
+ document.body.classList.add('idle');
141
+ }, 10000); // 10 seconds of idle time
142
+ }
143
+
144
+ window.onload = resetTimer;
145
+ window.onmousemove = resetTimer;
146
+ window.onkeydown = resetTimer;
147
+ </script>
148
  </body>
149
  </html>