From f3cac6c09e02d9ac2836906368608a4955c1ef42 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Mon, 22 Mar 2021 18:21:07 +0530 Subject: [PATCH] Refactor media queries reduce code --- assets/css/zmedia.css | 37 +++++++------------------------------ 1 file changed, 7 insertions(+), 30 deletions(-) diff --git a/assets/css/zmedia.css b/assets/css/zmedia.css index d69ee62d..6f63a6df 100644 --- a/assets/css/zmedia.css +++ b/assets/css/zmedia.css @@ -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; }