(Set max width for images.) |
(Space images automatically; simplify CSS.) |
||
Line 3: | Line 3: | ||
display: flex; | display: flex; | ||
flex-flow: row wrap; | flex-flow: row wrap; | ||
+ | justify-content: space-between; | ||
list-style-type: none; | list-style-type: none; | ||
− | margin: | + | margin: auto; |
} | } | ||
.rooster > li > figure { | .rooster > li > figure { | ||
− | + | margin: 10px auto; | |
− | margin: | + | |
} | } | ||
.rooster > li > figure > img { | .rooster > li > figure > img { | ||
− | margin: | + | margin: auto; |
max-width: 300px; | max-width: 300px; | ||
min-width: 150px; | min-width: 150px; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Revision as of 21:02, 17 October 2017
.rooster {
color: var(--dark-gray); display: flex; flex-flow: row wrap; justify-content: space-between; list-style-type: none; margin: auto;
}
.rooster > li > figure {
margin: 10px auto;
}
.rooster > li > figure > img {
margin: auto; max-width: 300px; min-width: 150px;
}
- address {
flex: 0 1 auto; font-size: small; font-style: normal;
}