Skip to content

Commit

Permalink
themes: exposure: style-page.css: make caption 100% of bordered-picture
Browse files Browse the repository at this point in the history
The caption is part of a div being 100% of the media to show (be it a
video or a picture), therefore adding a right and left margin makes it
only take the centered 75% of the media instead of the full width.

The 11.5% are actually applied to the parent parent container. It's a
mistake to duplicate it, so let's remove it.

Signed-off-by: Quentin Schulz <foss+recitale@0leil.net>
  • Loading branch information
QSchulz committed Dec 30, 2023
1 parent 5101fcb commit be32737
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions recitale/themes/exposure/static/css/style-page.css
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,6 @@ footer a {
text-align: center;
}

.bordered-picture .caption__overlay {
margin-left: 11.5%;
margin-right: 11.5%;
}

.center, .center-align {
text-align: center;
}
Expand Down

0 comments on commit be32737

Please sign in to comment.