mirror of
https://github.com/gilbN/theme.park.git
synced 2024-11-04 10:12:31 +01:00
video background fix
This commit is contained in:
parent
1458b821db
commit
bfdd50dba0
@ -53,11 +53,12 @@ body {
|
||||
left: 0;
|
||||
}
|
||||
#video-bg-elem {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
min-height: 100%;
|
||||
min-width: 100%;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 1;
|
||||
}
|
||||
/*TEXT COLOR*/
|
||||
#login h1,
|
||||
|
@ -4,4 +4,4 @@
|
||||
let video = `
|
||||
<div class="background-wrap"><video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted"> <source src="https:\/\/gilbn.github.io\/theme.park\/CSS\/addons\/unraid\/login-page\/fallout\/video\/VaultTecCRTLoop.mp4" type="video\/mp4">Video not supported</video></div>
|
||||
`
|
||||
document.body.innerHTML += video
|
||||
document.body.innerHTML += video;
|
||||
|
Loading…
Reference in New Issue
Block a user