mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
26 lines
475 B
CSS
26 lines
475 B
CSS
/**
|
|
* Filters
|
|
*/
|
|
.mediaplugin {
|
|
display: block;
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
.mediaplugin,
|
|
.mediaplugin video {
|
|
/* Make videos as wide as possible without being wider than their containers */
|
|
width: 100vw;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.mediaplugin > div {
|
|
margin: auto;
|
|
}
|
|
|
|
/* Make media plugin behave properly in mod summaries and labels */
|
|
.mod-indent-outer .mediaplugin {
|
|
display: table-cell;
|
|
}
|