mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-26 15:38:48 +01:00
commit
959f52003a
2 changed files with 37 additions and 30 deletions
|
@ -278,7 +278,6 @@ nav {
|
|||
display: flex;
|
||||
justify-content: space-between;
|
||||
height: 4em;
|
||||
grid-template-columns: 20% 60% 20%
|
||||
}
|
||||
|
||||
nav a {
|
||||
|
@ -307,22 +306,28 @@ nav .left a i {
|
|||
}
|
||||
|
||||
nav .middle {
|
||||
display:flex;
|
||||
justify-content:center;
|
||||
align-items:center
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
nav .middle .search-bar {
|
||||
background:#222;
|
||||
border:1px solid #444;
|
||||
width:420px;
|
||||
height:30px
|
||||
display: flex;
|
||||
transform: translateY(1em);
|
||||
background: #222;
|
||||
border: 1px solid #444;
|
||||
width: 320px;
|
||||
height: 30px
|
||||
}
|
||||
|
||||
nav .middle button {
|
||||
background:#454545;
|
||||
color:#999;
|
||||
padding:7px 25px
|
||||
display: flex;
|
||||
transform: translate(22em, -1.25em);
|
||||
background: #454545;
|
||||
color: #999;
|
||||
padding: 10px 10px;
|
||||
border: 1px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
nav .middle input {
|
||||
|
|
|
@ -186,10 +186,9 @@ src:url('https://cdn.statically.io/gh/brecert/discord-quote-generator/main/Ginto
|
|||
display: flex;
|
||||
border-radius: 5px;
|
||||
justify-content: normal;
|
||||
margin-left: 80px;
|
||||
padding-left: 0px;
|
||||
margin-right: 30px;
|
||||
align-items: center;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
nav .left {
|
||||
|
@ -198,7 +197,7 @@ justify-content: flex-start;
|
|||
align-items: center;
|
||||
border-radius: 5px;
|
||||
padding-left: 0px;
|
||||
margin-right: 100px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
nav .middle {
|
||||
|
@ -206,8 +205,6 @@ margin-right: 100px;
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 5px;
|
||||
margin-left: 100px;
|
||||
margin-right: 100px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
@ -216,18 +213,23 @@ margin-right: 100px;
|
|||
<body>
|
||||
|
||||
<div class="app" style="color:#fff">
|
||||
<nav>
|
||||
<div class=left><a class="class" href="/143" style=font-family:Inter,sans-serif;color:#fff> <img style="width: 8.5em;display: block;margin-left: auto;margin-right: auto;" src="/css/logo.svg?v=5"> </a> </div>
|
||||
<div class=middle>
|
||||
<form action=/search><input class=search-bar autocomplete="on" id=fname name=query style="color:#fff;font-family:Inter,sans-serif;"> <button class="btn btn-success" type=submit><i class="fa-light fa-search"></i></button></form>
|
||||
</div>
|
||||
<div class=right >
|
||||
<a href="/privacy"><i style="display: block;margin-left: auto;margin-right: auto;" class="fa-light fa-shield"></i></a> <a href="/video/upload?from="><i style="display: block;margin-left: auto;margin-right: auto;" class="fa-light fa-video"></i></a> <a href="/download?v=<%=video.id%>"><i style="display: block;margin-left: auto;margin-right: auto;" class="fa-light fa-download"></i></a>
|
||||
|
||||
|
||||
<nav>
|
||||
<div class="left"><a class="class" href="/143" style=font-family:Inter,sans-serif;color:#fff> <img style="transform: scale(1.3);padding-left:0.9em;width: 8.5em;display: block;margin-left: auto;margin-right: auto;" src="/css/logo.svg?v=5"> </a> </div>
|
||||
<div class="middle">
|
||||
<form action=/search><input class=search-bar autocomplete="on" id=fname name=query style="color:#fff;font-family:Inter,sans-serif;border-radius: 8px;"> <button class="btn btn-success" type=submit><i class="fa-light fa-search"></i></button></form>
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
<div class="right">
|
||||
<a href="/privacy">
|
||||
<i style="display: block;margin-left: auto;margin-right: auto;" class="fa-light fa-shield"></i>
|
||||
</a>
|
||||
<a href="/video/upload?from=">
|
||||
<i style="display: block;margin-left: auto;margin-right: auto;" class="fa-light fa-video"></i>
|
||||
</a>
|
||||
<a href="/download?v=<%=video.id%>">
|
||||
<i style="display: block;margin-left: auto;margin-right: auto;" class="fa-light fa-download"></i>
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
|
@ -651,7 +653,7 @@ summary:hover{
|
|||
|
||||
|
||||
</style>
|
||||
<style>body, html { margin: 0; padding: 0; } * { font-family: sans-serif; color:#fff } .player { background-color: #000 !important; display: grid; grid-template-columns: 1fr min-content; grid-template-rows: max-content 1fr max-content max-content max-content; gap: 0 0; width: 100%; /* height: 100%; */ aspect-ratio: 16 / 9; } .player * { color: #fff; } .player.embed, video.embed { position: fixed; top: 0; bottom: 0; left: 0; right: 0; } .player * { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .player > video { position: relative; width: 100%; height: 100%; z-index: 0; grid-area: 1 / 1 / 6 / 3; } .player.hide-controls > .player-title, .player.hide-controls > .player-controls, .player.hide-controls > .player-playback-bar-container, .player.hide-controls > .player-menu { display: none !important; } .player-controls { background-color: #0007; display: flex; justify-content: center; align-items: center; z-index: 1; grid-area: 1 / 1 / 6 / 3; } .player-button { width: 96px; height: 96px; font-size: 90px; text-align: center; line-height: 48px; } .player-tiny-button { width: 40px; font-size: 20px; text-align: center; } .player-tiny-button > i { color: #ddd; } .player-button, .player-button * { color: #dddddd !important; text-decoration: none; } .player-button > i { min-width: 48px; } .player-button:hover, .player-button:hover * { color: #fff !important; } .player-playback-bar { transition: width linear 100ms; } .player-playback-bar-container { grid-area: 4 / 1 / 5 / 3; display: flex; column-gap: 8px; justify-content: center; align-items: center; height: 8px; transition: height linear 100ms; width: 100%; z-index: 2; margin-bottom: 10px; } .player-playback-bar-bg { background-color: #fff3 !important; width: 100%; height: 100%; z-index: 2; display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; } .player-playback-bar-bg > * { grid-area: 1 / 1 / 2 / 2; } .player-playback-bar-buffer { background-color: #fffa !important; height: 100%; width: 0; z-index: 3; } .player-playback-bar-fg { background-color: #f00 !important; height: 100%; width: 0; z-index: 4; } .player-buffering { grid-area: 1 / 1 / 6 / 3; z-index: 1; display: flex; justify-content: center; align-items: center; } .player-buffering-spinner { width: 80px; height: 80px; }></style>
|
||||
<style>body, html { margin: 0; padding: 0; } * { font-family: sans-serif; color:#fff } .player { background-color: #000 !important; display: grid; grid-template-columns: 1fr min-content; grid-template-rows: max-content 1fr max-content max-content max-content; gap: 0 0; width: 100%; /* height: 100%; */ aspect-ratio: 16 / 9; } .player * { color: #fff; } .player.embed, video.embed { position: fixed; top: 0; bottom: 0; left: 0; right: 0; } .player * { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .player > video { position: relative; width: 100%; height: 100%; z-index: 0; grid-area: 1 / 1 / 6 / 3; } .player.hide-controls > .player-title, .player.hide-controls > .player-controls, .player.hide-controls > .player-playback-bar-container, .player.hide-controls > .player-menu { display: none !important; } .player-controls { background-color: #0007; display: flex; justify-content: center; align-items: center; z-index: 1; grid-area: 1 / 1 / 6 / 3; } .player-button { width: 96px; height: 96px; font-size: 90px; text-align: center; line-height: 48px; } .player-tiny-button { width: 40px; font-size: 20px; text-align: center; } .player-tiny-button > i { color: #ddd; } .player-button, .player-button * { color: #dddddd !important; text-decoration: none; } .player-button > i { min-width: 48px; } .player-button:hover, .player-button:hover * { color: #fff !important; } .player-playback-bar { transition: width linear 100ms; } .player-playback-bar-container { grid-area: 4 / 1 / 5 / 3; display: flex; column-gap: 8px; justify-content: center; align-items: center; height: 8px; transition: height linear 100ms; width: 100%; z-index: 2; margin-bottom: 10px; } .player-playback-bar-bg { background-color: #fff3 !important; width: 100%; height: 100%; z-index: 2; display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; } .player-playback-bar-bg > * { grid-area: 1 / 1 / 2 / 2; } .player-playback-bar-buffer { background-color: #fffa !important; height: 100%; width: 0; z-index: 3; } .player-playback-bar-fg { background-color: #f00 !important; height: 100%; width: 0; z-index: 4; } .player-buffering { grid-area: 1 / 1 / 6 / 3; z-index: 1; display: flex; justify-content: center; align-items: center; } .player-buffering-spinner { width: 80px; height: 80px; }</style>
|
||||
<body>
|
||||
<div class="app" style="color:#fff;margin-top: 0;">
|
||||
<nav>
|
||||
|
@ -699,7 +701,7 @@ summary:hover{
|
|||
<div>
|
||||
|
||||
<h3 style="color:#fff;font-family:Ginto Nord,sans-serif;font-weight:700;white-space:yes;"> Description</h3>
|
||||
<details open style="color=#fff"><summary style="color=#fff"></summary>
|
||||
<details open style="color:#fff"><summary style="color:#fff"></summary>
|
||||
|
||||
<p class="description"><%-String(video.Description).replace(/\n/g, " <br> ")%> </p>
|
||||
|
||||
|
@ -779,7 +781,7 @@ summary:hover{
|
|||
<a name="more"></a>
|
||||
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;margin: 0 0;/*! width: 4.5em; */height: 0;">
|
||||
|
||||
<h3 style="text-align:center;color:#fff;font-family:Ginto Nord,sans-serif;font-weight:700;white-space:yes;te"> MOAR </h3>
|
||||
<h3 style="text-align:center;color:#fff;font-family:Ginto Nord,sans-serif;font-weight:700;white-space:yes"> MOAR </h3>
|
||||
<p style="text-align:center;color:#fff; font-weight:700;white-space:yes;margin:0">More Epic options owo~</p>
|
||||
<div style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;" align="center">
|
||||
<a href="https://youtube.com/watch?v=<%=video.id%>">Open On YouTube</a> • <a href="/privacy">Privacy</a> • <a href="https://github.com/iamashley0/poketube/">Git</a>
|
||||
|
|
Loading…
Reference in a new issue