mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 08:10:45 +00:00
Added support for reduce motion
This commit is contained in:
parent
d4a7226ccd
commit
91da6331d3
14
resources/components/reducemotion.less
Normal file
14
resources/components/reducemotion.less
Normal file
|
@ -0,0 +1,14 @@
|
|||
//
|
||||
// Citizen - Reduce motion Styles
|
||||
// https://starcitizen.tools
|
||||
//
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: 0.001s !important;
|
||||
transition-duration: 0.001s !important;
|
||||
}
|
||||
}
|
|
@ -10,4 +10,5 @@
|
|||
@import 'components/footer.less';
|
||||
@import 'components/bottombar.less';
|
||||
@import 'components/scrollbar.less';
|
||||
@import 'components/darkmode.less';
|
||||
@import 'components/darkmode.less';
|
||||
@import 'components/reducemotion.less';
|
||||
|
|
Loading…
Reference in a new issue