MWSE/public/index.css

57 lines
1.0 KiB
CSS

html,body{
margin: 0;
height: 100%;
}
body{
background-color: #141414;
}
.root{
gap: 10px;
padding: 0px;
height: 100%;
display: flex;
flex-wrap: nowrap;
flex-direction: row;
box-sizing: border-box;
}
.videolist{
padding-right: 10px;
cursor: pointer;
width: 100%;
height: 100%;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
grid-template-rows: repeat(auto-fit, minmax(23vh, 1fr));
gap: 5px;
justify-content: center;
align-items: center;
}
.videolist .frame{
border: solid 3px transparent;
aspect-ratio: 16 / 9;
width: 100%;
object-fit: contain;
max-width: 100%;
max-height: 100%;
align-items: center;
}
.videolist .frame.active{
border: solid 3px green;
box-shadow: 0px 0px 20px -10px green;
}
video{
image-rendering: pixelated;
}
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-thumb {
background: white;
border-radius: 10px;
}
::-webkit-scrollbar-track {
background-color: #ffffff1f;
}