File tree Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,11 @@ video {
9898 text-decoration : none;
9999 vertical-align : baseline;
100100}
101+ * ,
102+ * ::before ,
103+ * ::after {
104+ box-sizing : border-box;
105+ }
101106a ,
102107abbr ,
103108acronym ,
@@ -154,7 +159,6 @@ textarea {
154159 display : none;
155160}
156161a ,
157- a : link ,
158162a : visited ,
159163a : hover ,
160164a : active {
@@ -184,6 +188,12 @@ q::after {
184188 content : '' ;
185189 content : none;
186190}
191+ caption {
192+ display : table-caption;
193+ }
194+ html : focus-within {
195+ scroll-behavior : smooth;
196+ }
187197input [type = date ],
188198input [type = datetime-local ],
189199input [type = file ],
@@ -193,11 +203,15 @@ input[type=week],
193203select {
194204 flex-direction : row;
195205}
196- ol ,
197- ul {
206+ picture {
207+ display : block;
208+ }
209+ ol [role = 'list' ],
210+ ul [role = 'list' ] {
198211 list-style : none;
199212}
200213table {
214+ border-collapse : collapse;
201215 border-spacing : 0 ;
202216 display : table;
203217}
@@ -214,3 +228,17 @@ thead {
214228tr {
215229 display : table-row;
216230}
231+ /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
232+ @media (prefers-reduced-motion : reduce) {
233+ html : focus-within {
234+ scroll-behavior : auto;
235+ }
236+ * ,
237+ * ::before ,
238+ * ::after {
239+ animation-duration : 0.01ms !important ;
240+ animation-iteration-count : 1 !important ;
241+ scroll-behavior : auto !important ;
242+ transition-duration : 0.01ms !important ;
243+ }
244+ }
You can’t perform that action at this time.
0 commit comments