| 1 | .album { |
| 2 | display: flex; |
| 3 | flex-wrap: wrap; |
| 4 | } |
| 5 | |
| 6 | .album__item { |
| 7 | width: 400px; |
| 8 | max-width: 100%; |
| 9 | margin: 0 0.1em 2em 0.1em; |
| 10 | } |
| 11 | |
| 12 | .album__vignette { |
| 13 | background-color: #444; |
| 14 | height: 300px; |
| 15 | position: relative; |
| 16 | } |
| 17 | |
| 18 | .album__thumbnail { |
| 19 | height: 100%; |
| 20 | display: block; |
| 21 | margin: 0 auto; |
| 22 | } |
| 23 | |
| 24 | .album__comments-bar { |
| 25 | display: block; |
| 26 | font-size: 0.8em; |
| 27 | color: black; |
| 28 | text-align: right; |
| 29 | cursor: pointer; |
| 30 | } |
| 31 | |
| 32 | .album__comments-bar:hover { |
| 33 | background-color: #ddd; |
| 34 | font-weight: bold; |
| 35 | } |
| 36 | |
| 37 | .comments__count { |
| 38 | font-weight: bold; |
| 39 | } |