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 / sticky-sidebar / style.css

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

239 lines 6.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .bkbg-ss-app { display: block; }
2
3 /* ── Layout ── */
4 .bkbg-ss-wrap {
5 display: flex;
6 align-items: flex-start;
7 box-sizing: border-box;
8 }
9
10 .bkbg-ss-sidebar {
11 flex-shrink: 0;
12 display: flex;
13 flex-direction: column;
14 box-sizing: border-box;
15 }
16
17 /* Sticky positioning via JS (top set inline) */
18 .bkbg-ss-sidebar.is-sticky {
19 position: sticky;
20 max-height: calc(100vh - 100px);
21 overflow-y: auto;
22 }
23
24 .bkbg-ss-main {
25 flex: 1;
26 min-width: 0;
27 box-sizing: border-box;
28 }
29
30 /* ── Sidebar Styles ── */
31 .bkbg-ss-sidebar.style-card {
32 box-shadow: 0 1px 12px rgba(0,0,0,0.08);
33 }
34
35 /* ── Sidebar Image ── */
36 .bkbg-ss-img-wrap {
37 display: flex;
38 justify-content: center;
39 }
40
41 .bkbg-ss-img {
42 display: block;
43 object-fit: cover;
44 }
45
46 /* ── Sidebar Heading ── */
47 .bkbg-ss-sidebar h2.bkbg-ss-heading,
48 .bkbg-ss-sidebar h3.bkbg-ss-heading,
49 .bkbg-ss-sidebar h4.bkbg-ss-heading {
50 margin: 0;
51 font-family: var(--bkssb-hd-font-family, inherit);
52 font-size: var(--bkssb-hd-font-size-d, 18px);
53 font-weight: var(--bkssb-hd-font-weight, 700);
54 font-style: var(--bkssb-hd-font-style, normal);
55 text-decoration: var(--bkssb-hd-text-decoration, none);
56 text-transform: var(--bkssb-hd-text-transform, none);
57 line-height: var(--bkssb-hd-line-height-d, 1.3);
58 letter-spacing: var(--bkssb-hd-letter-spacing-d, normal);
59 word-spacing: var(--bkssb-hd-word-spacing-d, normal);
60 color: var(--bkssb-heading-color, #111827);
61 }
62
63 /* ── Subtext ── */
64 .bkbg-ss-subtext {
65 margin: 0;
66 font-family: var(--bkssb-st-font-family, inherit);
67 font-size: var(--bkssb-st-font-size-d, 14px);
68 font-weight: var(--bkssb-st-font-weight, var(--bkssb-st-fw, 400));
69 font-style: var(--bkssb-st-font-style, normal);
70 text-decoration: var(--bkssb-st-text-decoration, none);
71 text-transform: var(--bkssb-st-text-transform, none);
72 line-height: var(--bkssb-st-line-height-d, var(--bkssb-st-lh, 1.6));
73 letter-spacing: var(--bkssb-st-letter-spacing-d, normal);
74 word-spacing: var(--bkssb-st-word-spacing-d, normal);
75 color: var(--bkssb-text-color, #374151);
76 }
77
78 /* ── Rating Box ── */
79 .bkbg-ss-rating {
80 border-radius: 8px;
81 padding: 10px 14px;
82 background: rgba(0, 0, 0, 0.04);
83 }
84
85 .bkbg-ss-stars {
86 letter-spacing: 2px;
87 font-size: 18px;
88 line-height: 1;
89 }
90
91 .bkbg-ss-rating-score {
92 font-weight: 700;
93 margin-top: 4px;
94 font-size: 15px;
95 }
96
97 .bkbg-ss-rating-label {
98 font-size: 12px;
99 opacity: 0.7;
100 margin-top: 2px;
101 }
102
103 /* ── Bullets ── */
104 .bkbg-ss-bullets {
105 list-style: none;
106 margin: 0;
107 padding: 0;
108 display: flex;
109 flex-direction: column;
110 gap: 8px;
111 }
112
113 .bkbg-ss-bullet {
114 display: flex;
115 align-items: flex-start;
116 gap: 8px;
117 font-size: 14px;
118 line-height: 1.5;
119 }
120
121 .bkbg-ss-bullet-icon {
122 font-weight: 700;
123 flex-shrink: 0;
124 padding-top: 1px;
125 }
126
127 /* ── Contact Info ── */
128 .bkbg-ss-contact {
129 display: flex;
130 flex-direction: column;
131 gap: 6px;
132 font-size: 14px;
133 line-height: 1.5;
134 }
135
136 .bkbg-ss-contact a {
137 text-decoration: none;
138 }
139
140 /* ── CTA Button ── */
141 .bkbg-ss-cta {
142 display: block;
143 text-align: center;
144 padding: 10px 20px;
145 border-radius: 8px;
146 font-weight: 600;
147 font-size: 15px;
148 text-decoration: none;
149 cursor: pointer;
150 transition: opacity 0.2s, transform 0.2s;
151 border-width: 2px;
152 border-style: solid;
153 box-sizing: border-box;
154 }
155
156 .bkbg-ss-cta:hover {
157 opacity: 0.88;
158 transform: translateY(-1px);
159 }
160
161 /* ── Main Content ── */
162 .bkbg-ss-main-content {
163 line-height: 1.7;
164 }
165
166 .bkbg-ss-main-content h1,
167 .bkbg-ss-main-content h2,
168 .bkbg-ss-main-content h3,
169 .bkbg-ss-main-content h4 {
170 margin-top: 1.5em;
171 margin-bottom: 0.5em;
172 }
173
174 .bkbg-ss-main-content p {
175 margin-bottom: 1em;
176 }
177
178 .bkbg-ss-main-content ul,
179 .bkbg-ss-main-content ol {
180 padding-left: 1.5em;
181 margin-bottom: 1em;
182 }
183
184 /* ── Tablet ── */
185 @media (max-width: 1024px) {
186 .bkbg-ss-sidebar h2.bkbg-ss-heading,
187 .bkbg-ss-sidebar h3.bkbg-ss-heading,
188 .bkbg-ss-sidebar h4.bkbg-ss-heading {
189 font-size: var(--bkssb-hd-font-size-t, var(--bkssb-hd-font-size-d, 18px));
190 line-height: var(--bkssb-hd-line-height-t, var(--bkssb-hd-line-height-d, 1.3));
191 letter-spacing: var(--bkssb-hd-letter-spacing-t, var(--bkssb-hd-letter-spacing-d, normal));
192 word-spacing: var(--bkssb-hd-word-spacing-t, var(--bkssb-hd-word-spacing-d, normal));
193 }
194 .bkbg-ss-subtext {
195 font-size: var(--bkssb-st-font-size-t, var(--bkssb-st-font-size-d, 14px));
196 line-height: var(--bkssb-st-line-height-t, var(--bkssb-st-line-height-d, var(--bkssb-st-lh, 1.6)));
197 letter-spacing: var(--bkssb-st-letter-spacing-t, var(--bkssb-st-letter-spacing-d, normal));
198 word-spacing: var(--bkssb-st-word-spacing-t, var(--bkssb-st-word-spacing-d, normal));
199 }
200 }
201
202 /* ── Mobile ── */
203 @media (max-width: 767px) {
204 .bkbg-ss-sidebar h2.bkbg-ss-heading,
205 .bkbg-ss-sidebar h3.bkbg-ss-heading,
206 .bkbg-ss-sidebar h4.bkbg-ss-heading {
207 font-size: var(--bkssb-hd-font-size-m, var(--bkssb-hd-font-size-t, var(--bkssb-hd-font-size-d, 18px)));
208 line-height: var(--bkssb-hd-line-height-m, var(--bkssb-hd-line-height-t, var(--bkssb-hd-line-height-d, 1.3)));
209 letter-spacing: var(--bkssb-hd-letter-spacing-m, var(--bkssb-hd-letter-spacing-t, var(--bkssb-hd-letter-spacing-d, normal)));
210 word-spacing: var(--bkssb-hd-word-spacing-m, var(--bkssb-hd-word-spacing-t, var(--bkssb-hd-word-spacing-d, normal)));
211 }
212 .bkbg-ss-subtext {
213 font-size: var(--bkssb-st-font-size-m, var(--bkssb-st-font-size-t, var(--bkssb-st-font-size-d, 14px)));
214 line-height: var(--bkssb-st-line-height-m, var(--bkssb-st-line-height-t, var(--bkssb-st-line-height-d, var(--bkssb-st-lh, 1.6))));
215 letter-spacing: var(--bkssb-st-letter-spacing-m, var(--bkssb-st-letter-spacing-t, var(--bkssb-st-letter-spacing-d, normal)));
216 word-spacing: var(--bkssb-st-word-spacing-m, var(--bkssb-st-word-spacing-t, var(--bkssb-st-word-spacing-d, normal)));
217 }
218 }
219
220 /* ── Responsive ── */
221 @media (max-width: 768px) {
222 .bkbg-ss-wrap {
223 flex-direction: column !important;
224 }
225 .bkbg-ss-sidebar {
226 position: static !important;
227 flex: none !important;
228 max-width: 100% !important;
229 width: 100% !important;
230 }
231 .bkbg-ss-main {
232 width: 100%;
233 }
234 .bkbg-ss-sidebar.is-sticky {
235 max-height: none;
236 overflow-y: visible;
237 }
238 }
239