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

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

231 lines 11.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ============================================================
2 Founder Quote — style.css
3 Prefix: bkbg-fq-
4 ============================================================ */
5
6 .bkbg-fq-wrap {
7 box-sizing: border-box;
8 width: 100%;
9 background: var(--bkbg-fq-bg, #ffffff);
10 padding: var(--bkbg-fq-pt, 64px) 24px var(--bkbg-fq-pb, 64px);
11 }
12
13 .bkbg-fq-inner {
14 max-width: var(--bkbg-fq-mw, 720px);
15 margin: 0 auto;
16 display: flex;
17 flex-direction: column;
18 gap: 24px;
19 }
20
21 /* Eyebrow */
22 .bkbg-fq-eyebrow {
23 font-family: var(--bkbg-fq-eb-font-family, inherit);
24 font-size: var(--bkbg-fq-eb-font-size-d, 13px);
25 font-weight: var(--bkbg-fq-eb-font-weight, 700);
26 font-style: var(--bkbg-fq-eb-font-style, normal);
27 text-decoration: var(--bkbg-fq-eb-text-decoration, none);
28 text-transform: var(--bkbg-fq-eb-text-transform, uppercase);
29 line-height: var(--bkbg-fq-eb-line-height-d, 1.3);
30 letter-spacing: var(--bkbg-fq-eb-letter-spacing-d, 0.08em);
31 word-spacing: var(--bkbg-fq-eb-word-spacing-d, normal);
32 color: var(--bkbg-fq-eyebrow-c, #6c3fb5);
33 }
34
35 /* Blockquote */
36 .bkbg-fq-quote {
37 margin: 0;
38 position: relative;
39 }
40
41 .bkbg-fq-qq {
42 font-family: Georgia, 'Times New Roman', serif;
43 font-size: 80px;
44 line-height: .9;
45 color: var(--bkbg-fq-accent, #6c3fb5);
46 opacity: .25;
47 font-style: normal;
48 display: block;
49 height: 0;
50 overflow: visible;
51 }
52 .bkbg-fq-qq--open { margin-bottom: -0.15em; }
53 .bkbg-fq-qq--close { text-align: right; margin-top: -.35em; }
54
55 .bkbg-fq-quote-text {
56 margin: 0;
57 font-family: var(--bkbg-fq-qt-font-family, inherit);
58 font-size: var(--bkbg-fq-qt-font-size-d, 20px);
59 font-weight: var(--bkbg-fq-qt-font-weight, 400);
60 font-style: var(--bkbg-fq-qt-font-style, italic);
61 text-decoration: var(--bkbg-fq-qt-text-decoration, none);
62 text-transform: var(--bkbg-fq-qt-text-transform, none);
63 line-height: var(--bkbg-fq-qt-line-height-d, 1.75);
64 letter-spacing: var(--bkbg-fq-qt-letter-spacing-d, normal);
65 word-spacing: var(--bkbg-fq-qt-word-spacing-d, normal);
66 color: var(--bkbg-fq-quote-c, #1e293b);
67 }
68
69 /* Signature */
70 .bkbg-fq-signature {
71 font-family: var(--bkbg-fq-sg-font-family, 'Brush Script MT', 'Dancing Script', 'Segoe Script', cursive);
72 font-size: var(--bkbg-fq-sg-font-size-d, 36px);
73 font-weight: var(--bkbg-fq-sg-font-weight, 400);
74 font-style: var(--bkbg-fq-sg-font-style, normal);
75 text-decoration: var(--bkbg-fq-sg-text-decoration, none);
76 text-transform: var(--bkbg-fq-sg-text-transform, none);
77 line-height: var(--bkbg-fq-sg-line-height-d, 1.1);
78 letter-spacing: var(--bkbg-fq-sg-letter-spacing-d, normal);
79 word-spacing: var(--bkbg-fq-sg-word-spacing-d, normal);
80 color: var(--bkbg-fq-accent, #6c3fb5);
81 }
82
83 /* Attribution */
84 .bkbg-fq-attr {
85 display: flex;
86 align-items: center;
87 gap: 16px;
88 flex-wrap: wrap;
89 }
90
91 .bkbg-fq-photo {
92 width: var(--bkbg-fq-photo-sz, 80px);
93 height: var(--bkbg-fq-photo-sz, 80px);
94 border-radius: 50%;
95 object-fit: cover;
96 flex-shrink: 0;
97 border: 3px solid var(--bkbg-fq-border, #e2e8f0);
98 }
99
100 .bkbg-fq-photo-placeholder {
101 background: color-mix(in srgb, var(--bkbg-fq-accent, #6c3fb5) 10%, #f1f5f9);
102 display: flex;
103 align-items: center;
104 justify-content: center;
105 }
106 .bkbg-fq-photo-placeholder .dashicons {
107 font-size: calc(var(--bkbg-fq-photo-sz, 80px) * .5);
108 color: var(--bkbg-fq-accent, #6c3fb5);
109 opacity: .5;
110 width: auto;
111 height: auto;
112 }
113
114 .bkbg-fq-attr-text { flex: 1; min-width: 0; }
115
116 .bkbg-fq-name {
117 font-family: var(--bkbg-fq-nm-font-family, inherit);
118 font-size: var(--bkbg-fq-nm-font-size-d, 16px);
119 font-weight: var(--bkbg-fq-nm-font-weight, 700);
120 font-style: var(--bkbg-fq-nm-font-style, normal);
121 text-decoration: var(--bkbg-fq-nm-text-decoration, none);
122 text-transform: var(--bkbg-fq-nm-text-transform, none);
123 line-height: var(--bkbg-fq-nm-line-height-d, 1.2);
124 letter-spacing: var(--bkbg-fq-nm-letter-spacing-d, normal);
125 word-spacing: var(--bkbg-fq-nm-word-spacing-d, normal);
126 color: var(--bkbg-fq-name-c, #0f172a);
127 }
128
129 .bkbg-fq-title {
130 font-family: var(--bkbg-fq-tt-font-family, inherit);
131 font-size: var(--bkbg-fq-tt-font-size-d, 14px);
132 font-weight: var(--bkbg-fq-tt-font-weight, 400);
133 font-style: var(--bkbg-fq-tt-font-style, normal);
134 text-decoration: var(--bkbg-fq-tt-text-decoration, none);
135 text-transform: var(--bkbg-fq-tt-text-transform, none);
136 line-height: var(--bkbg-fq-tt-line-height-d, 1.4);
137 letter-spacing: var(--bkbg-fq-tt-letter-spacing-d, normal);
138 word-spacing: var(--bkbg-fq-tt-word-spacing-d, normal);
139 color: var(--bkbg-fq-title-c, #64748b);
140 margin-top: 2px;
141 }
142
143 .bkbg-fq-company { opacity: .8; }
144
145 .bkbg-fq-company-logo {
146 height: auto;
147 opacity: .65;
148 filter: grayscale(1);
149 flex-shrink: 0;
150 }
151
152 /* ============================================================
153 Style Variants
154 ============================================================ */
155
156 /* card */
157 .bkbg-fq-style--card .bkbg-fq-inner {
158 background: var(--bkbg-fq-bg, #f8fafc);
159 border: 1px solid var(--bkbg-fq-border, #e2e8f0);
160 border-radius: 20px;
161 padding: 48px;
162 box-shadow: 0 4px 24px rgba(0,0,0,.05);
163 }
164
165 /* split: photo left, content right */
166 .bkbg-fq-style--split .bkbg-fq-inner {
167 display: grid;
168 grid-template-columns: auto 1fr;
169 gap: 48px;
170 align-items: start;
171 max-width: var(--bkbg-fq-mw, 720px);
172 }
173 .bkbg-fq-style--split .bkbg-fq-photo {
174 width: 120px;
175 height: 120px;
176 grid-row: 1 / 5;
177 }
178 .bkbg-fq-style--split .bkbg-fq-attr {
179 grid-column: 2;
180 }
181
182 /* dark */
183 .bkbg-fq-style--dark .bkbg-fq-wrap,
184 .bkbg-fq-style--dark {
185 background: #0f172a;
186 }
187 .bkbg-fq-style--dark .bkbg-fq-inner {
188 background: #0f172a;
189 }
190 .bkbg-fq-style--dark .bkbg-fq-eyebrow { color: #a78bfa; }
191 .bkbg-fq-style--dark .bkbg-fq-quote-text { color: rgba(255,255,255,.85); }
192 .bkbg-fq-style--dark .bkbg-fq-name { color: #ffffff; }
193 .bkbg-fq-style--dark .bkbg-fq-title { color: rgba(255,255,255,.5); }
194 .bkbg-fq-style--dark .bkbg-fq-qq { color: #a78bfa; opacity: .3; }
195 .bkbg-fq-style--dark .bkbg-fq-signature { color: #a78bfa; }
196
197 /* centered */
198 .bkbg-fq-style--centered .bkbg-fq-inner { align-items: center; text-align: center; }
199 .bkbg-fq-style--centered .bkbg-fq-attr { justify-content: center; }
200 .bkbg-fq-style--centered .bkbg-fq-qq--close { text-align: center; }
201
202 /* border-left */
203 .bkbg-fq-style--border-left .bkbg-fq-inner {
204 border-left: 4px solid var(--bkbg-fq-accent, #6c3fb5);
205 padding-left: 32px;
206 }
207 .bkbg-fq-style--border-left .bkbg-fq-qq { display: none; }
208
209 /* Typography responsive */
210 @media (max-width: 1024px) {
211 .bkbg-fq-eyebrow { font-size: var(--bkbg-fq-eb-font-size-t, var(--bkbg-fq-eb-font-size-d, 13px)); line-height: var(--bkbg-fq-eb-line-height-t, var(--bkbg-fq-eb-line-height-d, 1.3)); letter-spacing: var(--bkbg-fq-eb-letter-spacing-t, var(--bkbg-fq-eb-letter-spacing-d, 0.08em)); word-spacing: var(--bkbg-fq-eb-word-spacing-t, var(--bkbg-fq-eb-word-spacing-d, normal)); }
212 .bkbg-fq-quote-text { font-size: var(--bkbg-fq-qt-font-size-t, var(--bkbg-fq-qt-font-size-d, 20px)); line-height: var(--bkbg-fq-qt-line-height-t, var(--bkbg-fq-qt-line-height-d, 1.75)); letter-spacing: var(--bkbg-fq-qt-letter-spacing-t, var(--bkbg-fq-qt-letter-spacing-d, normal)); word-spacing: var(--bkbg-fq-qt-word-spacing-t, var(--bkbg-fq-qt-word-spacing-d, normal)); }
213 .bkbg-fq-name { font-size: var(--bkbg-fq-nm-font-size-t, var(--bkbg-fq-nm-font-size-d, 16px)); line-height: var(--bkbg-fq-nm-line-height-t, var(--bkbg-fq-nm-line-height-d, 1.2)); letter-spacing: var(--bkbg-fq-nm-letter-spacing-t, var(--bkbg-fq-nm-letter-spacing-d, normal)); word-spacing: var(--bkbg-fq-nm-word-spacing-t, var(--bkbg-fq-nm-word-spacing-d, normal)); }
214 .bkbg-fq-title { font-size: var(--bkbg-fq-tt-font-size-t, var(--bkbg-fq-tt-font-size-d, 14px)); line-height: var(--bkbg-fq-tt-line-height-t, var(--bkbg-fq-tt-line-height-d, 1.4)); letter-spacing: var(--bkbg-fq-tt-letter-spacing-t, var(--bkbg-fq-tt-letter-spacing-d, normal)); word-spacing: var(--bkbg-fq-tt-word-spacing-t, var(--bkbg-fq-tt-word-spacing-d, normal)); }
215 .bkbg-fq-signature { font-size: var(--bkbg-fq-sg-font-size-t, var(--bkbg-fq-sg-font-size-d, 36px)); line-height: var(--bkbg-fq-sg-line-height-t, var(--bkbg-fq-sg-line-height-d, 1.1)); letter-spacing: var(--bkbg-fq-sg-letter-spacing-t, var(--bkbg-fq-sg-letter-spacing-d, normal)); word-spacing: var(--bkbg-fq-sg-word-spacing-t, var(--bkbg-fq-sg-word-spacing-d, normal)); }
216 }
217 @media (max-width: 767px) {
218 .bkbg-fq-eyebrow { font-size: var(--bkbg-fq-eb-font-size-m, var(--bkbg-fq-eb-font-size-t, var(--bkbg-fq-eb-font-size-d, 13px))); line-height: var(--bkbg-fq-eb-line-height-m, var(--bkbg-fq-eb-line-height-t, var(--bkbg-fq-eb-line-height-d, 1.3))); letter-spacing: var(--bkbg-fq-eb-letter-spacing-m, var(--bkbg-fq-eb-letter-spacing-t, var(--bkbg-fq-eb-letter-spacing-d, 0.08em))); word-spacing: var(--bkbg-fq-eb-word-spacing-m, var(--bkbg-fq-eb-word-spacing-t, var(--bkbg-fq-eb-word-spacing-d, normal))); }
219 .bkbg-fq-quote-text { font-size: var(--bkbg-fq-qt-font-size-m, var(--bkbg-fq-qt-font-size-t, var(--bkbg-fq-qt-font-size-d, 20px))); line-height: var(--bkbg-fq-qt-line-height-m, var(--bkbg-fq-qt-line-height-t, var(--bkbg-fq-qt-line-height-d, 1.75))); letter-spacing: var(--bkbg-fq-qt-letter-spacing-m, var(--bkbg-fq-qt-letter-spacing-t, var(--bkbg-fq-qt-letter-spacing-d, normal))); word-spacing: var(--bkbg-fq-qt-word-spacing-m, var(--bkbg-fq-qt-word-spacing-t, var(--bkbg-fq-qt-word-spacing-d, normal))); }
220 .bkbg-fq-name { font-size: var(--bkbg-fq-nm-font-size-m, var(--bkbg-fq-nm-font-size-t, var(--bkbg-fq-nm-font-size-d, 16px))); line-height: var(--bkbg-fq-nm-line-height-m, var(--bkbg-fq-nm-line-height-t, var(--bkbg-fq-nm-line-height-d, 1.2))); letter-spacing: var(--bkbg-fq-nm-letter-spacing-m, var(--bkbg-fq-nm-letter-spacing-t, var(--bkbg-fq-nm-letter-spacing-d, normal))); word-spacing: var(--bkbg-fq-nm-word-spacing-m, var(--bkbg-fq-nm-word-spacing-t, var(--bkbg-fq-nm-word-spacing-d, normal))); }
221 .bkbg-fq-title { font-size: var(--bkbg-fq-tt-font-size-m, var(--bkbg-fq-tt-font-size-t, var(--bkbg-fq-tt-font-size-d, 14px))); line-height: var(--bkbg-fq-tt-line-height-m, var(--bkbg-fq-tt-line-height-t, var(--bkbg-fq-tt-line-height-d, 1.4))); letter-spacing: var(--bkbg-fq-tt-letter-spacing-m, var(--bkbg-fq-tt-letter-spacing-t, var(--bkbg-fq-tt-letter-spacing-d, normal))); word-spacing: var(--bkbg-fq-tt-word-spacing-m, var(--bkbg-fq-tt-word-spacing-t, var(--bkbg-fq-tt-word-spacing-d, normal))); }
222 .bkbg-fq-signature { font-size: var(--bkbg-fq-sg-font-size-m, var(--bkbg-fq-sg-font-size-t, var(--bkbg-fq-sg-font-size-d, 36px))); line-height: var(--bkbg-fq-sg-line-height-m, var(--bkbg-fq-sg-line-height-t, var(--bkbg-fq-sg-line-height-d, 1.1))); letter-spacing: var(--bkbg-fq-sg-letter-spacing-m, var(--bkbg-fq-sg-letter-spacing-t, var(--bkbg-fq-sg-letter-spacing-d, normal))); word-spacing: var(--bkbg-fq-sg-word-spacing-m, var(--bkbg-fq-sg-word-spacing-t, var(--bkbg-fq-sg-word-spacing-d, normal))); }
223 }
224
225 /* Responsive */
226 @media (max-width: 640px) {
227 .bkbg-fq-style--split .bkbg-fq-inner { grid-template-columns: 1fr; gap: 20px; }
228 .bkbg-fq-style--split .bkbg-fq-photo { grid-row: auto; width: 70px; height: 70px; }
229 .bkbg-fq-style--card .bkbg-fq-inner { padding: 28px 24px; }
230 }
231