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