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 / image-overlap-text / style.css

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

254 lines 9.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .bkbg-iot-wrap {
2 box-sizing: border-box;
3 overflow: hidden;
4 }
5
6 .bkbg-iot-wrap *,
7 .bkbg-iot-wrap *::before,
8 .bkbg-iot-wrap *::after {
9 box-sizing: inherit;
10 }
11
12 /* ── Layout ── */
13 .bkbg-iot-inner {
14 display: flex;
15 align-items: stretch;
16 position: relative;
17 overflow: visible;
18 margin: 0 auto;
19 }
20
21 .bkbg-iot-inner--right {
22 flex-direction: row-reverse;
23 }
24
25 /* ── Image column ── */
26 .bkbg-iot-image-col {
27 position: relative;
28 flex: 0 0 55%;
29 overflow: visible;
30 }
31
32 .bkbg-iot-img {
33 display: block;
34 width: 100%;
35 min-height: 360px;
36 object-fit: cover;
37 }
38
39 /* ── Text column ── */
40 .bkbg-iot-text-col {
41 flex: 1;
42 position: relative;
43 z-index: 1;
44 display: flex;
45 flex-direction: column;
46 justify-content: center;
47 }
48
49 /* ── Decoratives ── */
50 .bkbg-iot-decor {
51 position: absolute;
52 pointer-events: none;
53 z-index: 2;
54 }
55
56 /* Dot grid — shows in bottom-right corner of image, bleeding into text */
57 .bkbg-iot-decor--dots {
58 bottom: -24px;
59 right: -24px;
60 width: 120px;
61 height: 120px;
62 background-image: radial-gradient(circle, var(--dot-color, #e5e7eb) 2px, transparent 2px);
63 background-size: 14px 14px;
64 }
65
66 .bkbg-iot-inner--right .bkbg-iot-decor--dots {
67 left: -24px;
68 right: auto;
69 }
70
71 /* Diagonal lines */
72 .bkbg-iot-decor--lines {
73 bottom: 24px;
74 right: -32px;
75 width: 80px;
76 height: 200px;
77 background-image: repeating-linear-gradient(
78 -45deg,
79 var(--accent, #7c3aed),
80 var(--accent, #7c3aed) 1px,
81 transparent 1px,
82 transparent 8px
83 );
84 opacity: 0.35;
85 }
86
87 .bkbg-iot-inner--right .bkbg-iot-decor--lines {
88 left: -32px;
89 right: auto;
90 }
91
92 /* Solid shape */
93 .bkbg-iot-decor--shape {
94 bottom: -20px;
95 right: -20px;
96 width: 80px;
97 height: 80px;
98 border-radius: 50%;
99 opacity: 0.12;
100 }
101
102 .bkbg-iot-inner--right .bkbg-iot-decor--shape {
103 left: -20px;
104 right: auto;
105 }
106
107 /* ── Typography ── */
108 .bkbg-iot-eyebrow {
109 font-family: var(--bkbg-iot-ey-font-family, inherit);
110 font-size: var(--bkbg-iot-ey-font-size-d, 12px);
111 font-weight: var(--bkbg-iot-ey-font-weight, 700);
112 font-style: var(--bkbg-iot-ey-font-style, normal);
113 text-decoration: var(--bkbg-iot-ey-text-decoration, none);
114 text-transform: var(--bkbg-iot-ey-text-transform, uppercase);
115 line-height: var(--bkbg-iot-ey-line-height-d, 1.4);
116 letter-spacing: var(--bkbg-iot-ey-letter-spacing-d, 0.1em);
117 word-spacing: var(--bkbg-iot-ey-word-spacing-d, normal);
118 margin: 0 0 12px;
119 }
120
121 .bkbg-iot-text-col h2.bkbg-iot-heading {
122 font-family: var(--bkbg-iot-h-font-family, inherit);
123 font-size: var(--bkbg-iot-h-font-size-d, 36px);
124 font-weight: var(--bkbg-iot-h-font-weight, 800);
125 font-style: var(--bkbg-iot-h-font-style, normal);
126 text-decoration: var(--bkbg-iot-h-text-decoration, none);
127 text-transform: var(--bkbg-iot-h-text-transform, none);
128 line-height: var(--bkbg-iot-h-line-height-d, 1.2);
129 letter-spacing: var(--bkbg-iot-h-letter-spacing-d, normal);
130 word-spacing: var(--bkbg-iot-h-word-spacing-d, normal);
131 margin: 0 0 16px;
132 }
133
134 .bkbg-iot-subtext {
135 font-family: var(--bkbg-iot-st-font-family, inherit);
136 font-size: var(--bkbg-iot-st-font-size-d, 18px);
137 font-weight: var(--bkbg-iot-st-font-weight, 400);
138 font-style: var(--bkbg-iot-st-font-style, normal);
139 text-decoration: var(--bkbg-iot-st-text-decoration, none);
140 text-transform: var(--bkbg-iot-st-text-transform, none);
141 line-height: var(--bkbg-iot-st-line-height-d, 1.6);
142 letter-spacing: var(--bkbg-iot-st-letter-spacing-d, normal);
143 word-spacing: var(--bkbg-iot-st-word-spacing-d, normal);
144 margin: 0 0 16px;
145 }
146
147 .bkbg-iot-body {
148 font-family: var(--bkbg-iot-bd-font-family, inherit);
149 font-size: var(--bkbg-iot-bd-font-size-d, 16px);
150 font-weight: var(--bkbg-iot-bd-font-weight, 400);
151 font-style: var(--bkbg-iot-bd-font-style, normal);
152 text-decoration: var(--bkbg-iot-bd-text-decoration, none);
153 text-transform: var(--bkbg-iot-bd-text-transform, none);
154 line-height: var(--bkbg-iot-bd-line-height-d, 1.7);
155 letter-spacing: var(--bkbg-iot-bd-letter-spacing-d, normal);
156 word-spacing: var(--bkbg-iot-bd-word-spacing-d, normal);
157 margin: 0 0 24px;
158 }
159
160 /* ── CTA ── */
161 .bkbg-iot-cta {
162 display: inline-block;
163 padding: 12px 28px;
164 border-radius: 6px;
165 font-weight: 600;
166 font-size: 15px;
167 text-decoration: none;
168 transition: opacity 0.15s, transform 0.15s;
169 align-self: flex-start;
170 }
171
172 .bkbg-iot-cta:hover {
173 opacity: 0.88;
174 transform: translateY(-1px);
175 }
176
177 /* ── Responsive Typography ── */
178 @media (max-width: 1024px) {
179 .bkbg-iot-eyebrow {
180 font-size: var(--bkbg-iot-ey-font-size-t, var(--bkbg-iot-ey-font-size-d, 12px));
181 line-height: var(--bkbg-iot-ey-line-height-t, var(--bkbg-iot-ey-line-height-d, 1.4));
182 letter-spacing: var(--bkbg-iot-ey-letter-spacing-t, var(--bkbg-iot-ey-letter-spacing-d, 0.1em));
183 word-spacing: var(--bkbg-iot-ey-word-spacing-t, var(--bkbg-iot-ey-word-spacing-d, normal));
184 }
185 .bkbg-iot-text-col h2.bkbg-iot-heading,
186 .bkbg-iot-text-col .bkbg-iot-heading {
187 font-size: var(--bkbg-iot-h-font-size-t, var(--bkbg-iot-h-font-size-d, 36px));
188 line-height: var(--bkbg-iot-h-line-height-t, var(--bkbg-iot-h-line-height-d, 1.2));
189 letter-spacing: var(--bkbg-iot-h-letter-spacing-t, var(--bkbg-iot-h-letter-spacing-d, normal));
190 word-spacing: var(--bkbg-iot-h-word-spacing-t, var(--bkbg-iot-h-word-spacing-d, normal));
191 }
192 .bkbg-iot-subtext {
193 font-size: var(--bkbg-iot-st-font-size-t, var(--bkbg-iot-st-font-size-d, 18px));
194 line-height: var(--bkbg-iot-st-line-height-t, var(--bkbg-iot-st-line-height-d, 1.6));
195 letter-spacing: var(--bkbg-iot-st-letter-spacing-t, var(--bkbg-iot-st-letter-spacing-d, normal));
196 word-spacing: var(--bkbg-iot-st-word-spacing-t, var(--bkbg-iot-st-word-spacing-d, normal));
197 }
198 .bkbg-iot-body {
199 font-size: var(--bkbg-iot-bd-font-size-t, var(--bkbg-iot-bd-font-size-d, 16px));
200 line-height: var(--bkbg-iot-bd-line-height-t, var(--bkbg-iot-bd-line-height-d, 1.7));
201 letter-spacing: var(--bkbg-iot-bd-letter-spacing-t, var(--bkbg-iot-bd-letter-spacing-d, normal));
202 word-spacing: var(--bkbg-iot-bd-word-spacing-t, var(--bkbg-iot-bd-word-spacing-d, normal));
203 }
204 }
205
206 @media (max-width: 767px) {
207 .bkbg-iot-eyebrow {
208 font-size: var(--bkbg-iot-ey-font-size-m, var(--bkbg-iot-ey-font-size-t, var(--bkbg-iot-ey-font-size-d, 12px)));
209 line-height: var(--bkbg-iot-ey-line-height-m, var(--bkbg-iot-ey-line-height-t, var(--bkbg-iot-ey-line-height-d, 1.4)));
210 letter-spacing: var(--bkbg-iot-ey-letter-spacing-m, var(--bkbg-iot-ey-letter-spacing-t, var(--bkbg-iot-ey-letter-spacing-d, 0.1em)));
211 word-spacing: var(--bkbg-iot-ey-word-spacing-m, var(--bkbg-iot-ey-word-spacing-t, var(--bkbg-iot-ey-word-spacing-d, normal)));
212 }
213 .bkbg-iot-text-col h2.bkbg-iot-heading,
214 .bkbg-iot-text-col .bkbg-iot-heading {
215 font-size: var(--bkbg-iot-h-font-size-m, var(--bkbg-iot-h-font-size-t, var(--bkbg-iot-h-font-size-d, 36px)));
216 line-height: var(--bkbg-iot-h-line-height-m, var(--bkbg-iot-h-line-height-t, var(--bkbg-iot-h-line-height-d, 1.2)));
217 letter-spacing: var(--bkbg-iot-h-letter-spacing-m, var(--bkbg-iot-h-letter-spacing-t, var(--bkbg-iot-h-letter-spacing-d, normal)));
218 word-spacing: var(--bkbg-iot-h-word-spacing-m, var(--bkbg-iot-h-word-spacing-t, var(--bkbg-iot-h-word-spacing-d, normal)));
219 }
220 .bkbg-iot-subtext {
221 font-size: var(--bkbg-iot-st-font-size-m, var(--bkbg-iot-st-font-size-t, var(--bkbg-iot-st-font-size-d, 18px)));
222 line-height: var(--bkbg-iot-st-line-height-m, var(--bkbg-iot-st-line-height-t, var(--bkbg-iot-st-line-height-d, 1.6)));
223 letter-spacing: var(--bkbg-iot-st-letter-spacing-m, var(--bkbg-iot-st-letter-spacing-t, var(--bkbg-iot-st-letter-spacing-d, normal)));
224 word-spacing: var(--bkbg-iot-st-word-spacing-m, var(--bkbg-iot-st-word-spacing-t, var(--bkbg-iot-st-word-spacing-d, normal)));
225 }
226 .bkbg-iot-body {
227 font-size: var(--bkbg-iot-bd-font-size-m, var(--bkbg-iot-bd-font-size-t, var(--bkbg-iot-bd-font-size-d, 16px)));
228 line-height: var(--bkbg-iot-bd-line-height-m, var(--bkbg-iot-bd-line-height-t, var(--bkbg-iot-bd-line-height-d, 1.7)));
229 letter-spacing: var(--bkbg-iot-bd-letter-spacing-m, var(--bkbg-iot-bd-letter-spacing-t, var(--bkbg-iot-bd-letter-spacing-d, normal)));
230 word-spacing: var(--bkbg-iot-bd-word-spacing-m, var(--bkbg-iot-bd-word-spacing-t, var(--bkbg-iot-bd-word-spacing-d, normal)));
231 }
232 }
233
234 /* ── Responsive ── */
235 @media (max-width: 768px) {
236 .bkbg-iot-inner,
237 .bkbg-iot-inner--right {
238 flex-direction: column;
239 }
240
241 .bkbg-iot-image-col {
242 flex: none;
243 width: 100%;
244 }
245
246 .bkbg-iot-img {
247 min-height: 240px;
248 }
249
250 .bkbg-iot-text-col {
251 padding: 32px 24px !important;
252 }
253 }
254