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

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

109 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Tilt Card — bktc2- */
2 .bktc2-outer {
3 display: flex;
4 justify-content: center;
5 padding: 32px 16px;
6 }
7 .bktc2-card {
8 position: relative;
9 overflow: hidden;
10 transform-style: preserve-3d;
11 will-change: transform;
12 cursor: default;
13 box-sizing: border-box;
14 transition: transform 0.15s ease, box-shadow 0.15s ease;
15 }
16 .bktc2-img {
17 width: 100%;
18 background-size: cover;
19 background-position: center;
20 }
21 .bktc2-body {
22 box-sizing: border-box;
23 }
24 .bktc2-heading {
25 font-family: var(--bktc2-ht-font-family, inherit);
26 font-size: var(--bktc2-ht-font-size-d, 20px);
27 line-height: var(--bktc2-ht-line-height-d, 1.2);
28 font-weight: var(--bktc2-ht-font-weight, 800);
29 font-style: var(--bktc2-ht-font-style, normal);
30 text-decoration: var(--bktc2-ht-text-decoration, none);
31 text-transform: var(--bktc2-ht-text-transform, none);
32 letter-spacing: var(--bktc2-ht-letter-spacing-d, normal);
33 word-spacing: var(--bktc2-ht-word-spacing-d, normal);
34 margin: 0 0 10px;
35 }
36 .bktc2-card h3.bktc2-heading {
37 font-family: var(--bktc2-ht-font-family, inherit);
38 font-size: var(--bktc2-ht-font-size-d, 20px);
39 line-height: var(--bktc2-ht-line-height-d, 1.2);
40 font-weight: var(--bktc2-ht-font-weight, 800);
41 font-style: var(--bktc2-ht-font-style, normal);
42 text-decoration: var(--bktc2-ht-text-decoration, none);
43 text-transform: var(--bktc2-ht-text-transform, none);
44 letter-spacing: var(--bktc2-ht-letter-spacing-d, normal);
45 word-spacing: var(--bktc2-ht-word-spacing-d, normal);
46 margin: 0 0 10px;
47 }
48 .bktc2-text {
49 font-family: var(--bktc2-bt-font-family, inherit);
50 font-size: var(--bktc2-bt-font-size-d, 14px);
51 line-height: var(--bktc2-bt-line-height-d, 1.6);
52 font-weight: var(--bktc2-bt-font-weight, normal);
53 font-style: var(--bktc2-bt-font-style, normal);
54 text-decoration: var(--bktc2-bt-text-decoration, none);
55 text-transform: var(--bktc2-bt-text-transform, none);
56 letter-spacing: var(--bktc2-bt-letter-spacing-d, normal);
57 word-spacing: var(--bktc2-bt-word-spacing-d, normal);
58 margin: 0 0 16px;
59 }
60 .bktc2-link {
61 display: inline-block;
62 font-family: var(--bktc2-bt-font-family, inherit);
63 font-size: var(--bktc2-bt-font-size-d, 14px);
64 font-weight: var(--bktc2-bt-font-weight, 700);
65 text-decoration: var(--bktc2-bt-text-decoration, none);
66 transition: opacity 0.2s;
67 }
68 .bktc2-link:hover { opacity: 0.75; }
69
70 @media (max-width: 1024px) {
71 .bktc2-card .bktc2-heading {
72 font-size: var(--bktc2-ht-font-size-t, var(--bktc2-ht-font-size-d, 20px));
73 line-height: var(--bktc2-ht-line-height-t, var(--bktc2-ht-line-height-d, 1.2));
74 letter-spacing: var(--bktc2-ht-letter-spacing-t, var(--bktc2-ht-letter-spacing-d, normal));
75 word-spacing: var(--bktc2-ht-word-spacing-t, var(--bktc2-ht-word-spacing-d, normal));
76 }
77 .bktc2-card .bktc2-text,
78 .bktc2-card .bktc2-link {
79 font-size: var(--bktc2-bt-font-size-t, var(--bktc2-bt-font-size-d, 14px));
80 line-height: var(--bktc2-bt-line-height-t, var(--bktc2-bt-line-height-d, 1.6));
81 letter-spacing: var(--bktc2-bt-letter-spacing-t, var(--bktc2-bt-letter-spacing-d, normal));
82 word-spacing: var(--bktc2-bt-word-spacing-t, var(--bktc2-bt-word-spacing-d, normal));
83 }
84 }
85
86 @media (max-width: 767px) {
87 .bktc2-card .bktc2-heading {
88 font-size: var(--bktc2-ht-font-size-m, var(--bktc2-ht-font-size-t, var(--bktc2-ht-font-size-d, 20px)));
89 line-height: var(--bktc2-ht-line-height-m, var(--bktc2-ht-line-height-t, var(--bktc2-ht-line-height-d, 1.2)));
90 letter-spacing: var(--bktc2-ht-letter-spacing-m, var(--bktc2-ht-letter-spacing-t, var(--bktc2-ht-letter-spacing-d, normal)));
91 word-spacing: var(--bktc2-ht-word-spacing-m, var(--bktc2-ht-word-spacing-t, var(--bktc2-ht-word-spacing-d, normal)));
92 }
93 .bktc2-card .bktc2-text,
94 .bktc2-card .bktc2-link {
95 font-size: var(--bktc2-bt-font-size-m, var(--bktc2-bt-font-size-t, var(--bktc2-bt-font-size-d, 14px)));
96 line-height: var(--bktc2-bt-line-height-m, var(--bktc2-bt-line-height-t, var(--bktc2-bt-line-height-d, 1.6)));
97 letter-spacing: var(--bktc2-bt-letter-spacing-m, var(--bktc2-bt-letter-spacing-t, var(--bktc2-bt-letter-spacing-d, normal)));
98 word-spacing: var(--bktc2-bt-word-spacing-m, var(--bktc2-bt-word-spacing-t, var(--bktc2-bt-word-spacing-d, normal)));
99 }
100 }
101 .bktc2-glare {
102 position: absolute;
103 inset: 0;
104 pointer-events: none;
105 background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 60%);
106 transition: opacity 0.15s;
107 border-radius: inherit;
108 }
109