This repository has been archived on 2024-09-29. You can view files and clone it, but cannot push or open issues or pull requests.
zorn-js/test/index.html
2023-10-17 08:45:17 -04:00

95 lines
No EOL
2.1 KiB
HTML

<!-- Credits -->
<!-- The video shown here is called "WING IT!" -->
<!-- It created by Blender Studio and Rik Schutte -->
<!-- Also available to watch on their official PeerTube: -->
<!-- https://video.blender.org/w/vrjS4NB4cwnJhrib8uEwi6 -->
<!DOCTYPE html>
<html>
<head>
<title>Plyx Player</title>
<link rel="stylesheet" href="/src/styles/app.css">
<script src="/src/index.js" type="module"></script>
<script src="https://kit.fontawesome.com/ecedfeb6bc.js" crossorigin="anonymous"></script>
</head>
<body>
<p>Plyx Player <span>By SudoVanilla</span></p>
<div class="video-container">
<video class="plyx-player" src="WING IT! - Blender Open Movie-1080p.mp4"></video>
</div>
<div class="credits">
<p><a href="https://video.blender.org/w/vrjS4NB4cwnJhrib8uEwi6">WING IT!</a> <span>By Blender Studio</span></p>
</div>
</body>
</html>
<style>
body {
background: #090909;
color: white;
font-family: arial;
overflow: hidden;
}
video {
border-radius: 12px;
}
body::before {
content: "";
background-image: url(https://video.blender.org/lazy-static/previews/3f6a8580-1bac-4513-ae59-2df7d032ba4f.jpg);
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
opacity: 0.06;
filter: blur(10px);
transform: scale(1.1);
}
body > p:nth-child(1) {
font-size: 24px;
margin: auto;
max-width: 1800px;
padding-top: 24px;
font-weight: bold;
padding-left: 24px;
}
.credits > p:nth-child(2) {
opacity: 0.5;
font-size: 14px;
margin: 0px;
}
span {
opacity: 0.5;
font-size: 14px;
}
.credits {
position: fixed;
bottom: 24px;
width: 100%;
max-width: 1800px;
margin: auto;
text-align: right;
left: 50%;
transform: translate(-50%);
padding-right: 48px;
}
a {
color: white;
}
.video-container {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
max-width: 1800px;
width: calc(100% - 48px);
}
</style>