Difference between revisions of "MediaWiki:Common.css"
From PARS
Jump to navigationJump to search| Line 4: | Line 4: | ||
img.halfwidth { | img.halfwidth { | ||
width: 50%; | width: 50%; | ||
| + | height: auto; | ||
| + | } | ||
| + | |||
| + | img.fullwidth { | ||
| + | width: 100%; | ||
height: auto; | height: auto; | ||
} | } | ||
Revision as of 11:15, 17 October 2016
/* CSS placed here will be applied to all skins */
img { max-width: 100%; height: auto; width: auto\9; /* ie8 */ }
img.halfwidth {
width: 50%;
height: auto;
}
img.fullwidth {
width: 100%;
height: auto;
}