aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/base.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/sass/base.scss')
-rw-r--r--src/sass/base.scss13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/sass/base.scss b/src/sass/base.scss
index 9bb9d98a..811c762d 100644
--- a/src/sass/base.scss
+++ b/src/sass/base.scss
@@ -5,24 +5,27 @@
// Base
.plyr {
@include plyr-font-smoothing($plyr-font-smoothing);
-
+ align-items: center;
direction: ltr;
+ display: flex;
font-family: $plyr-font-family;
font-variant-numeric: tabular-nums; // Force monosace-esque number widths
font-weight: $plyr-font-weight-regular;
+ height: 100%;
line-height: $plyr-line-height;
max-width: 100%;
min-width: 200px;
position: relative;
text-shadow: none;
transition: box-shadow 0.3s ease;
+ z-index: 0; // Force any border radius
// Media elements
video,
- audio {
- border-radius: inherit;
- height: auto;
- vertical-align: middle;
+ audio,
+ iframe {
+ display: block;
+ height: 100%;
width: 100%;
}