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 / post-meta / style.css

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

225 lines 5.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ========================================
2 Post Meta Bar Block Styles
3 Prefix: bkbg-pm-
4 ======================================== */
5
6 .bkbg-pm-wrap {
7 --bkbg-pm-avatar-size: 32px;
8 --bkbg-pm-gap: 14px;
9 --bkbg-pm-pad-v: 0px;
10 --bkbg-pm-pad-h: 0px;
11 --bkbg-pm-radius: 0px;
12 --bkbg-pm-tag-pv: 2px;
13 --bkbg-pm-tag-ph: 8px;
14 --bkbg-pm-tag-r: 50px;
15 --bkbg-pm-text: #64748b;
16 --bkbg-pm-link: #6c3fb5;
17 --bkbg-pm-link-hover: #4f2d99;
18 --bkbg-pm-sep-color: #cbd5e1;
19 --bkbg-pm-bg: transparent;
20 --bkbg-pm-avatar-border:#e2e8f0;
21 --bkbg-pm-tag-bg: #f1f5f9;
22 --bkbg-pm-tag-color: #475569;
23 font-family: var(--bkbg-pm-tx-font-family, inherit);
24 font-size: var(--bkbg-pm-tx-font-size-d, 14px);
25 font-weight: var(--bkbg-pm-tx-font-weight, 400);
26 font-style: var(--bkbg-pm-tx-font-style, normal);
27 text-decoration: var(--bkbg-pm-tx-text-decoration, none);
28 text-transform: var(--bkbg-pm-tx-text-transform, none);
29 line-height: var(--bkbg-pm-tx-line-height-d, 1.5);
30 letter-spacing: var(--bkbg-pm-tx-letter-spacing-d, normal);
31 word-spacing: var(--bkbg-pm-tx-word-spacing-d, normal);
32 color: var(--bkbg-pm-text);
33 background: var(--bkbg-pm-bg);
34 padding: var(--bkbg-pm-pad-v) var(--bkbg-pm-pad-h);
35 border-radius: var(--bkbg-pm-radius);
36 box-sizing: border-box;
37 }
38
39 /* ── Inner flex container ── */
40 .bkbg-pm-inner {
41 display: flex;
42 flex-wrap: wrap;
43 align-items: center;
44 gap: calc(var(--bkbg-pm-gap) * 0.5);
45 row-gap: 6px;
46 }
47
48 /* ── Separator ── */
49 .bkbg-pm-sep {
50 color: var(--bkbg-pm-sep-color);
51 user-select: none;
52 flex-shrink: 0;
53 }
54
55 /* ── Generic item ── */
56 .bkbg-pm-item {
57 display: inline-flex;
58 align-items: center;
59 gap: 4px;
60 flex-shrink: 0;
61 }
62
63 .bkbg-pm-icon {
64 font-style: normal;
65 line-height: 1;
66 }
67 .bkbg-pm-icon svg { width: 1em; height: 1em; fill: currentColor; }
68 .bkbg-pm-icon .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; }
69 .bkbg-pm-icon .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; }
70
71 .bkbg-pm-label {
72 opacity: 0.75;
73 }
74
75 /* ── Links ── */
76 .bkbg-pm-author-link,
77 .bkbg-pm-comments-link {
78 color: var(--bkbg-pm-link);
79 text-decoration: none;
80 font-weight: 500;
81 transition: color 0.2s;
82 }
83
84 .bkbg-pm-author-link:hover,
85 .bkbg-pm-comments-link:hover {
86 color: var(--bkbg-pm-link-hover);
87 text-decoration: underline;
88 }
89
90 /* ── Avatar ── */
91 .bkbg-pm-avatar {
92 flex-shrink: 0;
93 }
94
95 .bkbg-pm-avatar-img {
96 width: var(--bkbg-pm-avatar-size);
97 height: var(--bkbg-pm-avatar-size);
98 border-radius: 50%;
99 object-fit: cover;
100 border: 2px solid var(--bkbg-pm-avatar-border);
101 display: block;
102 }
103
104 .bkbg-pm-avatar-placeholder {
105 display: flex;
106 align-items: center;
107 justify-content: center;
108 width: var(--bkbg-pm-avatar-size);
109 height: var(--bkbg-pm-avatar-size);
110 border-radius: 50%;
111 background: var(--bkbg-pm-link);
112 color: white;
113 font-size: calc(var(--bkbg-pm-avatar-size) * 0.45);
114 font-weight: 600;
115 border: 2px solid var(--bkbg-pm-avatar-border);
116 flex-shrink: 0;
117 }
118
119 /* ── Tags / category pills ── */
120 .bkbg-pm-tag {
121 display: inline-flex;
122 align-items: center;
123 color: var(--bkbg-pm-link);
124 text-decoration: none;
125 transition: color 0.2s;
126 font-weight: 500;
127 }
128
129 .bkbg-pm-tag:hover {
130 color: var(--bkbg-pm-link-hover);
131 text-decoration: underline;
132 }
133
134 .bkbg-pm-tag--pill {
135 background: var(--bkbg-pm-tag-bg);
136 color: var(--bkbg-pm-tag-color);
137 border-radius: var(--bkbg-pm-tag-r);
138 padding: var(--bkbg-pm-tag-pv) var(--bkbg-pm-tag-ph);
139 font-weight: 400;
140 }
141
142 .bkbg-pm-tag--pill:hover {
143 background: var(--bkbg-pm-link);
144 color: white;
145 text-decoration: none;
146 }
147
148 .bkbg-pm-tag-sep {
149 color: var(--bkbg-pm-sep-color);
150 margin: 0 1px;
151 }
152
153 /* ── Categories & tags items ─ flex wrap ── */
154 .bkbg-pm-categories,
155 .bkbg-pm-tags {
156 display: inline-flex;
157 flex-wrap: wrap;
158 align-items: center;
159 gap: 4px;
160 }
161
162 /* ─────────────────────────────────────────
163 Layout variants
164 ───────────────────────────────────────── */
165
166 /* vertical ── stack each item */
167 .bkbg-pm-layout--vertical .bkbg-pm-inner {
168 flex-direction: column;
169 align-items: flex-start;
170 gap: 6px;
171 }
172
173 .bkbg-pm-layout--vertical .bkbg-pm-sep {
174 display: none;
175 }
176
177 /* minimal ── tight, no icons prominent */
178 .bkbg-pm-layout--minimal .bkbg-pm-inner {
179 gap: calc(var(--bkbg-pm-gap) * 0.4);
180 }
181
182 .bkbg-pm-layout--minimal .bkbg-pm-sep {
183 font-size: 0.75em;
184 opacity: 0.5;
185 }
186
187 .bkbg-pm-layout--minimal .bkbg-pm-icon {
188 display: none;
189 }
190
191 .bkbg-pm-layout--minimal .bkbg-pm-label {
192 display: none;
193 }
194
195 /* ── Responsive ── */
196 @media (max-width: 600px) {
197 .bkbg-pm-layout--horizontal .bkbg-pm-inner {
198 flex-direction: column;
199 align-items: flex-start;
200 gap: 6px;
201 }
202
203 .bkbg-pm-layout--horizontal .bkbg-pm-sep {
204 display: none;
205 }
206 }
207
208 @media (max-width: 1024px) {
209 .bkbg-pm-wrap {
210 font-size: var(--bkbg-pm-tx-font-size-t, 14px);
211 line-height: var(--bkbg-pm-tx-line-height-t, 1.5);
212 letter-spacing: var(--bkbg-pm-tx-letter-spacing-t, normal);
213 word-spacing: var(--bkbg-pm-tx-word-spacing-t, normal);
214 }
215 }
216
217 @media (max-width: 767px) {
218 .bkbg-pm-wrap {
219 font-size: var(--bkbg-pm-tx-font-size-m, 14px);
220 line-height: var(--bkbg-pm-tx-line-height-m, 1.5);
221 letter-spacing: var(--bkbg-pm-tx-letter-spacing-m, normal);
222 word-spacing: var(--bkbg-pm-tx-word-spacing-m, normal);
223 }
224 }
225