MDL-62386 theme: Fix audio playback display for HTML audio
[moodle.git] / filter / mediaplugin / styles.css
CommitLineData
fcd2cbaf
PS
1/**
2 * Filters
3 */
fab11235 4.mediaplugin {
bc33e9bd
DP
5 display: block;
6 margin-top: 5px;
7 margin-bottom: 5px;
8 text-align: center;
57bfb7c3 9}
fce0f1c2 10
57bfb7c3
DW
11.mediaplugin,
12.mediaplugin video {
fce0f1c2
DW
13 /* Make videos as wide as possible without being wider than their containers */
14 width: 100vw;
15 max-width: 100%;
8a802c90 16}
fcd2cbaf 17
fab11235
MG
18.mediaplugin > div {
19 margin: auto;
8a802c90 20}
8b6dcb04
MA
21
22/* Make media plugin behave properly in mod summaries and labels */
23.mod-indent-outer .mediaplugin {
24 display: table-cell;
25}