Keep the Church Center giving modal see-through in dark mode
Its transparent full-page iframe is drawn for light pages; with the site in dark mode the browser painted the iframe opaque and the page went white. The iframe is now declared light, matching its content. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
adbc449029
commit
7c1723b0ad
1 changed files with 9 additions and 0 deletions
|
|
@ -149,6 +149,15 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Church Center's giving modal (Giving.tsx) is a transparent iframe
|
||||||
|
over the whole page, drawn for light pages. On a dark page the
|
||||||
|
browser sees the iframe's scheme differ from ours and paints its
|
||||||
|
background opaque, so the page behind goes solid white. Telling it
|
||||||
|
the iframe is light keeps the backdrop see-through. */
|
||||||
|
iframe[src*="churchcenter"] {
|
||||||
|
color-scheme: light;
|
||||||
|
}
|
||||||
|
|
||||||
/* Corners, one rule for the site: actions (buttons, pills, chips)
|
/* Corners, one rule for the site: actions (buttons, pills, chips)
|
||||||
are rounded-full; cards and panels are rounded-3xl when large and
|
are rounded-full; cards and panels are rounded-3xl when large and
|
||||||
rounded-2xl when small; media and logos inside a card are
|
rounded-2xl when small; media and logos inside a card are
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue