| 1 |
.upk-alice-grid .upk-alice-wrap { |
| 2 |
display: grid; |
| 3 |
} |
| 4 |
.upk-alice-grid .upk-item { |
| 5 |
display: flex; |
| 6 |
overflow: hidden; |
| 7 |
transition: all 0.3s ease; |
| 8 |
} |
| 9 |
.upk-alice-grid .upk-item-box { |
| 10 |
position: relative; |
| 11 |
display: flex; |
| 12 |
width: 100%; |
| 13 |
} |
| 14 |
.upk-alice-grid .upk-item-box::before { |
| 15 |
content: ""; |
| 16 |
display: block; |
| 17 |
position: absolute; |
| 18 |
width: 100%; |
| 19 |
top: 0; |
| 20 |
bottom: 0; |
| 21 |
z-index: 2; |
| 22 |
background: rgba(27, 25, 25, 0.5490196078); |
| 23 |
transition: all 0.3s ease; |
| 24 |
} |
| 25 |
.upk-alice-grid .upk-item-box:hover .upk-img-wrap .upk-img { |
| 26 |
transform: scale(1.1); |
| 27 |
} |
| 28 |
.upk-alice-grid .upk-item-box:hover .upk-category { |
| 29 |
opacity: 1; |
| 30 |
} |
| 31 |
.upk-alice-grid .upk-img-wrap { |
| 32 |
overflow: hidden; |
| 33 |
display: flex; |
| 34 |
width: 100%; |
| 35 |
} |
| 36 |
.upk-alice-grid .upk-img-wrap .upk-img { |
| 37 |
width: 100%; |
| 38 |
height: 100%; |
| 39 |
object-fit: cover; |
| 40 |
transition: all 1s ease; |
| 41 |
} |
| 42 |
.upk-alice-grid .upk-category { |
| 43 |
position: absolute; |
| 44 |
left: 0; |
| 45 |
top: 0; |
| 46 |
opacity: 0; |
| 47 |
transition: opacity 0.5s ease; |
| 48 |
z-index: 11; |
| 49 |
} |
| 50 |
.upk-alice-grid .upk-category a { |
| 51 |
color: #e8e4e4; |
| 52 |
display: inline-block; |
| 53 |
font-size: 11px; |
| 54 |
font-weight: 500; |
| 55 |
text-transform: uppercase; |
| 56 |
background: #EF233C; |
| 57 |
padding: 5px 14px; |
| 58 |
transition: all 0.3s ease; |
| 59 |
} |
| 60 |
.upk-alice-grid .upk-category a:hover { |
| 61 |
background: #D90429; |
| 62 |
} |
| 63 |
.upk-alice-grid .upk-category a + a { |
| 64 |
margin-right: 5px; |
| 65 |
} |
| 66 |
.upk-alice-grid .upk-content { |
| 67 |
position: absolute; |
| 68 |
padding: 30px; |
| 69 |
width: 100%; |
| 70 |
bottom: 0; |
| 71 |
z-index: 10; |
| 72 |
} |
| 73 |
.upk-alice-grid .upk-title { |
| 74 |
display: block; |
| 75 |
font-size: 16px; |
| 76 |
font-weight: 600; |
| 77 |
line-height: 1.4; |
| 78 |
margin: 0px; |
| 79 |
padding-bottom: 10px; |
| 80 |
text-transform: capitalize; |
| 81 |
} |
| 82 |
.upk-alice-grid .upk-title a { |
| 83 |
color: #fff; |
| 84 |
transition: all 0.3s ease; |
| 85 |
} |
| 86 |
.upk-alice-grid .upk-meta { |
| 87 |
display: flex; |
| 88 |
flex-wrap: wrap; |
| 89 |
align-items: center; |
| 90 |
font-size: 11px; |
| 91 |
color: #EDF2F4; |
| 92 |
text-transform: capitalize; |
| 93 |
} |
| 94 |
.upk-alice-grid .upk-meta .upk-author { |
| 95 |
position: relative; |
| 96 |
} |
| 97 |
.upk-alice-grid .upk-meta .upk-author a { |
| 98 |
color: #EDF2F4; |
| 99 |
} |
| 100 |
.upk-alice-grid .upk-meta .upk-author span { |
| 101 |
padding-left: 6px; |
| 102 |
} |
| 103 |
.upk-alice-grid .upk-meta .upk-date { |
| 104 |
position: relative; |
| 105 |
font-weight: 400; |
| 106 |
} |
| 107 |
.upk-alice-grid .upk-meta .upk-post-time { |
| 108 |
margin-right: 5px; |
| 109 |
} |
| 110 |
.upk-alice-grid .upk-meta .upk-post-time i { |
| 111 |
margin-left: 2px; |
| 112 |
} |
| 113 |
.upk-alice-grid .upk-meta > div { |
| 114 |
position: relative; |
| 115 |
display: inline-flex; |
| 116 |
} |
| 117 |
.upk-alice-grid .upk-meta > div:before { |
| 118 |
content: attr(data-separator); |
| 119 |
margin: 0 5px; |
| 120 |
} |
| 121 |
.upk-alice-grid .upk-meta > div:nth-child(1)::before { |
| 122 |
display: none; |
| 123 |
} |
| 124 |
.upk-alice-grid .upk-style-1 { |
| 125 |
grid-gap: 20px; |
| 126 |
grid-template-columns: repeat(1, 1fr); |
| 127 |
} |
| 128 |
.upk-alice-grid .upk-style-2 { |
| 129 |
grid-template-columns: repeat(6, 1fr); |
| 130 |
} |
| 131 |
.upk-alice-grid .upk-style-2 .upk-item, .upk-alice-grid .upk-style-2:nth-child(-n+2) { |
| 132 |
grid-column: 6 span/auto; |
| 133 |
} |
| 134 |
.upk-alice-grid .upk-style-3 { |
| 135 |
grid-gap: 20px; |
| 136 |
grid-template-columns: repeat(6, 1fr); |
| 137 |
} |
| 138 |
.upk-alice-grid .upk-style-3 .upk-item { |
| 139 |
grid-column: span 6/auto; |
| 140 |
} |
| 141 |
.upk-alice-grid .upk-style-4 { |
| 142 |
grid-gap: 20px; |
| 143 |
grid-template-columns: repeat(6, 1fr); |
| 144 |
} |
| 145 |
.upk-alice-grid .upk-style-4 .upk-item { |
| 146 |
grid-column: span 6/auto; |
| 147 |
} |
| 148 |
.upk-alice-grid .upk-content-bottom-center .upk-content { |
| 149 |
right: 50%; |
| 150 |
text-align: center; |
| 151 |
transform: translate(50%, 0); |
| 152 |
} |
| 153 |
.upk-alice-grid .upk-content-bottom-center .upk-content .upk-meta { |
| 154 |
justify-content: center; |
| 155 |
} |
| 156 |
.upk-alice-grid .upk-content-bottom-left .upk-content { |
| 157 |
text-align: right; |
| 158 |
right: 0; |
| 159 |
} |
| 160 |
.upk-alice-grid .upk-content-bottom-left .upk-content .upk-meta { |
| 161 |
justify-content: left; |
| 162 |
} |
| 163 |
.upk-alice-grid .upk-content-bottom-right .upk-content { |
| 164 |
text-align: left; |
| 165 |
left: 0; |
| 166 |
} |
| 167 |
.upk-alice-grid .upk-content-bottom-right .upk-content .upk-meta { |
| 168 |
justify-content: flex-end; |
| 169 |
} |
| 170 |
|
| 171 |
.upk-global-link-yes .upk-alice-grid .upk-item:hover { |
| 172 |
cursor: pointer; |
| 173 |
} |
| 174 |
|
| 175 |
@media (min-width: 768px) { |
| 176 |
.upk-alice-grid .upk-title { |
| 177 |
padding-bottom: 8px; |
| 178 |
font-size: 16px; |
| 179 |
} |
| 180 |
.upk-alice-grid .upk-meta { |
| 181 |
font-size: 12px; |
| 182 |
} |
| 183 |
.upk-alice-grid .upk-style-1 { |
| 184 |
grid-template-columns: repeat(2, 1fr); |
| 185 |
} |
| 186 |
.upk-alice-grid .upk-style-2 .upk-item:nth-child(5n+1), .upk-alice-grid .upk-style-2 .upk-item:nth-child(5n+2), .upk-alice-grid .upk-style-2 .upk-item:nth-child(5n+3), .upk-alice-grid .upk-style-2 .upk-item:nth-child(5n+4), .upk-alice-grid .upk-style-2 .upk-item:nth-child(5n+5) { |
| 187 |
grid-column: 3 span/auto; |
| 188 |
} |
| 189 |
.upk-alice-grid .upk-style-3 .upk-item { |
| 190 |
grid-column: span 3/auto; |
| 191 |
} |
| 192 |
.upk-alice-grid .upk-style-3 .upk-item:nth-child(6n+1) { |
| 193 |
grid-column: span 3/auto; |
| 194 |
} |
| 195 |
.upk-alice-grid .upk-style-3 .upk-item:nth-child(6n+1) .upk-title { |
| 196 |
font-size: 22px; |
| 197 |
} |
| 198 |
.upk-alice-grid .upk-style-4 .upk-item:nth-child(5n+2) { |
| 199 |
grid-column: span 3/auto; |
| 200 |
grid-row: span 2; |
| 201 |
} |
| 202 |
.upk-alice-grid .upk-style-4 .upk-item:nth-child(5n+1), .upk-alice-grid .upk-style-4 .upk-item:nth-child(5n+3), .upk-alice-grid .upk-style-4 .upk-item:nth-child(5n+4), .upk-alice-grid .upk-style-4 .upk-item:nth-child(5n+5) { |
| 203 |
grid-column: span 3/auto; |
| 204 |
} |
| 205 |
} |
| 206 |
@media (min-width: 1024px) { |
| 207 |
.upk-alice-grid .upk-category a { |
| 208 |
font-size: 12px; |
| 209 |
padding: 7px 14px; |
| 210 |
} |
| 211 |
.upk-alice-grid .upk-title { |
| 212 |
padding-bottom: 12px; |
| 213 |
} |
| 214 |
.upk-alice-grid .upk-style-1 { |
| 215 |
grid-template-columns: repeat(3, 1fr); |
| 216 |
} |
| 217 |
.upk-alice-grid .upk-style-2 .upk-item, |
| 218 |
.upk-alice-grid .upk-style-3 .upk-item { |
| 219 |
grid-column: span 2/auto; |
| 220 |
} |
| 221 |
.upk-alice-grid .upk-style-2 .upk-item .upk-title, |
| 222 |
.upk-alice-grid .upk-style-3 .upk-item .upk-title { |
| 223 |
font-size: 20px; |
| 224 |
} |
| 225 |
.upk-alice-grid .upk-style-2 .upk-item:nth-child(5n+1), .upk-alice-grid .upk-style-2 .upk-item:nth-child(5n+2) { |
| 226 |
grid-column: 3 span/auto; |
| 227 |
} |
| 228 |
.upk-alice-grid .upk-style-2 .upk-item:nth-child(5n+1) .upk-title, .upk-alice-grid .upk-style-2 .upk-item:nth-child(5n+2) .upk-title { |
| 229 |
font-size: 25px; |
| 230 |
} |
| 231 |
.upk-alice-grid .upk-style-2 .upk-item:nth-child(5n+3), .upk-alice-grid .upk-style-2 .upk-item:nth-child(5n+4), .upk-alice-grid .upk-style-2 .upk-item:nth-child(5n+5) { |
| 232 |
grid-column: 2 span/auto; |
| 233 |
} |
| 234 |
.upk-alice-grid .upk-style-3 .upk-item:nth-child(6n+1) { |
| 235 |
grid-column: span 4/auto; |
| 236 |
grid-row: span 2/auto; |
| 237 |
} |
| 238 |
.upk-alice-grid .upk-style-3 .upk-item:nth-child(6n+1) .upk-title { |
| 239 |
font-size: 25px; |
| 240 |
} |
| 241 |
.upk-alice-grid .upk-style-4 .upk-item:nth-child(5n+2) { |
| 242 |
grid-column: span 2/auto; |
| 243 |
grid-row: span 2; |
| 244 |
} |
| 245 |
.upk-alice-grid .upk-style-4 .upk-item:nth-child(5n+1), .upk-alice-grid .upk-style-4 .upk-item:nth-child(5n+3), .upk-alice-grid .upk-style-4 .upk-item:nth-child(5n+4), .upk-alice-grid .upk-style-4 .upk-item:nth-child(5n+5) { |
| 246 |
grid-column: span 2/auto; |
| 247 |
} |
| 248 |
} |