All click targets should have the hover animation

I will regret this code in the future
This commit is contained in:
2025-06-17 22:11:30 -07:00
parent 0f3f26f4f3
commit 36ec03be09
3 changed files with 26 additions and 0 deletions

View File

@ -152,6 +152,12 @@ Svelte modal example, https://svelte.dev/playground/modal
nav button.menu-button {
background: none;
border: none;
transition-duration: 0.2s;
}
nav button.menu-button:hover {
color: #21afff;
}
nav .menu-button i {

View File

@ -154,4 +154,19 @@
margin: 4px 0;
}
}
// Click target color animation
button {
transition-duration: 0.2s;
}
button:hover {
color: #21afff !important;
/*/
* Cascading styles was a mistake
* I hate this code
* But it works
/*/
}
</style>

View File

@ -232,6 +232,11 @@
color: global.$text-color;
}
// Bad code
div.project-grid-container div.project-grid-box h1 a:hover {
color: #21afff;
}
div.project-grid-container
div.project-grid-box
div.project-grid-box-contents {