mediawiki-skins-Citizen/resources/skins.citizen.styles.lazyload/skins.citizen.styles.lazyload.less
alistair3149 0b87fa8641
Remove low quality image placeholder for lazyload
The original implementation is not robust and make assumptions about a wiki configuration
2020-08-20 12:36:50 -04:00

30 lines
376 B
Plaintext

//
// Citizen - Lazyload styles
// https://starcitizen.tools
//
@import '../variables.less';
.mw-body-content {
a.image {
background-color: @base-90;
.lazy {
opacity: 0;
}
img {
opacity: 1;
transition: @transition-opacity-quick;
}
}
}
@media ( prefers-color-scheme: dark ) {
.mw-body-content {
a.image {
background-color: @dark-bg-10;
}
}
}