mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 02:24:04 +00:00
0b87fa8641
The original implementation is not robust and make assumptions about a wiki configuration
30 lines
376 B
Plaintext
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;
|
|
}
|
|
}
|
|
}
|