mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 12:38:12 +01:00
new classes
This commit is contained in:
parent
05c3ee731f
commit
4d07d88698
1 changed files with 23 additions and 16 deletions
|
@ -42,6 +42,20 @@
|
||||||
<title> <%=video.Title%> | PokeTube </title>
|
<title> <%=video.Title%> | PokeTube </title>
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
<% if (lightOrDark(color) == "light") { %>
|
||||||
|
.player.video-ambient-container {
|
||||||
|
box-shadow: 0 0 20px <%=color%>;
|
||||||
|
}
|
||||||
|
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
<% if (lightOrDark(color) == "dark") { %>
|
||||||
|
.player.video-ambient-container {
|
||||||
|
box-shadow: 0 0 20px <%=color2%>;
|
||||||
|
}
|
||||||
|
|
||||||
|
<% } %>
|
||||||
|
|
||||||
.comments-area {
|
.comments-area {
|
||||||
background: #f1f9ff;
|
background: #f1f9ff;
|
||||||
padding: 50px 30px;
|
padding: 50px 30px;
|
||||||
|
@ -296,22 +310,13 @@
|
||||||
<div class="primary">
|
<div class="primary">
|
||||||
|
|
||||||
<div class="video-player-container">
|
<div class="video-player-container">
|
||||||
<% if (lightOrDark(color) == "dark") { %>
|
|
||||||
|
|
||||||
<video class="player" id="<%=sha384(video.id)%>" style="border-radius: 16px;box-shadow: 0 0 20px <%=color2
|
|
||||||
%>;margin-left: -5.5px;" autoplay controls
|
<video class="player video-ambient-container" id="<%=sha384(video.id)%>" style="border-radius: 16px; margin-left: -5.5px;" autoplay controls
|
||||||
|
|
||||||
poster="https://p.poketube.fun/https://i.ytimg.com/vi/<%=video.id%>/maxresdefault.jpg?v=607ddcd4">
|
poster="https://p.poketube.fun/https://i.ytimg.com/vi/<%=video.id%>/maxresdefault.jpg?v=607ddcd4">
|
||||||
|
|
||||||
<% } %>
|
|
||||||
<% if (lightOrDark(color) == "light") { %>
|
|
||||||
|
|
||||||
<video class="player" id="<%=sha384(video.id)%>" style="border-radius: 16px;box-shadow: 0 0 20px <%=color
|
|
||||||
%>;margin-left: -5.5px;" autoplay controls
|
|
||||||
|
|
||||||
poster="https://p.poketube.fun/https://i.ytimg.com/vi/<%=video.id%>/maxresdefault.jpg?v=607ddcd4">
|
|
||||||
|
|
||||||
<% } %>
|
|
||||||
|
|
||||||
|
|
||||||
<% if (!qua) { %>
|
<% if (!qua) { %>
|
||||||
|
@ -346,7 +351,9 @@
|
||||||
<% } %>
|
<% } %>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
</video><img src="https://t.poketube.fun/t/rep.gif?video=<%=btoa(video.id)%>" style="border:0;width: 0;visibility: hidden;" id="video">
|
</video>
|
||||||
|
|
||||||
|
<img src="https://t.poketube.fun/t/rep.gif?video=<%=btoa(video.id)%>" style="border:0;width: 0;visibility: hidden;" id="video">
|
||||||
<div style="display: flex;justify-content: center;align-items: center;flex-direction: row; column-gap: 3px;" align="center">
|
<div style="display: flex;justify-content: center;align-items: center;flex-direction: row; column-gap: 3px;" align="center">
|
||||||
|
|
||||||
<% if (!qua) { %>
|
<% if (!qua) { %>
|
||||||
|
|
Loading…
Reference in a new issue