mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 22:35:45 +00:00
c7e45177cd
Same as the previous commit, the transition is now accessible as a CSS variable (transition-menu)
20 lines
377 B
Plaintext
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 );
|
|
}
|
|
}
|
|
}
|
|
}
|