Refactor media queries

reduce code
This commit is contained in:
Aditya Telange 2021-03-22 18:21:07 +05:30
parent d3813138d7
commit f3cac6c09e
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
1 changed files with 7 additions and 30 deletions

View File

@ -40,36 +40,13 @@
} }
@media (prefers-reduced-motion) { @media (prefers-reduced-motion) {
/* terms */ /* terms; profile-mode; post-single; post-entry; post-entry; search; search */
.terms-tags a:active { .terms-tags a:active,
transform: none; .button:active,
} .share-buttons svg:active,
.post-entry:active,
/* profile-mode */ .top-link,
.button:active { #searchResults .focus,
transform: none;
}
/* post-single */
.share-buttons svg:active {
transform: none;
}
/* post-entry */
.post-entry:active {
transform: none;
}
/* footer */
.top-link {
transition: none;
}
/* search */
#searchResults .focus {
transform: none;
}
#searchResults li:active { #searchResults li:active {
transform: none; transform: none;
} }