PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
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 / comparison-swipe-wall / style.css

style.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/comparison-swipe-wall/style.css

244 lines 9.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ====================================================
2 Comparison Wall — style.css
3 Block: blockenberg/comparison-swipe-wall
4 ==================================================== */
5
6 .bkbg-cmp-wrap {
7 padding-top: var(--bkbg-cmp-pt, 72px);
8 padding-bottom: var(--bkbg-cmp-pb, 72px);
9 box-sizing: border-box;
10 }
11
12 /* Header */
13 .bkbg-cmp-header { margin-bottom: 48px; }
14
15 .bkbg-cmp-eyebrow {
16 display: inline-block;
17 padding: 5px 14px;
18 border-radius: 50px;
19 font-size: 12px;
20 font-weight: 600;
21 letter-spacing: .06em;
22 text-transform: uppercase;
23 background: var(--bkbg-cmp-ey-bg, #f0ebff);
24 color: var(--bkbg-cmp-ey-c, #6c3fb5);
25 margin-bottom: 16px;
26 }
27
28 .bkbg-cmp-section-title {
29 font-family: var(--bkcw-title-font-family, inherit);
30 font-size: var(--bkcw-title-font-size-d, clamp(24px, 3vw, 38px));
31 font-weight: var(--bkcw-title-font-weight, 700);
32 line-height: var(--bkcw-title-line-height-d, 1.2);
33 text-transform: var(--bkcw-title-text-transform, none);
34 font-style: var(--bkcw-title-font-style, normal);
35 text-decoration: var(--bkcw-title-text-decoration, none);
36 letter-spacing: var(--bkcw-title-letter-spacing-d, normal);
37 word-spacing: var(--bkcw-title-word-spacing-d, normal);
38 color: var(--bkbg-cmp-sec-title-c, #0f172a);
39 margin: 0 0 12px;
40 }
41
42 .bkbg-cmp-section-sub {
43 font-family: var(--bkcw-sub-font-family, inherit);
44 font-size: var(--bkcw-sub-font-size-d, 17px);
45 font-weight: var(--bkcw-sub-font-weight, 400);
46 line-height: var(--bkcw-sub-line-height-d, 1.6);
47 text-transform: var(--bkcw-sub-text-transform, none);
48 font-style: var(--bkcw-sub-font-style, normal);
49 text-decoration: var(--bkcw-sub-text-decoration, none);
50 letter-spacing: var(--bkcw-sub-letter-spacing-d, normal);
51 word-spacing: var(--bkcw-sub-word-spacing-d, normal);
52 color: var(--bkbg-cmp-sec-sub-c, #475569);
53 margin: 0;
54 }
55
56 /* Two-column grid */
57 .bkbg-cmp-grid {
58 display: grid;
59 grid-template-columns: 1fr 1fr;
60 gap: var(--bkbg-cmp-gap, 24px);
61 align-items: start;
62 }
63
64 /* Column */
65 .bkbg-cmp-col {
66 padding: 32px;
67 border-radius: var(--bkbg-cmp-r, 16px);
68 }
69
70 .bkbg-cmp-col--left { background: var(--bkbg-cmp-left-bg, #fff7f7); }
71 .bkbg-cmp-col--right { background: var(--bkbg-cmp-right-bg, #f5f3ff); }
72
73 /* Column header */
74 .bkbg-cmp-col-header {
75 display: flex;
76 align-items: center;
77 gap: 12px;
78 margin-bottom: 24px;
79 padding-bottom: 20px;
80 border-bottom: 1px solid rgba(0,0,0,.08);
81 }
82
83 .bkbg-cmp-col-emoji { font-size: 28px; line-height: 1; }
84 .bkbg-cmp-col-emoji svg { width: 1em; height: 1em; fill: currentColor; }
85 .bkbg-cmp-col-emoji .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; }
86 .bkbg-cmp-col-emoji .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; }
87
88 .bkbg-cmp-col-title {
89 font-size: 20px;
90 font-weight: 700;
91 margin: 0;
92 line-height: 1.2;
93 }
94
95 .bkbg-cmp-col--left .bkbg-cmp-col-title { color: var(--bkbg-cmp-left-title, #dc2626); }
96 .bkbg-cmp-col--right .bkbg-cmp-col-title { color: var(--bkbg-cmp-right-title, #6c3fb5); }
97
98 /* List */
99 .bkbg-cmp-list {
100 list-style: none;
101 margin: 0;
102 padding: 0;
103 display: flex;
104 flex-direction: column;
105 gap: 12px;
106 }
107
108 .bkbg-cmp-item {
109 display: flex;
110 align-items: flex-start;
111 gap: 10px;
112 font-family: var(--bkcw-item-font-family, inherit);
113 font-size: var(--bkcw-item-font-size-d, var(--bkbg-cmp-item-sz, 15px));
114 font-weight: var(--bkcw-item-font-weight, 400);
115 line-height: var(--bkcw-item-line-height-d, 1.5);
116 text-transform: var(--bkcw-item-text-transform, none);
117 font-style: var(--bkcw-item-font-style, normal);
118 text-decoration: var(--bkcw-item-text-decoration, none);
119 letter-spacing: var(--bkcw-item-letter-spacing-d, normal);
120 word-spacing: var(--bkcw-item-word-spacing-d, normal);
121 }
122
123 .bkbg-cmp-item-icon {
124 flex-shrink: 0;
125 font-weight: 700;
126 font-size: 14px;
127 margin-top: 2px;
128 }
129
130 .bkbg-cmp-item-icon svg { width: 1em; height: 1em; fill: currentColor; }
131 .bkbg-cmp-item-icon .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; }
132 .bkbg-cmp-item-icon .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; }
133
134 .bkbg-cmp-col--left .bkbg-cmp-item-icon { color: var(--bkbg-cmp-left-icon, #dc2626); }
135 .bkbg-cmp-col--right .bkbg-cmp-item-icon { color: var(--bkbg-cmp-right-icon, #10b981); }
136
137 .bkbg-cmp-col--left .bkbg-cmp-item-text { color: var(--bkbg-cmp-left-item, #475569); }
138 .bkbg-cmp-col--right .bkbg-cmp-item-text { color: var(--bkbg-cmp-right-item, #1e293b); }
139
140 /* CTA area */
141 .bkbg-cmp-cta-wrap {
142 text-align: center;
143 margin-top: 40px;
144 }
145
146 .bkbg-cmp-cta {
147 display: inline-flex;
148 align-items: center;
149 gap: 8px;
150 padding: 14px 32px;
151 background: #6c3fb5;
152 color: #fff;
153 text-decoration: none;
154 border-radius: 50px;
155 font-size: 15px;
156 font-weight: 600;
157 box-shadow: 0 4px 14px rgba(108,63,181,.35);
158 transition: transform .2s, box-shadow .2s;
159 }
160
161 .bkbg-cmp-cta:hover {
162 transform: translateY(-2px);
163 box-shadow: 0 6px 20px rgba(108,63,181,.45);
164 color: #fff;
165 text-decoration: none;
166 }
167
168 /* Style variants */
169
170 /* Flat — no card backgrounds */
171 .bkbg-cmp-style--flat .bkbg-cmp-col {
172 background: transparent;
173 padding-left: 0;
174 padding-right: 0;
175 }
176
177 /* Dark right column */
178 .bkbg-cmp-style--dark-right .bkbg-cmp-col--right {
179 background: #0f172a;
180 }
181 .bkbg-cmp-style--dark-right .bkbg-cmp-col--right .bkbg-cmp-col-title { color: #a78bfa; }
182 .bkbg-cmp-style--dark-right .bkbg-cmp-col--right .bkbg-cmp-item-text { color: #cbd5e1; }
183
184 /* Table style — zebra rows */
185 .bkbg-cmp-style--table .bkbg-cmp-col {
186 background: #fff;
187 border: 1px solid #e2e8f0;
188 border-radius: 0;
189 }
190 .bkbg-cmp-style--table .bkbg-cmp-col--left { border-radius: var(--bkbg-cmp-r, 16px) 0 0 var(--bkbg-cmp-r, 16px); }
191 .bkbg-cmp-style--table .bkbg-cmp-col--right { border-radius: 0 var(--bkbg-cmp-r, 16px) var(--bkbg-cmp-r, 16px) 0; border-left: none; }
192 .bkbg-cmp-style--table .bkbg-cmp-item:nth-child(even) { background: #f8fafc; margin: 0 -32px; padding: 8px 32px; }
193
194 /* Responsive */
195 @media (max-width: 1024px) {
196 .bkbg-cmp-section-title {
197 font-size: var(--bkcw-title-font-size-t, var(--bkcw-title-font-size-d, clamp(24px, 3vw, 38px)));
198 line-height: var(--bkcw-title-line-height-t, var(--bkcw-title-line-height-d, 1.2));
199 letter-spacing: var(--bkcw-title-letter-spacing-t, var(--bkcw-title-letter-spacing-d, normal));
200 word-spacing: var(--bkcw-title-word-spacing-t, var(--bkcw-title-word-spacing-d, normal));
201 }
202 .bkbg-cmp-section-sub {
203 font-size: var(--bkcw-sub-font-size-t, var(--bkcw-sub-font-size-d, 17px));
204 line-height: var(--bkcw-sub-line-height-t, var(--bkcw-sub-line-height-d, 1.6));
205 letter-spacing: var(--bkcw-sub-letter-spacing-t, var(--bkcw-sub-letter-spacing-d, normal));
206 word-spacing: var(--bkcw-sub-word-spacing-t, var(--bkcw-sub-word-spacing-d, normal));
207 }
208 .bkbg-cmp-item {
209 font-size: var(--bkcw-item-font-size-t, var(--bkcw-item-font-size-d, var(--bkbg-cmp-item-sz, 15px)));
210 line-height: var(--bkcw-item-line-height-t, var(--bkcw-item-line-height-d, 1.5));
211 letter-spacing: var(--bkcw-item-letter-spacing-t, var(--bkcw-item-letter-spacing-d, normal));
212 word-spacing: var(--bkcw-item-word-spacing-t, var(--bkcw-item-word-spacing-d, normal));
213 }
214 }
215
216 @media (max-width: 767px) {
217 .bkbg-cmp-section-title {
218 font-size: var(--bkcw-title-font-size-m, var(--bkcw-title-font-size-t, var(--bkcw-title-font-size-d, clamp(24px, 3vw, 38px))));
219 line-height: var(--bkcw-title-line-height-m, var(--bkcw-title-line-height-t, var(--bkcw-title-line-height-d, 1.2)));
220 letter-spacing: var(--bkcw-title-letter-spacing-m, var(--bkcw-title-letter-spacing-t, var(--bkcw-title-letter-spacing-d, normal)));
221 word-spacing: var(--bkcw-title-word-spacing-m, var(--bkcw-title-word-spacing-t, var(--bkcw-title-word-spacing-d, normal)));
222 }
223 .bkbg-cmp-section-sub {
224 font-size: var(--bkcw-sub-font-size-m, var(--bkcw-sub-font-size-t, var(--bkcw-sub-font-size-d, 17px)));
225 line-height: var(--bkcw-sub-line-height-m, var(--bkcw-sub-line-height-t, var(--bkcw-sub-line-height-d, 1.6)));
226 letter-spacing: var(--bkcw-sub-letter-spacing-m, var(--bkcw-sub-letter-spacing-t, var(--bkcw-sub-letter-spacing-d, normal)));
227 word-spacing: var(--bkcw-sub-word-spacing-m, var(--bkcw-sub-word-spacing-t, var(--bkcw-sub-word-spacing-d, normal)));
228 }
229 .bkbg-cmp-item {
230 font-size: var(--bkcw-item-font-size-m, var(--bkcw-item-font-size-t, var(--bkcw-item-font-size-d, var(--bkbg-cmp-item-sz, 15px))));
231 line-height: var(--bkcw-item-line-height-m, var(--bkcw-item-line-height-t, var(--bkcw-item-line-height-d, 1.5)));
232 letter-spacing: var(--bkcw-item-letter-spacing-m, var(--bkcw-item-letter-spacing-t, var(--bkcw-item-letter-spacing-d, normal)));
233 word-spacing: var(--bkcw-item-word-spacing-m, var(--bkcw-item-word-spacing-t, var(--bkcw-item-word-spacing-d, normal)));
234 }
235 }
236
237 @media (max-width: 640px) {
238 .bkbg-cmp-grid {
239 grid-template-columns: 1fr;
240 }
241 .bkbg-cmp-style--table .bkbg-cmp-col--left { border-radius: var(--bkbg-cmp-r, 16px) var(--bkbg-cmp-r, 16px) 0 0; border-bottom: none; }
242 .bkbg-cmp-style--table .bkbg-cmp-col--right { border-radius: 0 0 var(--bkbg-cmp-r, 16px) var(--bkbg-cmp-r, 16px); border-left: 1px solid #e2e8f0; border-top: none; }
243 }
244