refactor: use common CSS variables for lazyload

This commit is contained in:
alistair3149 2021-01-12 15:14:52 -05:00
parent 24319fd190
commit de0dcd6c75
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -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;