mediawiki-skins-Citizen/resources/skins.citizen.styles/skinning/content.thumbnails-screen.less
2022-11-21 17:47:25 -05:00

43 lines
731 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;
}
&:before {
content: none;
}
&.new {
padding: var( --space-sm );
border: 1px dashed var( --border-color-base );
transition: @transition-background, @transition-color;
&:hover {
background-color: var( --color-destructive--hover );
color: #fff;
}
&:active {
background-color: var( --color-destructive--active );
color: #fff;
}
}
}
}