PluginProbe
Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets / 4.1.9
Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets v4.1.9
4.5.4 4.2.1 4.2.2 4.2.3 4.5.0 4.5.2 4.5.3 4.2.0 4.1.18 4.1.17 4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.1.9 4.1.8 4.0.9 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 All 146 releases
ultimate-post-kit / assets / css / upk-alex-grid.css

upk-alex-grid.css in Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets 4.1.9, at assets/css/upk-alex-grid.css

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