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 / testimonial-carousel / style.css

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

212 lines 5.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Testimonial Carousel — bktc- */
2 .bktc-wrap {
3 position: relative;
4 background: var(--bktc-bg, #f8f7ff);
5 border-radius: 16px;
6 padding: 40px 20px 24px;
7 overflow: hidden;
8 }
9
10 /* ── Track & Slides ── */
11 .bktc-track {
12 position: relative;
13 min-height: 200px;
14 }
15
16 .bktc-slide {
17 display: none;
18 animation: bktcFadeIn 0.4s ease;
19 }
20 .bktc-slide.bktc-active {
21 display: block;
22 }
23
24 @keyframes bktcFadeIn {
25 from { opacity: 0; transform: translateY(10px); }
26 to { opacity: 1; transform: translateY(0); }
27 }
28
29 /* ── Card ── */
30 .bktc-card {
31 background: var(--bktc-card-bg, #fff);
32 border-radius: var(--bktc-radius, 16px);
33 padding: var(--bktc-pad, 36px);
34 box-shadow: 0 6px 32px rgba(0,0,0,0.08);
35 max-width: 680px;
36 margin: 0 auto;
37 position: relative;
38 }
39
40 .bktc-quote-mark {
41 font-size: 72px;
42 line-height: 0.5;
43 color: var(--bktc-accent, #6c3fb5);
44 opacity: 0.25;
45 font-family: Georgia, serif;
46 margin-bottom: 12px;
47 display: block;
48 }
49
50 .bktc-quote {
51 font-family: var(--bktc-qt-font-family, inherit);
52 font-size: var(--bktc-qt-font-size-d, 17px);
53 line-height: var(--bktc-qt-line-height-d, 1.65);
54 letter-spacing: var(--bktc-qt-letter-spacing-d, normal);
55 word-spacing: var(--bktc-qt-word-spacing-d, normal);
56 font-weight: var(--bktc-qt-font-weight, 400);
57 font-style: var(--bktc-qt-font-style, italic);
58 text-decoration: var(--bktc-qt-text-decoration, none);
59 text-transform: var(--bktc-qt-text-transform, none);
60 color: var(--bktc-text, #222);
61 margin: 0 0 16px;
62 }
63
64 /* ── Stars ── */
65 .bktc-stars {
66 margin-bottom: 16px;
67 display: flex;
68 gap: 2px;
69 justify-content: inherit;
70 }
71 .bktc-star {
72 font-size: 18px;
73 }
74
75 /* ── Author ── */
76 .bktc-author-row {
77 display: flex;
78 align-items: center;
79 gap: 12px;
80 margin-top: 8px;
81 }
82 .bktc-card[style*="text-align: center"] .bktc-author-row,
83 .bktc-card[style*="text-align:center"] .bktc-author-row {
84 justify-content: center;
85 }
86 .bktc-avatar {
87 width: 48px;
88 height: 48px;
89 border-radius: 50%;
90 object-fit: cover;
91 border: 2px solid var(--bktc-accent, #6c3fb5);
92 flex-shrink: 0;
93 }
94 .bktc-avatar-initials {
95 display: flex;
96 align-items: center;
97 justify-content: center;
98 width: 48px;
99 height: 48px;
100 border-radius: 50%;
101 background: var(--bktc-accent, #6c3fb5);
102 color: #fff;
103 font-weight: 700;
104 font-size: 20px;
105 flex-shrink: 0;
106 }
107 .bktc-name {
108 display: block;
109 font-family: var(--bktc-nm-font-family, inherit);
110 font-size: var(--bktc-nm-font-size-d, 15px);
111 line-height: var(--bktc-nm-line-height-d, 1.3);
112 letter-spacing: var(--bktc-nm-letter-spacing-d, normal);
113 word-spacing: var(--bktc-nm-word-spacing-d, normal);
114 font-weight: var(--bktc-nm-font-weight, 700);
115 font-style: var(--bktc-nm-font-style, normal);
116 text-decoration: var(--bktc-nm-text-decoration, none);
117 text-transform: var(--bktc-nm-text-transform, none);
118 color: var(--bktc-text, #222);
119 }
120 .bktc-role {
121 display: block;
122 font-size: 13px;
123 color: #888;
124 margin-top: 2px;
125 }
126
127 /* ── Arrows ── */
128 .bktc-arrows {
129 display: flex;
130 justify-content: center;
131 gap: 12px;
132 margin-top: 24px;
133 }
134 .bktc-arrow {
135 background: var(--bktc-card-bg, #fff);
136 border: 2px solid var(--bktc-accent, #6c3fb5);
137 color: var(--bktc-accent, #6c3fb5);
138 border-radius: 50%;
139 width: 44px;
140 height: 44px;
141 font-size: 26px;
142 line-height: 1;
143 cursor: pointer;
144 transition: background 0.2s, color 0.2s;
145 display: flex;
146 align-items: center;
147 justify-content: center;
148 }
149 .bktc-arrow:hover {
150 background: var(--bktc-accent, #6c3fb5);
151 color: #fff;
152 }
153
154 /* ── Dots ── */
155 .bktc-dots {
156 display: flex;
157 justify-content: center;
158 gap: 8px;
159 margin-top: 16px;
160 }
161 .bktc-dot {
162 width: 10px;
163 height: 10px;
164 border-radius: 50%;
165 background: #ccc;
166 border: none;
167 cursor: pointer;
168 transition: background 0.2s, transform 0.2s;
169 padding: 0;
170 }
171 .bktc-dot-active,
172 .bktc-dot.bktc-dot-active {
173 background: var(--bktc-accent, #6c3fb5);
174 transform: scale(1.3);
175 }
176
177 /* Editor preview: arrows inline */
178 .bktc-arrows-editor {
179 margin-top: 16px;
180 }
181
182 /* ── Responsive typography ── */
183 @media (max-width: 1024px) {
184 .bktc-quote {
185 font-size: var(--bktc-qt-font-size-t, var(--bktc-qt-font-size-d, 17px));
186 line-height: var(--bktc-qt-line-height-t, var(--bktc-qt-line-height-d, 1.65));
187 letter-spacing: var(--bktc-qt-letter-spacing-t, var(--bktc-qt-letter-spacing-d, normal));
188 word-spacing: var(--bktc-qt-word-spacing-t, var(--bktc-qt-word-spacing-d, normal));
189 }
190 .bktc-name {
191 font-size: var(--bktc-nm-font-size-t, var(--bktc-nm-font-size-d, 15px));
192 line-height: var(--bktc-nm-line-height-t, var(--bktc-nm-line-height-d, 1.3));
193 letter-spacing: var(--bktc-nm-letter-spacing-t, var(--bktc-nm-letter-spacing-d, normal));
194 word-spacing: var(--bktc-nm-word-spacing-t, var(--bktc-nm-word-spacing-d, normal));
195 }
196 }
197
198 @media (max-width: 767px) {
199 .bktc-quote {
200 font-size: var(--bktc-qt-font-size-m, var(--bktc-qt-font-size-t, var(--bktc-qt-font-size-d, 17px)));
201 line-height: var(--bktc-qt-line-height-m, var(--bktc-qt-line-height-t, var(--bktc-qt-line-height-d, 1.65)));
202 letter-spacing: var(--bktc-qt-letter-spacing-m, var(--bktc-qt-letter-spacing-t, var(--bktc-qt-letter-spacing-d, normal)));
203 word-spacing: var(--bktc-qt-word-spacing-m, var(--bktc-qt-word-spacing-t, var(--bktc-qt-word-spacing-d, normal)));
204 }
205 .bktc-name {
206 font-size: var(--bktc-nm-font-size-m, var(--bktc-nm-font-size-t, var(--bktc-nm-font-size-d, 15px)));
207 line-height: var(--bktc-nm-line-height-m, var(--bktc-nm-line-height-t, var(--bktc-nm-line-height-d, 1.3)));
208 letter-spacing: var(--bktc-nm-letter-spacing-m, var(--bktc-nm-letter-spacing-t, var(--bktc-nm-letter-spacing-d, normal)));
209 word-spacing: var(--bktc-nm-word-spacing-m, var(--bktc-nm-word-spacing-t, var(--bktc-nm-word-spacing-d, normal)));
210 }
211 }
212