Fix hero image black borders on white page
Flood-fill the black export background to white so the embedded visual
blends with the hero section. Match figure/img backgrounds in CSS.
2 files modified
1 files added
| | |
| | | max-width: 22em; |
| | | } |
| | | |
| | | /* Right art: user-provided hero visual (use as-is) */ |
| | | /* Right art: user-provided hero visual (black bg removed → white) */ |
| | | .hero__art { |
| | | margin: 0; |
| | | line-height: 0; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: flex-end; |
| | | background: var(--hero-bg); |
| | | } |
| | | |
| | | .hero__art img { |
| | |
| | | width: 100%; |
| | | max-width: 100%; |
| | | height: auto; |
| | | background: var(--hero-bg); |
| | | border: 0; |
| | | } |
| | | |
| | | /* Main content */ |