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 / number-box / style.css

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

69 lines 3.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Number Box Block — bknb- prefix */
2 .bknb-outer {
3 display: inline-block;
4 max-width: 100%;
5 }
6 .bknb-box {
7 display: flex;
8 flex-direction: column;
9 align-items: center;
10 justify-content: center;
11 text-align: center;
12 width: var(--bknb-size, 160px);
13 height: var(--bknb-size, 160px);
14 background: var(--bknb-bg, #6c3fb5);
15 border-radius: var(--bknb-radius, 16px);
16 border: var(--bknb-brd, none);
17 box-shadow: var(--bknb-shadow, none);
18 padding: 16px;
19 box-sizing: border-box;
20 transition: transform .2s, box-shadow .2s;
21 }
22 .bknb-box:hover { transform: translateY(-3px); }
23
24 .bknb-number {
25 display: flex;
26 align-items: baseline;
27 gap: 2px;
28 color: var(--bknb-text, #fff);
29 font-family: var(--bknb-num-font-family, inherit);
30 font-size: var(--bknb-num-font-size-d, var(--bknb-numSz, 56px));
31 font-weight: var(--bknb-num-font-weight, 800);
32 font-style: var(--bknb-num-font-style, normal);
33 text-decoration: var(--bknb-num-text-decoration, none);
34 text-transform: var(--bknb-num-text-transform, none);
35 line-height: var(--bknb-num-line-height-d, 1);
36 letter-spacing: var(--bknb-num-letter-spacing-d, normal);
37 word-spacing: var(--bknb-num-word-spacing-d, normal);
38 }
39 .bknb-prefix, .bknb-suffix { font-size: .5em; font-weight: 600; }
40 .bknb-value { font-size: 1em; }
41
42 .bknb-label {
43 margin: 8px 0 0;
44 font-family: var(--bknb-lbl-font-family, inherit);
45 font-size: var(--bknb-lbl-font-size-d, var(--bknb-labelSz, 14px));
46 font-weight: var(--bknb-lbl-font-weight, 500);
47 font-style: var(--bknb-lbl-font-style, normal);
48 text-decoration: var(--bknb-lbl-text-decoration, none);
49 text-transform: var(--bknb-lbl-text-transform, none);
50 line-height: var(--bknb-lbl-line-height-d, 1.3);
51 letter-spacing: var(--bknb-lbl-letter-spacing-d, normal);
52 word-spacing: var(--bknb-lbl-word-spacing-d, normal);
53 color: var(--bknb-label, #fff);
54 opacity: .85;
55 }
56
57 /* Editor */
58 .wp-block-blockenberg-number-box .bknb-value,
59 .wp-block-blockenberg-number-box .bknb-label { outline: none; }
60
61 @media(max-width:1024px){
62 .bknb-number{font-size:var(--bknb-num-font-size-t,var(--bknb-num-font-size-d,var(--bknb-numSz,56px)));line-height:var(--bknb-num-line-height-t,var(--bknb-num-line-height-d,1));letter-spacing:var(--bknb-num-letter-spacing-t,var(--bknb-num-letter-spacing-d,normal));word-spacing:var(--bknb-num-word-spacing-t,var(--bknb-num-word-spacing-d,normal))}
63 .bknb-label{font-size:var(--bknb-lbl-font-size-t,var(--bknb-lbl-font-size-d,var(--bknb-labelSz,14px)));line-height:var(--bknb-lbl-line-height-t,var(--bknb-lbl-line-height-d,1.3));letter-spacing:var(--bknb-lbl-letter-spacing-t,var(--bknb-lbl-letter-spacing-d,normal));word-spacing:var(--bknb-lbl-word-spacing-t,var(--bknb-lbl-word-spacing-d,normal))}
64 }
65 @media(max-width:767px){
66 .bknb-number{font-size:var(--bknb-num-font-size-m,var(--bknb-num-font-size-d,48px));line-height:var(--bknb-num-line-height-m,var(--bknb-num-line-height-d,1));letter-spacing:var(--bknb-num-letter-spacing-m,var(--bknb-num-letter-spacing-d,normal));word-spacing:var(--bknb-num-word-spacing-m,var(--bknb-num-word-spacing-d,normal))}
67 .bknb-label{font-size:var(--bknb-lbl-font-size-m,var(--bknb-lbl-font-size-d,12px));line-height:var(--bknb-lbl-line-height-m,var(--bknb-lbl-line-height-d,1.3));letter-spacing:var(--bknb-lbl-letter-spacing-m,var(--bknb-lbl-letter-spacing-d,normal));word-spacing:var(--bknb-lbl-word-spacing-m,var(--bknb-lbl-word-spacing-d,normal))}
68 }
69