MediaWiki:Common.css: Difference between revisions
Stories gallery + caption styles |
Cap story image height so tall photos do not dominate |
||
| Line 504: | Line 504: | ||
margin: 0 auto; | margin: 0 auto; | ||
max-width: 100%; | max-width: 100%; | ||
max-height: 20em; | |||
width: auto; | |||
height: auto; | height: auto; | ||
object-fit: contain; | |||
} | } | ||
.story-figure { | .story-figure { | ||
margin: 0.75em 0 1.1em; | margin: 0.75em 0 1.1em; | ||
text-align: center; | text-align: center; | ||
max-width: | max-width: 22em; | ||
} | } | ||
.story-caption { | .story-caption { | ||