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 / kinetic-text / style.css

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

86 lines 3.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ===================================================
2 Kinetic Text — bkbg-kt-* (style.css)
3 =================================================== */
4
5 .bkbg-kt-wrap {
6 width: 100%;
7 overflow: hidden;
8 }
9
10 /* ── Text container ────────────────────────────────────────────────── */
11 .bkbg-kt-text {
12 display: flex;
13 flex-wrap: wrap;
14 justify-content: inherit;
15 align-items: baseline;
16 cursor: default;
17 user-select: none;
18 font-family: var(--bkbg-kt-tx-font-family, inherit);
19 font-size: var(--bkbg-kt-tx-font-size-d, 56px);
20 font-weight: var(--bkbg-kt-tx-font-weight, 700);
21 font-style: var(--bkbg-kt-tx-font-style, normal);
22 text-decoration: var(--bkbg-kt-tx-text-decoration, none);
23 text-transform: var(--bkbg-kt-tx-text-transform, none);
24 line-height: var(--bkbg-kt-tx-line-height-d, 1.15);
25 letter-spacing: var(--bkbg-kt-tx-letter-spacing-d, 0px);
26 word-spacing: var(--bkbg-kt-tx-word-spacing-d, normal);
27 margin: 0;
28 }
29
30 /* Heading specificity override for h1-h6 tags */
31 .bkbg-kt-wrap h1.bkbg-kt-text,
32 .bkbg-kt-wrap h2.bkbg-kt-text,
33 .bkbg-kt-wrap h3.bkbg-kt-text,
34 .bkbg-kt-wrap h4.bkbg-kt-text,
35 .bkbg-kt-wrap h5.bkbg-kt-text,
36 .bkbg-kt-wrap h6.bkbg-kt-text {
37 font-family: var(--bkbg-kt-tx-font-family, inherit);
38 font-size: var(--bkbg-kt-tx-font-size-d, 56px);
39 font-weight: var(--bkbg-kt-tx-font-weight, 700);
40 font-style: var(--bkbg-kt-tx-font-style, normal);
41 text-decoration: var(--bkbg-kt-tx-text-decoration, none);
42 text-transform: var(--bkbg-kt-tx-text-transform, none);
43 line-height: var(--bkbg-kt-tx-line-height-d, 1.15);
44 letter-spacing: var(--bkbg-kt-tx-letter-spacing-d, 0px);
45 word-spacing: var(--bkbg-kt-tx-word-spacing-d, normal);
46 margin: 0;
47 }
48
49 @media (max-width: 1024px) {
50 .bkbg-kt-wrap .bkbg-kt-text {
51 font-size: var(--bkbg-kt-tx-font-size-t, var(--bkbg-kt-tx-font-size-d, 56px));
52 line-height: var(--bkbg-kt-tx-line-height-t, var(--bkbg-kt-tx-line-height-d, 1.15));
53 letter-spacing: var(--bkbg-kt-tx-letter-spacing-t, var(--bkbg-kt-tx-letter-spacing-d, 0px));
54 word-spacing: var(--bkbg-kt-tx-word-spacing-t, var(--bkbg-kt-tx-word-spacing-d, normal));
55 }
56 }
57 @media (max-width: 767px) {
58 .bkbg-kt-wrap .bkbg-kt-text {
59 font-size: var(--bkbg-kt-tx-font-size-m, var(--bkbg-kt-tx-font-size-t, var(--bkbg-kt-tx-font-size-d, 56px)));
60 line-height: var(--bkbg-kt-tx-line-height-m, var(--bkbg-kt-tx-line-height-t, var(--bkbg-kt-tx-line-height-d, 1.15)));
61 letter-spacing: var(--bkbg-kt-tx-letter-spacing-m, var(--bkbg-kt-tx-letter-spacing-t, var(--bkbg-kt-tx-letter-spacing-d, 0px)));
62 word-spacing: var(--bkbg-kt-tx-word-spacing-m, var(--bkbg-kt-tx-word-spacing-t, var(--bkbg-kt-tx-word-spacing-d, normal)));
63 }
64 }
65
66 /* ── Each character span ───────────────────────────────────────────── */
67 .bkbg-kt-char {
68 display: inline-block;
69 position: relative;
70 will-change: transform, opacity, color;
71 transition-property: transform, opacity, color;
72 transition-timing-function: cubic-bezier(.34, 1.56, .64, 1);
73 }
74
75 .bkbg-kt-char.bkbg-kt-scattered {
76 transition-timing-function: cubic-bezier(.55, 0, 1, .45);
77 }
78
79 /* ── Reduced motion ────────────────────────────────────────────────── */
80 @media (prefers-reduced-motion: reduce) {
81 .bkbg-kt-char {
82 transition: none !important;
83 animation: none !important;
84 }
85 }
86