Difference between revisions of "MediaWiki:Common.css"
| Line 10: | Line 10: | ||
img.halfwidth { | img.halfwidth { | ||
| − | width: | + | width:98% !important; |
height:auto !important; | height:auto !important; | ||
} | } | ||
Revision as of 17:58, 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:98% !important;
height:auto !important;
}
img.fullwidth {
width:90%;
height:auto;
}