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

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

116 lines 6.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ── Spotlight Card ─────────────────────────────────────────────────────── */
2 .bkspot-card {
3 position: relative;
4 overflow: hidden;
5 box-sizing: border-box;
6 transition: transform 0.25s ease, box-shadow 0.25s ease;
7 }
8
9 .bkspot-card:hover {
10 transform: translateY(-2px);
11 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
12 }
13
14 .bkspot-glow {
15 position: absolute;
16 inset: 0;
17 pointer-events: none;
18 z-index: 0;
19 background: radial-gradient(
20 circle var(--bkspot-size, 350px) at var(--bkspot-x, -9999px) var(--bkspot-y, -9999px),
21 var(--bkspot-color, rgba(139, 92, 246, 0.15)),
22 transparent
23 );
24 border-radius: inherit;
25 transition: opacity 0.2s ease;
26 opacity: 0;
27 }
28
29 .bkspot-card:hover .bkspot-glow {
30 opacity: 1;
31 }
32
33 .bkspot-body {
34 position: relative;
35 z-index: 1;
36 }
37
38 .bkspot-badge {
39 z-index: 2;
40 }
41
42 .bkspot-heading {
43 margin: 0 0 8px;
44 font-family: var(--bkspot-hd-font-family, inherit);
45 font-size: var(--bkspot-hd-font-size-d, var(--bkspot-hd-sz, 20px));
46 font-weight: var(--bkspot-hd-font-weight, var(--bkspot-hd-w, 700));
47 font-style: var(--bkspot-hd-font-style, normal);
48 text-decoration: var(--bkspot-hd-text-decoration, none);
49 text-transform: var(--bkspot-hd-text-transform, none);
50 line-height: var(--bkspot-hd-line-height-d, var(--bkspot-hd-lh, 1.3));
51 letter-spacing: var(--bkspot-hd-letter-spacing-d, normal);
52 word-spacing: var(--bkspot-hd-word-spacing-d, normal);
53 }
54
55 /* Heading specificity for h2-h5 in editor (Rule 7) */
56 .bkspot-card h2.bkspot-heading,
57 .bkspot-card h3.bkspot-heading,
58 .bkspot-card h4.bkspot-heading,
59 .bkspot-card h5.bkspot-heading {
60 font-family: var(--bkspot-hd-font-family, inherit);
61 font-size: var(--bkspot-hd-font-size-d, var(--bkspot-hd-sz, 20px));
62 font-weight: var(--bkspot-hd-font-weight, var(--bkspot-hd-w, 700));
63 font-style: var(--bkspot-hd-font-style, normal);
64 text-decoration: var(--bkspot-hd-text-decoration, none);
65 text-transform: var(--bkspot-hd-text-transform, none);
66 line-height: var(--bkspot-hd-line-height-d, var(--bkspot-hd-lh, 1.3));
67 letter-spacing: var(--bkspot-hd-letter-spacing-d, normal);
68 word-spacing: var(--bkspot-hd-word-spacing-d, normal);
69 margin: 0 0 8px;
70 }
71
72 .bkspot-text {
73 margin: 0 0 16px;
74 font-family: var(--bkspot-tx-font-family, inherit);
75 font-size: var(--bkspot-tx-font-size-d, var(--bkspot-tx-sz, 15px));
76 font-weight: var(--bkspot-tx-font-weight, 400);
77 font-style: var(--bkspot-tx-font-style, normal);
78 text-decoration: var(--bkspot-tx-text-decoration, none);
79 text-transform: var(--bkspot-tx-text-transform, none);
80 line-height: var(--bkspot-tx-line-height-d, var(--bkspot-tx-lh, 1.6));
81 letter-spacing: var(--bkspot-tx-letter-spacing-d, normal);
82 word-spacing: var(--bkspot-tx-word-spacing-d, normal);
83 }
84
85 .bkspot-link {
86 display: inline-block;
87 font-family: var(--bkspot-lk-font-family, inherit);
88 font-size: var(--bkspot-lk-font-size-d, var(--bkspot-tx-sz, 15px));
89 font-weight: var(--bkspot-lk-font-weight, 600);
90 font-style: var(--bkspot-lk-font-style, normal);
91 text-decoration: var(--bkspot-lk-text-decoration, none);
92 text-transform: var(--bkspot-lk-text-transform, none);
93 line-height: var(--bkspot-lk-line-height-d, 1.4);
94 letter-spacing: var(--bkspot-lk-letter-spacing-d, normal);
95 word-spacing: var(--bkspot-lk-word-spacing-d, normal);
96 }
97
98 .bkspot-icon {
99 display: block;
100 margin-bottom: 12px;
101 }
102
103 /* ---- Typography responsive — tablet ---- */
104 @media (max-width: 1024px) {
105 .bkspot-card .bkspot-heading { font-size: var(--bkspot-hd-font-size-t, var(--bkspot-hd-font-size-d, var(--bkspot-hd-sz, 20px))); line-height: var(--bkspot-hd-line-height-t, var(--bkspot-hd-line-height-d, var(--bkspot-hd-lh, 1.3))); letter-spacing: var(--bkspot-hd-letter-spacing-t, var(--bkspot-hd-letter-spacing-d, normal)); word-spacing: var(--bkspot-hd-word-spacing-t, var(--bkspot-hd-word-spacing-d, normal)); }
106 .bkspot-text { font-size: var(--bkspot-tx-font-size-t, var(--bkspot-tx-font-size-d, var(--bkspot-tx-sz, 15px))); line-height: var(--bkspot-tx-line-height-t, var(--bkspot-tx-line-height-d, var(--bkspot-tx-lh, 1.6))); letter-spacing: var(--bkspot-tx-letter-spacing-t, var(--bkspot-tx-letter-spacing-d, normal)); word-spacing: var(--bkspot-tx-word-spacing-t, var(--bkspot-tx-word-spacing-d, normal)); }
107 .bkspot-link { font-size: var(--bkspot-lk-font-size-t, var(--bkspot-lk-font-size-d, var(--bkspot-tx-sz, 15px))); line-height: var(--bkspot-lk-line-height-t, var(--bkspot-lk-line-height-d, 1.4)); letter-spacing: var(--bkspot-lk-letter-spacing-t, var(--bkspot-lk-letter-spacing-d, normal)); word-spacing: var(--bkspot-lk-word-spacing-t, var(--bkspot-lk-word-spacing-d, normal)); }
108 }
109
110 /* ---- Typography responsive — mobile ---- */
111 @media (max-width: 767px) {
112 .bkspot-card .bkspot-heading { font-size: var(--bkspot-hd-font-size-m, var(--bkspot-hd-font-size-t, var(--bkspot-hd-font-size-d, var(--bkspot-hd-sz, 20px)))); line-height: var(--bkspot-hd-line-height-m, var(--bkspot-hd-line-height-t, var(--bkspot-hd-line-height-d, var(--bkspot-hd-lh, 1.3)))); letter-spacing: var(--bkspot-hd-letter-spacing-m, var(--bkspot-hd-letter-spacing-t, var(--bkspot-hd-letter-spacing-d, normal))); word-spacing: var(--bkspot-hd-word-spacing-m, var(--bkspot-hd-word-spacing-t, var(--bkspot-hd-word-spacing-d, normal))); }
113 .bkspot-text { font-size: var(--bkspot-tx-font-size-m, var(--bkspot-tx-font-size-t, var(--bkspot-tx-font-size-d, var(--bkspot-tx-sz, 15px)))); line-height: var(--bkspot-tx-line-height-m, var(--bkspot-tx-line-height-t, var(--bkspot-tx-line-height-d, var(--bkspot-tx-lh, 1.6)))); letter-spacing: var(--bkspot-tx-letter-spacing-m, var(--bkspot-tx-letter-spacing-t, var(--bkspot-tx-letter-spacing-d, normal))); word-spacing: var(--bkspot-tx-word-spacing-m, var(--bkspot-tx-word-spacing-t, var(--bkspot-tx-word-spacing-d, normal))); }
114 .bkspot-link { font-size: var(--bkspot-lk-font-size-m, var(--bkspot-lk-font-size-t, var(--bkspot-lk-font-size-d, var(--bkspot-tx-sz, 15px)))); line-height: var(--bkspot-lk-line-height-m, var(--bkspot-lk-line-height-t, var(--bkspot-lk-line-height-d, 1.4))); letter-spacing: var(--bkspot-lk-letter-spacing-m, var(--bkspot-lk-letter-spacing-t, var(--bkspot-lk-letter-spacing-d, normal))); word-spacing: var(--bkspot-lk-word-spacing-m, var(--bkspot-lk-word-spacing-t, var(--bkspot-lk-word-spacing-d, normal))); }
115 }
116