Use prettier for SCSS (#3895)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / style / bbcode / media.scss
CommitLineData
ae911c33 1.mediaBBCode {
3897dfcc 2 display: inline-table;
3ae040fc 3 max-width: 100%;
8a52619a 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;
8a52619a 12
ae911c33 13 @include wcfFontSmall;
8a52619a 14
9b6a008c
TD
15 .mediaBBCodeCaptionAlignment {
16 // https://stackoverflow.com/a/43627669/782822
17 display: inline-block;
18 text-align: justify;
19 }
ae911c33 20 }
8a52619a 21
5d99de07 22 video {
23 max-width: 100%;
24 }
ae911c33 25}
09d32a6e
MW
26
27/* workaround for broken iframes without height on mobile */
28iframe.instagram-media {
29 min-height: 530px;
30}