mediawiki-skins-Citizen/resources/skins.citizen.styles/common/content.less
alistair3149 c7e45177cd
feat(core): update menu transition styles and implementation
Same as the previous commit, the transition is now accessible as a CSS variable (transition-menu)
2023-07-07 17:02:27 -04:00

20 lines
377 B
Plaintext

.citizen-body {
a.image {
display: inline-block;
overflow: hidden;
vertical-align: top; // get rid of that weird bottom gap from inline block
> img {
transition: var( --transition-hover );
transition-property: transform;
}
// Add affordance to replace magnify icon
&:hover:not( .lazy ):not( .new ) {
> img {
transform: scale( 1.1 );
}
}
}
}