|
| 1 | +.card-recent { |
| 2 | + width: 100%; |
| 3 | + height: 20rem; |
| 4 | + max-height: 20rem; |
| 5 | + position: relative; |
| 6 | +} |
| 7 | + |
| 8 | +.card-recent img { |
| 9 | + transition: 0.5s; |
| 10 | + /* transition-delay: 0.4s; */ |
| 11 | + /* position: absolute; */ |
| 12 | + width: 100%; |
| 13 | + height: 100%; |
| 14 | + object-fit: cover; |
| 15 | + border-radius: inherit; |
| 16 | + filter: brightness(0.9); |
| 17 | +} |
| 18 | + |
| 19 | +.card-recent:hover img { |
| 20 | + filter: brightness(0.7); |
| 21 | +} |
| 22 | + |
| 23 | +.card-recent .title-new { |
| 24 | + position: absolute; |
| 25 | + bottom: 16px; |
| 26 | + left: 16px; |
| 27 | + font-weight: 600; |
| 28 | + text-overflow: ellipsis; |
| 29 | + overflow: hidden; |
| 30 | + display: -webkit-box !important; |
| 31 | + -webkit-line-clamp: 3; |
| 32 | + -webkit-box-orient: vertical; |
| 33 | + white-space: normal; |
| 34 | + min-height: 80px; |
| 35 | + max-height: 125px; |
| 36 | + max-width: 40rem; |
| 37 | + text-decoration: none; |
| 38 | + color: inherit; |
| 39 | + text-shadow: rgb(230, 230, 230) 2px 0px 0px, |
| 40 | + rgb(230, 230, 230) 1.75517px 0.958851px 0px, |
| 41 | + rgb(230, 230, 230) 1.0806px 1.68294px 0px, |
| 42 | + rgb(230, 230, 230) 0.141474px 1.99499px 0px, |
| 43 | + rgb(230, 230, 230) -0.832294px 1.81859px 0px, |
| 44 | + rgb(230, 230, 230) -1.60229px 1.19694px 0px, |
| 45 | + rgb(230, 230, 230) -1.97998px 0.28224px 0px, |
| 46 | + rgb(230, 230, 230) -1.87291px -0.701566px 0px, |
| 47 | + rgb(230, 230, 230) -1.30729px -1.5136px 0px, |
| 48 | + rgb(230, 230, 230) -0.421592px -1.95506px 0px, |
| 49 | + rgb(230, 230, 230) 0.567324px -1.91785px 0px, |
| 50 | + rgb(230, 230, 230) 1.41734px -1.41108px 0px, |
| 51 | + rgb(230, 230, 230) 1.92034px -0.558831px 0px; |
| 52 | + font-size: 28px; |
| 53 | + cursor: pointer; |
| 54 | +} |
| 55 | + |
| 56 | +.card-recent .title-new:visited { |
| 57 | + color: inherit; |
| 58 | +} |
| 59 | + |
| 60 | +.card-recent .title-new:hover { |
| 61 | + text-decoration: underline; |
| 62 | +} |
| 63 | + |
| 64 | +@media (max-width: 480px) { |
| 65 | + .card-recent .title-new { |
| 66 | + font-size: 24px; |
| 67 | + } |
| 68 | +} |
0 commit comments