PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.13
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.13
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 / reading-list / style.css

style.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.13, at blocks/reading-list/style.css

214 lines 7.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ======================================================
2 Blockenberg — Reading List block styles
3 ====================================================== */
4
5 .bkbg-rl-title {
6 margin: 0 0 8px;
7 }
8 .wp-block-blockenberg-reading-list h2.bkbg-rl-title {
9 font-family: var(--bkrl-tt-font-family);
10 font-size: var(--bkrl-tt-font-size-d, 32px);
11 font-weight: var(--bkrl-tt-font-weight, 700);
12 font-style: var(--bkrl-tt-font-style, normal);
13 text-decoration: var(--bkrl-tt-text-decoration, none);
14 text-transform: var(--bkrl-tt-text-transform, none);
15 line-height: var(--bkrl-tt-line-height-d, 1.2);
16 letter-spacing: var(--bkrl-tt-letter-spacing-d, normal);
17 word-spacing: var(--bkrl-tt-word-spacing-d, normal);
18 }
19
20 .bkbg-rl-subtitle {
21 margin: 0 0 24px;
22 line-height: 1.6;
23 }
24
25 /* Grid / list layouts */
26 .bkbg-rl-list {
27 width: 100%;
28 }
29
30 /* Card base */
31 .bkbg-rl-card {
32 overflow: hidden;
33 transition: box-shadow 0.2s, transform 0.2s;
34 }
35
36 .bkbg-rl-card:hover {
37 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
38 transform: translateY(-2px);
39 }
40
41 /* Cover image */
42 .bkbg-rl-cover-wrap {
43 overflow: hidden;
44 flex-shrink: 0;
45 }
46
47 .bkbg-rl-cover-wrap img {
48 display: block;
49 width: 100%;
50 height: 100%;
51 object-fit: cover;
52 transition: transform 0.3s;
53 }
54
55 .bkbg-rl-card:hover .bkbg-rl-cover-wrap img {
56 transform: scale(1.03);
57 }
58
59 /* Body */
60 .bkbg-rl-body {
61 padding: 16px;
62 flex: 1;
63 display: flex;
64 flex-direction: column;
65 }
66
67 /* Status badge */
68 .bkbg-rl-badge {
69 display: inline-block;
70 border-radius: 999px;
71 padding: 2px 10px;
72 font-size: 11px;
73 font-weight: 700;
74 margin-bottom: 8px;
75 letter-spacing: 0.02em;
76 align-self: flex-start;
77 }
78
79 /* Book title */
80 .bkbg-rl-book-title {
81 margin-bottom: 4px;
82 font-family: var(--bkrl-bt-font-family, inherit);
83 font-size: var(--bkrl-bt-font-size-d, 18px);
84 font-weight: var(--bkrl-bt-font-weight, 700);
85 font-style: var(--bkrl-bt-font-style, normal);
86 text-decoration: var(--bkrl-bt-text-decoration, none);
87 text-transform: var(--bkrl-bt-text-transform, none);
88 line-height: var(--bkrl-bt-line-height-d, 1.3);
89 letter-spacing: var(--bkrl-bt-letter-spacing-d, normal);
90 word-spacing: var(--bkrl-bt-word-spacing-d, normal);
91 }
92
93 /* Author */
94 .bkbg-rl-author {
95 margin-bottom: 6px;
96 font-family: var(--bkrl-mt-font-family, inherit);
97 font-size: var(--bkrl-mt-font-size-d, 13px);
98 font-weight: var(--bkrl-mt-font-weight, 500);
99 font-style: var(--bkrl-mt-font-style, normal);
100 text-decoration: var(--bkrl-mt-text-decoration, none);
101 text-transform: var(--bkrl-mt-text-transform, none);
102 line-height: var(--bkrl-mt-line-height-d, 1.5);
103 letter-spacing: var(--bkrl-mt-letter-spacing-d, normal);
104 word-spacing: var(--bkrl-mt-word-spacing-d, normal);
105 }
106
107 /* Meta (genre + year) */
108 .bkbg-rl-meta {
109 font-size: 12px;
110 margin-bottom: 6px;
111 }
112
113 /* Stars */
114 .bkbg-rl-stars {
115 display: inline-block;
116 margin-bottom: 8px;
117 letter-spacing: 2px;
118 }
119
120 /* Description */
121 .bkbg-rl-desc {
122 margin: 0 0 12px;
123 flex: 1;
124 font-family: var(--bkrl-mt-font-family, inherit);
125 font-size: var(--bkrl-mt-font-size-d, 14px);
126 font-weight: var(--bkrl-mt-font-weight, 400);
127 font-style: var(--bkrl-mt-font-style, normal);
128 text-decoration: var(--bkrl-mt-text-decoration, none);
129 text-transform: var(--bkrl-mt-text-transform, none);
130 line-height: var(--bkrl-mt-line-height-d, 1.6);
131 letter-spacing: var(--bkrl-mt-letter-spacing-d, normal);
132 word-spacing: var(--bkrl-mt-word-spacing-d, normal);
133 }
134
135 /* Link */
136 .bkbg-rl-link {
137 display: inline-block;
138 font-weight: 600;
139 font-size: 13px;
140 text-decoration: none;
141 margin-top: auto;
142 transition: opacity 0.15s;
143 }
144
145 .bkbg-rl-link:hover {
146 opacity: 0.8;
147 text-decoration: underline;
148 }
149
150 @media (max-width: 1024px) {
151 .wp-block-blockenberg-reading-list h2.bkbg-rl-title {
152 font-size: var(--bkrl-tt-font-size-t, var(--bkrl-tt-font-size-d, 32px));
153 line-height: var(--bkrl-tt-line-height-t, var(--bkrl-tt-line-height-d, 1.2));
154 letter-spacing: var(--bkrl-tt-letter-spacing-t, var(--bkrl-tt-letter-spacing-d, normal));
155 word-spacing: var(--bkrl-tt-word-spacing-t, var(--bkrl-tt-word-spacing-d, normal));
156 }
157 .bkbg-rl-book-title {
158 font-size: var(--bkrl-bt-font-size-t, var(--bkrl-bt-font-size-d, 18px));
159 line-height: var(--bkrl-bt-line-height-t, var(--bkrl-bt-line-height-d, 1.3));
160 letter-spacing: var(--bkrl-bt-letter-spacing-t, var(--bkrl-bt-letter-spacing-d, normal));
161 word-spacing: var(--bkrl-bt-word-spacing-t, var(--bkrl-bt-word-spacing-d, normal));
162 }
163 .bkbg-rl-author {
164 font-size: var(--bkrl-mt-font-size-t, var(--bkrl-mt-font-size-d, 13px));
165 line-height: var(--bkrl-mt-line-height-t, var(--bkrl-mt-line-height-d, 1.5));
166 letter-spacing: var(--bkrl-mt-letter-spacing-t, var(--bkrl-mt-letter-spacing-d, normal));
167 word-spacing: var(--bkrl-mt-word-spacing-t, var(--bkrl-mt-word-spacing-d, normal));
168 }
169 .bkbg-rl-desc {
170 font-size: var(--bkrl-mt-font-size-t, var(--bkrl-mt-font-size-d, 14px));
171 line-height: var(--bkrl-mt-line-height-t, var(--bkrl-mt-line-height-d, 1.6));
172 letter-spacing: var(--bkrl-mt-letter-spacing-t, var(--bkrl-mt-letter-spacing-d, normal));
173 word-spacing: var(--bkrl-mt-word-spacing-t, var(--bkrl-mt-word-spacing-d, normal));
174 }
175 }
176 @media (max-width: 767px) {
177 .wp-block-blockenberg-reading-list h2.bkbg-rl-title {
178 font-size: var(--bkrl-tt-font-size-m, var(--bkrl-tt-font-size-t, var(--bkrl-tt-font-size-d, 32px)));
179 line-height: var(--bkrl-tt-line-height-m, var(--bkrl-tt-line-height-t, var(--bkrl-tt-line-height-d, 1.2)));
180 letter-spacing: var(--bkrl-tt-letter-spacing-m, var(--bkrl-tt-letter-spacing-t, var(--bkrl-tt-letter-spacing-d, normal)));
181 word-spacing: var(--bkrl-tt-word-spacing-m, var(--bkrl-tt-word-spacing-t, var(--bkrl-tt-word-spacing-d, normal)));
182 }
183 .bkbg-rl-book-title {
184 font-size: var(--bkrl-bt-font-size-m, var(--bkrl-bt-font-size-t, var(--bkrl-bt-font-size-d, 18px)));
185 line-height: var(--bkrl-bt-line-height-m, var(--bkrl-bt-line-height-t, var(--bkrl-bt-line-height-d, 1.3)));
186 letter-spacing: var(--bkrl-bt-letter-spacing-m, var(--bkrl-bt-letter-spacing-t, var(--bkrl-bt-letter-spacing-d, normal)));
187 word-spacing: var(--bkrl-bt-word-spacing-m, var(--bkrl-bt-word-spacing-t, var(--bkrl-bt-word-spacing-d, normal)));
188 }
189 .bkbg-rl-author {
190 font-size: var(--bkrl-mt-font-size-m, var(--bkrl-mt-font-size-t, var(--bkrl-mt-font-size-d, 13px)));
191 line-height: var(--bkrl-mt-line-height-m, var(--bkrl-mt-line-height-t, var(--bkrl-mt-line-height-d, 1.5)));
192 letter-spacing: var(--bkrl-mt-letter-spacing-m, var(--bkrl-mt-letter-spacing-t, var(--bkrl-mt-letter-spacing-d, normal)));
193 word-spacing: var(--bkrl-mt-word-spacing-m, var(--bkrl-mt-word-spacing-t, var(--bkrl-mt-word-spacing-d, normal)));
194 }
195 .bkbg-rl-desc {
196 font-size: var(--bkrl-mt-font-size-m, var(--bkrl-mt-font-size-t, var(--bkrl-mt-font-size-d, 14px)));
197 line-height: var(--bkrl-mt-line-height-m, var(--bkrl-mt-line-height-t, var(--bkrl-mt-line-height-d, 1.6)));
198 letter-spacing: var(--bkrl-mt-letter-spacing-m, var(--bkrl-mt-letter-spacing-t, var(--bkrl-mt-letter-spacing-d, normal)));
199 word-spacing: var(--bkrl-mt-word-spacing-m, var(--bkrl-mt-word-spacing-t, var(--bkrl-mt-word-spacing-d, normal)));
200 }
201 }
202
203 /* Responsive: single column on mobile for grid */
204 @media (max-width: 640px) {
205 .bkbg-rl-card--grid {
206 flex-direction: column !important;
207 }
208 .bkbg-rl-card--grid .bkbg-rl-cover-wrap {
209 width: 100% !important;
210 min-width: unset !important;
211 height: 160px;
212 }
213 }
214