mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 15:17:55 +01:00
fix mobile :3
This commit is contained in:
parent
4a1b5b3d20
commit
37c3d92b0e
1 changed files with 41 additions and 2 deletions
|
@ -2129,6 +2129,10 @@ fetch(statsurl + "?browser=" + encodedBrowserName)
|
||||||
text-decoration:underline;
|
text-decoration:underline;
|
||||||
font-weight:bold
|
font-weight:bold
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.video a {
|
||||||
|
text-decoration:none !important;
|
||||||
|
}
|
||||||
summary{
|
summary{
|
||||||
color:gray;
|
color:gray;
|
||||||
}
|
}
|
||||||
|
@ -2943,7 +2947,10 @@ More Epic options owo~
|
||||||
|
|
||||||
|
|
||||||
<% if (!f) { %>
|
<% if (!f) { %>
|
||||||
<% inv_vid?.recommendedVideos.forEach(x => { %>
|
|
||||||
|
<% if (inv_vid.recommendedVideos) { %>
|
||||||
|
|
||||||
|
<% inv_vid?.recommendedVideos.forEach(x => { %>
|
||||||
<div class="fade-in video">
|
<div class="fade-in video">
|
||||||
<% if (!optout) { %><a class="thumbnail" href="/watch?v=<%= x.videoId %>" style="background-image:url(<%- media_proxy_url %>/proxy?url=https://vid.puffyan.us/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw);border-radius:9.5px" alt="<%= x.Title %>"><span class="video-length"><%- turntomins(x.lengthSeconds) || "LIVE"%></span><% } %><% if (optout) { %><a class="thumbnail"href="/watch?v=<%= x.videoId %>&m=f"style="background-image:url(<%- media_proxy_url %>/proxy?url=https://vid.puffyan.us/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw);border-radius:9.5px"alt="<%= x.Title %>"><span class="video-length"><%- x.duration || "LIVE"%></span><% } %></a>
|
<% if (!optout) { %><a class="thumbnail" href="/watch?v=<%= x.videoId %>" style="background-image:url(<%- media_proxy_url %>/proxy?url=https://vid.puffyan.us/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw);border-radius:9.5px" alt="<%= x.Title %>"><span class="video-length"><%- turntomins(x.lengthSeconds) || "LIVE"%></span><% } %><% if (optout) { %><a class="thumbnail"href="/watch?v=<%= x.videoId %>&m=f"style="background-image:url(<%- media_proxy_url %>/proxy?url=https://vid.puffyan.us/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw);border-radius:9.5px"alt="<%= x.Title %>"><span class="video-length"><%- x.duration || "LIVE"%></span><% } %></a>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
|
@ -2958,7 +2965,7 @@ More Epic options owo~
|
||||||
</a>
|
</a>
|
||||||
<% } %>
|
<% } %>
|
||||||
<div>
|
<div>
|
||||||
<a class="max-lines-2" href="/channel?id=<%= x.authorId %>@youtube.com" style="-webkit-line-clamp:1;width:12em;word-wrap:break-word;acolor:#fff">
|
<a class="max-lines-2" href="/channel?id=<%= x.authorId %>@youtube.com" style="-webkit-line-clamp:1;width:12em;word-wrap:break-word;color:#fff;">
|
||||||
<%=x.author %>
|
<%=x.author %>
|
||||||
</a>
|
</a>
|
||||||
<div class="video-views">
|
<div class="video-views">
|
||||||
|
@ -2969,7 +2976,39 @@ More Epic options owo~
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% }) %>
|
<% }) %>
|
||||||
|
|
||||||
|
|
||||||
|
<% } %>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
<% if (inv_vid.recommendedVideos.length < 1) { %>
|
||||||
|
<% channel_uploads.latestVideos.forEach(x => { %>
|
||||||
|
<div class="fade-in video">
|
||||||
|
<% if (!optout) { %><a class="thumbnail" href="/watch?v=<%= x.videoId %>" style="background-image:url(<%- media_proxy_url %>/proxy?url=https://vid.puffyan.us/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw);border-radius:9.5px" alt="<%= x.Title %>"><span class="video-length"><%- turntomins(x.lengthSeconds) || "LIVE"%></span><% } %><% if (optout) { %><a class="thumbnail"href="/watch?v=<%= x.videoId %>&m=f"style="background-image:url(<%- media_proxy_url %>/proxy?url=https://vid.puffyan.us/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw);border-radius:9.5px"alt="<%= x.Title %>"><span class="video-length"><%- x.duration || "LIVE"%></span><% } %></a>
|
||||||
|
<div class="info">
|
||||||
|
<% if (!optout) { %>
|
||||||
|
<a class="max-lines-2 title" href="/watch?v=<%= x.videoId %>" style="font-stretch:ultra-expanded;font-weight:850" title="<%= x.Title %>">
|
||||||
|
<%= x.title %>
|
||||||
|
</a>
|
||||||
|
<% } %>
|
||||||
|
<% if (optout) { %>
|
||||||
|
<a class="max-lines-2 title" href="/watch?v=<%= x.videoId %>&m=f" style="font-stretch:100%;font-weight:800" title="<%= x.Title %>">
|
||||||
|
<%= x.title %>
|
||||||
|
</a>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
<div>
|
||||||
|
<a class="max-lines-2" href="/channel?id=<%= x.authorId %>@youtube.com" style="-webkit-line-clamp:1;width:12em;word-wrap:break-word;color:#fff">
|
||||||
|
<%=x.author %>
|
||||||
|
</a>
|
||||||
|
<div class="video-views">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<% }) %>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
<% if (f) { %>
|
<% if (f) { %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue