style.css
74 lines
| 1 | .wpp-tiles { |
| 2 | margin-left: 0; |
| 3 | margin-right: 0; |
| 4 | padding: 0; |
| 5 | } |
| 6 | |
| 7 | .wpp-tiles li { |
| 8 | position: relative; |
| 9 | list-style: none; |
| 10 | margin: 0 0 1.2em 0; |
| 11 | padding: 0; |
| 12 | } |
| 13 | |
| 14 | .in-preview-mode .wpp-tiles li { |
| 15 | margin: 0 0 1.2em 0; |
| 16 | padding: 0; |
| 17 | } |
| 18 | |
| 19 | .wpp-tiles li:last-of-type { |
| 20 | margin: 0; |
| 21 | } |
| 22 | |
| 23 | .wpp-tiles li .wpp-thumbnail { |
| 24 | overflow: hidden; |
| 25 | display: block; |
| 26 | margin: 0; |
| 27 | width: 100%; |
| 28 | height: auto; |
| 29 | font-size: 0.8em; |
| 30 | line-height: 1; |
| 31 | background: #f0f0f0; |
| 32 | border: none; |
| 33 | } |
| 34 | |
| 35 | .wpp-tiles li .wpp-thumbnail.wpp_def_no_src { |
| 36 | object-fit: contain; |
| 37 | } |
| 38 | |
| 39 | .wpp-tiles li a { |
| 40 | text-decoration: none; |
| 41 | } |
| 42 | |
| 43 | .wpp-tiles li a:hover { |
| 44 | text-decoration: underline; |
| 45 | } |
| 46 | |
| 47 | .wpp-tiles li .wpp-post-data { |
| 48 | position: absolute; |
| 49 | left: 0; |
| 50 | bottom: 0; |
| 51 | padding: .75em 1em 1em; |
| 52 | width: 100%; |
| 53 | box-sizing: border-box; |
| 54 | background: rgba(0, 0, 0, 0.5); |
| 55 | } |
| 56 | |
| 57 | .wpp-tiles li .wpp-post-data .category, |
| 58 | .wpp-tiles li .wpp-post-data .wpp-post-title { |
| 59 | color: #fff; |
| 60 | font-weight: bold; |
| 61 | } |
| 62 | |
| 63 | .wpp-tiles li .wpp-post-data .category { |
| 64 | margin: 0; |
| 65 | font-size: 0.7em; |
| 66 | line-height: 1; |
| 67 | } |
| 68 | |
| 69 | .wpp-tiles li .wpp-post-data .wpp-post-title { |
| 70 | display: block; |
| 71 | margin: 0 0 0; |
| 72 | font-size: 1em; |
| 73 | line-height: 1.2; |
| 74 | } |