mediawiki-skins-Citizen/resources/skins.citizen.styles/common/content.less
沈澄心 90d69720f6
feat(core): underline content links on hover and focus (#659)
* Update elements.less

* Update elements.less

* Update content.less

* Update elements.less

* Update elements.less

---------

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-06-08 15:30:00 -04:00

26 lines
416 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: @transition-transform;
}
// Add affordance to replace magnify icon
&:hover:not( .lazy ):not( .new ) {
> img {
transform: scale( 1.1 );
}
}
}
}
.mw-body-content a {
&:hover,
&:focus {
text-decoration: underline;
}
}