@use '_variables' as *; @use '_mixins' as *; @use 'video.js/dist/video-js'; $assets-path: '../../assets/'; @use '../../sass/player/index'; [hidden] { display: none !important; } body { font-family: $main-fonts; font-weight: $font-regular; color: #000; } video { width: 99%; } /* fill the entire space */ html, body { height: 100%; margin: 0; background-color: #000; } #video-wrapper { width: 100%; height: 100%; } .video-js.vjs-peertube-skin { width: 100%; height: 100%; overflow: hidden; .vjs-poster { background-size: 100% auto; } } #error-block { display: none; flex-direction: column; align-content: center; justify-content: center; text-align: center; width: 100%; height: 100%; color: #fff; box-sizing: border-box; font-family: sans-serif; } #error-title { font-size: 45px; margin-bottom: 5px; } #error-content { font-size: 24px; } #placeholder-preview { position: absolute; top: 0; left: 0; background-size: 100% auto; width: 100%; height: 100%; background-position: 50% 50%; background-repeat: no-repeat; } .player-information { width: 100%; color: #fff; background: rgba(0, 0, 0, 0.6); padding: 20px 0; position: absolute; bottom: 0; text-align: center; } @media screen and (max-width: 300px) { #error-block { font-size: 36px; } #error-content { font-size: 14px; } }