mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21:37 +01:00
Refactor media queries
reduce code
This commit is contained in:
parent
d3813138d7
commit
f3cac6c09e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user