Commit | Line | Data |
---|---|---|
ae911c33 | 1 | .mediaBBCode { |
9b6a008c | 2 | display: table; |
3ae040fc | 3 | max-width: 100%; |
ae911c33 | 4 | |
bac7aefb | 5 | .mediaBBCodeCaption { |
ae911c33 | 6 | color: $wcfContentDimmedText; |
9b6a008c TD |
7 | // https://stackoverflow.com/a/11652170/782822 |
8 | display: table-caption; | |
9 | caption-side: bottom; | |
ae911c33 MW |
10 | margin-top: 5px; |
11 | text-align: center; | |
12 | ||
13 | @include wcfFontSmall; | |
9b6a008c TD |
14 | |
15 | .mediaBBCodeCaptionAlignment { | |
16 | // https://stackoverflow.com/a/43627669/782822 | |
17 | display: inline-block; | |
18 | text-align: justify; | |
19 | } | |
ae911c33 | 20 | } |
5d99de07 | 21 | |
22 | video { | |
23 | max-width: 100%; | |
24 | } | |
ae911c33 | 25 | } |
09d32a6e MW |
26 | |
27 | /* workaround for broken iframes without height on mobile */ | |
28 | iframe.instagram-media { | |
29 | min-height: 530px; | |
30 | } |