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 / image-magnifier / style.css

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

85 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ── Image Magnifier ────────────────────────────────────────────────────── */
2 .bkmag-wrap {
3 display: block;
4 box-sizing: border-box;
5 margin-bottom: 28px;
6 }
7
8 .bkmag-container {
9 display: inline-block;
10 position: relative;
11 cursor: crosshair;
12 max-width: 100%;
13 user-select: none;
14 }
15
16 .bkmag-img {
17 display: block;
18 max-width: 100%;
19 pointer-events: none;
20 user-select: none;
21 }
22
23 /* Floating lens */
24 .bkmag-lens {
25 position: absolute;
26 pointer-events: none;
27 z-index: 10;
28 background-repeat: no-repeat;
29 display: none;
30 overflow: hidden;
31 }
32
33 /* Side preview panel */
34 .bkmag-preview {
35 position: absolute;
36 left: calc(100% + 12px);
37 top: 0;
38 pointer-events: none;
39 z-index: 10;
40 background-repeat: no-repeat;
41 overflow: hidden;
42 display: none;
43 box-sizing: border-box;
44 }
45
46 .bkmag-container:hover .bkmag-lens,
47 .bkmag-container:hover .bkmag-preview {
48 display: block;
49 }
50
51 .bkmag-hint {
52 pointer-events: none;
53 }
54
55 .bkmag-caption {
56 display: block;
57 font-family: var(--bkmag-cp-font-family, inherit);
58 font-size: var(--bkmag-cp-font-size-d, var(--bkmag-cp-sz, 13px));
59 font-weight: var(--bkmag-cp-font-weight, var(--bkmag-cp-w, 400));
60 font-style: var(--bkmag-cp-font-style, normal);
61 text-decoration: var(--bkmag-cp-text-decoration, none);
62 text-transform: var(--bkmag-cp-text-transform, none);
63 line-height: var(--bkmag-cp-line-height-d, var(--bkmag-cp-lh, 1.5));
64 letter-spacing: var(--bkmag-cp-letter-spacing-d, normal);
65 word-spacing: var(--bkmag-cp-word-spacing-d, normal);
66 }
67
68 /* ── Responsive typography ────────────────────────────────────── */
69 @media (max-width: 1024px) {
70 .bkmag-caption {
71 font-size: var(--bkmag-cp-font-size-t, var(--bkmag-cp-font-size-d, var(--bkmag-cp-sz, 13px)));
72 line-height: var(--bkmag-cp-line-height-t, var(--bkmag-cp-line-height-d, var(--bkmag-cp-lh, 1.5)));
73 letter-spacing: var(--bkmag-cp-letter-spacing-t, var(--bkmag-cp-letter-spacing-d, normal));
74 word-spacing: var(--bkmag-cp-word-spacing-t, var(--bkmag-cp-word-spacing-d, normal));
75 }
76 }
77 @media (max-width: 767px) {
78 .bkmag-caption {
79 font-size: var(--bkmag-cp-font-size-m, var(--bkmag-cp-font-size-t, var(--bkmag-cp-font-size-d, var(--bkmag-cp-sz, 13px))));
80 line-height: var(--bkmag-cp-line-height-m, var(--bkmag-cp-line-height-t, var(--bkmag-cp-line-height-d, var(--bkmag-cp-lh, 1.5))));
81 letter-spacing: var(--bkmag-cp-letter-spacing-m, var(--bkmag-cp-letter-spacing-t, var(--bkmag-cp-letter-spacing-d, normal)));
82 word-spacing: var(--bkmag-cp-word-spacing-m, var(--bkmag-cp-word-spacing-t, var(--bkmag-cp-word-spacing-d, normal)));
83 }
84 }
85