(Use flexbox to style rooster list.) |
(Update rooster styling.) |
||
Line 6: | Line 6: | ||
} | } | ||
− | .rooster li | + | .rooster > li > figure { |
− | + | flex: 0.3 1 0; | |
− | + | margin: 0; | |
− | + | } | |
− | + | ||
+ | .rooster > li > figure > img { | ||
+ | margin: 0 auto; | ||
+ | min-width: 200px; | ||
} | } | ||
Revision as of 20:46, 17 October 2017
.rooster {
color: var(--dark-gray); display: flex; list-style-type: none; margin: 0 auto;
}
.rooster > li > figure {
flex: 0.3 1 0; margin: 0;
}
.rooster > li > figure > img {
margin: 0 auto; min-width: 200px;
}
- address {
flex: 0 1 auto; font-size: small; font-style: normal;
}