Difference between revisions of "MediaWiki: Common.css"

From PAWS Lab
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/** CSS placed here will be applied to all skins */
 
/** CSS placed here will be applied to all skins */
 
+
.img-responsive{
/* To make images responsive */
 
.res-img img {
 
 
   max-width:100%;
 
   max-width:100%;
 
   height:auto;
 
   height:auto;
}
 
 
.res-img a img {
 
  max-width:100%;
 
  height:auto;
 
}
 
 
.res-image{
 
  border: 1px solid black;
 
 
}
 
}

Latest revision as of 00:33, 12 January 2019

/** CSS placed here will be applied to all skins */
.img-responsive{
  max-width:100%;
  height:auto;
}