mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-26 04:28:45 +01:00
improve stuff :3
This commit is contained in:
parent
cd9c61ccfa
commit
c2b05e4d2e
1 changed files with 22 additions and 25 deletions
|
@ -167,9 +167,7 @@ summary:hover{
|
|||
color: black;
|
||||
}
|
||||
|
||||
i {
|
||||
font-size:x-large
|
||||
}
|
||||
|
||||
</style>
|
||||
<style>body, html { margin: 0; padding: 0; } * { font-family: sans-serif; } .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>
|
||||
|
@ -196,19 +194,18 @@ summary:hover{
|
|||
<%=engagement.viewCount.toLocaleString()%> Views - Uploaded on <%=date%> :3
|
||||
<div class="video-info-buttons" style="font-family:'Inter';font-weight:900;white-space:yes;">
|
||||
<div>
|
||||
<i class="fa-light fa-thumbs-up"></i>
|
||||
<i class="fa-light fa-thumbs-up" style="font-size:x-large" ></i>
|
||||
<%=engagement.likes.toLocaleString()%>
|
||||
</div>
|
||||
<a>
|
||||
<i class="fa-light fa-thumbs-down"></i><%=engagement.dislikes.toLocaleString()%>
|
||||
<i class="fa-light fa-thumbs-down" style="font-size:x-large" ></i><%=engagement.dislikes.toLocaleString()%>
|
||||
</a>
|
||||
<a style="color:#fff" href="/api/video/download?v=<%=video.id%>&from=mobile">
|
||||
<i class="fa-light fa-download"></i>
|
||||
<i style="font-size:x-large" class="fa-light fa-download"></i>
|
||||
Download
|
||||
</a>
|
||||
<a style="color:#fff" href="#more"> <i class="fa-thin fa-circle-plus"></i> More.. </a>
|
||||
<a style="color:#fff" href="#more"> <i style="font-size:x-large" class="fa-thin fa-circle-plus"></i>More.. </a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="channel-info" name="chnl">
|
||||
<a href="/channel?id=<%=video.Channel.id%>" class="avatar">
|
||||
|
@ -229,9 +226,9 @@ summary:hover{
|
|||
<p class="description"><%-String(video.Description).replace(/\n/g, " <br> ")%> </p>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="secondary">
|
||||
|
||||
|
@ -304,7 +301,8 @@ 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"> More Options </h3>
|
||||
<h3 style="text-align:center;color:#fff;font-family:Ginto Nord,sans-serif;font-weight:700;white-space:yes;te"> 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>
|
||||
<% if (optout) { %>
|
||||
|
@ -321,8 +319,9 @@ summary:hover{
|
|||
<br> <br> <a href="/mobile?v=<%=video.id%>&r=f" > Lyrics (Wow) </a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
|
||||
<% } %>
|
||||
<p><i class="fa-light fa-shield"></i> The Connection is encrypted & secured in sha256 :3 </p>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -343,28 +342,29 @@ summary:hover{
|
|||
<p style=color:#fff>
|
||||
<%-lyrics%>
|
||||
</p>
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<% if (optout) { %>
|
||||
<!-- user_optout_piwik -->
|
||||
<!-- user_optout_piwik -->
|
||||
<% } %>
|
||||
|
||||
<% if (!optout) { %>
|
||||
<!-- MORE INFO :https://poketube.fun/privacy -->
|
||||
<!-- MORE INFO :https://poketube.fun/privacy -->
|
||||
|
||||
<!-- if you want to change the url - please see config in server.js -->
|
||||
|
||||
<!-- START <%=t%> -->
|
||||
|
||||
<!-- if you want to change the url - please see config in server.js -->
|
||||
|
||||
<!-- START <%=t%> -->
|
||||
<!-- mobile only -->
|
||||
<!-- no matomo.php, as its being blocked by ublock origin. -->
|
||||
<!-- dont use matomo.php, as its being blocked by ublock origin. -->
|
||||
<img src="<%=t%>t/index.php?idsite=5&rec=1" style="width: 0;visibility: hidden;border:0;" alt="" >
|
||||
<!--- mobile only -->
|
||||
|
||||
|
@ -372,10 +372,7 @@ summary:hover{
|
|||
<img src="<%=t%>t/rep.gif?video_id=<%=btoa(video.id)%>" style="width: 0;visibility: hidden;" id="videoID">
|
||||
<img src="<%=t%>t/rep.gif?channel_ID=<%=btoa(video.Channel.id)%>" style="width: 0;visibility: hidden;" id="channel">
|
||||
<img src="<%=t%>t/rep.gif?piwik=t" style="width: 0;visibility: hidden;" id="piwik_noip_no_personal-info_collect">
|
||||
|
||||
|
||||
<!-- END <%=t%> -->
|
||||
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue