fix hover states for ios safari with media query

This commit is contained in:
sefaria
2026-06-15 22:27:58 +02:00
parent 9e1233ce7a
commit 7f7357a835
+2
View File
@@ -425,6 +425,7 @@ button, .button-primary, .logo {
fill: currentColor;
}
@media (hover: hover) {
button:hover, .button-primary:hover, .button-secondary:hover, .logo:hover {
text-decoration: none;
transform: scale(1.05);
@@ -439,6 +440,7 @@ button:hover, .button-primary:hover, .logo:hover {
background: var(--color-button-secondary-hover);
color: var(--color-text-button-secondary-hover);
}
}
button:active, .button-primary:active, .button-secondary:active, .logo:active {
box-shadow: var(--shadow-button-active);