PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.11
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.11
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / feature-split / style.css

style.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.11, at blocks/feature-split/style.css

326 lines 11.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ========================================
2 Feature Split Block Styles
3 Prefix: bkbg-fsp-
4 ======================================== */
5
6 .bkbg-fsp-wrap {
7 --bkbg-fsp-gap: 64px;
8 --bkbg-fsp-img-w: 50%;
9 --bkbg-fsp-img-radius: 16px;
10 --bkbg-fsp-btn-radius: 50px;
11 --bkbg-fsp-pt: 64px;
12 --bkbg-fsp-pb: 64px;
13 --bkbg-fsp-content-max: 540px;
14 --bkbg-fsp-eyebrow-bg: #ede9fe;
15 --bkbg-fsp-eyebrow-clr: #6c3fb5;
16 --bkbg-fsp-h-color: #0f172a;
17 --bkbg-fsp-body-color: #475569;
18 --bkbg-fsp-feat-color: #334155;
19 --bkbg-fsp-prim-bg: #6c3fb5;
20 --bkbg-fsp-prim-color: #ffffff;
21 --bkbg-fsp-sec-color: #6c3fb5;
22 --bkbg-fsp-accent: #6c3fb5;
23
24 display: flex;
25 align-items: center;
26 gap: var(--bkbg-fsp-gap);
27 padding-top: var(--bkbg-fsp-pt);
28 padding-bottom: var(--bkbg-fsp-pb);
29 box-sizing: border-box;
30 }
31
32 /* ── Columns ── */
33 .bkbg-fsp-content {
34 flex: 1 1 0;
35 max-width: var(--bkbg-fsp-content-max);
36 display: flex;
37 flex-direction: column;
38 gap: 20px;
39 }
40
41 .bkbg-fsp-image-wrap {
42 flex: 0 0 var(--bkbg-fsp-img-w);
43 width: var(--bkbg-fsp-img-w);
44 position: relative;
45 border-radius: var(--bkbg-fsp-img-radius);
46 overflow: hidden;
47 }
48
49 .bkbg-fsp-shadow {
50 box-shadow: 0 20px 60px rgba(0,0,0,0.16);
51 }
52
53 .bkbg-fsp-img {
54 width: 100%;
55 height: 100%;
56 object-fit: cover;
57 display: block;
58 border-radius: var(--bkbg-fsp-img-radius);
59 }
60
61 /* Image placeholder in editor */
62 .bkbg-fsp-img-placeholder {
63 width: 100%;
64 min-height: 280px;
65 display: flex !important;
66 align-items: center;
67 justify-content: center;
68 background: #f1f5f9 !important;
69 border: 2px dashed #cbd5e1 !important;
70 border-radius: var(--bkbg-fsp-img-radius) !important;
71 color: #94a3b8 !important;
72 font-size: 14px !important;
73 }
74
75 .bkbg-fsp-img-actions {
76 position: absolute;
77 bottom: 10px;
78 right: 10px;
79 }
80
81 /* ── Content elements ── */
82 .bkbg-fsp-eyebrow {
83 display: inline-block;
84 background: var(--bkbg-fsp-eyebrow-bg);
85 color: var(--bkbg-fsp-eyebrow-clr);
86 font-family: var(--bkbg-fsp-eb-font-family, inherit);
87 font-size: var(--bkbg-fsp-eb-font-size-d, 12px);
88 font-weight: var(--bkbg-fsp-eb-font-weight, 700);
89 font-style: var(--bkbg-fsp-eb-font-style, normal);
90 text-transform: var(--bkbg-fsp-eb-text-transform, uppercase);
91 text-decoration: var(--bkbg-fsp-eb-text-decoration, none);
92 line-height: var(--bkbg-fsp-eb-line-height-d, 1.2);
93 letter-spacing: var(--bkbg-fsp-eb-letter-spacing-d, 0.1em);
94 word-spacing: var(--bkbg-fsp-eb-word-spacing-d, normal);
95 padding: 4px 12px;
96 border-radius: 50px;
97 }
98
99 .bkbg-fsp-wrap .bkbg-fsp-headline {
100 font-family: var(--bkbg-fsp-hl-font-family, inherit);
101 font-size: var(--bkbg-fsp-hl-font-size-d, 36px);
102 font-weight: var(--bkbg-fsp-hl-font-weight, 700);
103 font-style: var(--bkbg-fsp-hl-font-style, normal);
104 text-transform: var(--bkbg-fsp-hl-text-transform, none);
105 text-decoration: var(--bkbg-fsp-hl-text-decoration, none);
106 line-height: var(--bkbg-fsp-hl-line-height-d, 1.2);
107 letter-spacing: var(--bkbg-fsp-hl-letter-spacing-d, normal);
108 word-spacing: var(--bkbg-fsp-hl-word-spacing-d, normal);
109 color: var(--bkbg-fsp-h-color);
110 margin: 0;
111 }
112
113 .bkbg-fsp-body {
114 font-family: var(--bkbg-fsp-bd-font-family, inherit);
115 font-size: var(--bkbg-fsp-bd-font-size-d, 17px);
116 font-weight: var(--bkbg-fsp-bd-font-weight, 400);
117 font-style: var(--bkbg-fsp-bd-font-style, normal);
118 text-transform: var(--bkbg-fsp-bd-text-transform, none);
119 text-decoration: var(--bkbg-fsp-bd-text-decoration, none);
120 line-height: var(--bkbg-fsp-bd-line-height-d, 1.7);
121 letter-spacing: var(--bkbg-fsp-bd-letter-spacing-d, normal);
122 word-spacing: var(--bkbg-fsp-bd-word-spacing-d, normal);
123 color: var(--bkbg-fsp-body-color);
124 margin: 0;
125 }
126
127 /* ── Feature list ── */
128 .bkbg-fsp-features {
129 list-style: none;
130 margin: 0;
131 padding: 0;
132 display: flex;
133 flex-direction: column;
134 gap: 10px;
135 }
136
137 .bkbg-fsp-feature {
138 display: flex;
139 align-items: flex-start;
140 gap: 10px;
141 font-family: var(--bkbg-fsp-ft-font-family, inherit);
142 font-size: var(--bkbg-fsp-ft-font-size-d, 15px);
143 font-weight: var(--bkbg-fsp-ft-font-weight, 500);
144 font-style: var(--bkbg-fsp-ft-font-style, normal);
145 text-transform: var(--bkbg-fsp-ft-text-transform, none);
146 text-decoration: var(--bkbg-fsp-ft-text-decoration, none);
147 line-height: var(--bkbg-fsp-ft-line-height-d, 1.5);
148 letter-spacing: var(--bkbg-fsp-ft-letter-spacing-d, normal);
149 word-spacing: var(--bkbg-fsp-ft-word-spacing-d, normal);
150 color: var(--bkbg-fsp-feat-color);
151 }
152
153 .bkbg-fsp-feature-icon {
154 flex-shrink: 0;
155 margin-top: 1px;
156 }
157 .bkbg-fsp-feature-icon svg { width: 1em; height: 1em; fill: currentColor; }
158 .bkbg-fsp-feature-icon .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; }
159 .bkbg-fsp-feature-icon .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; }
160
161 /* ── Buttons ── */
162 .bkbg-fsp-btns {
163 display: flex;
164 flex-wrap: wrap;
165 gap: 12px;
166 align-items: center;
167 }
168
169 .bkbg-fsp-btn {
170 display: inline-flex;
171 align-items: center;
172 justify-content: center;
173 border-radius: var(--bkbg-fsp-btn-radius);
174 font-weight: 600;
175 text-decoration: none;
176 transition: opacity 0.2s, transform 0.2s;
177 cursor: pointer;
178 }
179
180 .bkbg-fsp-btn--primary {
181 background: var(--bkbg-fsp-prim-bg);
182 color: var(--bkbg-fsp-prim-color);
183 padding: 12px 28px;
184 font-size: 15px;
185 }
186
187 .bkbg-fsp-btn--primary:hover {
188 opacity: 0.9;
189 transform: translateY(-1px);
190 }
191
192 .bkbg-fsp-btn--secondary {
193 background: transparent;
194 color: var(--bkbg-fsp-sec-color);
195 padding: 12px 20px;
196 font-size: 15px;
197 text-decoration: underline;
198 text-underline-offset: 3px;
199 }
200
201 .bkbg-fsp-btn--secondary:hover {
202 opacity: 0.75;
203 }
204
205 /* ── Style: Dark ── */
206 .bkbg-fsp-style--dark {
207 background: #0f172a;
208 --bkbg-fsp-h-color: #f1f5f9;
209 --bkbg-fsp-body-color: #94a3b8;
210 --bkbg-fsp-feat-color: #cbd5e1;
211 }
212
213 /* ── Style: Gradient ── */
214 .bkbg-fsp-style--gradient {
215 background: linear-gradient(135deg, #f5f3ff 0%, #eff6ff 100%);
216 }
217
218 /* ── Style: Accent ── */
219 .bkbg-fsp-style--accent {
220 background: var(--bkbg-fsp-accent);
221 --bkbg-fsp-h-color: #ffffff;
222 --bkbg-fsp-body-color: rgba(255,255,255,0.8);
223 --bkbg-fsp-feat-color: rgba(255,255,255,0.9);
224 --bkbg-fsp-eyebrow-bg: rgba(255,255,255,0.2);
225 --bkbg-fsp-eyebrow-clr: #ffffff;
226 --bkbg-fsp-prim-bg: #ffffff;
227 --bkbg-fsp-prim-color: var(--bkbg-fsp-accent);
228 --bkbg-fsp-sec-color: rgba(255,255,255,0.85);
229 }
230
231 /* ── Image right (default) ── */
232 .bkbg-fsp-img-right .bkbg-fsp-content { order: 0; }
233 .bkbg-fsp-img-right .bkbg-fsp-image-wrap { order: 1; }
234
235 /* ── Image left ── */
236 .bkbg-fsp-img-left .bkbg-fsp-image-wrap { order: 0; }
237 .bkbg-fsp-img-left .bkbg-fsp-content { order: 1; }
238
239 /* ── Responsive ── */
240 @media (max-width: 1024px) {
241 .bkbg-fsp-eyebrow {
242 font-size: var(--bkbg-fsp-eb-font-size-t, var(--bkbg-fsp-eb-font-size-d, 12px));
243 line-height: var(--bkbg-fsp-eb-line-height-t, var(--bkbg-fsp-eb-line-height-d, 1.2));
244 letter-spacing: var(--bkbg-fsp-eb-letter-spacing-t, var(--bkbg-fsp-eb-letter-spacing-d, 0.1em));
245 word-spacing: var(--bkbg-fsp-eb-word-spacing-t, var(--bkbg-fsp-eb-word-spacing-d, normal));
246 }
247 .bkbg-fsp-wrap .bkbg-fsp-headline {
248 font-size: var(--bkbg-fsp-hl-font-size-t, var(--bkbg-fsp-hl-font-size-d, 36px));
249 line-height: var(--bkbg-fsp-hl-line-height-t, var(--bkbg-fsp-hl-line-height-d, 1.2));
250 letter-spacing: var(--bkbg-fsp-hl-letter-spacing-t, var(--bkbg-fsp-hl-letter-spacing-d, normal));
251 word-spacing: var(--bkbg-fsp-hl-word-spacing-t, var(--bkbg-fsp-hl-word-spacing-d, normal));
252 }
253 .bkbg-fsp-body {
254 font-size: var(--bkbg-fsp-bd-font-size-t, var(--bkbg-fsp-bd-font-size-d, 17px));
255 line-height: var(--bkbg-fsp-bd-line-height-t, var(--bkbg-fsp-bd-line-height-d, 1.7));
256 letter-spacing: var(--bkbg-fsp-bd-letter-spacing-t, var(--bkbg-fsp-bd-letter-spacing-d, normal));
257 word-spacing: var(--bkbg-fsp-bd-word-spacing-t, var(--bkbg-fsp-bd-word-spacing-d, normal));
258 }
259 .bkbg-fsp-feature {
260 font-size: var(--bkbg-fsp-ft-font-size-t, var(--bkbg-fsp-ft-font-size-d, 15px));
261 line-height: var(--bkbg-fsp-ft-line-height-t, var(--bkbg-fsp-ft-line-height-d, 1.5));
262 letter-spacing: var(--bkbg-fsp-ft-letter-spacing-t, var(--bkbg-fsp-ft-letter-spacing-d, normal));
263 word-spacing: var(--bkbg-fsp-ft-word-spacing-t, var(--bkbg-fsp-ft-word-spacing-d, normal));
264 }
265 }
266
267 @media (max-width: 900px) {
268 .bkbg-fsp-wrap {
269 flex-direction: column;
270 --bkbg-fsp-gap: 40px;
271 }
272
273 .bkbg-fsp-image-wrap {
274 width: 100%;
275 flex: 0 0 auto;
276 max-height: 400px;
277 overflow: hidden;
278 }
279
280 .bkbg-fsp-content {
281 max-width: 100%;
282 }
283
284 .bkbg-fsp-wrap .bkbg-fsp-image-wrap,
285 .bkbg-fsp-wrap .bkbg-fsp-content {
286 order: unset !important;
287 }
288
289 .bkbg-fsp-wrap .bkbg-fsp-image-wrap { order: 0 !important; }
290 .bkbg-fsp-wrap .bkbg-fsp-content { order: 1 !important; }
291 }
292
293 @media (max-width: 767px) {
294 .bkbg-fsp-eyebrow {
295 font-size: var(--bkbg-fsp-eb-font-size-m, var(--bkbg-fsp-eb-font-size-t, var(--bkbg-fsp-eb-font-size-d, 12px)));
296 line-height: var(--bkbg-fsp-eb-line-height-m, var(--bkbg-fsp-eb-line-height-t, var(--bkbg-fsp-eb-line-height-d, 1.2)));
297 letter-spacing: var(--bkbg-fsp-eb-letter-spacing-m, var(--bkbg-fsp-eb-letter-spacing-t, var(--bkbg-fsp-eb-letter-spacing-d, 0.1em)));
298 word-spacing: var(--bkbg-fsp-eb-word-spacing-m, var(--bkbg-fsp-eb-word-spacing-t, var(--bkbg-fsp-eb-word-spacing-d, normal)));
299 }
300 .bkbg-fsp-wrap .bkbg-fsp-headline {
301 font-size: var(--bkbg-fsp-hl-font-size-m, var(--bkbg-fsp-hl-font-size-t, var(--bkbg-fsp-hl-font-size-d, 36px)));
302 line-height: var(--bkbg-fsp-hl-line-height-m, var(--bkbg-fsp-hl-line-height-t, var(--bkbg-fsp-hl-line-height-d, 1.2)));
303 letter-spacing: var(--bkbg-fsp-hl-letter-spacing-m, var(--bkbg-fsp-hl-letter-spacing-t, var(--bkbg-fsp-hl-letter-spacing-d, normal)));
304 word-spacing: var(--bkbg-fsp-hl-word-spacing-m, var(--bkbg-fsp-hl-word-spacing-t, var(--bkbg-fsp-hl-word-spacing-d, normal)));
305 }
306 .bkbg-fsp-body {
307 font-size: var(--bkbg-fsp-bd-font-size-m, var(--bkbg-fsp-bd-font-size-t, var(--bkbg-fsp-bd-font-size-d, 17px)));
308 line-height: var(--bkbg-fsp-bd-line-height-m, var(--bkbg-fsp-bd-line-height-t, var(--bkbg-fsp-bd-line-height-d, 1.7)));
309 letter-spacing: var(--bkbg-fsp-bd-letter-spacing-m, var(--bkbg-fsp-bd-letter-spacing-t, var(--bkbg-fsp-bd-letter-spacing-d, normal)));
310 word-spacing: var(--bkbg-fsp-bd-word-spacing-m, var(--bkbg-fsp-bd-word-spacing-t, var(--bkbg-fsp-bd-word-spacing-d, normal)));
311 }
312 .bkbg-fsp-feature {
313 font-size: var(--bkbg-fsp-ft-font-size-m, var(--bkbg-fsp-ft-font-size-t, var(--bkbg-fsp-ft-font-size-d, 15px)));
314 line-height: var(--bkbg-fsp-ft-line-height-m, var(--bkbg-fsp-ft-line-height-t, var(--bkbg-fsp-ft-line-height-d, 1.5)));
315 letter-spacing: var(--bkbg-fsp-ft-letter-spacing-m, var(--bkbg-fsp-ft-letter-spacing-t, var(--bkbg-fsp-ft-letter-spacing-d, normal)));
316 word-spacing: var(--bkbg-fsp-ft-word-spacing-m, var(--bkbg-fsp-ft-word-spacing-t, var(--bkbg-fsp-ft-word-spacing-d, normal)));
317 }
318 }
319
320 @media (max-width: 580px) {
321 .bkbg-fsp-wrap {
322 --bkbg-fsp-pt: 40px;
323 --bkbg-fsp-pb: 40px;
324 }
325 }
326