Difference between revisions of "MediaWiki:Common.css"

From EclectricWiki
Jump to: navigation, search
Line 9: Line 9:
  
  
img.halfwidth {
+
img.half-width {
     width:100% !important;
+
     width:50% !important;
 
     height:auto !important;
 
     height:auto !important;
 
}
 
}

Revision as of 18:06, 9 June 2018

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

/* To make images responsive */
.res-img img {
    max-width:100%;
    width:100%;  
    height:auto;  
}


img.half-width {
    width:50% !important;
    height:auto !important;
}


img.whole-width {
    width:100% !important;
    height:auto !important;
}