mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 22:57:54 +01:00
fix mobile stuff owo
This commit is contained in:
parent
113a716669
commit
89c7a196fc
1 changed files with 18 additions and 9 deletions
|
@ -287,6 +287,12 @@
|
|||
|
||||
}
|
||||
|
||||
|
||||
#continue {
|
||||
max-width: 14px;
|
||||
max-height: 14px;
|
||||
}
|
||||
|
||||
.desc {
|
||||
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
||||
white-space: -pre-wrap; /* Opera 4-6 */
|
||||
|
@ -1398,6 +1404,7 @@ if (/[?&]autoplay=/.test(location.search)) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// Retrieve volume from local storage or set to max if not available
|
||||
const initialVolume = localStorage.getItem('playerVolume') || 1;
|
||||
const video = document.getElementById('video');
|
||||
|
@ -1589,8 +1596,8 @@ videoElement.addEventListener("fullscreenchange", () => {
|
|||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<link href=/css/yt-ukraine.svg?v=6 rel=icon>
|
||||
<title> <%=inv_vid.title%> - PokeTube Mobile</title>
|
||||
<link href="/css/mobile.css" rel=stylesheet>
|
||||
<link href=/css/app.main.css rel=stylesheet>
|
||||
<link href="/css/mobile.css?v=<%=btoa(Date.now())%>" rel=stylesheet>
|
||||
<link href="/css/app.main.css?v=<%=btoa(Date.now())%>" rel=stylesheet>
|
||||
<link href=https://p.poketube.fun/https://unpkg.com/ionicons@4.5.10-0/dist/css/ionicons.css rel=stylesheet>
|
||||
<link href="https://fonts.poketube.fun/css/fonts.css" rel=stylesheet>
|
||||
|
||||
|
@ -1611,6 +1618,10 @@ summary:hover{
|
|||
}
|
||||
|
||||
|
||||
#continue {
|
||||
max-width: 14px;
|
||||
max-height: 14px;
|
||||
}
|
||||
a {
|
||||
color: var(--text-link)
|
||||
}
|
||||
|
@ -1647,7 +1658,7 @@ a {
|
|||
</div>
|
||||
<div class="right">
|
||||
|
||||
<a href="/discover?tab=search" ><i class="fa-light fa-search"></i></a>
|
||||
<a href="/discover?tab=search" style="position: absolute;right: 0;margin: 2em;" ><i class="fa-light fa-search"></i></a>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -1658,7 +1669,7 @@ a {
|
|||
<div class="video-player-container" style="background-color:#000">
|
||||
<% if (lightOrDark(color) == "dark") { %>
|
||||
|
||||
<video class="player" id="video" style="border-radius: 6px;box-shadow: 0 0 20px <%=color2
|
||||
<video class="player" id="video" style="border-radius: 6px;box-shadow: 0 10em 7em <%=color2
|
||||
%>;" autoplay controls
|
||||
|
||||
poster="https://p.poketube.fun/https://i.ytimg.com/vi/<%=inv_vid.videoId%>/maxresdefault.jpg?v=607ddcd4">
|
||||
|
@ -1666,7 +1677,7 @@ a {
|
|||
<% } %>
|
||||
<% if (lightOrDark(color) == "light") { %>
|
||||
|
||||
<video class="player" id="video" style="border-radius: 6px;box-shadow: 0 0 20px <%=color
|
||||
<video class="player" id="video" style="border-radius: 6px;box-shadow: 0 10em 7em <%=color
|
||||
%>;" autoplay controls
|
||||
|
||||
poster="https://p.poketube.fun/https://i.ytimg.com/vi/<%=inv_vid.videoId%>/maxresdefault.jpg?v=607ddcd4">
|
||||
|
@ -1726,9 +1737,7 @@ a {
|
|||
<a id="language-button" href="#desc-container" style="color: pink;
|
||||
margin: 0;
|
||||
font-size: 13px;margin:0;padding:0;white-space: nowrap;
|
||||
" class="switch">
|
||||
|
||||
<%=convert(engagement.viewCount)%> views <%=date%> <ptd-custom-more>...more</ptd-custom-more>
|
||||
" class="switch"><%=engagement.viewCount.toLocaleString()%> views <%=date%> <ptd-custom-more>...more</ptd-custom-more>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue