Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
Prevent zoom on image links
 
mNo edit summary
Line 1: Line 1:
/* All CSS here will be loaded for users of the Citizen skin */
/* All CSS here will be loaded for users of the Citizen skin */
.citizen-body a.image:hover > img {
figure[ typeof~='mw:File' ] > a:first-child img,
figure[ typeof~='mw:File/Frameless' ] > a:first-child img,
figure[ typeof~='mw:File/Thumb' ] > a:first-child img,
figure[ typeof~='mw:File/Frame' ] > a:first-child img {
   transform: scale(1) !important;
   transform: scale(1) !important;
}
}

Revision as of 21:46, 20 November 2024

/* All CSS here will be loaded for users of the Citizen skin */
figure[ typeof~='mw:File' ] > a:first-child img,
figure[ typeof~='mw:File/Frameless' ] > a:first-child img,
figure[ typeof~='mw:File/Thumb' ] > a:first-child img,
figure[ typeof~='mw:File/Frame' ] > a:first-child img {
  transform: scale(1) !important;
}