replace todo with embedder; add fullscreen support

This commit is contained in:
waveringana 2022-12-04 08:54:47 +00:00
parent 2043937909
commit 44da6f3720
7 changed files with 130 additions and 42 deletions

View file

@ -114,3 +114,31 @@ label {
line-height: 20px;
text-align: center;
}
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
z-index: 9999;
}
.modal img {
max-width: 100%;
max-height: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.modal video {
max-width: 100%;
max-height: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}