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

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

111 lines 5.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Split Testimonial */
2 .bkbg-split-testimonial-wrap { box-sizing: border-box; position: relative; overflow: hidden; }
3
4 .bkbg-st-quote-mark {
5 position: absolute;
6 top: 20px; left: 40px;
7 font-size: 200px;
8 line-height: 1;
9 font-family: Georgia, serif;
10 pointer-events: none;
11 user-select: none;
12 opacity: 1;
13 }
14
15 .bkbg-st-inner {
16 max-width: var(--bkbg-st-max, 1100px);
17 margin: 0 auto;
18 display: grid;
19 gap: 64px;
20 align-items: center;
21 position: relative;
22 z-index: 1;
23 }
24
25 .bkbg-st-photo-col {
26 display: flex;
27 flex-direction: column;
28 align-items: center;
29 gap: 20px;
30 }
31
32 .bkbg-st-avatar {
33 overflow: hidden;
34 flex-shrink: 0;
35 }
36
37 .bkbg-st-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
38
39 .bkbg-st-author-name { color: #fff; }
40 .bkbg-st-author-meta { }
41
42 .bkbg-st-quote-col {
43 display: flex;
44 flex-direction: column;
45 gap: 24px;
46 }
47
48 .bkbg-st-stars { letter-spacing: 2px; }
49
50 .bkbg-st-quote { margin: 0; }
51
52 /* ---- Typography CSS-var rules ---- */
53
54 /* Quote */
55 .bkbg-st-quote {
56 font-family: var(--bkst-qt-font-family, inherit);
57 font-size: var(--bkst-qt-font-size-d, var(--bkst-qt-sz, 28px));
58 font-weight: var(--bkst-qt-font-weight, var(--bkst-qt-w, 500));
59 font-style: var(--bkst-qt-font-style, italic);
60 text-decoration: var(--bkst-qt-text-decoration, none);
61 text-transform: var(--bkst-qt-text-transform, none);
62 line-height: var(--bkst-qt-line-height-d, 1.55);
63 letter-spacing: var(--bkst-qt-letter-spacing-d, normal);
64 word-spacing: var(--bkst-qt-word-spacing-d, normal);
65 }
66
67 /* Author name */
68 .bkbg-st-author-name {
69 font-family: var(--bkst-nm-font-family, inherit);
70 font-size: var(--bkst-nm-font-size-d, var(--bkst-nm-sz, 18px));
71 font-weight: var(--bkst-nm-font-weight, 700);
72 font-style: var(--bkst-nm-font-style, normal);
73 text-decoration: var(--bkst-nm-text-decoration, none);
74 text-transform: var(--bkst-nm-text-transform, none);
75 line-height: var(--bkst-nm-line-height-d, normal);
76 letter-spacing: var(--bkst-nm-letter-spacing-d, normal);
77 word-spacing: var(--bkst-nm-word-spacing-d, normal);
78 }
79
80 /* Author meta (title + company) */
81 .bkbg-st-author-meta {
82 font-family: var(--bkst-mt-font-family, inherit);
83 font-size: var(--bkst-mt-font-size-d, var(--bkst-mt-sz, 16px));
84 font-weight: var(--bkst-mt-font-weight, 400);
85 font-style: var(--bkst-mt-font-style, normal);
86 text-decoration: var(--bkst-mt-text-decoration, none);
87 text-transform: var(--bkst-mt-text-transform, none);
88 line-height: var(--bkst-mt-line-height-d, normal);
89 letter-spacing: var(--bkst-mt-letter-spacing-d, normal);
90 word-spacing: var(--bkst-mt-word-spacing-d, normal);
91 }
92
93 /* ---- Typography responsive — tablet ---- */
94 @media (max-width: 1024px) {
95 .bkbg-st-quote { font-size: var(--bkst-qt-font-size-t, var(--bkst-qt-font-size-d, var(--bkst-qt-sz, 28px))); line-height: var(--bkst-qt-line-height-t, var(--bkst-qt-line-height-d, 1.55)); letter-spacing: var(--bkst-qt-letter-spacing-t, var(--bkst-qt-letter-spacing-d, normal)); word-spacing: var(--bkst-qt-word-spacing-t, var(--bkst-qt-word-spacing-d, normal)); }
96 .bkbg-st-author-name { font-size: var(--bkst-nm-font-size-t, var(--bkst-nm-font-size-d, var(--bkst-nm-sz, 18px))); line-height: var(--bkst-nm-line-height-t, var(--bkst-nm-line-height-d, normal)); letter-spacing: var(--bkst-nm-letter-spacing-t, var(--bkst-nm-letter-spacing-d, normal)); word-spacing: var(--bkst-nm-word-spacing-t, var(--bkst-nm-word-spacing-d, normal)); }
97 .bkbg-st-author-meta { font-size: var(--bkst-mt-font-size-t, var(--bkst-mt-font-size-d, var(--bkst-mt-sz, 16px))); line-height: var(--bkst-mt-line-height-t, var(--bkst-mt-line-height-d, normal)); letter-spacing: var(--bkst-mt-letter-spacing-t, var(--bkst-mt-letter-spacing-d, normal)); word-spacing: var(--bkst-mt-word-spacing-t, var(--bkst-mt-word-spacing-d, normal)); }
98 }
99
100 /* ---- Typography responsive — mobile ---- */
101 @media (max-width: 767px) {
102 .bkbg-st-quote { font-size: var(--bkst-qt-font-size-m, var(--bkst-qt-font-size-t, var(--bkst-qt-font-size-d, var(--bkst-qt-sz, 28px)))); line-height: var(--bkst-qt-line-height-m, var(--bkst-qt-line-height-t, var(--bkst-qt-line-height-d, 1.55))); letter-spacing: var(--bkst-qt-letter-spacing-m, var(--bkst-qt-letter-spacing-t, var(--bkst-qt-letter-spacing-d, normal))); word-spacing: var(--bkst-qt-word-spacing-m, var(--bkst-qt-word-spacing-t, var(--bkst-qt-word-spacing-d, normal))); }
103 .bkbg-st-author-name { font-size: var(--bkst-nm-font-size-m, var(--bkst-nm-font-size-t, var(--bkst-nm-font-size-d, var(--bkst-nm-sz, 18px)))); line-height: var(--bkst-nm-line-height-m, var(--bkst-nm-line-height-t, var(--bkst-nm-line-height-d, normal))); letter-spacing: var(--bkst-nm-letter-spacing-m, var(--bkst-nm-letter-spacing-t, var(--bkst-nm-letter-spacing-d, normal))); word-spacing: var(--bkst-nm-word-spacing-m, var(--bkst-nm-word-spacing-t, var(--bkst-nm-word-spacing-d, normal))); }
104 .bkbg-st-author-meta { font-size: var(--bkst-mt-font-size-m, var(--bkst-mt-font-size-t, var(--bkst-mt-font-size-d, var(--bkst-mt-sz, 16px)))); line-height: var(--bkst-mt-line-height-m, var(--bkst-mt-line-height-t, var(--bkst-mt-line-height-d, normal))); letter-spacing: var(--bkst-mt-letter-spacing-m, var(--bkst-mt-letter-spacing-t, var(--bkst-mt-letter-spacing-d, normal))); word-spacing: var(--bkst-mt-word-spacing-m, var(--bkst-mt-word-spacing-t, var(--bkst-mt-word-spacing-d, normal))); }
105 }
106
107 @media (max-width: 768px) {
108 .bkbg-st-inner { grid-template-columns: 1fr !important; }
109 .bkbg-st-photo-col, .bkbg-st-quote-col { order: unset !important; }
110 }
111