mediawiki-skins-Citizen/resources/skins.citizen.styles/skinning/content.thumbnails-screen.less
alistair3149 b47f2658c7
fix(core): 🐛 remove redundant override for image height
There is no need for important for image height.
This should also fix the issue where inline height are being overriden.
Fix: #605
2023-03-27 13:48:29 -04:00

49 lines
823 B
Plaintext

/*
* Citizen
*
* Module: mediawiki.skinning.content.thumbnails-screen
* Version: REL1_39
*
* Date: 2022-11-18
*/
.thumbinner {
> a {
display: block;
border-radius: var( --border-radius--small );
&.image {
max-width: inherit;
margin-right: 1px;
// Counter the weird hardcoded 2px width added by core
margin-left: 1px;
> img {
max-width: inherit;
height: auto;
}
}
&::before {
content: none;
}
// Broken file styles
&.new {
padding: var( --space-sm );
border: 1px dashed var( --border-color-base--darker );
transition: @transition-background, @transition-color;
&:hover {
background-color: var( --color-destructive--hover );
color: #fff;
}
&:active {
background-color: var( --color-destructive--active );
color: #fff;
}
}
}
}