mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 16:37:52 +01:00
change search bar
This commit is contained in:
parent
06a08e0ce8
commit
56a1c3097d
2 changed files with 37 additions and 30 deletions
|
@ -278,7 +278,6 @@ nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: 4em;
|
height: 4em;
|
||||||
grid-template-columns: 20% 60% 20%
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nav a {
|
nav a {
|
||||||
|
@ -307,22 +306,28 @@ nav .left a i {
|
||||||
}
|
}
|
||||||
|
|
||||||
nav .middle {
|
nav .middle {
|
||||||
display:flex;
|
display: flex;
|
||||||
justify-content:center;
|
justify-content: center;
|
||||||
align-items:center
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav .middle .search-bar {
|
nav .middle .search-bar {
|
||||||
background:#222;
|
display: flex;
|
||||||
border:1px solid #444;
|
transform: translateY(1em);
|
||||||
width:420px;
|
background: #222;
|
||||||
height:30px
|
border: 1px solid #444;
|
||||||
|
width: 320px;
|
||||||
|
height: 30px
|
||||||
}
|
}
|
||||||
|
|
||||||
nav .middle button {
|
nav .middle button {
|
||||||
background:#454545;
|
display: flex;
|
||||||
color:#999;
|
transform: translate(22em, -1.25em);
|
||||||
padding:7px 25px
|
background: #454545;
|
||||||
|
color: #999;
|
||||||
|
padding: 10px 10px;
|
||||||
|
border: 1px;
|
||||||
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav .middle input {
|
nav .middle input {
|
||||||
|
|
|
@ -186,10 +186,9 @@ src:url('https://cdn.statically.io/gh/brecert/discord-quote-generator/main/Ginto
|
||||||
display: flex;
|
display: flex;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
justify-content: normal;
|
justify-content: normal;
|
||||||
margin-left: 80px;
|
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
margin-right: 30px;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav .left {
|
nav .left {
|
||||||
|
@ -198,7 +197,7 @@ justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
margin-right: 100px;
|
margin-right: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav .middle {
|
nav .middle {
|
||||||
|
@ -206,8 +205,6 @@ margin-right: 100px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin-left: 100px;
|
|
||||||
margin-right: 100px;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
@ -216,18 +213,23 @@ margin-right: 100px;
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="app" style="color:#fff">
|
<div class="app" style="color:#fff">
|
||||||
<nav>
|
<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="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>
|
<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>
|
<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>
|
|
||||||
<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>
|
</div>
|
||||||
|
<div class="right">
|
||||||
</nav>
|
<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>
|
||||||
<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>
|
<body>
|
||||||
<div class="app" style="color:#fff;margin-top: 0;">
|
<div class="app" style="color:#fff;margin-top: 0;">
|
||||||
<nav>
|
<nav>
|
||||||
|
@ -699,7 +701,7 @@ summary:hover{
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<h3 style="color:#fff;font-family:Ginto Nord,sans-serif;font-weight:700;white-space:yes;"> Description</h3>
|
<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>
|
<p class="description"><%-String(video.Description).replace(/\n/g, " <br> ")%> </p>
|
||||||
|
|
||||||
|
@ -779,7 +781,7 @@ summary:hover{
|
||||||
<a name="more"></a>
|
<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;">
|
<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>
|
<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">
|
<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>
|
<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