Files
2021-06-25 08:25:11 +00:00

117 lines
1.9 KiB
CSS
Vendored

html, body {
width: 100%;
height: 100%;
}
* {
margin: 0px;
padding: 0px;
overflow: hidden;
}
body {
background: black;
}
#myVideoLoop video {
position: absolute;
}
div#myVideoLoop {
height: inherit;
display: flex;
justify-content: center;
}
div#html5canloop {
color: white;
position: absolute;
bottom: 0;
font-weight: bold;
padding: 10px;
background: #202020;
}
button#hidden_default {
visibility: hidden;
}
.source_info {
color: white;
width: inherit;
background: #0d0d0d;
position: fixed;
z-index: 1;
padding: 10px;
}
span#sinfo {
padding: 10px;
font-style: italic;
vertical-align: super;
}
#myVideoLoop {
position: fixed;
top: 0; right: 0; bottom: 0; left: 0;
overflow: hidden;
}
#myVideoLoop > video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
@media (min-aspect-ratio: 16/9) {
#myVideoLoop > video { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
#myVideoLoop > video { width: 300%; left: -100%; }
}
@supports (object-fit: cover) {
#myVideoLoop > video {
top: 0; left: 0;
width: 100%; height: 100%;
object-fit: cover;
}
}
input#volume {
vertical-align: sub;
margin-left: 10px;
}
/*******/
input[type=range] {
height: 31px;
-webkit-appearance: none;
background: #0d0d0d;
}
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 5px;
cursor: pointer;
background: #f51945;
border-radius: 4px;
border: 1px solid #f51945;
}
input[type=range]::-webkit-slider-thumb {
height: 20px;
width: 20px;
border-radius: 10px;
background: #1d1c1c;
cursor: pointer;
-webkit-appearance: none;
margin-top: -8.5px;
border: 2px solid white;
margin-left: 0px;
}
.source_info {
vertical-align: super;
display: flex;
align-items: center;
}