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
 
(One intermediate revision by the same user not shown)
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;
}
.citizen-body a.image > img {
transform: scale(1) !important;
}
}

Latest revision as of 17:23, 3 December 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;
}

.citizen-body a.image > img {
	transform: scale(1) !important;
}