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

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

260 lines 10.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .bkbg-faqs-wrap {
2 box-sizing: border-box;
3 }
4
5 .bkbg-faqs-header {
6 margin-bottom: 48px;
7 }
8
9 .bkbg-faqs-eyebrow {
10 font-family: var(--bkbg-fsec-eb-font-family, inherit);
11 font-size: var(--bkbg-fsec-eb-font-size-d, 12px);
12 font-weight: var(--bkbg-fsec-eb-font-weight, 700);
13 line-height: var(--bkbg-fsec-eb-line-height-d, 1.2);
14 text-transform: var(--bkbg-fsec-eb-text-transform, uppercase);
15 font-style: var(--bkbg-fsec-eb-font-style, normal);
16 text-decoration: var(--bkbg-fsec-eb-text-decoration, none);
17 letter-spacing: var(--bkbg-fsec-eb-letter-spacing-d, .08em);
18 word-spacing: var(--bkbg-fsec-eb-word-spacing-d, normal);
19 }
20
21 .bkbg-faqs-header .bkbg-faqs-heading {
22 font-family: var(--bkbg-fsec-hd-font-family, inherit);
23 font-size: var(--bkbg-fsec-hd-font-size-d, 40px);
24 font-weight: var(--bkbg-fsec-hd-font-weight, 800);
25 line-height: var(--bkbg-fsec-hd-line-height-d, 1.2);
26 text-transform: var(--bkbg-fsec-hd-text-transform, none);
27 font-style: var(--bkbg-fsec-hd-font-style, normal);
28 text-decoration: var(--bkbg-fsec-hd-text-decoration, none);
29 letter-spacing: var(--bkbg-fsec-hd-letter-spacing-d, -.03em);
30 word-spacing: var(--bkbg-fsec-hd-word-spacing-d, normal);
31 }
32
33 .bkbg-faqs-subtext {
34 font-family: var(--bkbg-fsec-st-font-family, inherit);
35 font-size: var(--bkbg-fsec-st-font-size-d, 17px);
36 font-weight: var(--bkbg-fsec-st-font-weight, normal);
37 line-height: var(--bkbg-fsec-st-line-height-d, 1.6);
38 text-transform: var(--bkbg-fsec-st-text-transform, none);
39 font-style: var(--bkbg-fsec-st-font-style, normal);
40 text-decoration: var(--bkbg-fsec-st-text-decoration, none);
41 letter-spacing: var(--bkbg-fsec-st-letter-spacing-d, normal);
42 word-spacing: var(--bkbg-fsec-st-word-spacing-d, normal);
43 }
44
45 /* === Accordion items === */
46 .bkbg-faqs-accordion {
47 position: relative;
48 }
49
50 .bkbg-faqs-item {
51 box-sizing: border-box;
52 transition: background 0.15s ease;
53 }
54
55 .bkbg-faqs-item--open .bkbg-faqs-question-row {
56 color: inherit;
57 }
58
59 .bkbg-faqs-question-row {
60 display: flex;
61 align-items: center;
62 justify-content: space-between;
63 gap: 12px;
64 cursor: pointer;
65 padding: 18px 0;
66 user-select: none;
67 list-style: none;
68 }
69
70 .bkbg-faqs-question-row::-webkit-details-marker {
71 display: none;
72 }
73
74 .bkbg-faqs-question {
75 font-family: var(--bkbg-fsec-qt-font-family, inherit);
76 font-size: var(--bkbg-fsec-qt-font-size-d, 16px);
77 font-weight: var(--bkbg-fsec-qt-font-weight, 600);
78 line-height: var(--bkbg-fsec-qt-line-height-d, 1.4);
79 text-transform: var(--bkbg-fsec-qt-text-transform, none);
80 font-style: var(--bkbg-fsec-qt-font-style, normal);
81 text-decoration: var(--bkbg-fsec-qt-text-decoration, none);
82 letter-spacing: var(--bkbg-fsec-qt-letter-spacing-d, normal);
83 word-spacing: var(--bkbg-fsec-qt-word-spacing-d, normal);
84 flex: 1;
85 transition: color 0.15s ease;
86 }
87
88 .bkbg-faqs-icon {
89 flex-shrink: 0;
90 display: inline-block;
91 transition: transform 0.25s ease;
92 color: currentColor;
93 font-size: 18px;
94 }
95
96 .bkbg-faqs-item--open .bkbg-faqs-icon--chevron {
97 transform: rotate(180deg);
98 }
99
100 .bkbg-faqs-item--open .bkbg-faqs-icon--arrow {
101 transform: rotate(90deg);
102 }
103
104 .bkbg-faqs-answer {
105 overflow: hidden;
106 max-height: 0;
107 transition: max-height 0.3s ease, padding 0.2s ease;
108 padding-bottom: 0;
109 }
110
111 .bkbg-faqs-item--open .bkbg-faqs-answer {
112 max-height: 600px;
113 padding-bottom: 18px;
114 }
115
116 .bkbg-faqs-answer p,
117 .bkbg-faqs-answer-p {
118 margin: 0;
119 font-family: var(--bkbg-fsec-an-font-family, inherit);
120 font-size: var(--bkbg-fsec-an-font-size-d, 15px);
121 font-weight: var(--bkbg-fsec-an-font-weight, normal);
122 line-height: var(--bkbg-fsec-an-line-height-d, 1.65);
123 text-transform: var(--bkbg-fsec-an-text-transform, none);
124 font-style: var(--bkbg-fsec-an-font-style, normal);
125 text-decoration: var(--bkbg-fsec-an-text-decoration, none);
126 letter-spacing: var(--bkbg-fsec-an-letter-spacing-d, normal);
127 word-spacing: var(--bkbg-fsec-an-word-spacing-d, normal);
128 }
129
130 .bkbg-faqs-cta-text {
131 font-size: 15px;
132 }
133
134 .bkbg-faqs-cta-link {
135 font-size: 15px;
136 font-weight: 600;
137 }
138
139 /* === Split layout === */
140 .bkbg-faqs-inner--split {
141 display: flex;
142 gap: 64px;
143 align-items: flex-start;
144 }
145
146 .bkbg-faqs-inner--split .bkbg-faqs-header {
147 flex: 0 0 320px;
148 position: sticky;
149 top: 100px;
150 margin-bottom: 0;
151 }
152
153 .bkbg-faqs-inner--split .bkbg-faqs-body {
154 flex: 1;
155 }
156
157 /* === Two-column layout === */
158 .bkbg-faqs-inner--two-column .bkbg-faqs-accordion {
159 columns: 2;
160 gap: 0 40px;
161 }
162
163 .bkbg-faqs-inner--two-column .bkbg-faqs-item {
164 break-inside: avoid;
165 page-break-inside: avoid;
166 }
167
168 /* === CTA row === */
169 .bkbg-faqs-cta-row {
170 text-align: center;
171 margin-top: 40px;
172 padding-top: 24px;
173 }
174
175 /* === Responsive === */
176 @media (max-width: 1024px) {
177 .bkbg-faqs-eyebrow {
178 font-size: var(--bkbg-fsec-eb-font-size-t, var(--bkbg-fsec-eb-font-size-d, 12px));
179 line-height: var(--bkbg-fsec-eb-line-height-t, var(--bkbg-fsec-eb-line-height-d, 1.2));
180 letter-spacing: var(--bkbg-fsec-eb-letter-spacing-t, var(--bkbg-fsec-eb-letter-spacing-d, .08em));
181 word-spacing: var(--bkbg-fsec-eb-word-spacing-t, var(--bkbg-fsec-eb-word-spacing-d, normal));
182 }
183 .bkbg-faqs-header .bkbg-faqs-heading {
184 font-size: var(--bkbg-fsec-hd-font-size-t, var(--bkbg-fsec-hd-font-size-d, 40px));
185 line-height: var(--bkbg-fsec-hd-line-height-t, var(--bkbg-fsec-hd-line-height-d, 1.2));
186 letter-spacing: var(--bkbg-fsec-hd-letter-spacing-t, var(--bkbg-fsec-hd-letter-spacing-d, -.03em));
187 word-spacing: var(--bkbg-fsec-hd-word-spacing-t, var(--bkbg-fsec-hd-word-spacing-d, normal));
188 }
189 .bkbg-faqs-subtext {
190 font-size: var(--bkbg-fsec-st-font-size-t, var(--bkbg-fsec-st-font-size-d, 17px));
191 line-height: var(--bkbg-fsec-st-line-height-t, var(--bkbg-fsec-st-line-height-d, 1.6));
192 letter-spacing: var(--bkbg-fsec-st-letter-spacing-t, var(--bkbg-fsec-st-letter-spacing-d, normal));
193 word-spacing: var(--bkbg-fsec-st-word-spacing-t, var(--bkbg-fsec-st-word-spacing-d, normal));
194 }
195 .bkbg-faqs-question {
196 font-size: var(--bkbg-fsec-qt-font-size-t, var(--bkbg-fsec-qt-font-size-d, 16px));
197 line-height: var(--bkbg-fsec-qt-line-height-t, var(--bkbg-fsec-qt-line-height-d, 1.4));
198 letter-spacing: var(--bkbg-fsec-qt-letter-spacing-t, var(--bkbg-fsec-qt-letter-spacing-d, normal));
199 word-spacing: var(--bkbg-fsec-qt-word-spacing-t, var(--bkbg-fsec-qt-word-spacing-d, normal));
200 }
201 .bkbg-faqs-answer p,
202 .bkbg-faqs-answer-p {
203 font-size: var(--bkbg-fsec-an-font-size-t, var(--bkbg-fsec-an-font-size-d, 15px));
204 line-height: var(--bkbg-fsec-an-line-height-t, var(--bkbg-fsec-an-line-height-d, 1.65));
205 letter-spacing: var(--bkbg-fsec-an-letter-spacing-t, var(--bkbg-fsec-an-letter-spacing-d, normal));
206 word-spacing: var(--bkbg-fsec-an-word-spacing-t, var(--bkbg-fsec-an-word-spacing-d, normal));
207 }
208 }
209
210 @media (max-width: 767px) {
211 .bkbg-faqs-eyebrow {
212 font-size: var(--bkbg-fsec-eb-font-size-m, var(--bkbg-fsec-eb-font-size-t, var(--bkbg-fsec-eb-font-size-d, 12px)));
213 line-height: var(--bkbg-fsec-eb-line-height-m, var(--bkbg-fsec-eb-line-height-t, var(--bkbg-fsec-eb-line-height-d, 1.2)));
214 letter-spacing: var(--bkbg-fsec-eb-letter-spacing-m, var(--bkbg-fsec-eb-letter-spacing-t, var(--bkbg-fsec-eb-letter-spacing-d, .08em)));
215 word-spacing: var(--bkbg-fsec-eb-word-spacing-m, var(--bkbg-fsec-eb-word-spacing-t, var(--bkbg-fsec-eb-word-spacing-d, normal)));
216 }
217 .bkbg-faqs-header .bkbg-faqs-heading {
218 font-size: var(--bkbg-fsec-hd-font-size-m, var(--bkbg-fsec-hd-font-size-t, var(--bkbg-fsec-hd-font-size-d, 40px)));
219 line-height: var(--bkbg-fsec-hd-line-height-m, var(--bkbg-fsec-hd-line-height-t, var(--bkbg-fsec-hd-line-height-d, 1.2)));
220 letter-spacing: var(--bkbg-fsec-hd-letter-spacing-m, var(--bkbg-fsec-hd-letter-spacing-t, var(--bkbg-fsec-hd-letter-spacing-d, -.03em)));
221 word-spacing: var(--bkbg-fsec-hd-word-spacing-m, var(--bkbg-fsec-hd-word-spacing-t, var(--bkbg-fsec-hd-word-spacing-d, normal)));
222 }
223 .bkbg-faqs-subtext {
224 font-size: var(--bkbg-fsec-st-font-size-m, var(--bkbg-fsec-st-font-size-t, var(--bkbg-fsec-st-font-size-d, 17px)));
225 line-height: var(--bkbg-fsec-st-line-height-m, var(--bkbg-fsec-st-line-height-t, var(--bkbg-fsec-st-line-height-d, 1.6)));
226 letter-spacing: var(--bkbg-fsec-st-letter-spacing-m, var(--bkbg-fsec-st-letter-spacing-t, var(--bkbg-fsec-st-letter-spacing-d, normal)));
227 word-spacing: var(--bkbg-fsec-st-word-spacing-m, var(--bkbg-fsec-st-word-spacing-t, var(--bkbg-fsec-st-word-spacing-d, normal)));
228 }
229 .bkbg-faqs-question {
230 font-size: var(--bkbg-fsec-qt-font-size-m, var(--bkbg-fsec-qt-font-size-t, var(--bkbg-fsec-qt-font-size-d, 16px)));
231 line-height: var(--bkbg-fsec-qt-line-height-m, var(--bkbg-fsec-qt-line-height-t, var(--bkbg-fsec-qt-line-height-d, 1.4)));
232 letter-spacing: var(--bkbg-fsec-qt-letter-spacing-m, var(--bkbg-fsec-qt-letter-spacing-t, var(--bkbg-fsec-qt-letter-spacing-d, normal)));
233 word-spacing: var(--bkbg-fsec-qt-word-spacing-m, var(--bkbg-fsec-qt-word-spacing-t, var(--bkbg-fsec-qt-word-spacing-d, normal)));
234 }
235 .bkbg-faqs-answer p,
236 .bkbg-faqs-answer-p {
237 font-size: var(--bkbg-fsec-an-font-size-m, var(--bkbg-fsec-an-font-size-t, var(--bkbg-fsec-an-font-size-d, 15px)));
238 line-height: var(--bkbg-fsec-an-line-height-m, var(--bkbg-fsec-an-line-height-t, var(--bkbg-fsec-an-line-height-d, 1.65)));
239 letter-spacing: var(--bkbg-fsec-an-letter-spacing-m, var(--bkbg-fsec-an-letter-spacing-t, var(--bkbg-fsec-an-letter-spacing-d, normal)));
240 word-spacing: var(--bkbg-fsec-an-word-spacing-m, var(--bkbg-fsec-an-word-spacing-t, var(--bkbg-fsec-an-word-spacing-d, normal)));
241 }
242 }
243
244 @media (max-width: 768px) {
245 .bkbg-faqs-inner--split {
246 flex-direction: column;
247 gap: 32px;
248 }
249
250 .bkbg-faqs-inner--split .bkbg-faqs-header {
251 flex: auto;
252 width: 100%;
253 position: static;
254 }
255
256 .bkbg-faqs-inner--two-column .bkbg-faqs-accordion {
257 columns: 1;
258 }
259 }
260