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-columns / style.css

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

226 lines 8.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ============================================================
2 Feature Columns — style.css
3 Prefix: bkbg-fc-
4 ============================================================ */
5
6 .bkbg-fc-wrap {
7 box-sizing: border-box;
8 width: 100%;
9 padding: var(--bkbg-fc-pt, 0px) 0 var(--bkbg-fc-pb, 0px);
10 }
11
12 /* ---- Grid ---- */
13 .bkbg-fc-grid {
14 display: grid;
15 grid-template-columns: repeat(var(--bkbg-fc-cols, 3), 1fr);
16 gap: var(--bkbg-fc-row-gap, 40px) var(--bkbg-fc-gap, 32px);
17 }
18
19 /* ---- Single feature ---- */
20 .bkbg-fc-feature {
21 display: flex;
22 flex-direction: column;
23 gap: 12px;
24 }
25
26 /* Alignment variants */
27 .bkbg-fc-align--center .bkbg-fc-feature { align-items: center; text-align: center; }
28 .bkbg-fc-align--left .bkbg-fc-feature { align-items: flex-start; text-align: left; }
29
30 /* ---- Icon wrap ---- */
31 .bkbg-fc-icon-wrap {
32 display: flex;
33 align-items: center;
34 justify-content: center;
35 flex-shrink: 0;
36 transition: transform .2s;
37 }
38 .bkbg-fc-feature:hover .bkbg-fc-icon-wrap { transform: scale(1.05); }
39
40 /* Icon style: box */
41 .bkbg-fc-icon-style--box.bkbg-fc-icon-wrap {
42 width: calc(var(--bkbg-fc-icon-sz, 24px) * 1.8);
43 height: calc(var(--bkbg-fc-icon-sz, 24px) * 1.8);
44 border-radius: 10px;
45 background: var(--bkbg-fc-icon-bg, #f0ebff);
46 }
47
48 /* Icon style: circle */
49 .bkbg-fc-icon-style--circle.bkbg-fc-icon-wrap {
50 width: calc(var(--bkbg-fc-icon-sz, 24px) * 1.8);
51 height: calc(var(--bkbg-fc-icon-sz, 24px) * 1.8);
52 border-radius: 50%;
53 background: var(--bkbg-fc-icon-bg, #f0ebff);
54 }
55
56 /* Icon style: line (underline accent) */
57 .bkbg-fc-icon-style--line.bkbg-fc-icon-wrap {
58 padding-bottom: 8px;
59 border-bottom: 2px solid var(--bkbg-fc-accent, #6c3fb5);
60 border-radius: 0;
61 background: transparent;
62 justify-content: flex-start;
63 }
64 .bkbg-fc-align--center .bkbg-fc-icon-style--line.bkbg-fc-icon-wrap { justify-content: center; }
65
66 /* Icon style: none */
67 .bkbg-fc-icon-style--none.bkbg-fc-icon-wrap {
68 background: transparent;
69 border-radius: 0;
70 }
71
72 .bkbg-fc-icon {
73 font-size: var(--bkbg-fc-icon-sz, 24px);
74 color: var(--bkbg-fc-icon-c, #6c3fb5);
75 line-height: 1;
76 width: var(--bkbg-fc-icon-sz, 24px);
77 height: var(--bkbg-fc-icon-sz, 24px);
78 display: flex;
79 align-items: center;
80 }
81
82 /* ---- Number (step/ordered mode) ---- */
83 .bkbg-fc-number {
84 font-size: var(--bkbg-fc-num-sz, 32px);
85 font-weight: 900;
86 color: var(--bkbg-fc-num-c, #6c3fb5);
87 letter-spacing: -.04em;
88 line-height: 1;
89 flex-shrink: 0;
90 }
91
92 .bkbg-fc-number.bkbg-fc-icon-style--box,
93 .bkbg-fc-number.bkbg-fc-icon-style--circle {
94 width: calc(var(--bkbg-fc-num-sz, 32px) * 1.5);
95 height: calc(var(--bkbg-fc-num-sz, 32px) * 1.5);
96 display: flex;
97 align-items: center;
98 justify-content: center;
99 background: var(--bkbg-fc-icon-bg, #f0ebff);
100 font-size: var(--bkbg-fc-num-sz, 32px);
101 }
102 .bkbg-fc-number.bkbg-fc-icon-style--circle { border-radius: 50%; }
103 .bkbg-fc-number.bkbg-fc-icon-style--box { border-radius: 10px; }
104
105 /* ---- Text ---- */
106 .bkbg-fc-text { display: flex; flex-direction: column; gap: 6px; }
107
108 .bkbg-fc-wrap .bkbg-fc-title {
109 margin: 0;
110 font-family: var(--bkbg-fc-tt-font-family, inherit);
111 font-size: var(--bkbg-fc-tt-font-size-d, 17px);
112 font-weight: var(--bkbg-fc-tt-font-weight, 700);
113 font-style: var(--bkbg-fc-tt-font-style, normal);
114 text-transform: var(--bkbg-fc-tt-text-transform, none);
115 text-decoration: var(--bkbg-fc-tt-text-decoration, none);
116 line-height: var(--bkbg-fc-tt-line-height-d, 1.3);
117 letter-spacing: var(--bkbg-fc-tt-letter-spacing-d, normal);
118 word-spacing: var(--bkbg-fc-tt-word-spacing-d, normal);
119 color: var(--bkbg-fc-title-c, #0f172a);
120 }
121
122 .bkbg-fc-body {
123 margin: 0;
124 font-family: var(--bkbg-fc-bd-font-family, inherit);
125 font-size: var(--bkbg-fc-bd-font-size-d, 15px);
126 font-weight: var(--bkbg-fc-bd-font-weight, 400);
127 font-style: var(--bkbg-fc-bd-font-style, normal);
128 text-transform: var(--bkbg-fc-bd-text-transform, none);
129 text-decoration: var(--bkbg-fc-bd-text-decoration, none);
130 line-height: var(--bkbg-fc-bd-line-height-d, 1.65);
131 letter-spacing: var(--bkbg-fc-bd-letter-spacing-d, normal);
132 word-spacing: var(--bkbg-fc-bd-word-spacing-d, normal);
133 color: var(--bkbg-fc-body-c, #64748b);
134 }
135
136 /* ============================================================
137 Style Variants
138 ============================================================ */
139
140 /* plain — just the column (default) */
141 /* (no extra styles needed) */
142
143 /* card — white card with shadow */
144 .bkbg-fc-style--card .bkbg-fc-feature {
145 background: var(--bkbg-fc-card-bg, #ffffff);
146 border-radius: var(--bkbg-fc-card-r, 12px);
147 padding: var(--bkbg-fc-card-p, 24px);
148 box-shadow: 0 2px 8px rgba(0,0,0,.05), 0 0 0 1px rgba(0,0,0,.04);
149 transition: box-shadow .18s, transform .18s;
150 }
151 .bkbg-fc-style--card .bkbg-fc-feature:hover {
152 transform: translateY(-3px);
153 box-shadow: 0 10px 32px rgba(0,0,0,.09), 0 0 0 1px rgba(0,0,0,.03);
154 }
155
156 /* bordered — border around each card */
157 .bkbg-fc-style--bordered .bkbg-fc-feature {
158 border: 1px solid var(--bkbg-fc-card-border, #e2e8f0);
159 border-radius: var(--bkbg-fc-card-r, 12px);
160 padding: var(--bkbg-fc-card-p, 24px);
161 background: var(--bkbg-fc-card-bg, #ffffff);
162 transition: border-color .18s, box-shadow .18s;
163 }
164 .bkbg-fc-style--bordered .bkbg-fc-feature:hover {
165 border-color: var(--bkbg-fc-accent, #6c3fb5);
166 box-shadow: 0 4px 20px rgba(0,0,0,.06);
167 }
168
169 /* filled — accent icon bg fills full card tint */
170 .bkbg-fc-style--filled .bkbg-fc-feature {
171 background: var(--bkbg-fc-icon-bg, #f0ebff);
172 border-radius: var(--bkbg-fc-card-r, 12px);
173 padding: var(--bkbg-fc-card-p, 24px);
174 transition: background .18s;
175 }
176 .bkbg-fc-style--filled .bkbg-fc-feature:hover { background: color-mix(in srgb, var(--bkbg-fc-icon-bg, #f0ebff) 80%, var(--bkbg-fc-accent, #6c3fb5) 20%); }
177 .bkbg-fc-style--filled .bkbg-fc-icon-wrap { background: rgba(255,255,255,.6); }
178
179 /* numbered — large faded number behind each item */
180 .bkbg-fc-style--numbered .bkbg-fc-number {
181 font-size: clamp(40px, 8vw, 72px);
182 color: color-mix(in srgb, var(--bkbg-fc-accent, #6c3fb5) 12%, transparent);
183 font-weight: 900;
184 }
185
186 /* Inspector helpers */
187 .bkbg-fc-feat-ctrl { border-bottom: 1px solid #e2e8f0; padding-bottom: 12px; margin-bottom: 12px; }
188 .bkbg-fc-feat-head { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 0; }
189 .bkbg-fc-feat-actions { display: flex; gap: 4px; margin-top: 8px; }
190
191 /* Responsive */
192 @media (max-width: 1024px) {
193 .bkbg-fc-wrap .bkbg-fc-title {
194 font-size: var(--bkbg-fc-tt-font-size-t, var(--bkbg-fc-tt-font-size-d, 17px));
195 line-height: var(--bkbg-fc-tt-line-height-t, var(--bkbg-fc-tt-line-height-d, 1.3));
196 letter-spacing: var(--bkbg-fc-tt-letter-spacing-t, var(--bkbg-fc-tt-letter-spacing-d, normal));
197 word-spacing: var(--bkbg-fc-tt-word-spacing-t, var(--bkbg-fc-tt-word-spacing-d, normal));
198 }
199 .bkbg-fc-body {
200 font-size: var(--bkbg-fc-bd-font-size-t, var(--bkbg-fc-bd-font-size-d, 15px));
201 line-height: var(--bkbg-fc-bd-line-height-t, var(--bkbg-fc-bd-line-height-d, 1.65));
202 letter-spacing: var(--bkbg-fc-bd-letter-spacing-t, var(--bkbg-fc-bd-letter-spacing-d, normal));
203 word-spacing: var(--bkbg-fc-bd-word-spacing-t, var(--bkbg-fc-bd-word-spacing-d, normal));
204 }
205 }
206 @media (max-width: 900px) {
207 .bkbg-fc-grid { grid-template-columns: repeat(2, 1fr); }
208 }
209 @media (max-width: 767px) {
210 .bkbg-fc-wrap .bkbg-fc-title {
211 font-size: var(--bkbg-fc-tt-font-size-m, var(--bkbg-fc-tt-font-size-t, var(--bkbg-fc-tt-font-size-d, 17px)));
212 line-height: var(--bkbg-fc-tt-line-height-m, var(--bkbg-fc-tt-line-height-t, var(--bkbg-fc-tt-line-height-d, 1.3)));
213 letter-spacing: var(--bkbg-fc-tt-letter-spacing-m, var(--bkbg-fc-tt-letter-spacing-t, var(--bkbg-fc-tt-letter-spacing-d, normal)));
214 word-spacing: var(--bkbg-fc-tt-word-spacing-m, var(--bkbg-fc-tt-word-spacing-t, var(--bkbg-fc-tt-word-spacing-d, normal)));
215 }
216 .bkbg-fc-body {
217 font-size: var(--bkbg-fc-bd-font-size-m, var(--bkbg-fc-bd-font-size-t, var(--bkbg-fc-bd-font-size-d, 15px)));
218 line-height: var(--bkbg-fc-bd-line-height-m, var(--bkbg-fc-bd-line-height-t, var(--bkbg-fc-bd-line-height-d, 1.65)));
219 letter-spacing: var(--bkbg-fc-bd-letter-spacing-m, var(--bkbg-fc-bd-letter-spacing-t, var(--bkbg-fc-bd-letter-spacing-d, normal)));
220 word-spacing: var(--bkbg-fc-bd-word-spacing-m, var(--bkbg-fc-bd-word-spacing-t, var(--bkbg-fc-bd-word-spacing-d, normal)));
221 }
222 }
223 @media (max-width: 520px) {
224 .bkbg-fc-grid { grid-template-columns: 1fr; }
225 }
226