Difference between revisions of "MediaWiki:Common.css"

From EclectricWiki
Jump to: navigation, search
Line 14: Line 14:
 
}
 
}
  
img.fullwidth {
+
 
     width:90%;
+
img.whole-width {
     height:auto;
+
     width:100% !important;
 +
     height:auto !important;
 
}
 
}

Revision as of 18:03, 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.halfwidth {
    width:100% !important;
    height:auto !important;
}


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