MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
div.width90 { width: 90%; } | div.width90 { width: 90%; } | ||
img.responsive { | img.responsive { | ||
max-width: 100%; | |||
max-height: 100%; | |||
} | |||
.width90 .image { | |||
max-width: 100%; | max-width: 100%; | ||
max-height: 100%; | max-height: 100%; | ||
} | } |
Revision as of 11:34, 23 January 2019
/* CSS placed here will be applied to all skins */ /* make responsive images possible */ div.width90 { width: 90%; } img.responsive { max-width: 100%; max-height: 100%; } .width90 .image { max-width: 100%; max-height: 100%; }