Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add global hover reaction to all buttons #271

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,18 @@ main {
main a {
color: var(--vocabulary-brand-color-tomato);
}

/* Global hover effect for all buttons */
button:hover,
[type="button"]:hover,
[type="reset"]:hover,
[type="submit"]:hover,
.ancilliary-menu button:hover,
.ancilliary-menu button.explore:hover,
.ancilliary-menu a.search:hover,
.ancilliary-menu a.donate:hover,
.ancilliary-menu button.locale:hover {
background-color: #333;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}