mirror of
https://github.com/owncast/owncast.git
synced 2024-11-26 06:46:01 +03:00
37 lines
679 B
SCSS
37 lines
679 B
SCSS
@import '../../../styles/mixins';
|
|
|
|
.container {
|
|
display: grid;
|
|
width: 100%;
|
|
justify-items: center;
|
|
height: var(--player-container-height);
|
|
aspect-ratio: 16 / 9;
|
|
|
|
@media (width <= 1200px) {
|
|
height: 100%;
|
|
max-height: var(--player-container-height);
|
|
}
|
|
|
|
@include screen(desktop) {
|
|
// prevent sidebar from overlapping stream
|
|
// padding-right: 320px;
|
|
}
|
|
|
|
//set height of player for tablet
|
|
@include screen(tablet) {
|
|
height: var(--player-container-height);
|
|
max-height: var(--player-container-height);
|
|
}
|
|
|
|
.player,
|
|
.poster {
|
|
width: 100%;
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
}
|
|
}
|
|
|
|
.embedded {
|
|
height: 100vh;
|
|
max-height: unset;
|
|
}
|