Fix image caption text contrast

This commit changes the colour of caption text to Base Light to provide
more contrast with the dark background.
This commit is contained in:
Guido Rota 2024-10-25 21:35:44 +11:00
parent 3f56328f4d
commit 522db3ef81

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);
}