top img
This commit is contained in:
parent
6a9ec3b6e5
commit
01b39a1bc1
1 changed files with 28 additions and 1 deletions
|
@ -1,6 +1,33 @@
|
||||||
{{ template "head.html" .}}
|
{{ template "head.html" .}}
|
||||||
|
|
||||||
<main>
|
<div id="top_img">
|
||||||
|
<!-- <div
|
||||||
|
style="
|
||||||
|
background-image: url(/public/img/hack.jpg);
|
||||||
|
background-position: bottom;
|
||||||
|
background-size: cover;
|
||||||
|
height: 100vh;
|
||||||
|
position: relative;
|
||||||
|
"
|
||||||
|
></div> -->
|
||||||
|
<video src='/public/games/{{ .Data.TopHash }}.webm' autoplay loop muted
|
||||||
|
style="
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
object-position: bottom;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
</video>
|
||||||
|
<div
|
||||||
|
style="
|
||||||
|
position: absolute;
|
||||||
|
top: 66.66%; left: 0; right: 0; bottom: 0;
|
||||||
|
background: linear-gradient(in oklab to top, #FFFFFFFF, #FFFFFF00);
|
||||||
|
mix-blend-mode: color;
|
||||||
|
"
|
||||||
|
></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p style='
|
<p style='
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
Loading…
Add table
Reference in a new issue