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

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

319 lines 11.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .bkbg-bios-wrap {
2 box-sizing: border-box;
3 }
4
5 .bkbg-bios-inner {
6 display: flex;
7 align-items: center;
8 gap: 60px;
9 padding: 0 24px;
10 box-sizing: border-box;
11 margin: 0 auto;
12 }
13
14 .bkbg-bios-inner--centered {
15 flex-direction: column;
16 text-align: center;
17 align-items: center;
18 }
19
20 .bkbg-bios-inner--right {
21 flex-direction: row-reverse;
22 }
23
24 /* === Photo === */
25 .bkbg-bios-photo-wrap {
26 position: relative;
27 flex-shrink: 0;
28 }
29
30 .bkbg-bios-decorator {
31 position: absolute;
32 inset: -16px;
33 z-index: 0;
34 pointer-events: none;
35 }
36
37 .bkbg-bios-photo {
38 width: 100%;
39 display: block;
40 position: relative;
41 z-index: 1;
42 }
43
44 .bkbg-bios-photo--circle {
45 border-radius: 50%;
46 }
47
48 .bkbg-bios-photo--square {
49 border-radius: 0;
50 }
51
52 .bkbg-bios-photo--rounded {
53 /* radius set inline */
54 }
55
56 .bkbg-bios-photo-placeholder {
57 position: relative;
58 z-index: 1;
59 background: #e5e7eb;
60 display: flex;
61 align-items: center;
62 justify-content: center;
63 font-size: 64px;
64 aspect-ratio: 3 / 4;
65 width: 100%;
66 }
67
68 /* === Text === */
69 .bkbg-bios-name {
70 margin: 0 0 6px;
71 font-family: var(--bkbg-bios-name-font-family, inherit);
72 font-weight: var(--bkbg-bios-name-font-weight, 800);
73 font-style: var(--bkbg-bios-name-font-style, normal);
74 text-transform: var(--bkbg-bios-name-text-transform, none);
75 text-decoration: var(--bkbg-bios-name-text-decoration, none);
76 font-size: var(--bkbg-bios-name-font-size-d, 36px);
77 line-height: var(--bkbg-bios-name-line-height-d, 1.2);
78 letter-spacing: var(--bkbg-bios-name-letter-spacing-d, normal);
79 word-spacing: var(--bkbg-bios-name-word-spacing-d, normal);
80 }
81
82 .bkbg-bios-title {
83 margin: 0 0 8px;
84 font-family: var(--bkbg-bios-title-font-family, inherit);
85 font-weight: var(--bkbg-bios-title-font-weight, 600);
86 font-style: var(--bkbg-bios-title-font-style, normal);
87 text-transform: var(--bkbg-bios-title-text-transform, none);
88 text-decoration: var(--bkbg-bios-title-text-decoration, none);
89 font-size: var(--bkbg-bios-title-font-size-d, 16px);
90 line-height: var(--bkbg-bios-title-line-height-d, 1.4);
91 letter-spacing: var(--bkbg-bios-title-letter-spacing-d, normal);
92 word-spacing: var(--bkbg-bios-title-word-spacing-d, normal);
93 }
94
95 .bkbg-bios-subtitle {
96 margin: 0 0 20px;
97 font-family: var(--bkbg-bios-subtitle-font-family, inherit);
98 font-weight: var(--bkbg-bios-subtitle-font-weight, 400);
99 font-style: var(--bkbg-bios-subtitle-font-style, normal);
100 text-transform: var(--bkbg-bios-subtitle-text-transform, none);
101 text-decoration: var(--bkbg-bios-subtitle-text-decoration, none);
102 font-size: var(--bkbg-bios-subtitle-font-size-d, 14px);
103 line-height: var(--bkbg-bios-subtitle-line-height-d, 1.5);
104 letter-spacing: var(--bkbg-bios-subtitle-letter-spacing-d, normal);
105 word-spacing: var(--bkbg-bios-subtitle-word-spacing-d, normal);
106 }
107
108 .bkbg-bios-credentials {
109 display: flex;
110 flex-wrap: wrap;
111 gap: 8px;
112 margin-bottom: 20px;
113 }
114
115 .bkbg-bios-credentials--centered {
116 justify-content: center;
117 }
118
119 .bkbg-bios-credential {
120 display: inline-block;
121 font-size: 12px;
122 font-weight: 600;
123 padding: 4px 12px;
124 border-radius: 999px;
125 }
126
127 .bkbg-bios-bio {
128 margin-bottom: 20px;
129 font-family: var(--bkbg-bios-bio-font-family, inherit);
130 font-weight: var(--bkbg-bios-bio-font-weight, 400);
131 font-style: var(--bkbg-bios-bio-font-style, normal);
132 text-transform: var(--bkbg-bios-bio-text-transform, none);
133 text-decoration: var(--bkbg-bios-bio-text-decoration, none);
134 font-size: var(--bkbg-bios-bio-font-size-d, 16px);
135 line-height: var(--bkbg-bios-bio-line-height-d, 1.7);
136 letter-spacing: var(--bkbg-bios-bio-letter-spacing-d, normal);
137 word-spacing: var(--bkbg-bios-bio-word-spacing-d, normal);
138 }
139
140 .bkbg-bios-bio p {
141 margin: 0 0 12px;
142 }
143
144 .bkbg-bios-bio p:last-child {
145 margin-bottom: 0;
146 }
147
148 .bkbg-bios-quote {
149 border-left-style: solid;
150 border-left-width: 4px;
151 padding-left: 20px;
152 margin: 0 0 24px;
153 font-family: var(--bkbg-bios-quote-font-family, inherit);
154 font-weight: var(--bkbg-bios-quote-font-weight, 400);
155 font-style: var(--bkbg-bios-quote-font-style, italic);
156 text-transform: var(--bkbg-bios-quote-text-transform, none);
157 text-decoration: var(--bkbg-bios-quote-text-decoration, none);
158 font-size: var(--bkbg-bios-quote-font-size-d, 17px);
159 line-height: var(--bkbg-bios-quote-line-height-d, 1.6);
160 letter-spacing: var(--bkbg-bios-quote-letter-spacing-d, normal);
161 word-spacing: var(--bkbg-bios-quote-word-spacing-d, normal);
162 }
163
164 .bkbg-bios-inner--centered .bkbg-bios-quote {
165 border-left: none;
166 padding-left: 0;
167 padding: 0 24px;
168 position: relative;
169 }
170
171 .bkbg-bios-inner--centered .bkbg-bios-quote::before {
172 content: '\201C';
173 font-size: 64px;
174 line-height: 0.5;
175 display: block;
176 margin-bottom: 12px;
177 opacity: 0.35;
178 }
179
180 .bkbg-bios-quote p {
181 margin: 0;
182 line-height: 1.6;
183 }
184
185 .bkbg-bios-actions {
186 display: flex;
187 align-items: center;
188 gap: 16px;
189 flex-wrap: wrap;
190 }
191
192 .bkbg-bios-inner--centered .bkbg-bios-actions {
193 justify-content: center;
194 }
195
196 .bkbg-bios-cta {
197 padding: 12px 24px;
198 border-radius: 8px;
199 font-weight: 700;
200 font-size: 15px;
201 text-decoration: none;
202 display: inline-block;
203 transition: filter 0.2s ease, transform 0.15s ease;
204 }
205
206 .bkbg-bios-cta:hover {
207 filter: brightness(1.08);
208 transform: translateY(-1px);
209 }
210
211 .bkbg-bios-socials {
212 display: flex;
213 gap: 10px;
214 }
215
216 .bkbg-bios-social-link {
217 display: inline-flex;
218 align-items: center;
219 justify-content: center;
220 width: 36px;
221 height: 36px;
222 border-radius: 8px;
223 border: 1.5px solid #e5e7eb;
224 font-size: 13px;
225 font-weight: 700;
226 text-decoration: none;
227 transition: border-color 0.15s, background 0.15s;
228 }
229
230 .bkbg-bios-social-link:hover {
231 background: #f3f4f6;
232 border-color: #d1d5db;
233 }
234
235 /* === Typography responsive === */
236 @media (max-width: 1024px) {
237 .bkbg-bios-name {
238 font-size: var(--bkbg-bios-name-font-size-t, var(--bkbg-bios-name-font-size-d, 36px));
239 line-height: var(--bkbg-bios-name-line-height-t, var(--bkbg-bios-name-line-height-d, 1.2));
240 letter-spacing: var(--bkbg-bios-name-letter-spacing-t, var(--bkbg-bios-name-letter-spacing-d, normal));
241 word-spacing: var(--bkbg-bios-name-word-spacing-t, var(--bkbg-bios-name-word-spacing-d, normal));
242 }
243 .bkbg-bios-title {
244 font-size: var(--bkbg-bios-title-font-size-t, var(--bkbg-bios-title-font-size-d, 16px));
245 line-height: var(--bkbg-bios-title-line-height-t, var(--bkbg-bios-title-line-height-d, 1.4));
246 letter-spacing: var(--bkbg-bios-title-letter-spacing-t, var(--bkbg-bios-title-letter-spacing-d, normal));
247 word-spacing: var(--bkbg-bios-title-word-spacing-t, var(--bkbg-bios-title-word-spacing-d, normal));
248 }
249 .bkbg-bios-subtitle {
250 font-size: var(--bkbg-bios-subtitle-font-size-t, var(--bkbg-bios-subtitle-font-size-d, 14px));
251 line-height: var(--bkbg-bios-subtitle-line-height-t, var(--bkbg-bios-subtitle-line-height-d, 1.5));
252 letter-spacing: var(--bkbg-bios-subtitle-letter-spacing-t, var(--bkbg-bios-subtitle-letter-spacing-d, normal));
253 word-spacing: var(--bkbg-bios-subtitle-word-spacing-t, var(--bkbg-bios-subtitle-word-spacing-d, normal));
254 }
255 .bkbg-bios-bio {
256 font-size: var(--bkbg-bios-bio-font-size-t, var(--bkbg-bios-bio-font-size-d, 16px));
257 line-height: var(--bkbg-bios-bio-line-height-t, var(--bkbg-bios-bio-line-height-d, 1.7));
258 letter-spacing: var(--bkbg-bios-bio-letter-spacing-t, var(--bkbg-bios-bio-letter-spacing-d, normal));
259 word-spacing: var(--bkbg-bios-bio-word-spacing-t, var(--bkbg-bios-bio-word-spacing-d, normal));
260 }
261 .bkbg-bios-quote {
262 font-size: var(--bkbg-bios-quote-font-size-t, var(--bkbg-bios-quote-font-size-d, 17px));
263 line-height: var(--bkbg-bios-quote-line-height-t, var(--bkbg-bios-quote-line-height-d, 1.6));
264 letter-spacing: var(--bkbg-bios-quote-letter-spacing-t, var(--bkbg-bios-quote-letter-spacing-d, normal));
265 word-spacing: var(--bkbg-bios-quote-word-spacing-t, var(--bkbg-bios-quote-word-spacing-d, normal));
266 }
267 }
268
269 @media (max-width: 767px) {
270 .bkbg-bios-name {
271 font-size: var(--bkbg-bios-name-font-size-m, var(--bkbg-bios-name-font-size-t, var(--bkbg-bios-name-font-size-d, 36px)));
272 line-height: var(--bkbg-bios-name-line-height-m, var(--bkbg-bios-name-line-height-t, var(--bkbg-bios-name-line-height-d, 1.2)));
273 letter-spacing: var(--bkbg-bios-name-letter-spacing-m, var(--bkbg-bios-name-letter-spacing-t, var(--bkbg-bios-name-letter-spacing-d, normal)));
274 word-spacing: var(--bkbg-bios-name-word-spacing-m, var(--bkbg-bios-name-word-spacing-t, var(--bkbg-bios-name-word-spacing-d, normal)));
275 }
276 .bkbg-bios-title {
277 font-size: var(--bkbg-bios-title-font-size-m, var(--bkbg-bios-title-font-size-t, var(--bkbg-bios-title-font-size-d, 16px)));
278 line-height: var(--bkbg-bios-title-line-height-m, var(--bkbg-bios-title-line-height-t, var(--bkbg-bios-title-line-height-d, 1.4)));
279 letter-spacing: var(--bkbg-bios-title-letter-spacing-m, var(--bkbg-bios-title-letter-spacing-t, var(--bkbg-bios-title-letter-spacing-d, normal)));
280 word-spacing: var(--bkbg-bios-title-word-spacing-m, var(--bkbg-bios-title-word-spacing-t, var(--bkbg-bios-title-word-spacing-d, normal)));
281 }
282 .bkbg-bios-subtitle {
283 font-size: var(--bkbg-bios-subtitle-font-size-m, var(--bkbg-bios-subtitle-font-size-t, var(--bkbg-bios-subtitle-font-size-d, 14px)));
284 line-height: var(--bkbg-bios-subtitle-line-height-m, var(--bkbg-bios-subtitle-line-height-t, var(--bkbg-bios-subtitle-line-height-d, 1.5)));
285 letter-spacing: var(--bkbg-bios-subtitle-letter-spacing-m, var(--bkbg-bios-subtitle-letter-spacing-t, var(--bkbg-bios-subtitle-letter-spacing-d, normal)));
286 word-spacing: var(--bkbg-bios-subtitle-word-spacing-m, var(--bkbg-bios-subtitle-word-spacing-t, var(--bkbg-bios-subtitle-word-spacing-d, normal)));
287 }
288 .bkbg-bios-bio {
289 font-size: var(--bkbg-bios-bio-font-size-m, var(--bkbg-bios-bio-font-size-t, var(--bkbg-bios-bio-font-size-d, 16px)));
290 line-height: var(--bkbg-bios-bio-line-height-m, var(--bkbg-bios-bio-line-height-t, var(--bkbg-bios-bio-line-height-d, 1.7)));
291 letter-spacing: var(--bkbg-bios-bio-letter-spacing-m, var(--bkbg-bios-bio-letter-spacing-t, var(--bkbg-bios-bio-letter-spacing-d, normal)));
292 word-spacing: var(--bkbg-bios-bio-word-spacing-m, var(--bkbg-bios-bio-word-spacing-t, var(--bkbg-bios-bio-word-spacing-d, normal)));
293 }
294 .bkbg-bios-quote {
295 font-size: var(--bkbg-bios-quote-font-size-m, var(--bkbg-bios-quote-font-size-t, var(--bkbg-bios-quote-font-size-d, 17px)));
296 line-height: var(--bkbg-bios-quote-line-height-m, var(--bkbg-bios-quote-line-height-t, var(--bkbg-bios-quote-line-height-d, 1.6)));
297 letter-spacing: var(--bkbg-bios-quote-letter-spacing-m, var(--bkbg-bios-quote-letter-spacing-t, var(--bkbg-bios-quote-letter-spacing-d, normal)));
298 word-spacing: var(--bkbg-bios-quote-word-spacing-m, var(--bkbg-bios-quote-word-spacing-t, var(--bkbg-bios-quote-word-spacing-d, normal)));
299 }
300 }
301
302 /* === Responsive === */
303 @media (max-width: 768px) {
304 .bkbg-bios-inner {
305 flex-direction: column;
306 gap: 32px;
307 }
308
309 .bkbg-bios-inner--right {
310 flex-direction: column;
311 }
312
313 .bkbg-bios-photo-wrap {
314 width: 260px !important;
315 margin: 0 auto;
316 }
317
318 }
319