Merge pull request #63 from guidorota/fix-caption-text-contrast

Fix image caption text contrast
This commit is contained in:
Lene Saile 2024-10-28 11:16:02 +01:00 committed by GitHub
commit bb0feb7a67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,6 +17,11 @@
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);
}