mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-13 17:49:25 +00:00
refactor: use common CSS variables for lazyload
This commit is contained in:
parent
24319fd190
commit
de0dcd6c75
|
@ -5,17 +5,9 @@
|
|||
|
||||
@import '../variables.less';
|
||||
|
||||
: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;
|
||||
}
|
||||
|
||||
.mw-body-content {
|
||||
a.image {
|
||||
background-color: var( --lazyload-mw-body-content-a-image-background-color );
|
||||
background-color: var( --background-color-framed );
|
||||
|
||||
.lazy {
|
||||
opacity: 0;
|
||||
|
|
Loading…
Reference in a new issue