Difference between revisions of "MediaWiki:Common.css"

From
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will be applied to all skins: →‎Make images responsive: .res-img { max-width: 100% !important; height: auto !important; }")
 
Line 2: Line 2:
  
 
/* Make images responsive */
 
/* Make images responsive */
.res-img {
+
.res-img img {
 
max-width: 100% !important;
 
max-width: 100% !important;
 
height: auto !important;
 
height: auto !important;
 
}
 
}

Revision as of 10:38, 11 May 2021

/* CSS placed here will be applied to all skins */

/* Make images responsive */
.res-img img {
	max-width: 100% !important;
	height: auto !important;
}