MediaWiki:Common.css: Difference between revisions
Style soldier footer disclaimer block |
Styles for home hero photo and feature thumbs |
||
| Line 231: | Line 231: | ||
margin: 0 0 1.25em 0; | margin: 0 0 1.25em 0; | ||
line-height: 1.6; | line-height: 1.6; | ||
} | |||
.home-hero-photo { | |||
margin: 0 0 1.15em 0; | |||
max-width: 100%; | |||
} | |||
.home-hero-photo img, | |||
.home-hero-photo .mw-file-element { | |||
display: block; | |||
width: 100%; | |||
max-width: 56em; | |||
height: auto; | |||
} | |||
.home-feature-thumbs { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 1em 1.25em; | |||
margin: 0.75em 0 0.35em; | |||
align-items: flex-start; | |||
} | |||
.home-feature-thumb { | |||
flex: 0 1 9em; | |||
max-width: 10em; | |||
text-align: center; | |||
} | |||
.home-feature-thumb img, | |||
.home-feature-thumb .mw-file-element { | |||
display: block; | |||
margin: 0 auto 0.4em; | |||
max-width: 120px; | |||
height: auto; | |||
} | |||
.home-feature-caption { | |||
font-size: 95%; | |||
line-height: 1.35; | |||
} | |||
.home-book { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 1em 1.25em; | |||
align-items: flex-start; | |||
margin: 0.5em 0 0; | |||
} | |||
.home-book-cover { | |||
flex: 0 0 auto; | |||
} | |||
.home-book-cover img, | |||
.home-book-cover .mw-file-element { | |||
display: block; | |||
max-width: 140px; | |||
height: auto; | |||
} | |||
.home-book-text { | |||
flex: 1 1 16em; | |||
min-width: 12em; | |||
line-height: 1.55; | |||
} | } | ||