| 1 |
.upk-amox-grid { |
| 2 |
display: grid; |
| 3 |
grid-gap: 30px; |
| 4 |
} |
| 5 |
.upk-amox-grid .upk-item { |
| 6 |
overflow: hidden; |
| 7 |
} |
| 8 |
.upk-amox-grid .upk-item:hover .upk-img-wrap .upk-img { |
| 9 |
transform: scale(1.2); |
| 10 |
} |
| 11 |
.upk-amox-grid .upk-item.active { |
| 12 |
position: relative; |
| 13 |
} |
| 14 |
.upk-amox-grid .upk-item.active .upk-img-wrap { |
| 15 |
height: 100% !important; |
| 16 |
position: relative; |
| 17 |
} |
| 18 |
.upk-amox-grid .upk-item.active .upk-img-wrap::before { |
| 19 |
position: absolute; |
| 20 |
content: ""; |
| 21 |
top: 0; |
| 22 |
width: 100%; |
| 23 |
height: 100%; |
| 24 |
background: rgba(43, 45, 66, 0.3490196078); |
| 25 |
z-index: 1; |
| 26 |
transition: background 0.3s ease; |
| 27 |
} |
| 28 |
.upk-amox-grid .upk-item.active .upk-content { |
| 29 |
position: absolute; |
| 30 |
bottom: 0; |
| 31 |
width: 100%; |
| 32 |
padding: 20px; |
| 33 |
text-align: center; |
| 34 |
z-index: 1; |
| 35 |
} |
| 36 |
.upk-amox-grid .upk-item.active .upk-title a { |
| 37 |
color: #EDF2F4; |
| 38 |
} |
| 39 |
.upk-amox-grid .upk-item.active .upk-title a:hover { |
| 40 |
color: #D90429; |
| 41 |
} |
| 42 |
.upk-amox-grid .upk-item.active .upk-category a { |
| 43 |
color: #fff; |
| 44 |
background: #161a2b; |
| 45 |
padding: 4px 8px; |
| 46 |
transition: all 0.3s ease-in-out; |
| 47 |
} |
| 48 |
.upk-amox-grid .upk-item.active .upk-category a:hover { |
| 49 |
background: #D90429; |
| 50 |
} |
| 51 |
.upk-amox-grid .upk-item.active .upk-meta { |
| 52 |
color: #EDF2F4; |
| 53 |
} |
| 54 |
.upk-amox-grid .upk-img-wrap { |
| 55 |
overflow: hidden; |
| 56 |
cursor: pointer; |
| 57 |
display: flex; |
| 58 |
} |
| 59 |
.upk-amox-grid .upk-img-wrap .upk-img { |
| 60 |
width: 100%; |
| 61 |
height: 100%; |
| 62 |
object-fit: cover; |
| 63 |
transform: scale(1); |
| 64 |
transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1); |
| 65 |
} |
| 66 |
.upk-amox-grid .upk-content { |
| 67 |
padding: 20px 0; |
| 68 |
} |
| 69 |
.upk-amox-grid .upk-category { |
| 70 |
display: inline-flex; |
| 71 |
flex-wrap: wrap; |
| 72 |
gap: 7px; |
| 73 |
margin-bottom: 8px; |
| 74 |
} |
| 75 |
.upk-amox-grid .upk-category a { |
| 76 |
font-size: 11px; |
| 77 |
color: #8D99AE; |
| 78 |
text-transform: uppercase; |
| 79 |
transition: all 0.3s ease-in-out; |
| 80 |
} |
| 81 |
.upk-amox-grid .upk-category a:hover { |
| 82 |
color: #D90429; |
| 83 |
} |
| 84 |
.upk-amox-grid .upk-title { |
| 85 |
margin: 0; |
| 86 |
padding-bottom: 8px; |
| 87 |
font-size: 20px; |
| 88 |
font-weight: 700; |
| 89 |
} |
| 90 |
.upk-amox-grid .upk-title a { |
| 91 |
color: #2B2D42; |
| 92 |
transition: all 0.3s ease-in-out; |
| 93 |
} |
| 94 |
.upk-amox-grid .upk-title a:hover { |
| 95 |
color: #D90429; |
| 96 |
} |
| 97 |
.upk-amox-grid .upk-meta { |
| 98 |
font-size: 12px; |
| 99 |
color: #8D99AE; |
| 100 |
} |
| 101 |
.upk-amox-grid .upk-meta .upk-post-time { |
| 102 |
margin-left: 5px; |
| 103 |
align-items: center; |
| 104 |
} |
| 105 |
.upk-amox-grid .upk-meta .upk-post-time i { |
| 106 |
margin-right: 2px; |
| 107 |
} |
| 108 |
.upk-amox-grid .upk-meta > div { |
| 109 |
position: relative; |
| 110 |
display: inline-flex; |
| 111 |
} |
| 112 |
.upk-amox-grid .upk-meta > div:before { |
| 113 |
content: attr(data-separator); |
| 114 |
margin: 0 5px; |
| 115 |
} |
| 116 |
.upk-amox-grid .upk-meta > div:nth-child(1)::before { |
| 117 |
display: none; |
| 118 |
} |
| 119 |
.upk-amox-grid .upk-comments span { |
| 120 |
margin-left: 4px; |
| 121 |
} |
| 122 |
|
| 123 |
.upk-global-link-yes .upk-amox-grid .upk-item:hover { |
| 124 |
cursor: pointer; |
| 125 |
} |