mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-30 20:17:24 +01:00
fix mobile stuff owo
This commit is contained in:
parent
1e9016d4bc
commit
fb0cc80a0f
1 changed files with 18 additions and 9 deletions
|
@ -287,6 +287,12 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#continue {
|
||||||
|
max-width: 14px;
|
||||||
|
max-height: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
.desc {
|
.desc {
|
||||||
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
||||||
white-space: -pre-wrap; /* Opera 4-6 */
|
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
|
// Retrieve volume from local storage or set to max if not available
|
||||||
const initialVolume = localStorage.getItem('playerVolume') || 1;
|
const initialVolume = localStorage.getItem('playerVolume') || 1;
|
||||||
const video = document.getElementById('video');
|
const video = document.getElementById('video');
|
||||||
|
@ -1589,8 +1596,8 @@ videoElement.addEventListener("fullscreenchange", () => {
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<link href=/css/yt-ukraine.svg?v=6 rel=icon>
|
<link href=/css/yt-ukraine.svg?v=6 rel=icon>
|
||||||
<title> <%=inv_vid.title%> - PokeTube Mobile</title>
|
<title> <%=inv_vid.title%> - PokeTube Mobile</title>
|
||||||
<link href="/css/mobile.css" rel=stylesheet>
|
<link href="/css/mobile.css?v=<%=btoa(Date.now())%>" rel=stylesheet>
|
||||||
<link href=/css/app.main.css 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://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>
|
<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 {
|
a {
|
||||||
color: var(--text-link)
|
color: var(--text-link)
|
||||||
}
|
}
|
||||||
|
@ -1647,7 +1658,7 @@ a {
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<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>
|
</div>
|
||||||
|
|
||||||
|
@ -1658,7 +1669,7 @@ a {
|
||||||
<div class="video-player-container" style="background-color:#000">
|
<div class="video-player-container" style="background-color:#000">
|
||||||
<% if (lightOrDark(color) == "dark") { %>
|
<% 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
|
%>;" autoplay controls
|
||||||
|
|
||||||
poster="https://p.poketube.fun/https://i.ytimg.com/vi/<%=inv_vid.videoId%>/maxresdefault.jpg?v=607ddcd4">
|
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") { %>
|
<% 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
|
%>;" autoplay controls
|
||||||
|
|
||||||
poster="https://p.poketube.fun/https://i.ytimg.com/vi/<%=inv_vid.videoId%>/maxresdefault.jpg?v=607ddcd4">
|
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;
|
<a id="language-button" href="#desc-container" style="color: pink;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 13px;margin:0;padding:0;white-space: nowrap;
|
font-size: 13px;margin:0;padding:0;white-space: nowrap;
|
||||||
" class="switch">
|
" class="switch"><%=engagement.viewCount.toLocaleString()%> views <%=date%> <ptd-custom-more>...more</ptd-custom-more>
|
||||||
|
|
||||||
<%=convert(engagement.viewCount)%> views <%=date%> <ptd-custom-more>...more</ptd-custom-more>
|
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue