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