themes/stanford_basic/src/scss/components/wysiwyg/_media.scss
@charset 'UTF-8';
.su-wysiwyg-text {
.align-center {
img,
picture {
@include margin(0 auto);
}
.media {
&.file {
text-align: center;
}
&.video {
aspect-ratio: 16/9;
iframe {
height: 100%;
width: 100%;
}
}
}
}
.align-left {
.file {
&.media {
padding: 0.4em 1.5em 0 0;
}
}
}
.align-right {
.file {
&.media {
padding: 0.4em 0 0 1.5em;
}
}
}
}