| 1 |
.upk-buzz-list { |
| 2 |
position: relative; |
| 3 |
display: grid; |
| 4 |
counter-reset: number-count; |
| 5 |
} |
| 6 |
.upk-buzz-list .upk-item { |
| 7 |
position: relative; |
| 8 |
overflow: hidden; |
| 9 |
transition: all 0.3s cubic-bezier(0.34, 0.01, 0.58, 1); |
| 10 |
} |
| 11 |
.upk-buzz-list .upk-item:hover .upk-img-wrap:before { |
| 12 |
background: rgba(43, 45, 66, 0.5); |
| 13 |
} |
| 14 |
.upk-buzz-list .upk-item:hover .upk-count:before { |
| 15 |
color: #EDF2F4; |
| 16 |
} |
| 17 |
.upk-buzz-list .upk-item:hover .upk-inner { |
| 18 |
border-left-color: #EDF2F4; |
| 19 |
} |
| 20 |
.upk-buzz-list .upk-item:hover .upk-category a { |
| 21 |
color: #EDF2F4; |
| 22 |
} |
| 23 |
.upk-buzz-list .upk-item:hover .upk-title a { |
| 24 |
color: #fff; |
| 25 |
} |
| 26 |
.upk-buzz-list .upk-item:hover .upk-meta { |
| 27 |
color: #EDF2F4; |
| 28 |
} |
| 29 |
.upk-buzz-list .upk-item:hover .upk-meta .upk-author-wrap .upk-author-name { |
| 30 |
color: #EDF2F4; |
| 31 |
} |
| 32 |
.upk-buzz-list .upk-img-wrap { |
| 33 |
position: absolute; |
| 34 |
width: 100%; |
| 35 |
height: 100%; |
| 36 |
} |
| 37 |
.upk-buzz-list .upk-img-wrap::before { |
| 38 |
content: ""; |
| 39 |
position: absolute; |
| 40 |
top: 0; |
| 41 |
left: 0; |
| 42 |
background: #fff; |
| 43 |
width: 100%; |
| 44 |
height: 100%; |
| 45 |
transition: all 0.3s cubic-bezier(0.34, 0.01, 0.58, 1); |
| 46 |
} |
| 47 |
.upk-buzz-list .upk-img-wrap img { |
| 48 |
width: 100%; |
| 49 |
height: 100%; |
| 50 |
object-fit: cover; |
| 51 |
} |
| 52 |
.upk-buzz-list .upk-content { |
| 53 |
padding: 15px; |
| 54 |
display: flex; |
| 55 |
position: relative; |
| 56 |
align-items: center; |
| 57 |
} |
| 58 |
.upk-buzz-list .upk-count { |
| 59 |
position: relative; |
| 60 |
counter-increment: number-count; |
| 61 |
padding-right: 15px; |
| 62 |
} |
| 63 |
.upk-buzz-list .upk-count:before { |
| 64 |
content: counter(number-count); |
| 65 |
top: 0; |
| 66 |
left: 0; |
| 67 |
font-size: 30px; |
| 68 |
color: #2B2D42; |
| 69 |
font-weight: 600; |
| 70 |
transition: all 0.3s cubic-bezier(0.34, 0.01, 0.58, 1); |
| 71 |
} |
| 72 |
.upk-buzz-list .upk-inner { |
| 73 |
padding-left: 15px; |
| 74 |
border-left: 2px solid #8D99AE; |
| 75 |
transition: all 0.3s cubic-bezier(0.34, 0.01, 0.58, 1); |
| 76 |
} |
| 77 |
.upk-buzz-list .upk-category { |
| 78 |
margin-bottom: 5px; |
| 79 |
display: flex; |
| 80 |
} |
| 81 |
.upk-buzz-list .upk-category a { |
| 82 |
display: inline-flex; |
| 83 |
font-size: 10px; |
| 84 |
color: #EF233C; |
| 85 |
font-weight: 500; |
| 86 |
text-transform: uppercase; |
| 87 |
transition: all 0.3s cubic-bezier(0.34, 0.01, 0.58, 1); |
| 88 |
} |
| 89 |
.upk-buzz-list .upk-category a + a { |
| 90 |
margin-left: 5px; |
| 91 |
} |
| 92 |
.upk-buzz-list .upk-title { |
| 93 |
font-size: 16px; |
| 94 |
font-weight: 700; |
| 95 |
text-transform: capitalize; |
| 96 |
margin: 0; |
| 97 |
} |
| 98 |
.upk-buzz-list .upk-title a { |
| 99 |
color: #2B2D42; |
| 100 |
transition: all 0.3s cubic-bezier(0.34, 0.01, 0.58, 1); |
| 101 |
} |
| 102 |
.upk-buzz-list .upk-meta { |
| 103 |
flex-wrap: wrap; |
| 104 |
color: #8D99AE; |
| 105 |
font-size: 11px; |
| 106 |
font-weight: 500; |
| 107 |
line-height: 1; |
| 108 |
padding-top: 10px; |
| 109 |
position: relative; |
| 110 |
text-transform: uppercase; |
| 111 |
transition: color 0.3s cubic-bezier(0.34, 0.01, 0.58, 1); |
| 112 |
} |
| 113 |
.upk-buzz-list .upk-meta .upk-author-wrap { |
| 114 |
display: flex; |
| 115 |
} |
| 116 |
.upk-buzz-list .upk-meta .upk-author-wrap .upk-by { |
| 117 |
font-weight: 700; |
| 118 |
padding-right: 6px; |
| 119 |
} |
| 120 |
.upk-buzz-list .upk-meta .upk-author-wrap .upk-author-name { |
| 121 |
color: #8D99AE; |
| 122 |
font-weight: 500; |
| 123 |
transition: color 0.3s cubic-bezier(0.34, 0.01, 0.58, 1); |
| 124 |
} |
| 125 |
.upk-buzz-list .upk-meta .upk-post-time { |
| 126 |
margin-left: 5px; |
| 127 |
} |
| 128 |
.upk-buzz-list .upk-meta .upk-post-time i { |
| 129 |
margin-right: 2px; |
| 130 |
} |
| 131 |
.upk-buzz-list .upk-meta > div { |
| 132 |
position: relative; |
| 133 |
display: inline-flex; |
| 134 |
} |
| 135 |
.upk-buzz-list .upk-meta > div:before { |
| 136 |
content: attr(data-separator); |
| 137 |
margin: 0 5px; |
| 138 |
} |
| 139 |
.upk-buzz-list .upk-meta > div:nth-child(1)::before { |
| 140 |
display: none; |
| 141 |
} |
| 142 |
|
| 143 |
.upk-global-link-yes .upk-buzz-list .upk-item:hover { |
| 144 |
cursor: pointer; |
| 145 |
} |
| 146 |
|
| 147 |
@media (min-width: 768px) { |
| 148 |
.upk-buzz-list .upk-content { |
| 149 |
padding: 20px; |
| 150 |
} |
| 151 |
.upk-buzz-list .upk-category a { |
| 152 |
font-size: 12px; |
| 153 |
} |
| 154 |
.upk-buzz-list .upk-title { |
| 155 |
font-size: 18px; |
| 156 |
} |
| 157 |
.upk-buzz-list .upk-count::before { |
| 158 |
font-size: 40px; |
| 159 |
} |
| 160 |
} |