Commit graph

18 commits

Author SHA1 Message Date
David Darnes
24f527e414
Prevent smooth scrolling for people who prefer reduced motion 2021-01-14 11:00:33 +00:00
David Darnes
6aed477cc9
Only allow smooth scrolling when focused in the page 2021-01-14 10:52:24 +00:00
Andy Bell
41fe399128
Merge pull request #33 from hankchizljaw/feature/over-reaching-elements
Remove over-reaching elements
2020-11-06 19:35:28 +00:00
Andy Bell
4dff0e42dd
Merge pull request #29 from venikx/patch-1
Reduce motion of ::before and ::after pseudo-elements
2020-11-06 19:33:39 +00:00
Andy Bell
ba75f6d3ed Remove over-reaching elements 2020-11-06 19:33:20 +00:00
Andy Bell
e3975a92b6 Hot Fix: fix whoopsie on list rules 2020-11-06 19:11:32 +00:00
Andy Bell
d07d11fb2c Change list rules. Fixes #30 2020-11-06 17:08:15 +00:00
Kevin
f1ab7b6974
Reduce motion of ::before and ::after pseudo-elements
The change adds the `*::before` and *::after` in the reduce motion media query. Effectively these additions should prevent any animations which were happening in these pseudo-elements when the user has opted to reduce the motion. 

Why?
I've come across an edge case where I'm animating an `::after` (not sure if that's the ideal way to do it), but animations should be disabled for these pseudo-elements as well.
2020-10-22 02:30:38 +03:00
Jan Kollars
10444a8130 set img styles also for picture tag 2020-07-21 16:17:44 +02:00
Matthew Passmore
52c4af07cd Fix viewport smooth scroll-behavior
The 'scroll-behavior' property of the HTML `body` element is not
propagated to the viewport. When applied to the root element, it applies
to the viewport.

@link https://drafts.csswg.org/cssom-view/#smooth-scrolling
2020-04-02 17:03:38 +01:00
Andy Bell
d1f79f7477 Add blurred images with no alt attributes 2020-02-03 21:30:20 +00:00
Jonathan Caprell
172a9dc0fd Remove li and figcaption from margin reset 2019-12-09 10:08:42 -05:00
Carbon Copy
0fde6c58a5 Replace animation styles with new technique 2019-10-04 05:43:53 +10:00
Carbon Copy
279ec0bdff Fix transition style breaking transitionend event 2019-10-04 05:09:40 +10:00
Andy Bell
8f70fc1a05 Fix list whoopsies 2019-10-01 14:40:27 +01:00
Andy Bell
06d1b03e1c Add test page 2019-10-01 14:27:32 +01:00
Andy Bell
c7a84ce190 Add font inherit styles 2019-10-01 14:19:02 +01:00
Andy Bell
bd43941b08 Add reset CSS 2019-10-01 14:08:06 +01:00