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

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

247 lines 9.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ====================================================
2 Client Showcase — bkbg-cshw-*
3 ==================================================== */
4
5 /* Wrapper */
6 .bkbg-cshw-wrap {
7 box-sizing: border-box;
8 width: 100%;
9 padding-top: var(--bkbg-cshw-pt, 64px);
10 padding-bottom: var(--bkbg-cshw-pb, 64px);
11 }
12
13 /* ── Header ── */
14 .bkbg-cshw-headline {
15 margin: 0 0 8px;
16 font-family: var(--bkbg-cshw-hl-font-family, inherit);
17 font-size: var(--bkbg-cshw-hl-font-size-d, 28px);
18 font-weight: var(--bkbg-cshw-hl-font-weight, 600);
19 line-height: var(--bkbg-cshw-hl-line-height-d, 1.3);
20 text-transform: var(--bkbg-cshw-hl-text-transform, uppercase);
21 font-style: var(--bkbg-cshw-hl-font-style, normal);
22 text-decoration: var(--bkbg-cshw-hl-text-decoration, none);
23 letter-spacing: var(--bkbg-cshw-hl-letter-spacing-d, .05em);
24 word-spacing: var(--bkbg-cshw-hl-word-spacing-d, normal);
25 color: var(--bkbg-cshw-h-color, #64748b);
26 }
27 .bkbg-cshw-subhead {
28 margin: 0;
29 font-family: var(--bkbg-cshw-sh-font-family, inherit);
30 font-size: var(--bkbg-cshw-sh-font-size-d, 16px);
31 font-weight: var(--bkbg-cshw-sh-font-weight, 400);
32 line-height: var(--bkbg-cshw-sh-line-height-d, 1.4);
33 text-transform: var(--bkbg-cshw-sh-text-transform, none);
34 font-style: var(--bkbg-cshw-sh-font-style, normal);
35 text-decoration: var(--bkbg-cshw-sh-text-decoration, none);
36 letter-spacing: var(--bkbg-cshw-sh-letter-spacing-d, normal);
37 word-spacing: var(--bkbg-cshw-sh-word-spacing-d, normal);
38 color: var(--bkbg-cshw-sub-color, #94a3b8);
39 }
40
41 /* ── Logo grid (row = flex centred; grid = fixed columns) ── */
42 .bkbg-cshw-logos {
43 display: flex;
44 flex-wrap: wrap;
45 align-items: center;
46 justify-content: center;
47 gap: var(--bkbg-cshw-gap, 32px);
48 }
49 .bkbg-cshw-layout--grid .bkbg-cshw-logos {
50 display: grid;
51 grid-template-columns: repeat(var(--bkbg-cshw-cols, 6), 1fr);
52 gap: var(--bkbg-cshw-gap, 32px);
53 }
54
55 /* Individual logo item */
56 .bkbg-cshw-logo-item {
57 display: flex;
58 align-items: center;
59 justify-content: center;
60 height: var(--bkbg-cshw-logo-h, 40px);
61 padding: 0;
62 transition: opacity .25s, filter .25s;
63 }
64 /* box variant */
65 .bkbg-cshw-logo-bg.bkbg-cshw-logo-item {
66 background: var(--bkbg-cshw-logo-bg, #f8fafc);
67 border: 1px solid var(--bkbg-cshw-logo-brd, #e2e8f0);
68 border-radius: var(--bkbg-cshw-logo-r, 8px);
69 padding: var(--bkbg-cshw-logo-pad, 16px);
70 height: auto;
71 min-height: var(--bkbg-cshw-logo-h, 40px);
72 }
73
74 /* Logo image */
75 .bkbg-cshw-logo-img {
76 max-height: var(--bkbg-cshw-logo-h, 40px);
77 width: auto;
78 max-width: 100%;
79 object-fit: contain;
80 display: block;
81 }
82
83 /* Placeholder text (no image) */
84 .bkbg-cshw-logo-placeholder {
85 font-size: 13px;
86 font-weight: 600;
87 color: var(--bkbg-cshw-logo-tint, #94a3b8);
88 white-space: nowrap;
89 }
90
91 /* Grayscale */
92 .bkbg-cshw-grayscale .bkbg-cshw-logo-img {
93 filter: grayscale(100%) opacity(0.55);
94 transition: filter .25s;
95 }
96 /* Hover restore */
97 .bkbg-cshw-hover-color .bkbg-cshw-logo-item:hover .bkbg-cshw-logo-img {
98 filter: grayscale(0%) opacity(1);
99 }
100
101 /* ── Upload button (editor only) ── */
102 .bkbg-cshw-logo-upload-btn.components-button {
103 display: block;
104 font-size: 10px;
105 line-height: 1;
106 margin-top: 4px;
107 opacity: 0;
108 transition: opacity .2s;
109 }
110 .bkbg-cshw-logo-item:hover .bkbg-cshw-logo-upload-btn.components-button {
111 opacity: 1;
112 }
113
114 /* ── Pull quote ── */
115 .bkbg-cshw-quote {
116 position: relative;
117 margin: 0 auto;
118 max-width: 720px;
119 background: var(--bkbg-cshw-q-bg, #f8fafc);
120 border-left: 4px solid var(--bkbg-cshw-q-brd, #6c3fb5);
121 border-radius: 0 12px 12px 0;
122 padding: 32px 36px;
123 text-align: left;
124 }
125 /* decorative quotation mark */
126 .bkbg-cshw-quote::before {
127 content: '\201C';
128 position: absolute;
129 top: 12px;
130 left: 20px;
131 font-size: 96px;
132 line-height: 1;
133 color: var(--bkbg-cshw-accent, #6c3fb5);
134 opacity: .12;
135 font-family: Georgia, serif;
136 pointer-events: none;
137 }
138 .bkbg-cshw-quote-text {
139 margin: 0 0 20px;
140 border: none;
141 padding: 0;
142 }
143 .bkbg-cshw-quote-text p {
144 margin: 0;
145 font-family: var(--bkbg-cshw-qt-font-family, inherit);
146 font-size: var(--bkbg-cshw-qt-font-size-d, 18px);
147 font-weight: var(--bkbg-cshw-qt-font-weight, 400);
148 line-height: var(--bkbg-cshw-qt-line-height-d, 1.65);
149 text-transform: var(--bkbg-cshw-qt-text-transform, none);
150 font-style: var(--bkbg-cshw-qt-font-style, italic);
151 text-decoration: var(--bkbg-cshw-qt-text-decoration, none);
152 letter-spacing: var(--bkbg-cshw-qt-letter-spacing-d, normal);
153 word-spacing: var(--bkbg-cshw-qt-word-spacing-d, normal);
154 color: var(--bkbg-cshw-q-text, #1e293b);
155 }
156 .bkbg-cshw-quote-author {
157 display: flex;
158 align-items: center;
159 gap: 12px;
160 }
161 .bkbg-cshw-quote-avatar {
162 width: 44px;
163 height: 44px;
164 border-radius: 50%;
165 object-fit: cover;
166 flex-shrink: 0;
167 }
168 .bkbg-cshw-quote-meta {
169 display: flex;
170 flex-direction: column;
171 gap: 2px;
172 }
173 .bkbg-cshw-quote-name {
174 font-size: 14px;
175 font-weight: 700;
176 color: var(--bkbg-cshw-q-text, #1e293b);
177 }
178 .bkbg-cshw-quote-role {
179 font-size: 13px;
180 color: var(--bkbg-cshw-q-meta, #64748b);
181 }
182
183 /* ── Typography responsive ── */
184 @media (max-width: 1024px) {
185 .bkbg-cshw-headline {
186 font-size: var(--bkbg-cshw-hl-font-size-t, var(--bkbg-cshw-hl-font-size-d, 28px));
187 line-height: var(--bkbg-cshw-hl-line-height-t, var(--bkbg-cshw-hl-line-height-d, 1.3));
188 letter-spacing: var(--bkbg-cshw-hl-letter-spacing-t, var(--bkbg-cshw-hl-letter-spacing-d, .05em));
189 word-spacing: var(--bkbg-cshw-hl-word-spacing-t, var(--bkbg-cshw-hl-word-spacing-d, normal));
190 }
191 .bkbg-cshw-subhead {
192 font-size: var(--bkbg-cshw-sh-font-size-t, var(--bkbg-cshw-sh-font-size-d, 16px));
193 line-height: var(--bkbg-cshw-sh-line-height-t, var(--bkbg-cshw-sh-line-height-d, 1.4));
194 letter-spacing: var(--bkbg-cshw-sh-letter-spacing-t, var(--bkbg-cshw-sh-letter-spacing-d, normal));
195 word-spacing: var(--bkbg-cshw-sh-word-spacing-t, var(--bkbg-cshw-sh-word-spacing-d, normal));
196 }
197 .bkbg-cshw-quote-text p {
198 font-size: var(--bkbg-cshw-qt-font-size-t, var(--bkbg-cshw-qt-font-size-d, 18px));
199 line-height: var(--bkbg-cshw-qt-line-height-t, var(--bkbg-cshw-qt-line-height-d, 1.65));
200 letter-spacing: var(--bkbg-cshw-qt-letter-spacing-t, var(--bkbg-cshw-qt-letter-spacing-d, normal));
201 word-spacing: var(--bkbg-cshw-qt-word-spacing-t, var(--bkbg-cshw-qt-word-spacing-d, normal));
202 }
203 }
204 @media (max-width: 767px) {
205 .bkbg-cshw-headline {
206 font-size: var(--bkbg-cshw-hl-font-size-m, var(--bkbg-cshw-hl-font-size-t, var(--bkbg-cshw-hl-font-size-d, 28px)));
207 line-height: var(--bkbg-cshw-hl-line-height-m, var(--bkbg-cshw-hl-line-height-t, var(--bkbg-cshw-hl-line-height-d, 1.3)));
208 letter-spacing: var(--bkbg-cshw-hl-letter-spacing-m, var(--bkbg-cshw-hl-letter-spacing-t, var(--bkbg-cshw-hl-letter-spacing-d, .05em)));
209 word-spacing: var(--bkbg-cshw-hl-word-spacing-m, var(--bkbg-cshw-hl-word-spacing-t, var(--bkbg-cshw-hl-word-spacing-d, normal)));
210 }
211 .bkbg-cshw-subhead {
212 font-size: var(--bkbg-cshw-sh-font-size-m, var(--bkbg-cshw-sh-font-size-t, var(--bkbg-cshw-sh-font-size-d, 16px)));
213 line-height: var(--bkbg-cshw-sh-line-height-m, var(--bkbg-cshw-sh-line-height-t, var(--bkbg-cshw-sh-line-height-d, 1.4)));
214 letter-spacing: var(--bkbg-cshw-sh-letter-spacing-m, var(--bkbg-cshw-sh-letter-spacing-t, var(--bkbg-cshw-sh-letter-spacing-d, normal)));
215 word-spacing: var(--bkbg-cshw-sh-word-spacing-m, var(--bkbg-cshw-sh-word-spacing-t, var(--bkbg-cshw-sh-word-spacing-d, normal)));
216 }
217 .bkbg-cshw-quote-text p {
218 font-size: var(--bkbg-cshw-qt-font-size-m, var(--bkbg-cshw-qt-font-size-t, var(--bkbg-cshw-qt-font-size-d, 18px)));
219 line-height: var(--bkbg-cshw-qt-line-height-m, var(--bkbg-cshw-qt-line-height-t, var(--bkbg-cshw-qt-line-height-d, 1.65)));
220 letter-spacing: var(--bkbg-cshw-qt-letter-spacing-m, var(--bkbg-cshw-qt-letter-spacing-t, var(--bkbg-cshw-qt-letter-spacing-d, normal)));
221 word-spacing: var(--bkbg-cshw-qt-word-spacing-m, var(--bkbg-cshw-qt-word-spacing-t, var(--bkbg-cshw-qt-word-spacing-d, normal)));
222 }
223 }
224
225 /* ── Responsive ── */
226 @media (max-width: 900px) {
227 .bkbg-cshw-layout--grid .bkbg-cshw-logos {
228 grid-template-columns: repeat(4, 1fr);
229 }
230 }
231 @media (max-width: 620px) {
232 .bkbg-cshw-logos {
233 gap: 20px;
234 }
235 .bkbg-cshw-layout--grid .bkbg-cshw-logos {
236 grid-template-columns: repeat(3, 1fr);
237 }
238 .bkbg-cshw-quote {
239 padding: 24px 20px;
240 }
241 }
242 @media (max-width: 420px) {
243 .bkbg-cshw-layout--grid .bkbg-cshw-logos {
244 grid-template-columns: repeat(2, 1fr);
245 }
246 }
247