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 / event-card / style.css

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

172 lines 7.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Event Card — bkec- */
2 .bkec-wrap {
3 width: 100%;
4 box-sizing: border-box;
5 }
6 .bkec-card {
7 display: flex;
8 overflow: hidden;
9 box-sizing: border-box;
10 }
11 .bkec-date-box {
12 display: flex;
13 flex-direction: column;
14 align-items: center;
15 justify-content: center;
16 flex-shrink: 0;
17 }
18 .bkec-body {
19 display: flex;
20 flex-direction: column;
21 gap: 10px;
22 flex: 1;
23 }
24 .bkec-btn {
25 display: inline-flex;
26 align-items: center;
27 gap: 6px;
28 text-decoration: none;
29 transition: opacity 0.2s, transform 0.15s;
30 }
31 .bkec-btn:hover {
32 opacity: 0.88;
33 transform: translateY(-1px);
34 }
35
36 /* Typography — event name (h3, needs 0,2,0 specificity) */
37 .bkec-wrap .bkec-event-name {
38 font-family: var(--bkec-nm-font-family, inherit);
39 font-size: var(--bkec-nm-font-size-d, 22px);
40 font-weight: var(--bkec-nm-font-weight, 800);
41 font-style: var(--bkec-nm-font-style, normal);
42 text-transform: var(--bkec-nm-text-transform, none);
43 text-decoration: var(--bkec-nm-text-decoration, none);
44 line-height: var(--bkec-nm-line-height-d, 1.2);
45 letter-spacing: var(--bkec-nm-letter-spacing-d, normal);
46 word-spacing: var(--bkec-nm-word-spacing-d, normal);
47 }
48
49 /* Typography — description */
50 .bkec-desc {
51 font-family: var(--bkec-dc-font-family, inherit);
52 font-size: var(--bkec-dc-font-size-d, 14px);
53 font-weight: var(--bkec-dc-font-weight, 400);
54 font-style: var(--bkec-dc-font-style, normal);
55 text-transform: var(--bkec-dc-text-transform, none);
56 text-decoration: var(--bkec-dc-text-decoration, none);
57 line-height: var(--bkec-dc-line-height-d, 1.6);
58 letter-spacing: var(--bkec-dc-letter-spacing-d, normal);
59 word-spacing: var(--bkec-dc-word-spacing-d, normal);
60 }
61
62 /* Typography — badges (event type + custom) */
63 .bkec-type-badge,
64 .bkec-badge {
65 font-family: var(--bkec-ba-font-family, inherit);
66 font-size: var(--bkec-ba-font-size-d, 11px);
67 font-weight: var(--bkec-ba-font-weight, 700);
68 font-style: var(--bkec-ba-font-style, normal);
69 text-transform: var(--bkec-ba-text-transform, none);
70 text-decoration: var(--bkec-ba-text-decoration, none);
71 line-height: var(--bkec-ba-line-height-d, 1.4);
72 letter-spacing: var(--bkec-ba-letter-spacing-d, normal);
73 word-spacing: var(--bkec-ba-word-spacing-d, normal);
74 }
75
76 /* Typography — meta / info rows */
77 .bkec-info-row {
78 font-family: var(--bkec-mt-font-family, inherit);
79 font-size: var(--bkec-mt-font-size-d, 14px);
80 font-weight: var(--bkec-mt-font-weight, 400);
81 font-style: var(--bkec-mt-font-style, normal);
82 text-transform: var(--bkec-mt-text-transform, none);
83 text-decoration: var(--bkec-mt-text-decoration, none);
84 line-height: var(--bkec-mt-line-height-d, 1.4);
85 letter-spacing: var(--bkec-mt-letter-spacing-d, normal);
86 word-spacing: var(--bkec-mt-word-spacing-d, normal);
87 }
88
89 /* Typography — button */
90 .bkec-btn {
91 font-family: var(--bkec-bt-font-family, inherit);
92 font-size: var(--bkec-bt-font-size-d, 14px);
93 font-weight: var(--bkec-bt-font-weight, 700);
94 font-style: var(--bkec-bt-font-style, normal);
95 text-transform: var(--bkec-bt-text-transform, none);
96 text-decoration: none;
97 line-height: var(--bkec-bt-line-height-d, 1.4);
98 letter-spacing: var(--bkec-bt-letter-spacing-d, normal);
99 word-spacing: var(--bkec-bt-word-spacing-d, normal);
100 }
101
102 /* Responsive typography */
103 @media (max-width: 1024px) {
104 .bkec-wrap .bkec-event-name {
105 font-size: var(--bkec-nm-font-size-t, var(--bkec-nm-font-size-d, 22px));
106 line-height: var(--bkec-nm-line-height-t, var(--bkec-nm-line-height-d, 1.2));
107 letter-spacing: var(--bkec-nm-letter-spacing-t, var(--bkec-nm-letter-spacing-d, normal));
108 word-spacing: var(--bkec-nm-word-spacing-t, var(--bkec-nm-word-spacing-d, normal));
109 }
110 .bkec-desc {
111 font-size: var(--bkec-dc-font-size-t, var(--bkec-dc-font-size-d, 14px));
112 line-height: var(--bkec-dc-line-height-t, var(--bkec-dc-line-height-d, 1.6));
113 letter-spacing: var(--bkec-dc-letter-spacing-t, var(--bkec-dc-letter-spacing-d, normal));
114 word-spacing: var(--bkec-dc-word-spacing-t, var(--bkec-dc-word-spacing-d, normal));
115 }
116 .bkec-type-badge, .bkec-badge {
117 font-size: var(--bkec-ba-font-size-t, var(--bkec-ba-font-size-d, 11px));
118 line-height: var(--bkec-ba-line-height-t, var(--bkec-ba-line-height-d, 1.4));
119 letter-spacing: var(--bkec-ba-letter-spacing-t, var(--bkec-ba-letter-spacing-d, normal));
120 word-spacing: var(--bkec-ba-word-spacing-t, var(--bkec-ba-word-spacing-d, normal));
121 }
122 .bkec-info-row {
123 font-size: var(--bkec-mt-font-size-t, var(--bkec-mt-font-size-d, 14px));
124 line-height: var(--bkec-mt-line-height-t, var(--bkec-mt-line-height-d, 1.4));
125 letter-spacing: var(--bkec-mt-letter-spacing-t, var(--bkec-mt-letter-spacing-d, normal));
126 word-spacing: var(--bkec-mt-word-spacing-t, var(--bkec-mt-word-spacing-d, normal));
127 }
128 .bkec-btn {
129 font-size: var(--bkec-bt-font-size-t, var(--bkec-bt-font-size-d, 14px));
130 line-height: var(--bkec-bt-line-height-t, var(--bkec-bt-line-height-d, 1.4));
131 letter-spacing: var(--bkec-bt-letter-spacing-t, var(--bkec-bt-letter-spacing-d, normal));
132 word-spacing: var(--bkec-bt-word-spacing-t, var(--bkec-bt-word-spacing-d, normal));
133 }
134 }
135 @media (max-width: 767px) {
136 .bkec-wrap .bkec-event-name {
137 font-size: var(--bkec-nm-font-size-m, var(--bkec-nm-font-size-t, var(--bkec-nm-font-size-d, 22px)));
138 line-height: var(--bkec-nm-line-height-m, var(--bkec-nm-line-height-t, var(--bkec-nm-line-height-d, 1.2)));
139 letter-spacing: var(--bkec-nm-letter-spacing-m, var(--bkec-nm-letter-spacing-t, var(--bkec-nm-letter-spacing-d, normal)));
140 word-spacing: var(--bkec-nm-word-spacing-m, var(--bkec-nm-word-spacing-t, var(--bkec-nm-word-spacing-d, normal)));
141 }
142 .bkec-desc {
143 font-size: var(--bkec-dc-font-size-m, var(--bkec-dc-font-size-t, var(--bkec-dc-font-size-d, 14px)));
144 line-height: var(--bkec-dc-line-height-m, var(--bkec-dc-line-height-t, var(--bkec-dc-line-height-d, 1.6)));
145 letter-spacing: var(--bkec-dc-letter-spacing-m, var(--bkec-dc-letter-spacing-t, var(--bkec-dc-letter-spacing-d, normal)));
146 word-spacing: var(--bkec-dc-word-spacing-m, var(--bkec-dc-word-spacing-t, var(--bkec-dc-word-spacing-d, normal)));
147 }
148 .bkec-type-badge, .bkec-badge {
149 font-size: var(--bkec-ba-font-size-m, var(--bkec-ba-font-size-t, var(--bkec-ba-font-size-d, 11px)));
150 line-height: var(--bkec-ba-line-height-m, var(--bkec-ba-line-height-t, var(--bkec-ba-line-height-d, 1.4)));
151 letter-spacing: var(--bkec-ba-letter-spacing-m, var(--bkec-ba-letter-spacing-t, var(--bkec-ba-letter-spacing-d, normal)));
152 word-spacing: var(--bkec-ba-word-spacing-m, var(--bkec-ba-word-spacing-t, var(--bkec-ba-word-spacing-d, normal)));
153 }
154 .bkec-info-row {
155 font-size: var(--bkec-mt-font-size-m, var(--bkec-mt-font-size-t, var(--bkec-mt-font-size-d, 14px)));
156 line-height: var(--bkec-mt-line-height-m, var(--bkec-mt-line-height-t, var(--bkec-mt-line-height-d, 1.4)));
157 letter-spacing: var(--bkec-mt-letter-spacing-m, var(--bkec-mt-letter-spacing-t, var(--bkec-mt-letter-spacing-d, normal)));
158 word-spacing: var(--bkec-mt-word-spacing-m, var(--bkec-mt-word-spacing-t, var(--bkec-mt-word-spacing-d, normal)));
159 }
160 .bkec-btn {
161 font-size: var(--bkec-bt-font-size-m, var(--bkec-bt-font-size-t, var(--bkec-bt-font-size-d, 14px)));
162 line-height: var(--bkec-bt-line-height-m, var(--bkec-bt-line-height-t, var(--bkec-bt-line-height-d, 1.4)));
163 letter-spacing: var(--bkec-bt-letter-spacing-m, var(--bkec-bt-letter-spacing-t, var(--bkec-bt-letter-spacing-d, normal)));
164 word-spacing: var(--bkec-bt-word-spacing-m, var(--bkec-bt-word-spacing-t, var(--bkec-bt-word-spacing-d, normal)));
165 }
166 }
167
168 @media (max-width: 640px) {
169 .bkec-card { flex-direction: column !important; }
170 .bkec-date-box { min-width: auto !important; padding: 16px !important; flex-direction: row; gap: 12px; }
171 }
172