~sircmpwn/sr.ht-dev

core.sr.ht: Remove anchor link animation depending on prefers-reduced-mortion media query v1 PROPOSED

Ignas Kiela: 1
 Remove anchor link animation depending on prefers-reduced-mortion media query

 1 files changed, 6 insertions(+), 0 deletions(-)
#304944 alpine.yml success
#304945 archlinux.yml success
#304946 debian.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/13935/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH core.sr.ht] Remove anchor link animation depending on prefers-reduced-mortion media query Export this patch

---
 srht/scss/base.scss | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srht/scss/base.scss b/srht/scss/base.scss
index 332fa02..c259017 100644
--- a/srht/scss/base.scss
+++ b/srht/scss/base.scss
@@ -314,6 +314,12 @@ code {
      left: -1rem;
    }

    @media(prefers-reduced-motion) {
      & > a:first-child {
        transition: none;
      }
    }
    
    &:hover > a:first-child {
      opacity: 1;
    }
-- 
2.25.1
Thanks!

To git@git.sr.ht:~sircmpwn/core.sr.ht
   6386f1c..461fcdc  master -> master
builds.sr.ht
core.sr.ht/patches: SUCCESS in 10m8s

[Remove anchor link animation depending on prefers-reduced-mortion media query][0] from [Ignas Kiela][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/13935
[1]: mailto:me@ignaskiela.eu

✓ #304945 SUCCESS core.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/304945
✓ #304946 SUCCESS core.sr.ht/patches/debian.yml    https://builds.sr.ht/~sircmpwn/job/304946
✓ #304944 SUCCESS core.sr.ht/patches/alpine.yml    https://builds.sr.ht/~sircmpwn/job/304944