Difference between revisions of "MediaWiki:Common.css"

From EclectricWiki
Jump to: navigation, search
Line 10: Line 10:
  
 
img.halfwidth {
 
img.halfwidth {
     width: 80%;
+
     width:80% !important;
     height: auto;
+
     height:auto !important;
 
}
 
}
  
 
img.fullwidth {
 
img.fullwidth {
     width: 90%;
+
     width:90%;
     height: auto;
+
     height:auto;
 
}
 
}

Revision as of 17:52, 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:80% !important;
    height:auto !important;
}

img.fullwidth {
    width:90%;
    height:auto;
}