MediaWiki:Common.css: Difference between revisions
Styles for home hero photo and feature thumbs |
Stories gallery + caption styles |
||
| Line 481: | Line 481: | ||
margin: 0.5em 0 0; | margin: 0.5em 0 0; | ||
font-size: 95%; | font-size: 95%; | ||
} | |||
/* The Stories — photo galleries and captions */ | |||
.story-gallery { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 1em 1.25em; | |||
margin: 0.75em 0 1.25em; | |||
align-items: flex-start; | |||
justify-content: flex-start; | |||
} | |||
.story-gallery-item { | |||
flex: 0 1 16em; | |||
max-width: 18em; | |||
text-align: center; | |||
} | |||
.story-gallery-item img, | |||
.story-gallery-item .mw-file-element, | |||
.story-figure img, | |||
.story-figure .mw-file-element { | |||
display: block; | |||
margin: 0 auto; | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
.story-figure { | |||
margin: 0.75em 0 1.1em; | |||
text-align: center; | |||
max-width: 28em; | |||
} | |||
.story-caption { | |||
font-size: 92%; | |||
line-height: 1.35; | |||
margin: 0.35em 0 0; | |||
color: #444; | |||
} | } | ||