set figcaption for gallery
This commit is contained in:
parent
e86447e051
commit
3499d907d2
2 changed files with 5 additions and 5 deletions
|
|
@ -20,6 +20,11 @@ is-land:not(:defined) .gallery dialog + button {
|
|||
}
|
||||
|
||||
.gallery dialog img {
|
||||
aspect-ratio: auto;
|
||||
max-block-size: 70vh;
|
||||
inline-size: auto;
|
||||
}
|
||||
|
||||
.gallery dialog figcaption {
|
||||
color: currentColor;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,11 +17,6 @@
|
|||
border-bottom: 1px solid var(--color-bg-accent);
|
||||
}
|
||||
|
||||
/* light text colour for captions shown against the dark gallery backdrop */
|
||||
.prose .gallery dialog.flow figcaption {
|
||||
color: var(--color-base-light);
|
||||
}
|
||||
|
||||
:where(.prose :is(h2, h3, h4)) {
|
||||
--flow-space: var(--space-xl);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue