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) {
/* terms */
.terms-tags a:active {
transform: none;
}
/* profile-mode */
.button:active {
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;
}
/* terms; profile-mode; post-single; post-entry; post-entry; search; search */
.terms-tags a:active,
.button:active,
.share-buttons svg:active,
.post-entry:active,
.top-link,
#searchResults .focus,
#searchResults li:active {
transform: none;
}