mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 11:18:29 +01:00
update stuff :p
This commit is contained in:
parent
bcf90297ae
commit
5abc35ea6c
1 changed files with 9 additions and 6 deletions
|
@ -1217,7 +1217,7 @@ a {
|
|||
|
||||
|
||||
|
||||
<style>body, html { margin: 0; padding: 0; } * { font-family: sans-serif; color:#fff } .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>
|
||||
<style>body, html { margin: 0; padding: 0; } * { font-family: ubuntu; color:#fff } .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>
|
||||
<div class="app" style="color:#fff;margin-top: 0;">
|
||||
<nav>
|
||||
|
@ -1310,7 +1310,7 @@ margin: 0;
|
|||
font-size: 13px;margin:0;padding:0;white-space: nowrap;
|
||||
" class="switch">
|
||||
|
||||
<%=convert(engagement.viewCount)%> views <ptd-custom-more>...more</ptd-custom-more>
|
||||
<%=convert(engagement.viewCount)%> views <%=date%> <ptd-custom-more>...more</ptd-custom-more>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
@ -1323,8 +1323,8 @@ font-size: 13px;margin:0;padding:0;white-space: nowrap;
|
|||
|
||||
<div class="name" style="font-family:var(--text-font-primary);font-weight:var(--text-header-weight);">
|
||||
<div>
|
||||
<a style="color:#fff" href="/channel?id=<%=k.Video.Channel.id%>" > <%=k.Video.Channel.Name%></a>
|
||||
|
||||
<a href="/channel?id=id=<%=k.Video.Channel.id%>" style="color:#fff;width: 10em;" class="max-lines-1">
|
||||
<%=k.Video.Channel.Name%></a>
|
||||
|
||||
<div class="subscriber-count" style="write-space:nowraap">
|
||||
<%= k.Video.Channel.subscriberCount %>
|
||||
|
@ -1344,6 +1344,7 @@ font-size: 13px;margin:0;padding:0;white-space: nowrap;
|
|||
overflow: auto;
|
||||
margin-bottom: 6px;
|
||||
padding: 4px;
|
||||
max-width:21em;
|
||||
">
|
||||
|
||||
<div class="new-button" style="height: 2.3em">
|
||||
|
@ -1386,7 +1387,10 @@ font-size: 13px;margin:0;padding:0;white-space: nowrap;
|
|||
<a class="new-button" style="color:#fff" href="#more-button-container">
|
||||
<div class="pill-button">
|
||||
|
||||
<i style="color:#fff" class="fa-thin fa-circle-plus"></i> More.. </div></a>
|
||||
<i style="color:#fff" class="fa-thin fa-circle-plus"></i> More..
|
||||
</div>
|
||||
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -1522,7 +1526,6 @@ font-size: 13px;margin:0;padding:0;white-space: nowrap;
|
|||
|
||||
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;margin: 0 0;/*! width: 4.5em; */height: 0;">
|
||||
<p style="margin-top: 10px;margin-bottom: 10px;">
|
||||
Uploaded at <%=date%> :3
|
||||
</p>
|
||||
<% if (String(video.Description) != "[object Object]") { %>
|
||||
|
||||
|
|
Loading…
Reference in a new issue