mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 18:40:05 +00:00
31 lines
864 B
Plaintext
31 lines
864 B
Plaintext
/*
|
|
* From Sanitize.css
|
|
* 1. Remove animations when motion is reduced (opinionated).
|
|
* 2. Remove fixed background attachments when motion is reduced (opinionated).
|
|
* 3. Remove timed scrolling behaviors when motion is reduced (opinionated).
|
|
* 4. Remove transitions when motion is reduced (opinionated).
|
|
*/
|
|
|
|
@media ( prefers-reduced-motion: reduce ) {
|
|
/* stylelint-disable time-min-milliseconds, declaration-no-important */
|
|
*,
|
|
:before,
|
|
:after {
|
|
animation-delay: -1ms !important;
|
|
/* 1 */
|
|
animation-duration: 1ms !important;
|
|
/* 1 */
|
|
animation-iteration-count: 1 !important;
|
|
/* 1 */
|
|
background-attachment: initial !important;
|
|
/* 2 */
|
|
scroll-behavior: auto !important;
|
|
/* 3 */
|
|
transition-delay: 0s !important;
|
|
/* 4 */
|
|
transition-duration: 0s !important;
|
|
/* 4 */
|
|
}
|
|
/* stylelint-enable time-min-milliseconds, declaration-no-important */
|
|
}
|