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 / embed-preview / style.css

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

210 lines 7.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .bkbg-ep-wrap {
2 max-width: 100%;
3 margin: 0 auto;
4 border-radius: inherit;
5 overflow: hidden;
6 }
7
8 .bkbg-ep-container {
9 position: relative;
10 overflow: hidden;
11 background: #1e293b;
12 }
13
14 /* Aspect ratio variants */
15 .bkbg-ep-container.ratio-16-9 { padding-bottom: 56.25%; height: 0; }
16 .bkbg-ep-container.ratio-4-3 { padding-bottom: 75%; height: 0; }
17 .bkbg-ep-container.ratio-1-1 { padding-bottom: 100%; height: 0; }
18 .bkbg-ep-container.ratio-3-2 { padding-bottom: 66.67%; height: 0; }
19 .bkbg-ep-container.ratio-21-9 { padding-bottom: 42.86%; height: 0; }
20
21 /* Fills the padded container for ratio modes */
22 .bkbg-ep-container.ratio-16-9 > *,
23 .bkbg-ep-container.ratio-4-3 > *,
24 .bkbg-ep-container.ratio-1-1 > *,
25 .bkbg-ep-container.ratio-3-2 > *,
26 .bkbg-ep-container.ratio-21-9 > * {
27 position: absolute;
28 inset: 0;
29 width: 100%;
30 height: 100%;
31 }
32
33 .bkbg-ep-thumbnail {
34 position: absolute;
35 inset: 0;
36 width: 100%;
37 height: 100%;
38 object-fit: cover;
39 display: block;
40 }
41
42 .bkbg-ep-overlay {
43 position: absolute;
44 inset: 0;
45 display: flex;
46 flex-direction: column;
47 align-items: center;
48 justify-content: center;
49 gap: 14px;
50 padding: 24px;
51 text-align: center;
52 cursor: pointer;
53 user-select: none;
54 box-sizing: border-box;
55 }
56
57 .bkbg-ep-overlay:hover .bkbg-ep-cta {
58 opacity: 0.9;
59 transform: scale(1.04);
60 }
61
62 .bkbg-ep-badge {
63 position: absolute;
64 top: 14px;
65 left: 14px;
66 background: rgba(255, 255, 255, 0.13);
67 border: 1px solid rgba(255, 255, 255, 0.2);
68 backdrop-filter: blur(4px);
69 border-radius: 8px;
70 padding: 4px 10px;
71 font-size: 13px;
72 color: #fff;
73 font-weight: 500;
74 letter-spacing: 0.01em;
75 }
76
77 .bkbg-ep-title {
78 font-family: var(--bkbg-ep-ttl-font-family, inherit);
79 font-size: var(--bkbg-ep-ttl-font-size-d, 18px);
80 font-weight: var(--bkbg-ep-ttl-font-weight, 700);
81 line-height: var(--bkbg-ep-ttl-line-height-d, 1.3);
82 font-style: var(--bkbg-ep-ttl-font-style, normal);
83 text-decoration: var(--bkbg-ep-ttl-text-decoration, none);
84 text-transform: var(--bkbg-ep-ttl-text-transform, none);
85 letter-spacing: var(--bkbg-ep-ttl-letter-spacing-d, normal);
86 word-spacing: var(--bkbg-ep-ttl-word-spacing-d, normal);
87 margin: 0;
88 }
89
90 .bkbg-ep-description {
91 font-family: var(--bkbg-ep-dsc-font-family, inherit);
92 font-size: var(--bkbg-ep-dsc-font-size-d, 14px);
93 font-weight: var(--bkbg-ep-dsc-font-weight, 400);
94 line-height: var(--bkbg-ep-dsc-line-height-d, 1.55);
95 font-style: var(--bkbg-ep-dsc-font-style, normal);
96 text-decoration: var(--bkbg-ep-dsc-text-decoration, none);
97 text-transform: var(--bkbg-ep-dsc-text-transform, none);
98 letter-spacing: var(--bkbg-ep-dsc-letter-spacing-d, normal);
99 word-spacing: var(--bkbg-ep-dsc-word-spacing-d, normal);
100 margin: 0;
101 max-width: 520px;
102 }
103
104 .bkbg-ep-cta {
105 display: inline-flex;
106 align-items: center;
107 gap: 6px;
108 padding: 10px 24px;
109 font-family: var(--bkbg-ep-cta-font-family, inherit);
110 font-size: var(--bkbg-ep-cta-font-size-d, 14px);
111 font-weight: var(--bkbg-ep-cta-font-weight, 600);
112 line-height: var(--bkbg-ep-cta-line-height-d, 1);
113 font-style: var(--bkbg-ep-cta-font-style, normal);
114 text-transform: var(--bkbg-ep-cta-text-transform, none);
115 letter-spacing: var(--bkbg-ep-cta-letter-spacing-d, normal);
116 word-spacing: var(--bkbg-ep-cta-word-spacing-d, normal);
117 border-radius: 8px;
118 cursor: pointer;
119 transition: opacity 0.18s, transform 0.18s;
120 border: 2px solid transparent;
121 white-space: nowrap;
122 }
123
124 .bkbg-ep-cta.style-outline {
125 background: transparent !important;
126 }
127
128 .bkbg-ep-cta.style-ghost {
129 background: transparent !important;
130 border-color: transparent !important;
131 }
132
133 .bkbg-ep-privacy {
134 position: absolute;
135 bottom: 10px;
136 font-size: 11px;
137 opacity: 0.8;
138 margin: 0;
139 }
140
141 .bkbg-ep-iframe {
142 position: absolute;
143 inset: 0;
144 width: 100%;
145 height: 100%;
146 border: none;
147 display: block;
148 }
149
150 /* Loading bar */
151 .bkbg-ep-loading {
152 position: absolute;
153 top: 0;
154 left: 0;
155 height: 3px;
156 width: 0%;
157 border-radius: 0 2px 2px 0;
158 animation: bkbg-ep-load 2s ease-out forwards;
159 pointer-events: none;
160 z-index: 10;
161 }
162
163 @keyframes bkbg-ep-load {
164 0% { width: 0%; opacity: 1; }
165 80% { width: 90%; opacity: 1; }
166 100% { width: 100%; opacity: 0; }
167 }
168
169 /* ── Responsive typography ── */
170 @media (max-width: 1024px) {
171 .bkbg-ep-title {
172 font-size: var(--bkbg-ep-ttl-font-size-t, var(--bkbg-ep-ttl-font-size-d, 18px));
173 line-height: var(--bkbg-ep-ttl-line-height-t, var(--bkbg-ep-ttl-line-height-d, 1.3));
174 letter-spacing: var(--bkbg-ep-ttl-letter-spacing-t, var(--bkbg-ep-ttl-letter-spacing-d, normal));
175 word-spacing: var(--bkbg-ep-ttl-word-spacing-t, var(--bkbg-ep-ttl-word-spacing-d, normal));
176 }
177 .bkbg-ep-description {
178 font-size: var(--bkbg-ep-dsc-font-size-t, var(--bkbg-ep-dsc-font-size-d, 14px));
179 line-height: var(--bkbg-ep-dsc-line-height-t, var(--bkbg-ep-dsc-line-height-d, 1.55));
180 letter-spacing: var(--bkbg-ep-dsc-letter-spacing-t, var(--bkbg-ep-dsc-letter-spacing-d, normal));
181 word-spacing: var(--bkbg-ep-dsc-word-spacing-t, var(--bkbg-ep-dsc-word-spacing-d, normal));
182 }
183 .bkbg-ep-cta {
184 font-size: var(--bkbg-ep-cta-font-size-t, var(--bkbg-ep-cta-font-size-d, 14px));
185 line-height: var(--bkbg-ep-cta-line-height-t, var(--bkbg-ep-cta-line-height-d, 1));
186 letter-spacing: var(--bkbg-ep-cta-letter-spacing-t, var(--bkbg-ep-cta-letter-spacing-d, normal));
187 word-spacing: var(--bkbg-ep-cta-word-spacing-t, var(--bkbg-ep-cta-word-spacing-d, normal));
188 }
189 }
190 @media (max-width: 767px) {
191 .bkbg-ep-title {
192 font-size: var(--bkbg-ep-ttl-font-size-m, var(--bkbg-ep-ttl-font-size-t, var(--bkbg-ep-ttl-font-size-d, 18px)));
193 line-height: var(--bkbg-ep-ttl-line-height-m, var(--bkbg-ep-ttl-line-height-t, var(--bkbg-ep-ttl-line-height-d, 1.3)));
194 letter-spacing: var(--bkbg-ep-ttl-letter-spacing-m, var(--bkbg-ep-ttl-letter-spacing-t, var(--bkbg-ep-ttl-letter-spacing-d, normal)));
195 word-spacing: var(--bkbg-ep-ttl-word-spacing-m, var(--bkbg-ep-ttl-word-spacing-t, var(--bkbg-ep-ttl-word-spacing-d, normal)));
196 }
197 .bkbg-ep-description {
198 font-size: var(--bkbg-ep-dsc-font-size-m, var(--bkbg-ep-dsc-font-size-t, var(--bkbg-ep-dsc-font-size-d, 14px)));
199 line-height: var(--bkbg-ep-dsc-line-height-m, var(--bkbg-ep-dsc-line-height-t, var(--bkbg-ep-dsc-line-height-d, 1.55)));
200 letter-spacing: var(--bkbg-ep-dsc-letter-spacing-m, var(--bkbg-ep-dsc-letter-spacing-t, var(--bkbg-ep-dsc-letter-spacing-d, normal)));
201 word-spacing: var(--bkbg-ep-dsc-word-spacing-m, var(--bkbg-ep-dsc-word-spacing-t, var(--bkbg-ep-dsc-word-spacing-d, normal)));
202 }
203 .bkbg-ep-cta {
204 font-size: var(--bkbg-ep-cta-font-size-m, var(--bkbg-ep-cta-font-size-t, var(--bkbg-ep-cta-font-size-d, 14px)));
205 line-height: var(--bkbg-ep-cta-line-height-m, var(--bkbg-ep-cta-line-height-t, var(--bkbg-ep-cta-line-height-d, 1)));
206 letter-spacing: var(--bkbg-ep-cta-letter-spacing-m, var(--bkbg-ep-cta-letter-spacing-t, var(--bkbg-ep-cta-letter-spacing-d, normal)));
207 word-spacing: var(--bkbg-ep-cta-word-spacing-m, var(--bkbg-ep-cta-word-spacing-t, var(--bkbg-ep-cta-word-spacing-d, normal)));
208 }
209 }
210