mediawiki-skins-Citizen/resources/skins.citizen.styles.lazyload/skins.citizen.styles.lazyload.less

30 lines
376 B
Plaintext
Raw Normal View History

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