Refactor media queries
reduce code
This commit is contained in:
parent
d3813138d7
commit
f3cac6c09e
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user