MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
/* make responsive images possible */ | /* make responsive images possible */ | ||
.width90 { width: 90%; height: | .width90 img.responsive { | ||
width: 90%; | |||
height: auto; | |||
} | |||
.width90 .image { | |||
max-width: 100%; | |||
max-height: 100%; | |||
} |
Latest revision as of 11:37, 23 January 2019
/* CSS placed here will be applied to all skins */ /* make responsive images possible */ .width90 img.responsive { width: 90%; height: auto; } .width90 .image { max-width: 100%; max-height: 100%; }