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 / comparison-guide / style.css

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

244 lines 7.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ===== Comparison Guide Block ===== */
2 .bkbg-cg-wrap {
3 font-family: inherit;
4 overflow: hidden;
5 }
6
7 /* Header */
8 .bkbg-cg-header {
9 padding: 22px 28px 18px;
10 }
11 .bkbg-cg-title {
12 margin: 0 0 10px;
13 padding: 0;
14 font-family: var(--bkcg-title-font-family, inherit);
15 font-size: var(--bkcg-title-font-size-d, 24px);
16 font-weight: var(--bkcg-title-font-weight, 700);
17 line-height: var(--bkcg-title-line-height-d, 1.2);
18 text-transform: var(--bkcg-title-text-transform, none);
19 font-style: var(--bkcg-title-font-style, normal);
20 text-decoration: var(--bkcg-title-text-decoration, none);
21 letter-spacing: var(--bkcg-title-letter-spacing-d, normal);
22 word-spacing: var(--bkcg-title-word-spacing-d, normal);
23 }
24 .bkbg-cg-intro {
25 margin: 0;
26 padding: 0;
27 font-family: var(--bkcg-body-font-family, inherit);
28 font-size: var(--bkcg-body-font-size-d, 14px);
29 font-weight: var(--bkcg-body-font-weight, 400);
30 line-height: var(--bkcg-body-line-height-d, 1.7);
31 text-transform: var(--bkcg-body-text-transform, none);
32 font-style: var(--bkcg-body-font-style, normal);
33 text-decoration: var(--bkcg-body-text-decoration, none);
34 letter-spacing: var(--bkcg-body-letter-spacing-d, normal);
35 word-spacing: var(--bkcg-body-word-spacing-d, normal);
36 }
37
38 /* Two-column item header */
39 .bkbg-cg-cols {
40 display: grid;
41 grid-template-columns: 1fr auto 1fr;
42 }
43 .bkbg-cg-item {
44 padding: 20px 24px;
45 text-align: center;
46 }
47 .bkbg-cg-emoji {
48 font-size: 36px;
49 line-height: 1;
50 margin-bottom: 8px;
51 }
52 .bkbg-cg-emoji svg { width: 1em; height: 1em; fill: currentColor; }
53 .bkbg-cg-emoji .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; }
54 .bkbg-cg-emoji .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; }
55 .bkbg-cg-item-name {
56 font-weight: 800;
57 font-size: 22px;
58 line-height: 1.2;
59 margin: 0 0 4px;
60 }
61 .bkbg-cg-item-desc {
62 font-size: 12px;
63 line-height: 1.5;
64 margin: 0 0 10px;
65 opacity: .8;
66 }
67 .bkbg-cg-score-num {
68 font-size: 36px;
69 font-weight: 800;
70 font-variant-numeric: tabular-nums;
71 line-height: 1;
72 margin-bottom: 2px;
73 }
74 .bkbg-cg-score-label {
75 font-size: 9px;
76 text-transform: uppercase;
77 letter-spacing: .08em;
78 opacity: .6;
79 }
80 .bkbg-cg-vs {
81 display: flex;
82 align-items: center;
83 justify-content: center;
84 padding: 0 14px;
85 background: #0f172a;
86 color: #fff;
87 font-weight: 800;
88 font-size: 14px;
89 letter-spacing: .06em;
90 writing-mode: vertical-lr;
91 text-orientation: mixed;
92 }
93
94 /* Table header row */
95 .bkbg-cg-tbl-head {
96 display: grid;
97 grid-template-columns: 2fr 1fr 1fr 1fr;
98 background: #0f172a;
99 padding: 8px 20px;
100 gap: 4px;
101 }
102 .bkbg-cg-tbl-head-cell {
103 font-size: 9px;
104 font-weight: 700;
105 text-transform: uppercase;
106 letter-spacing: .08em;
107 color: #94a3b8;
108 }
109 .bkbg-cg-tbl-head-cell.center { text-align: center; }
110
111 /* Criteria rows */
112 .bkbg-cg-row {
113 display: grid;
114 grid-template-columns: 2fr 1fr 1fr 1fr;
115 padding: 11px 20px;
116 gap: 4px;
117 align-items: center;
118 }
119 .bkbg-cg-row + .bkbg-cg-row,
120 .bkbg-cg-notes + .bkbg-cg-row,
121 .bkbg-cg-row + .bkbg-cg-notes {
122 border-top: 1px solid;
123 }
124 .bkbg-cg-crit-name {
125 font-weight: 600;
126 font-size: .9em;
127 }
128 .bkbg-cg-crit-score {
129 text-align: center;
130 font-weight: 700;
131 font-size: 17px;
132 font-variant-numeric: tabular-nums;
133 }
134 .bkbg-cg-winner-col {
135 display: flex;
136 justify-content: center;
137 }
138 .bkbg-cg-badge {
139 display: inline-block;
140 padding: 3px 9px;
141 border-radius: 100px;
142 font-size: 10px;
143 font-weight: 700;
144 white-space: nowrap;
145 }
146 .bkbg-cg-notes {
147 padding: 0 20px 10px;
148 font-family: var(--bkcg-body-font-family, inherit);
149 font-size: var(--bkcg-body-font-size-d, 13px);
150 font-style: italic;
151 line-height: var(--bkcg-body-line-height-d, 1.55);
152 border-top: none !important;
153 }
154
155 /* Verdict */
156 .bkbg-cg-verdict {
157 padding: 20px 28px;
158 }
159 .bkbg-cg-verdict-eyebrow {
160 font-size: 9px;
161 text-transform: uppercase;
162 letter-spacing: .1em;
163 opacity: .5;
164 margin-bottom: 6px;
165 }
166 .bkbg-cg-verdict-winner {
167 display: flex;
168 align-items: center;
169 gap: 10px;
170 margin-bottom: 8px;
171 }
172 .bkbg-cg-verdict-name {
173 font-weight: 800;
174 font-size: 22px;
175 line-height: 1;
176 }
177 .bkbg-cg-verdict-emoji {
178 font-size: 24px;
179 line-height: 1;
180 }
181 .bkbg-cg-verdict-emoji svg { width: 1em; height: 1em; fill: currentColor; }
182 .bkbg-cg-verdict-emoji .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; }
183 .bkbg-cg-verdict-emoji .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; }
184 .bkbg-cg-verdict-summary {
185 margin: 0;
186 opacity: .85;
187 font-family: var(--bkcg-body-font-family, inherit);
188 font-size: var(--bkcg-body-font-size-d, 14px);
189 line-height: var(--bkcg-body-line-height-d, 1.68);
190 }
191
192 /* Responsive */
193 @media (max-width: 1024px) {
194 .bkbg-cg-title {
195 font-size: var(--bkcg-title-font-size-t, var(--bkcg-title-font-size-d, 24px));
196 line-height: var(--bkcg-title-line-height-t, var(--bkcg-title-line-height-d, 1.2));
197 letter-spacing: var(--bkcg-title-letter-spacing-t, var(--bkcg-title-letter-spacing-d, normal));
198 word-spacing: var(--bkcg-title-word-spacing-t, var(--bkcg-title-word-spacing-d, normal));
199 }
200 .bkbg-cg-intro,
201 .bkbg-cg-notes,
202 .bkbg-cg-verdict-summary {
203 font-size: var(--bkcg-body-font-size-t, var(--bkcg-body-font-size-d, 14px));
204 line-height: var(--bkcg-body-line-height-t, var(--bkcg-body-line-height-d, 1.7));
205 letter-spacing: var(--bkcg-body-letter-spacing-t, var(--bkcg-body-letter-spacing-d, normal));
206 word-spacing: var(--bkcg-body-word-spacing-t, var(--bkcg-body-word-spacing-d, normal));
207 }
208 }
209 @media (max-width: 767px) {
210 .bkbg-cg-title {
211 font-size: var(--bkcg-title-font-size-m, var(--bkcg-title-font-size-t, var(--bkcg-title-font-size-d, 24px)));
212 line-height: var(--bkcg-title-line-height-m, var(--bkcg-title-line-height-t, var(--bkcg-title-line-height-d, 1.2)));
213 letter-spacing: var(--bkcg-title-letter-spacing-m, var(--bkcg-title-letter-spacing-t, var(--bkcg-title-letter-spacing-d, normal)));
214 word-spacing: var(--bkcg-title-word-spacing-m, var(--bkcg-title-word-spacing-t, var(--bkcg-title-word-spacing-d, normal)));
215 }
216 .bkbg-cg-intro,
217 .bkbg-cg-notes,
218 .bkbg-cg-verdict-summary {
219 font-size: var(--bkcg-body-font-size-m, var(--bkcg-body-font-size-t, var(--bkcg-body-font-size-d, 14px)));
220 line-height: var(--bkcg-body-line-height-m, var(--bkcg-body-line-height-t, var(--bkcg-body-line-height-d, 1.7)));
221 letter-spacing: var(--bkcg-body-letter-spacing-m, var(--bkcg-body-letter-spacing-t, var(--bkcg-body-letter-spacing-d, normal)));
222 word-spacing: var(--bkcg-body-word-spacing-m, var(--bkcg-body-word-spacing-t, var(--bkcg-body-word-spacing-d, normal)));
223 }
224 }
225
226 @media (max-width: 640px) {
227 .bkbg-cg-cols {
228 grid-template-columns: 1fr;
229 grid-template-rows: auto auto auto;
230 }
231 .bkbg-cg-vs {
232 writing-mode: horizontal-tb;
233 padding: 8px 20px;
234 }
235 .bkbg-cg-tbl-head,
236 .bkbg-cg-row {
237 grid-template-columns: 1.4fr 1fr 1fr;
238 }
239 .bkbg-cg-tbl-head .bkbg-cg-tbl-head-cell:nth-child(3),
240 .bkbg-cg-row > *:nth-child(4) {
241 display: none;
242 }
243 }
244