| 1 |
.upk-gratis-grid .upk-gratis-wrap { |
| 2 |
display: grid; |
| 3 |
} |
| 4 |
.upk-gratis-grid .upk-item { |
| 5 |
position: relative; |
| 6 |
cursor: pointer; |
| 7 |
overflow: hidden; |
| 8 |
transition: all 0.3s ease; |
| 9 |
} |
| 10 |
.upk-gratis-grid .upk-item:hover .upk-img-wrap::before, .upk-gratis-grid .upk-item.active .upk-img-wrap::before { |
| 11 |
height: 0; |
| 12 |
transition-delay: 0.1s; |
| 13 |
} |
| 14 |
.upk-gratis-grid .upk-item:hover .upk-img-wrap::after, .upk-gratis-grid .upk-item.active .upk-img-wrap::after { |
| 15 |
opacity: 1; |
| 16 |
transition-delay: 0.2s; |
| 17 |
} |
| 18 |
.upk-gratis-grid .upk-item:hover .upk-category a, |
| 19 |
.upk-gratis-grid .upk-item:hover .upk-meta, |
| 20 |
.upk-gratis-grid .upk-item:hover .upk-author-name, .upk-gratis-grid .upk-item.active .upk-category a, |
| 21 |
.upk-gratis-grid .upk-item.active .upk-meta, |
| 22 |
.upk-gratis-grid .upk-item.active .upk-author-name { |
| 23 |
color: #e4e4e4; |
| 24 |
} |
| 25 |
.upk-gratis-grid .upk-item:hover .upk-title a, .upk-gratis-grid .upk-item.active .upk-title a { |
| 26 |
color: #fff; |
| 27 |
} |
| 28 |
.upk-gratis-grid .upk-item:hover .upk-link-button a, .upk-gratis-grid .upk-item.active .upk-link-button a { |
| 29 |
color: #434549; |
| 30 |
background-color: #fff; |
| 31 |
transition-delay: 0.1s; |
| 32 |
} |
| 33 |
.upk-gratis-grid .upk-item:hover .upk-link-button a:hover, .upk-gratis-grid .upk-item.active .upk-link-button a:hover { |
| 34 |
color: #fff; |
| 35 |
} |
| 36 |
.upk-gratis-grid .upk-item .upk-link-button a:hover { |
| 37 |
color: #fff; |
| 38 |
} |
| 39 |
.upk-gratis-grid .upk-img-wrap { |
| 40 |
position: relative; |
| 41 |
height: 450px; |
| 42 |
} |
| 43 |
.upk-gratis-grid .upk-img-wrap::before, .upk-gratis-grid .upk-img-wrap::after, |
| 44 |
.upk-gratis-grid .upk-img-wrap::before, |
| 45 |
.upk-gratis-grid .upk-img-wrap::after { |
| 46 |
content: ""; |
| 47 |
position: absolute; |
| 48 |
top: 0; |
| 49 |
left: 0; |
| 50 |
width: 100%; |
| 51 |
height: 100%; |
| 52 |
} |
| 53 |
.upk-gratis-grid .upk-img-wrap::before { |
| 54 |
transition: height 0.2s ease-in; |
| 55 |
} |
| 56 |
.upk-gratis-grid .upk-img-wrap::after { |
| 57 |
opacity: 0; |
| 58 |
transition: opacity 0.2s ease-in; |
| 59 |
} |
| 60 |
.upk-gratis-grid .upk-img { |
| 61 |
width: 100%; |
| 62 |
height: 100% !important; |
| 63 |
object-fit: cover; |
| 64 |
display: block; |
| 65 |
} |
| 66 |
.upk-gratis-grid .upk-content-wrap { |
| 67 |
position: absolute; |
| 68 |
width: 100%; |
| 69 |
left: 0; |
| 70 |
padding: 40px; |
| 71 |
bottom: 0; |
| 72 |
} |
| 73 |
.upk-gratis-grid .upk-category, |
| 74 |
.upk-gratis-grid .upk-gratis-wrap .upk-title { |
| 75 |
margin: 0 0 15px; |
| 76 |
} |
| 77 |
.upk-gratis-grid .upk-category a, |
| 78 |
.upk-gratis-grid .upk-gratis-wrap .upk-title a { |
| 79 |
text-decoration: none; |
| 80 |
transition: all 0.3s ease; |
| 81 |
} |
| 82 |
.upk-gratis-grid .upk-category a, |
| 83 |
.upk-gratis-grid .upk-meta { |
| 84 |
font-size: 14px; |
| 85 |
text-transform: uppercase; |
| 86 |
color: #434549; |
| 87 |
transition: color 0.3s ease, background-color 0.3s ease, border 0.3s ease; |
| 88 |
} |
| 89 |
.upk-gratis-grid .upk-gratis-wrap .upk-title { |
| 90 |
font-size: 30px; |
| 91 |
font-weight: 700; |
| 92 |
} |
| 93 |
.upk-gratis-grid .upk-gratis-wrap .upk-title a { |
| 94 |
color: #131314; |
| 95 |
} |
| 96 |
.upk-gratis-grid .upk-meta { |
| 97 |
gap: 10px; |
| 98 |
} |
| 99 |
.upk-gratis-grid .upk-meta .upk-date-reading > div { |
| 100 |
position: relative; |
| 101 |
display: inline-flex; |
| 102 |
} |
| 103 |
.upk-gratis-grid .upk-meta .upk-date-reading > div:before { |
| 104 |
content: attr(data-separator); |
| 105 |
margin: 0 5px; |
| 106 |
} |
| 107 |
.upk-gratis-grid .upk-meta .upk-date-reading > div:nth-child(1)::before { |
| 108 |
display: none; |
| 109 |
} |
| 110 |
.upk-gratis-grid .upk-meta .upk-flex-middle { |
| 111 |
gap: 5px; |
| 112 |
} |
| 113 |
.upk-gratis-grid .upk-meta, |
| 114 |
.upk-gratis-grid .upk-author, |
| 115 |
.upk-gratis-grid .upk-date, |
| 116 |
.upk-gratis-grid .upk-link-button a { |
| 117 |
display: flex; |
| 118 |
align-items: center; |
| 119 |
} |
| 120 |
.upk-gratis-grid .upk-author, |
| 121 |
.upk-gratis-grid .upk-date { |
| 122 |
gap: 5px; |
| 123 |
} |
| 124 |
.upk-gratis-grid .upk-author-name { |
| 125 |
text-decoration: none; |
| 126 |
color: #434549; |
| 127 |
transition: color 0.3s ease; |
| 128 |
} |
| 129 |
.upk-gratis-grid .upk-meta svg { |
| 130 |
width: 1em; |
| 131 |
height: 1em; |
| 132 |
display: block; |
| 133 |
} |
| 134 |
.upk-gratis-grid .upk-gratis-line { |
| 135 |
margin: 30px 0; |
| 136 |
width: 100%; |
| 137 |
height: 1.2px; |
| 138 |
background-color: #bebebe; |
| 139 |
transition: background-color 0.3s ease; |
| 140 |
} |
| 141 |
.upk-gratis-grid .upk-link-button a { |
| 142 |
justify-content: space-between; |
| 143 |
background-color: #6f757f; |
| 144 |
padding: 14px; |
| 145 |
font-size: 14px; |
| 146 |
text-transform: uppercase; |
| 147 |
text-decoration: none; |
| 148 |
color: #fff; |
| 149 |
position: relative; |
| 150 |
overflow: hidden; |
| 151 |
transition: color 0.3s ease, background-color 0.3s ease; |
| 152 |
} |
| 153 |
.upk-gratis-grid .upk-link-button a span, |
| 154 |
.upk-gratis-grid .upk-link-button a svg { |
| 155 |
z-index: 1; |
| 156 |
} |
| 157 |
.upk-gratis-grid .upk-link-button a::before { |
| 158 |
position: absolute; |
| 159 |
content: ""; |
| 160 |
top: 0; |
| 161 |
left: 0; |
| 162 |
width: 100%; |
| 163 |
height: 0; |
| 164 |
background: #ed0c0c; |
| 165 |
transition: height 0.3s ease; |
| 166 |
} |
| 167 |
.upk-gratis-grid .upk-link-button a:hover { |
| 168 |
color: #fff; |
| 169 |
} |
| 170 |
.upk-gratis-grid .upk-link-button a:hover::before { |
| 171 |
height: 100%; |
| 172 |
} |
| 173 |
|
| 174 |
.upk-global-link-yes .upk-gratis-grid .upk-item:hover { |
| 175 |
cursor: pointer; |
| 176 |
} |