Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
/* https://stackoverflow.com/questions/19450262/mediawiki-set-external-image-width-by-value */ | /* https://stackoverflow.com/questions/19450262/mediawiki-set-external-image-width-by-value */ | ||
− | . | + | .image-holder { |
position: relative; | position: relative; | ||
} | } | ||
− | . | + | .image-holder img { |
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
} | } |
Revision as of 20:05, 10 November 2020
/* CSS placed here will be applied to all skins */ code { border: 0px; } thead { text-align: left; } /* https://stackoverflow.com/questions/19450262/mediawiki-set-external-image-width-by-value */ .image-holder { position: relative; } .image-holder img { width: 100%; height: auto; }