~sircmpwn/core.sr.ht

6386f1c2d8e2d567bfc9e0411cb874e977ed3cae — Ignas Kiela 1 year, 1 month ago 461fcdc
Remove anchor link animation depending on prefers-reduced-mortion media query
1 files changed, 6 insertions(+), 0 deletions(-)

M srht/scss/base.scss
M srht/scss/base.scss => srht/scss/base.scss +6 -0
@@ 314,6 314,12 @@ code {
      left: -1rem;
    }

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