mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 02:24:04 +00:00
Small fixes on placeholder images
This commit is contained in:
parent
1ae5b6ecf5
commit
5607a5541e
|
@ -673,18 +673,15 @@ figcaption,
|
|||
.thumb {
|
||||
>.thumbinner {
|
||||
>a {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
width: fit-content; // Get rid of extra pixels from thumbinner
|
||||
transition: @transition-box-shadow-quick!important;
|
||||
transition: @transition-box-shadow-quick !important;
|
||||
|
||||
&:hover:not(.lazy) {
|
||||
background: 0!important;
|
||||
.boxshadow(2);
|
||||
background: 0 !important;
|
||||
.boxshadow(2);
|
||||
}
|
||||
|
||||
&:before {
|
||||
content: none;
|
||||
content: none;
|
||||
}
|
||||
|
||||
&.new {
|
||||
|
@ -696,15 +693,21 @@ figcaption,
|
|||
}
|
||||
}
|
||||
|
||||
.image img {
|
||||
filter: none;
|
||||
transition: @transition-filter;
|
||||
a.image {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
width: fit-content; // Get rid of extra pixels from thumbinner
|
||||
|
||||
&.lazy {
|
||||
display: block;
|
||||
background-color: @base-90;
|
||||
filter: blur(20px);
|
||||
}
|
||||
img {
|
||||
filter: none;
|
||||
transition: @transition-filter;
|
||||
|
||||
&.lazy {
|
||||
display: block;
|
||||
background-color: @base-90;
|
||||
filter: blur(20px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Hide edit button when user is not logged in
|
||||
|
|
Loading…
Reference in a new issue