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; }")
 
 
(2 intermediate revisions by the same user not shown)
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;
 
}
 
}

Latest revision as of 16:35, 22 June 2021

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

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