diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 0cdb239..ebca324 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -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; +} \ No newline at end of file