-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
47 lines (47 loc) · 1.13 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.k-block-container.k-block-container-type-customimage {
padding: 0;
}
.k-block-type-customimage .k-block-figure {
padding: var(--spacing-3);
border-radius: var(--rounded);
}
.k-block-type-customimage .k-block-figure-container {
line-height: 0;
}
.k-block-type-customimage .k-block-figure[data-empty="true"] {
padding: var(--spacing-3);
}
.k-block-type-customimage-auto {
max-width: 100%;
max-height: 30rem;
}
.k-block-type-customimage .k-background-dropdown {
position: absolute;
inset-inline-end: var(--spacing-3);
bottom: var(--spacing-3);
opacity: 0;
transition: opacity 0.2s ease-in-out;
}
.k-block-type-customimage:hover .k-background-dropdown {
opacity: 1;
}
.k-block .k-block-background-dropdown {
display: none;
}
.k-block-figure-caption {
justify-content: start;
}
.k-block-figure-container img[class*="img-c"] {
margin-left: auto;
margin-right: auto;
}
.k-block-figure:has(img[class*="img-c"]) .k-block-figure-caption {
justify-content: center;
}
.k-block-figure-container img[class*="img-r"] {
margin-left: auto;
margin-right: 0;
}
.k-block-figure:has(img[class*="img-r"]) .k-block-figure-caption {
justify-content: end;
}