Skip to content

Commit fce3dd5

Browse files
adding real info icon
1 parent fc979b5 commit fce3dd5

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

assets/infoicon.png

67.1 KB
Loading

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h2>Your Current Game</h2>
3131
</div>
3232
<br>
3333
<button id="reportButton" style="display:none;" onclick="reportTroll()">Report Broken Game Link</button>
34-
<button id="info-btn" title="Info">ℹ️</button>
34+
<img id="info-btn" title="Info" src="assets/infoicon.png">
3535
</div>
3636

3737
<h2>Leaderboard</h2>

style.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,19 @@ a:active {
302302
transition: width 0.2s ease;
303303
}
304304

305+
#info-btn {
306+
width: 20px; /* Adjust size */
307+
height: 20px;
308+
margin-left: 8px; /* Space from the button */
309+
vertical-align: middle; /* Align with text or buttons */
310+
cursor: pointer; /* Pointer cursor on hover */
311+
transition: transform 0.1s ease;
312+
}
313+
314+
#info-btn:hover {
315+
transform: scale(1.2); /* Slight zoom on hover */
316+
filter: brightness(1.2); /* Lighten on hover */
317+
}
305318
.popup-box {
306319
display: none; /* hidden by default */
307320
position: fixed;

0 commit comments

Comments
 (0)