Skip to content

Commit

Permalink
Color Change
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsMias authored Nov 29, 2024
1 parent 1a6a75f commit 0eafb91
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ a {
text-decoration: none;
}

/* chatgpt code */
a:hover {
color: #ffa500;
}

/* Ensure it also applies to images inside links */
/* Change the color of SVG images inside links on hover */
a:hover img {
filter: invert(50%) sepia(90%) saturate(500%) hue-rotate(30deg) brightness(100%) contrast(95%);
filter: invert(48%) sepia(96%) saturate(748%) hue-rotate(2deg) brightness(97%) contrast(101%);
transition: 0.3s ease; /* Smooth transition */
}

Expand Down

0 comments on commit 0eafb91

Please sign in to comment.