2020-06-12 18:02:23 +00:00
|
|
|
//
|
|
|
|
// Citizen - Lazyload styles
|
|
|
|
// https://starcitizen.tools
|
|
|
|
//
|
|
|
|
|
|
|
|
@import '../variables.less';
|
|
|
|
|
2021-01-09 21:56:28 +00:00
|
|
|
:root {
|
|
|
|
--lazyload-mw-body-content-a-image-background-color: @base-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root.skin-citizen-dark {
|
|
|
|
--lazyload-mw-body-content-a-image-background-color: @dark-bg-10;
|
|
|
|
}
|
|
|
|
|
2020-06-12 18:02:23 +00:00
|
|
|
.mw-body-content {
|
|
|
|
a.image {
|
2021-01-09 21:56:28 +00:00
|
|
|
background-color: var( --lazyload-mw-body-content-a-image-background-color );
|
2020-06-12 18:02:23 +00:00
|
|
|
|
|
|
|
.lazy {
|
2020-08-20 16:36:50 +00:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
opacity: 1;
|
|
|
|
transition: @transition-opacity-quick;
|
2020-06-12 18:02:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|